Skip to main content
Order and payment endpoints require a Customer access token and x-partner-id.
Send 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:
Response:

Get delivery quote

Query parameters: Request:
Response:

Check COD eligibility

Use remainingPayable from POST /wallet/quote as collectableAmount. Request:
Response:

Create order

Rules:
  • The customer profile must have a non-empty name.
  • items must contain at least one product.
  • quantity must be an integer from 1 to 9999.
  • alternatePhone, when sent, must be a 10-digit Indian mobile number.
  • paymentReturnUrl, when sent, must be an absolute URL.
  • couponCode is optional and must be issued for the partner.
  • shippingAddress.landmark is required.
  • paymentMode accepts PREPAID or COD. Default PREPAID.
  • deliveryMethod accepts STANDARD or EXPRESS. Default STANDARD.
  • useRewardPoints: true applies eligible Reward Points.
  • useWalletCash: true applies available Wallet Cash.
Request:
Response:
Use 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:
Response:

Retrieve order

Request:
Response:

Initiate payment

Order creation initiates payment automatically. Call this endpoint if you need to retry or refresh a provider session for an existing prepaid PENDING_PAYMENT order. Request:
Response:
Use 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 to USER_DROPPED and can be retried during the reservation grace period. Request:
Response:
Payment statuses: