Public Availability Admin API (0.1.0)
Download OpenAPI specification:Download
team-order-management: team-order-management@newstore.com
This internal API provides access to public availability values in the platform.
Get public availabilities
Retrieves the public availability numbers for a given range of products.
Authorizations:
newStoreAccessToken
query Parameters
product_id required | Array of strings |
Responses
Response samples
- 200
- 400
- 500
Content type
application/json
{- "products": [
- {
- "product_id": "GD10000",
- "availabilities": [
- {
- "fulfillment_node_id": "US01",
- "store": {
- "address": {
- "address_line_1": "121 Spring Street",
- "city": "New York",
- "country_code": "US",
- "latitude": 40.7235439,
- "longitude": -74.0023732,
- "state": "NY",
- "zip_code": "10012"
}, - "business_hours": [
- {
- "from_time": "09:00",
- "to_time": "21:00",
- "weekday": 0
}
], - "label": "New York Spring Street",
- "phone_number": "1-212-929-0700",
- "store_id": "US01",
- "timezone": "America/New_York",
- "image_url": "null",
- "in_store_pickup_available": "null"
}, - "tags": [
- "store"
], - "atp": 5,
- "atp_capped": false
}
]
}, - {
- "product_id": "GD10001",
- "availabilities": [
- {
- "fulfillment_node_id": "DC01",
- "store": {
- "address": "null",
- "business_hours": "null",
- "label": "null",
- "phone_number": "null",
- "store_id": "null",
- "timezone": "",
- "image_url": "null",
- "in_store_pickup_available": "null"
}, - "tags": [
- "dc"
], - "atp": 12,
- "atp_capped": true
}
]
}
]
}