Orders V4
Cancel specific position items of an order
Changed onAllows 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 URLhttps://api.otto.market
- URLhttps://api.otto.market/v4/orders/{salesOrderId}/positionItems/{positionItemIds}/cancellation
- AuthHTTP 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
- info
for the
pathrequest parameterpositionItemIds, the type was generalized fromarraytostring
- info