Shop quote convert
post/quotes/{id}/convert
Turn an accepted quote into an invoice, or with depositPercent a deposit invoice and a balance invoice (both drafts). The quote becomes converted.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
shop:write- Sdk
shop.quote.convert- Cli
quotes convert
Parameters
- idstring (uuid)requiredIn the path
Request bodyapplication/json, required
- depositPercentintegerAt least 1. At most 99.
- idempotencyKeystringAt most 120 characters.
Responses
- 200application/jsonSuccess
- documentobjectrequired
- 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
- invoiceslist of objectrequired
- idstring (uuid)required
- numberstring or nullrequired
- statusstringrequired
- totalMinornumberrequired
- purposestringrequiredOne of: full, deposit, balance.
- documentobjectrequired
- 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