Skip to content

Review order exchange

Approve or Deny order exchange.

HeaderRequiredValue
api-keyyesImport API key
Content-Typeyesapplication/json
{
"order_id": 7,
"status": "approved",
}
FieldTypeRequiredDescription
order_idintyesMust exist in the orders table
statusstringyesapproved, denied

HTTP 201 Created

{
"success": true,
}
StatusDescription
401Missing api-key header
403Invalid api-key value
401Exchange already reviewed
422Validation error (missing or invalid field)