Skip to main content

External Availability Webhook (0.1.0)

Download OpenAPI specification:Download

team-order-management: team-order-management@newstore.com

Requests availability information from an external system.

A typical use case for this webhook is when NewStore is being used as Tier 2 OMS and doesn't maintain ATP.

Note: When the request can't be processed, either by the server implementing this webhook or the external system, the platform will assume none of the items are available.

Important: As of now only product identifiers are supported as external identifiers in the platform.

Request availabilities

Requests availability information for a given list of products for a list of fulfillment locations.

Request Body schema: application/json
required
Array of objects non-empty

List of all availabilities per product and fulfillment location

fulfillment_locations
required
Array of strings non-empty [ items non-empty ]

The list of fulfillment locations we want to request availabilities from.

Responses

Request samples

Content type
application/json
{
  • "products": [
    ],
  • "fulfillment_locations": [
    ]
}

Response samples

Content type
application/json
{
  • "availabilities": [
    ]
}