Commerce

Update a product

Partial-updates the product's own fields; at least one besides accountId is required. tags replaces the full list. Change prices with POST /v1/commerce/products/{productId}/price and status with POST /v1/commerce/products/state.

patch/v1/commerce/products/{productId}

Path parameters

productIdstring required

Platform-native product id.

Request body

accountIdstring required
titlestring
descriptionHtmlstring
handlestring
vendorstring
productTypestring
tagsstring[]

Response

Product updated

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