Documentation for using the API's POST/GET method to mark a marketplace product as sold. Learn to correctly structure the request payload to update product availability on the OSSN platform.
Endpoint
Method:
Parameter:
| Parameter name | Required | Type | Explain |
|---|---|---|---|
| api_key_token | Yes | string | Your API key |
| guid | Yes | integer | GUID of the marketplace product to mark as sold |
Example Response
{
"merchant": "OSSN 10.0",
"url": "https:\/\/yourwebsite.com\/",
"time_token": 1786124600,
"payload": {
"product": {
...
},
"success": true
},
"code": "100",
"message": "Request successfully executed"
}
Return payload parameter description
| Parameter name | Explain |
|---|---|
| success | Boolean status indicating whether the product status update succeeded |
| product | Object containing updated product details with is_sold set to true |