Admin: Customer Order creation

Add a product to the draft cart

Adds the product to the cart using the shared Cart::addProduct flow — supports every product type. Body keys mirror the storefront add-to-cart payload (productId, quantity, plus type-specific selectedConfigurableOption, superAttribute, bundleOptions, links, qty[], and booking for booking products, e.g. { type, date, slot }).

post/carts/{id}/items

Request

Path parameters

idstring required

Cart ID

Request body

object required

Response

AdminCart resource created

idinteger nullable
customerIdinteger nullable
isGuestboolean nullable
isActiveboolean nullable
itemsCountinteger nullable
itemsQtyinteger nullable
subTotalnumber nullable
formattedSubTotalstring nullable
grandTotalnumber nullable
formattedGrandTotalstring nullable
shippingAmountnumber nullable
formattedShippingAmountstring nullable
taxTotalnumber nullable
formattedTaxTotalstring nullable
discountAmountnumber nullable
formattedDiscountAmountstring nullable
couponCodestring nullable
shippingMethodstring nullable
paymentMethodstring nullable
paymentMethodTitlestring nullable
haveStockableItemsboolean nullable
successboolean nullable
messagestring nullable

Changes

No recorded changes to this operation across all 8 revisions of this API.