Newer Version Available
Fulfillment Orders, Cancel Item
Cancel FulfillmentOrderLineItems from a FulfillmentOrder. This
action doesn’t cancel the associated OrderItemSummaries, so reallocate the canceled quantities
to a new FulfillmentOrder.
- Resource
-
1/commerce/fulfillment/fulfillment-orders/fulfillmentOrderId/actions/cancel-item - Available version
- 48.0
- Requires Chatter
- No
- HTTP methods
- POST
- Request body for POST
-
Fulfillment Order Line Items To Cancel Input
- Root XML tag
- <fulfillmentOrderLineItemsToCancelInput>
- JSON example
-
1"fulfillmentOrderLineItemsToCancel" : [ 2 { 3 "fulfillmentOrderLineItemId" : "0a4xx00000000W0001", 4 "quantity":1 5 }, 6 { 7 "fulfillmentOrderLineItemId" : "0a4xx00000000W0002", 8 "quantity":2 9 } 10] - Properties
-
Name Type Description Required or Optional Available Version fulfillmentOrderLineItemsToCancel Fulfillment Order Line Item Input[] List of FulfillmentOrderLineItems and quantities. Required 48.0
- Response body for POST
-
- When the HTTP status code indicates success, the response body is a FulfillmentOrderCancelLineItemsOutputRepresentation. The response body can still indicate processing errors.
- When the HTTP status code is in the 400 (client error) or 500 (server error) range, the response body is an ErrorWithOutputRepresentation. The output property is a FulfillmentOrderCancelLineItemsOutputRepresentation, and the value of the enhancedErrorType property can be ignored.