POST /v1/quote-versions/{quoteVersionId}/approve
POST
/v1/quote-versions/{quoteVersionId}/approveAuthorization
x-api-keyAPI key · headerrequiredor
AuthorizationBearer token · headerrequiredPath parameters
quoteVersionIdstringrequiredmin length 1
Query parameters
environmentstringAllowed:
sandboxproductionmerchantAccountIdstringmin length 1
Header parameters
Idempotency-KeystringRequired for production-safe retries on mutating routes. Reusing a key with a different request body returns 409.
min length 1
Request body
requiredapplication/jsonenvironmentstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullmerchantAccountIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullquoteVersionIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullexpiresAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullapprovedBystring | nullShow propertiesHide properties
Any of:
string
stringnull
nullapprovedByRefstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullResponses
200
Success
dataobjectrequiredShow propertiesHide properties
versionobjectrequiredShow propertiesHide properties
quoteVersionIdstringrequiredmin length 1
quoteIdstringrequiredmin length 1
versionnumberrequiredstatusstringrequiredAllowed:
draftapprovedvoidedcurrencystringrequiredmin length 1
billingItemsobjectrequiredShow propertiesHide properties
linesobject[]requiredShow propertiesHide properties
Array of
objectlineIdstringrequiredmin length 1
priceIdstringrequiredmin length 1
payloadobjectrequiredShow propertiesHide properties
priceIdstringrequiredmin length 1
quantitynumberrequiredproductIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullproductNamestring | nullShow propertiesHide properties
Any of:
string
stringnull
nullpriceTypestring | nullShow propertiesHide properties
Any of:
string
stringnull
nullunitAmountnumber | nullShow propertiesHide properties
Any of:
number
numbernull
nulldescriptionstring | nullShow propertiesHide properties
Any of:
string
stringnull
nulloverridesobject | nullShow propertiesHide properties
Any of:
object
quantitynumber | nullShow propertiesHide properties
Any of:
number
numbernull
nullunitAmountnumber | nullShow propertiesHide properties
Any of:
number
numbernull
nulldescriptionstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullinvoiceDisplayNamestring | nullShow propertiesHide properties
Any of:
string
stringnull
nullnull
nullcouponIdsstring[] | nullShow propertiesHide properties
Any of:
string[]
Array of
stringstringnull
nullsubtotalnumberrequiredtotalnumberrequiredmetadataobjectrequiredcreatedAtstringrequiredmin length 1
updatedAtstringrequiredmin length 1
voidReasonstring | nullShow propertiesHide properties
Any of:
string
stringnull
nulltermsstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullapprovedAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullvoidedAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullorderFormobjectrequiredShow propertiesHide properties
orderFormIdstringrequiredmin length 1
quoteVersionIdstringrequiredmin length 1
quoteIdstringrequiredmin length 1
customerIdstringrequiredmin length 1
billingAccountIdstringrequiredmin length 1
merchantAccountIdstringrequiredmin length 1
numberstringrequiredmin length 1
statusstringrequiredAllowed:
generatedsignedexpiredvoidedmetadataobjectrequiredcreatedAtstringrequiredmin length 1
updatedAtstringrequiredmin length 1
voidReasonstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullexpiresAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullsignedAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullsignedDocumentRefstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullvoidedAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullrequestIdstringrequiredmin length 1