docs
  1. Admin Api
  2. Resources
  3. Products
  4. Update Product State

Update product state

Update state of an existing product

Rate Limit: 300 Max attempts within 1 minute.

Path Parameters

ParameterDetails
productIdentifier
  • required
string
Examples:
  • ^[1-9][0-9]*$
  • ^key%3D[a-zA-Z0-9-_%\+\. ]*$

Request body

required
ParameterDetails
state
  • required
string
Enum:
live
draft
problem
new
inApproval
blocked
Default:
live
Example:
live
merchantReferenceKeys
string
merchantProductStates
object
merchantReferenceKey
string
state
string
Example:
live

Responses

200
Product state was successfully updated.
application/json
Success
staterequired
string
Example:
live
merchantReferenceKeys
Array of string
Array of object
400
Bad Request
application/json
Error
401
Unauthorized
application/json
Error
404
Not Found
application/json
Error
503
Service unavailable error
application/json
Error
PUT/products/{productIdentifier}/state

Request samples

Response samples

200
Product State:
Content type: application/json
Provide Feedback