Skip to main content

Preview Pre-order Release Impact

GET 

/api/products/:product/preorder-release-impact

Previews what saving a new release date on a pre-order product would send to the warehouse straight away, before you call Update Product.

Required scope: products:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

While a product's release_date is in the future it is a pre-order: its open orders are allocated stock but held back from fulfillment. Saving a release date of today or earlier, or clearing it, releases those orders to the warehouse or 3PL at once. Call this first and confirm with whoever is making the change when orders is above 0.

Response fields:

  • releases_now (boolean): true when the product is a pre-order today and the new date has already arrived (or the date is being cleared).
  • orders (integer): open orders that would be released — orders with unshipped lines held only by this product's release date. Lines also held by a bundle's or component's own later release date stay held and are not counted; so are lines at dropship, virtual and Amazon FBA warehouses, which are never held.
  • units (number): unshipped units on those lines.
  • sample_orders (array): up to 5 of those orders, id and sales_order_number.

A product that is not a pre-order today, or a new date still in the future, returns releases_now: false and zeros. Dates are compared in the account timezone. Read-only: nothing is changed.

Authentication: Requires Bearer token (scope products:read, permission products.update).

Request​

Responses​

OK

Response Headers
    Content-Type