API Reference - Set deal status
POST
https://sandbox.treddy.se/deals/v1/deals/{dealId}/status
Set deal status
Parameters
dealId
string
path
Request
Body
{ "status": "Cancelled" }
Schema
{ "status": { "enum": [ "Cancelled" ], "type": "string" } }
Response body
{ "status": "Cancelled" }
HTTP STATUS CODE SUMMARY
200 - Successful operation
400 - Bad Request
401 - Not Authorized
403 - Forbidden
404 - Not Found
405 - Invalid Input