Skip to main content
POST
/
api
/
shop
/
marketplace
/
offers
/
{OfferId}
/
edit_status
Edit offer status
curl --request POST \
  --url https://skycoach.gg/api/shop/marketplace/offers/{OfferId}/edit_status \
  --header 'Accept: <accept>' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "status": 2
}'
{
  "message": "ok"
}

Authorizations

Authorization
string
header
required

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

Headers

Accept
enum<string>
default:application/json
required

API response format

Available options:
application/json

Path Parameters

OfferId
integer
required

Body

application/json
status
enum<integer>
required

New offer status. Only the following statuses are allowed for sellers: * * - 1 (Draft): Move offer to draft * - 2 (Active): Activate offer (visible to customers) * - 3 (Not Active): Deactivate offer (hidden from customers) * - 5 (On Review): Send offer for review

Available options:
1,
2,
3,
5
Example:

2

Response

Success

message
string
Example:

"ok"