Place Order
Finalises a fully prepared draft cart into a real order — the same flow as the admin Create-Order screen's place-order step. Items, addresses, shipping and payment must already be set on the draft cart.
Prerequisites
The example uses an illustrative cart id. Admin cart endpoints only operate on draft carts (is_active=0) — storefront carts are rejected. Create a draft cart first with the createAdminDraftCart mutation and use the returned cartId.
Operation
| Operation | Type | Purpose |
|---|---|---|
createAdminPlaceOrder(input) | Mutation | Finalise a draft cart into an order |
Sequence (errors[])
Each missing step surfaces as a distinct GraphQL error (REST counterpart in parentheses):
- Cart empty (409)
- Cart total below the store's minimum order amount (422)
- Addresses missing (409)
- Shipping method missing (409)
- Payment method missing (409)
- Payment method not in
[cashondelivery, moneytransfer](422)

