Skip to content

Update product

PATCH/admin/v1/stores/{store_id}/products/{product_id}
  • products:write

Partially update a product. Send If-Match: "v{version}" to avoid overwriting someone else's changes.

Path parameters

  • store_idstringrequired

    The store's ID, like store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.

  • product_idstringrequired

    The product's ID, like prod_01k8qs5s….

Headers

  • If-Matchstring · or null

    ETag from the last read, e.g. "v3"

  • shop-api-versionYYYY-MM

    The version to answer in. Without it, your app’s pinned version, else the newest.

Body

  • titlestring · or null
  • handlestring · or null
  • description_htmlstring · or null
  • statusenum · or null

    Whether a product can be sold.

    • draft
    • active
    • archived
  • product_typestring · or null
  • vendorstring · or null
  • category_idinteger · or null

    Google's product category ID; null clears it.

  • customs_descriptionstring · or null

    What customs read on international labels; null clears it.

Returns

200 Updated product.

Errors

  • 404not_foundNo such product.
  • 409Handle or SKU already used.
  • 412precondition_failedThe product changed since it was read.
  • 422validation_failedValidation failed.