Skip to main content
PATCH
Update product status

Authorizations

x-access-token
string
header
required

JWT minted from a merchant API key (mk_live_…) by POST /authenticate. Send the token value directly, with no "Bearer" prefix. Tokens last 14 days and can be renewed at POST /refresh-token; revoking the key refuses the next request made with any token minted from it.

Path Parameters

productId
string
required

A product ObjectId, a Shopify product GID or a numeric Shopify product id. Malformed is 400.

Body

application/json
status
enum<string>
required
Available options:
ACTIVE,
DRAFT

Response

Updated

success
enum<boolean>
Available options:
true
data
object