Delete a shopping session
Discards the open session with its items and payments. Cannot be undone; a session that has already been finished is a POS receipt and is not deleted here. Requires `Permissions.PosShoppingSession.Delete`.
DELETE
Bearerheader
AuthorizationBearer <token>OAuth 2.0 client credentials. Obtain a client id/secret from Winshop support ([email protected]), then POST to the token URL.
sessionId*integerFormat
int64curl -X DELETE 'https://<your-instance>/api/documents/pos/shopping-session/0' \ -H 'Authorization: Bearer <access-token>'Empty
Get a shopping session GET
Returns one shopping session by `sessionId`. Use `details` to pick which sub-collections (items, payments, …) are loaded; omit it for the header only. Requires `Permissions.PosShoppingSession.View`.
Update a shopping session PUT
Updates the session header and the items sent in the body, and returns the stored session. Requires `Permissions.PosShoppingSession.Update`.