Void a proposal with the reason; it stays on record and its links stop working
post/proposals/{id}/void
Before you call
- Credential
Authorization: Bearer $KEY- Scope
shop:write- Sdk
shop.proposal.void- Cli
proposals void
Parameters
- idstring (uuid)requiredIn the path
Request bodyapplication/json, required
- reasonstringrequiredAt most 300 characters.
Responses
- 200application/jsonSuccess
- idstring (uuid)required
- kindstringrequiredOne of: quote, proposal.
- organizationIdstring (uuid)required
- clientIdstring (uuid) or nullrequired
- numberstring or nullrequired
- statusstringrequiredOne of: draft, sent, viewed, accepted, declined, expired, void, converted.
- currencystringrequired
- languagestringrequired
- titlestringrequired
- issueDatestring or nullrequired
- validUntilstring or nullrequired
- subtotalMinornumberrequired
- taxMinornumberrequired
- totalMinornumberrequired
- revisionnumberrequired
- versionnumberrequired
- convertedKindstring or nullrequired
- convertedIdstring (uuid) or nullrequired
- acceptedAtstring or nullrequired
- acceptedNamestring or nullrequired
- declinedAtstring or nullrequired
- sentAtstring or nullrequired
- viewedAtstring or nullrequired
- voidedAtstring or nullrequired
- createdBystringrequired
- createdAtstringrequired
- updatedAtstringrequired
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring