Close an open Order at the location.

​

Path Parameters

  • 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.

  • Arbitrary name/value data to persist against the order's additional data

    Properties: 1

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