Orders V4

Cancel specific position items of an order

Changed on

Allows to cancel specific position items of an order by salesOrderId and positionItemIds.<br>Note: Only position items in state PROCESSABLE can be cancelled. Position items in state CANCELLED_BY_PARTNER will be ignored. If any position item is in a different state the operation will leave the whole order unchanged and respond with a conflict error message.

post/v4/orders/{salesOrderId}/positionItems/{positionItemIds}/cancellation

Request

  • Base URL
    https://api.otto.market
  • URL
    https://api.otto.market/v4/orders/{salesOrderId}/positionItems/{positionItemIds}/cancellation
  • Auth
    HTTP bearer

Path parameters

salesOrderIdstring required

The salesOrderId of the order

positionItemIdsstring required

The positionItemIds of the order to cancel

Response

The request was accepted - update will be processed asynchronously

Changes