Request Parameters
string
required
The order ID in the website. Must be unique.
number
required
The total order value. Must be the sum of all product prices (with discounts applied) plus shipping (with discounts applied).
object
required
Order totals breakdown:
itemsGross- Total product value without discountsitemsDiscount- Total product discount valueshippingGross- Shipping value without discountsshippingDiscount- Total shipping discount value
array
required
Items in this order. Each item must have:
id- Unique ID for this shopping cart line (must match IDs in delivery items array)salesChannelSkuId- Unique SKU ID (use any SKU that has been approved)listPrice- Unit price with no discounts applied (optional)salePrice- Unit price with discounts appliedquantity- Quantity of items
array
required
Deliveries in this order. Always an array with one element:
listPrice- Shipping value with no discounts appliedsalePrice- Shipping value with discounts applieditems- Array of item IDs that are in this delivery (must match item IDs)
array
required
Payment information. Do not change anything other than the value:
value- Payment value (should match order value)type- Payment method type
