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
- Base URLhttp://localhost:8000/api/admin
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Cart ID
Request body
object required
Response
AdminCart resource created
Changes
No recorded changes to this operation across all 8 revisions of this API.