RejectFulfillmentRequest
Rejects a fulfillment request sent to a fulfillment service for a fulfillment order.
Input
| Name | Type | Description |
| Id | String | The unique identifier of the fulfillment order associated with the fulfillment request. |
| Message | String | An optional message to include with the rejection of the fulfillment request. |
| Reason | String | The reason for rejecting the fulfillment request.
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 omitted, all line items are assumed to be unfulfillable. Example: [{fulfillmentOrderLineItemId: 'xxx', message: 'xx'}] |
Result Set Columns
| Name | Type | Description |
| Success | Boolean | Indicates whether the rejection of the fulfillment request executed successfully. |
| Details | String | Additional details about the execution of the operation. |
| FulfillmentOrderID | String | A globally unique identifier for the fulfillment order. |
| RequestStatus | String | The resulting status of the stored procedure execution. |