Commerce Engine is now in beta. We're working hard to make it better for you.
{
"message": "<string>",
"success": true,
"code": "<string>",
"error": {}
}{
"message": "<string>",
"success": true,
"code": "<string>",
"error": {}
}Information about the promotional offers that have been applied to the cart.
Show child attributes
discount, free-goods, free-shipping, buy-x-get-y, volume-based This key provides details about the savings in cart after coupon have been applied to the cart.
Show child attributes
discount, free-goods, fixed-price, free-shipping, buy-x-get-y, volume-based, accelerated-rewards draft, awaiting_approval, confirmed, partially_scheduled, awaiting_shipment, shipped, partially_shipped, undelivered, partially_undelivered, return_to_origin, partially_return_to_origin, complete, partially_delivered, cancelled, pending pending, success, failed, partially_paid x >= 0x >= 0x >= 0x >= 0x >= 0x >= 0x >= 0x >= 0x >= 0x >= 0x >= 0x >= 0x >= 0x >= 0Show child attributes
physical, digital, bundle backorder
Indicates whether the item is being fulfilled as a backorder. When true, the item is not currently in stock and will ship later once inventory is available. This may result in the order being split into multiple shipments, with delays for the backordered portion.
x >= 0x >= 0x >= 0x >= 0x >= 0x >= 0x >= 0"GST"x >= 0x >= 0x >= 0x >= 0x >= 0Used when variant_id is not null.
Show child attributes
Show child attributes
The name of the associated option.
The type of the associated option.
{
"background_color": {
"name": "Background Color",
"value": { "name": "Blue", "hexcode": "#0000FF" },
"type": "color"
},
"size": {
"name": "Size",
"value": "Large",
"type": "single-select"
}
}Attribute for colors
Show child attributes
A lookup safe version of the name that is lowercased and spaces are replaced with underscores. For instance, if name is Product Type, key will be product_type
"color"
Show child attributes
Two-letter code begin with a plus sign prefix that identifies different countries. By default it will be +91 if not provided.
10 digit phone number without country code.
"India"Tax Identification Number (TIN/VAT/GSTIN) specific to the country of operation.
Use in billing & shipping details only.
null value for guest checkout.
Show child attributes
Two-letter code begin with a plus sign prefix that identifies different countries. By default it will be +91 if not provided.
10 digit phone number without country code.
"India"Tax Identification Number (TIN/VAT/GSTIN) specific to the country of operation.
Use in billing & shipping details only.
null value for guest checkout.
order cancellation option should be visible only if this flag is true.
to show refundable details in order cancellation ui.
Show child attributes
loyalty point redeemed will be rollbacked and credited to user account.
amount that will be refunded to customer.
amount deducted from paid amount.
reason for cancellation charges.
payment mode for refund.
original-payment-mode, bank-transfer Order Payment
Show child attributes
payment, refund pending, success, failed, partially_paid, refund_initiated masked card number e.g. ************1111
Visa, Master Card, Rupay, American Express Was this page helpful?