Commerce

Add images

Adds images from public URLs. The platform fetches them, so they can appear on the product a few seconds after the call returns.

post/v1/commerce/products/{productId}/images

Path parameters

productIdstring required

Platform-native id.

Request body

accountIdstring required

Response

Product after the change

Example response

{
  "product": {
    "variants": [
      {
        "price": {
          "amount": "19.90",
          "currency": "USD"
        },
        "compareAtPrice": {
          "amount": "19.90",
          "currency": "USD"
        }
      }
    ]
  }
}

Changes

Changed in 2 of the 60 revisions of this API.2