listReplenishmentOrders
Retrieves all the AWD replenishment orders pertaining to a merchant with optional filters. API by default will sort orders by updatedAt attribute in descending order.
Query parameters
Get the replenishment orders updated after certain time (Inclusive) Date should be in ISO 8601 format as defined by date-time in - https://www.rfc-editor.org/rfc/rfc3339.
Get the replenishment orders updated before certain time (Inclusive) Date should be in ISO 8601 format as defined by date-time in - https://www.rfc-editor.org/rfc/rfc3339.
Sort the response in ASCENDING or DESCENDING order. The default sort order is DESCENDING.
Maximum results to be returned in a single response.
A token that is used to retrieve the next page of results. The response includes nextToken when the number of results exceeds the specified maxResults value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until nextToken is null. Note that this operation can return empty pages.
Response
ListReplenishmentOrders 200 response
Example response
{
"nextToken": "SampleToken",
"orders": [
{
"distributionIneligibleReasons": [
{
"failureCode": "TestErrorCode",
"failureReasons": [
"Test failure reason"
],
"sku": "SampleSKU"
}
],
"eligibleProducts": [
{
"attributes": [
{
"name": "TestAttribute",
"value": "TestAttributeValue"
}
]
}
],
"outboundShipments": [
{
"createdAt": "2023-01-12T10:00:00.000Z",
"orderId": "TestOrderId",
"shipmentId": "TestShipmentId",
"shipmentStatus": "CREATED",
"updatedAt": "2023-01-12T10:00:00.000Z"
}
],
"products": [
{
"attributes": [
{
"name": "TestAttribute",
"value": "TestAttributeValue"
}
]
}
],
"shippedProducts": [
{
"attributes": [
{
"name": "TestAttribute",
"value": "TestAttributeValue"
}
]
}
],
"updatedAt": "2023-01-12T10:00:00.000Z"
}
]
}