Skip to main content

Inventory Presell

Accept pre-orders for inventory that has not yet arrived. Enables a Call to Action button on your site of Add to Cart or Pre-Order. Pre-Order when there is incoming inventory or Add To Cart when inventory already available.

Incoming inventory is determined by shipments linked to the channel location.

Inventory Presell API

Use the Inventory Presell API to determine if a given SKU is:

  • available - Inventory is in stock right now.
  • presell - Inventory is incoming.
  • unavailable - No inventory available or incoming.

If Available to Promise inventory is greater than 0 then available is returned.

If Available to Promise inventory + Incoming is greater than 0 then presell is returned. A ship_date is also provided. This is the latest possible estimated_arrival_time of shipments linked to the location via aggregate locations

[
{
"sku": "[sku-arg]",
"channel_id": "[channel-id-arg]",
"status": "presell",
"ship_date": "2023-10-30T03:02:34.379+00:00"
}
]

The presell function will never throw any expected errors. It will always return a 200 Response Status with an array consisting of 1 or 0 elements. This can be unwrapped for you by setting the accept header to application/vnd.pgrst.object+json. If there is no result a 406 Not Acceptable status code will instead be returned. If there is a result it will be unwrapped:

{
"sku": "[sku-arg]",
"channel_id": "[channel-id-arg]",
"status": "presell",
"ship_date": "2023-10-30T03:02:34.379+00:00"
}
info

Inventory Presell API is in Preview. Reach out to support to enable access for your organization.