Skip to main content
POST
/
api
/
shop
/
marketplace
/
offers
/
{offerId}
/
edit_status
Error
A valid request URL is required to generate request examples
{
  "message": "ok"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

offerId
integer
required

Body

application/json
status
enum<integer>
required

Offer status enum. * Possible values: * * - 1 (Draft): Offer is saved as draft and not visible to others * - 2 (Active): Offer is active and visible to customers * - 3 (Not Active): Offer is not active and not visible to customers * - 4 (Need Details): Offer has not passed the review and needs additional details * - 5 (On Review): Offer is under review * - 6 (Sold): There is an order for this offer * - 7 (Transfered): The order for this offer has been completed * - 8 (Review Passed): Offer has passed the review and waiting for activation

Available options:
1,
2,
3,
4,
5,
6,
7,
8
Example:

3

Response

Success

message
string
Example:

"ok"