Close an open Order at the location.
Path Parameters
- Type: integer | stringFormat: int64idrequired
Specify the Id of the Order you would like to close
Body·
Cancellation token to cancel the operation
Request body for the close-order endpoint. Deliberately excludes OrderId, which is supplied via the route.
- Type: null | objectadditional
Data Properties: 1Arbitrary name/value data to persist against the order's additional data
Responses
- application/json
Request Example for post/v1/orders/{id}/close
curl https://apiint.api.parpos.com/order/v1/orders/1/close \
--request POST \
--header 'Content-Type: application/json' \
--header 'parpos-access-token: YOUR_SECRET_TOKEN' \
--header 'parpos-location-token: YOUR_SECRET_TOKEN' \
--data '{
"additionalData": null
}'
No Body
