Archive a deal
Copied
https://api.ocamba.com/v1/hood/deals/{id}/archive
Copied
https://api.ocamba.com/v1/hood/deals/{id}/archive
Archives a deal
Name
Descriptionidstringrequired
Unique resource identifier.Example: 12345
204 - No Content
400 - Bad Request
Name
Descriptioncodeinteger
Http response status code.Example: 400
messagestring
The human readable message that describes how to deal with error.Example: Unknown deal id.
titlestring
The error title.Example: Bad Request.
trace_idstring
Error trace id.Example: 99a84211-f73d-4ff8-acdf-eb3e06bb9d62
500 - Internal Server Error
Name
Descriptioncodeinteger
Http response status code.Example: 500
messagestring
The human readable message that describes how to deal with error.Example: Internal server error.
titlestring
The error title.Example: Internal server error.
note
1 Archive the deal by the provided Deal ID.
Archiving a deal can not be done if a deal is assigned to any active campaign.
tip
1 If you don't know the deal id, list the deals to find it.
warning
1 Archiving a deal will archive all the campaigns the deal is assigned to.