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": 3
}'
{
  "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

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"