RejectFulfillmentRequest
Rejects a fulfillment request sent to a fulfillment service for a fulfillment order.
Input
Name | Type | Description |
Id | String | The ID of the fulfillment order associated with the fulfillment request. |
Message | String | An optional message for the fulfillment request. |
Reason | String | Whether the customer should be notified when fulfillments are created for this fulfillment order.
The allowed values are INCORRECT_ADDRESS, INELIGIBLE_PRODUCT, INVENTORY_OUT_OF_STOCK, OTHER, UNDELIVERABLE_DESTINATION. |
LineItems | String | An optional array of line item rejection details. If none are provided, all line items will be assumed to be unfulfillable.. Ex: [{fulfillmentOrderLineItemId: 'xxx', message: 'xx'}] |
Result Set Columns
Name | Type | Description |
Success | Boolean | Indicates whether or not the operation executed successfully. |
Details | String | Any extra details on the operation's execution. |
FulfillmentOrderID | String | A globally-unique ID. |
RequestStatus | String | The status of the SP. |