post
https://public.doubletick.io/whatsapp/message/order
Sends an order details (Review and Pay) message so the customer can review items and pay inside WhatsApp.
Before you call
- Send
toas the customer's phone number with country code (e.g.+919999999999), orcustomerIdfor a customer without a phone number. fromis optional: your connected WhatsApp number with country code. If omitted, a connected number of your organisation is used.content.bodyandcontent.orderDetailsare required.content.footeris optional.orderDetails.itemsneeds at least one item, each withname(up to 60 characters),amount(readable price, e.g.2.00) andquantity(1 or more).- Choose a payment method:
paymentLink,upiIntentLink, orconfigurationName(a payment configuration on your WhatsApp account).configurationNameis required if neither link is sent. content.header.linkis optional and must point to an image.referenceIdis optional, up to 35 characters of letters, digits,_,.or-.currencydefaults toINR.
How it works
- Subtotal and total are calculated for you. Send readable amounts, not Meta's value/offset format.
- If
referenceIdis omitted, one is generated. Keep it to send updates with Send Whatsapp Order Status Message. - If both links are sent,
paymentLinktakes precedence overupiIntentLink. - The response contains the
messageId. Use it with Get Message Status.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
201
