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

Errors

400
Bad Request Error
403
Forbidden Error