Skip to content

Update Listing Status

PUT /api/v1/listing/{referenceId}/update

Updates the status of an existing listing, Status changes follow a strict workflow - only valid transitions are allowed

{
"Content-Type": "application/json",
"Authorization": "Bearer <token>"
}
ParameterRequiredDescription
referenceIdYesThe listing’s unique reference ID received during creation
toStatusYesTarget status. Must be one of: “delivering”, “delivered”, “cancelled”
{
"success": true
}
  • 400: Invalid status transition
  • 404: Listing not found
  • 500: Internal server error
Terminal window
curl -X PUT \
'https://provider.nazel.sa/api/v1/listing/ref123/update?toStatus=delivered' \
-H 'Authorization: Bearer your_token'