Listings
Update Listing Status
Update the current status of a listing
POST
Update Listing Status
Update the current status of a listing by external reference.Requires the
write:listings scope. Contact support to enable write access.Path Parameters
Your unique reference for this listing
Request Body
New status:
active, pending, sold, or draftResponse
Okasie listing UUID
Your provided reference
Updated status:
active, pending, sold, or draftError Responses
| Status | Code | Description |
|---|---|---|
| 400 | INVALID_REFERENCE | External reference is required |
| 400 | INVALID_JSON | Request body must be valid JSON |
| 400 | INVALID_BODY | Request body must be an object |
| 401 | UNAUTHORIZED | Invalid or missing API key |
| 403 | PROFILE_FORBIDDEN | No access to this listing |
| 404 | NOT_FOUND | Listing not found for this partner |
| 422 | VALIDATION_FAILED | Invalid or missing status |