Availabilities API (0.1.0)
Download OpenAPI specification:Download
Represents the ATP of products in a fulfillment location (store or DC). Use this API to retrieve the ATP for products across your fulfillment locations.
ATP is calculated by subtracting the sum of all allocations, reservations, and safety stock quantity, from the stock on hand. At NewStore, ATP is also the sum of the current ATP and future ATP.
For example, use it to get the ATP of the products in a store, to perform a reconciliation with your ERP.
List ATP information
Use this method to retrieve ATP information for the specified products and fulfillment locations.
In this request, each ATP key (atp_keys
) is defined as a combination of a product ID
and a fulfillment location set up in your business.
Authorizations:
Request Body schema: application/json
required | Array of objects [ 1 .. 2000 ] items | ||||
Array ([ 1 .. 2000 ] items)
|
Responses
Request samples
- Payload
{- "atp_keys": [
- {
- "product_id": 1000012,
- "fulfillment_node_id": "US01"
}, - {
- "product_id": 1000012,
- "fulfillment_node_id": "DC01"
}
]
}
Response samples
- 200
- 400
- 500
{- "items": [
- {
- "product_id": 1000012,
- "fulfillment_node_id": "US01",
- "atp": 35
}, - {
- "product_id": 1000012,
- "fulfillment_node_id": "DC01",
- "atp": 100
}
]
}