Developers
API referenceBusiness sign in

Schema

BookingRequest

Send quoteId (a quote from POST /quotes or /quotes/options) or checkoutSelection (a checkout widget token).

Fields

BookingRequest fields
FieldTypeDescription
quoteIdOptionalstringQuote IDPattern ^(?:QD-QT-[A-F0-9]{24}|QDQT[A-Z0-9]{3,32})$
descriptionRequiredstring3–500 characters
senderRequiredContact
receiverRequiredContact
paymentModeOptionalenumOne of PREPAID, PAY_ON_PICKUP, BUSINESS_INVOICE, BUSINESS_WALLET
orderReferenceOptionalstringBusiness order reference, unique per Business.Pattern ^[A-Za-z0-9][A-Za-z0-9._:/ -]{2,99}$
prohibitedItemsDeclarationRequiredDeclaration
checkoutSelectionOptionalstringNB15: 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

Used by