Advance an order
Advances an order along its lifecycle: fulfil an accepted order to fulfilled, or cancel a captured / accepted order. The order id comes from the PATH — a body orderId is ignored. Failure conditions: 400 on a malformed body; 404 for an unknown order; 422 on an illegal transition (e.g. fulfilling a still-captured, unrouted order).
Authorizations
Authorization: Bearer <token>. Accepts EITHER a Keycloak access token (scopes-in-token) OR an opaque POS session token; both resolve to the same pos.* scope vocabulary the route guards enforce.
Path Parameters
Id of the order (commande) to read or transition.
1Body
Lifecycle transition to apply: fulfil | cancel.
fulfil, cancel Response
The advanced order at its new lifecycle status.
The advanced order at its new lifecycle status.
web, marketplace, mobile-app, in-store click-and-collect, ship-from-store, endless-aisle captured, accepted, fulfilled, cancelled, rejected 
