Products

Update a product

Partial-updates a product. Send any subset of title, descriptionHtml, handle, vendor, productType, tags, status, seo and variants; at least one field is required (an empty body returns 400). tags replaces the full tag list. variants updates the price and compare-at price of the listed variant ids only; other variants are untouched, and a variant id that does not belong to the product is a 400. Responds with the product as it is after the update.

Supported on Shopify (platform shopify); accounts on other platforms return 400. A store connected before product access was added answers 403 insufficient_permissions until the merchant reconnects it through GET /v1/connect/shopify.

patch/v1/accounts/{accountId}/products/{productId}

Path parameters

accountIdstring required

Connected Shopify SocialAccount id.

productIdstring required

Platform-native numeric product id. Non-numeric values return 400.

Request body

titlestring
descriptionHtmlstring

Product description as HTML.

handlestring

URL slug of the product.

vendorstring
productTypestring
tagsstring[]

Replaces the full tag list.

status'active' | 'draft' | 'archived'

archived hides the product everywhere; draft keeps it editable but unpublished.

Response

Product updated

platform'shopify'

Changes

Changed in 2 of the 56 revisions of this API.5

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • ○

      endpoint added

      endpoint-added