Schema
BookingRequest
Send quoteId (a quote from POST /quotes or /quotes/options) or checkoutSelection (a checkout widget token).
Fields
| Field | Type | Description |
|---|---|---|
quoteIdOptional | string | Quote IDPattern ^(?:QD-QT-[A-F0-9]{24}|QDQT[A-Z0-9]{3,32})$ |
descriptionRequired | string | 3–500 characters |
senderRequired | Contact | |
receiverRequired | Contact | |
paymentModeOptional | enum | One of PREPAID, PAY_ON_PICKUP, BUSINESS_INVOICE, BUSINESS_WALLET |
orderReferenceOptional | string | Business order reference, unique per Business.Pattern ^[A-Za-z0-9][A-Za-z0-9._:/ -]{2,99}$ |
prohibitedItemsDeclarationRequired | Declaration | |
checkoutSelectionOptional | string | NB15: the signed selection token from the checkout widget, in place of quoteId. Verified and used once; the quote, price and point come from it, and the checkout session's order reference is used when orderReference is not sent.0–8000 characters |