Complete Cart
POST
/store/:storeCode/carts/:cartId/completeComplete checkout and place the order.
On success returns `{ type: "order", order }`. If completion fails validation, returns `{ type: "cart", cart, error }`.
Path Parameters
storeCoderequiredstringStore slug in the URL (first argument to every SDK store method).
cartIdrequiredstringThe cart's ID.
Query Parameters
fieldsstringComma-separated fields to include. Prefix with `*` to expand a relation (e.g. `id,*variants`).
Response
Status
200OK
Schema
CopyHttpTypes.StoreCompleteCartResponse