x-partner-id.
x-idempotency-key when creating an order or initiating a payment. Reuse the key only when retrying the same request; changing the payload returns a conflict.
Check shipping serviceability
Check delivery methods and payment options for a cart before checkout.
Request:
Get delivery quote
Query parameters:
Request:
Check COD eligibility
UseremainingPayable from POST /wallet/quote as collectableAmount.
Request:
Create order
Rules:
- The customer profile must have a non-empty
name. itemsmust contain at least one product.quantitymust be an integer from1to9999.alternatePhone, when sent, must be a 10-digit Indian mobile number.paymentReturnUrl, when sent, must be an absolute URL.couponCodeis optional and must be issued for the partner.shippingAddress.landmarkis required.paymentModeacceptsPREPAIDorCOD. DefaultPREPAID.deliveryMethodacceptsSTANDARDorEXPRESS. DefaultSTANDARD.useRewardPoints: trueapplies eligible Reward Points.useWalletCash: trueapplies available Wallet Cash.
paymentClientAction.type and paymentClientAction.payload to open the configured payment provider SDK. COD and orders with no external payment do not return a provider session.
List orders
Query parameters:
Request:
Retrieve order
Request:
Initiate payment
Order creation initiates payment automatically. Call this endpoint if you need to retry or refresh a provider session for an existing prepaidPENDING_PAYMENT order.
Request:
clientAction.type and clientAction.payload to open the configured payment provider SDK.
Abandon payment
Call this endpoint when the customer closes an active provider checkout. The payment moves toUSER_DROPPED and can be retried during the reservation grace period.
Request: