Skip to navigation

Update

View as Markdown

Turns subscription eligibility on or off for a product by setting autoship_enabled, and returns the updated product in the same format as Retrieve. Any other field in the request is ignored.

This endpoint accepts the Application API Scope only. Storefront API Scope signatures are rejected.

Authentication

x-api-keystring

Application API Scope — server-to-server, sent in the x-api-key header. See Authentication.

Path parameters

external_product_idstringRequired

Request

This endpoint expects an object.
autoship_enabledbooleanOptional
Whether the product is eligible for subscriptions.

Response

200
merchantstringOptional
groupslist of objectsOptional
namestringOptional
pricestringOptional
image_urlstringOptional
detail_urlstringOptional
external_product_idstringOptional
skustringOptional
autoship_enabledbooleanOptional
premier_enabledintegerOptional
createdstringOptional
last_updatestringOptional
livebooleanOptional
discontinuedbooleanOptional
offer_profilestring or nullOptional
extra_dataanyOptional
incentive_groupanyOptional
product_typestringOptional
autoship_by_defaultbooleanOptional
everyintegerOptional
every_periodintegerOptional
prepaid_eligiblebooleanOptional
Whether the product is eligible for prepaid subscriptions.

Errors

400
Bad Request Error
403
Forbidden Error