Skip to main content

Get Supplier Product Availability Hold

GET 

/api/supplier-products/:supplier_product/availability-hold

Returns the open hold on one product × supplier link, with its revisions, or data: null when the link is not on hold. A link has at most one open hold at a time.

Required scope: suppliers:read

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

Hold object fields

  • id, product_id, supplier_id, supplier_product_id (integer): the hold and the product × supplier link it is on.
  • reason / reason_label (string): the hold reason key and its current display name (see Reasons).
  • reason_code (string|null): the supplier's own code as received (for example a backorder code from a PO acknowledgement), matched against the reasons' import aliases.
  • available_on (date|null, Y-m-d): the date the supplier expects to supply again, normalised to the start of its window (first of the month for month, first day of the quarter for quarter). Null means the date is unknown.
  • date_precision (string|null): day, month or quarter; null when the date is unknown.
  • display_date (string): the date as people read it: 14 Mar 2027, March 2027, Q1 2027 or date to be confirmed.
  • planning_available_on (date|null): the date planning treats the supplier as available again: the last day of the window plus the account's buffer days (see Supplier Hold Settings). Null when the date is unknown.
  • earliest_arrival (date|null): the earliest a new order from this supplier could arrive: the planning date (or today plus the assumed days when the date is unknown) plus the link's lead time. Null once the hold no longer blocks planning.
  • accepts_orders (boolean): whether the supplier still takes orders while on hold. When false, planning orders nothing from this supplier before the planning date.
  • state / state_label (string): active (On hold), due (the planning date has passed; confirm with the supplier), overdue (due for longer than the account's overdue days) or ended.
  • blocks_planning (boolean): true only while active. A due or overdue hold stays open and visible, but planning, purchasing and customer availability already treat the supplier as available again.
  • slip_count (integer): how many times the date was revised to a later window.
  • confirmed_at (ISO 8601|null): when the date was last placed, revised or confirmed with the supplier.
  • source / source_label (string): how the hold was last changed: manual, po_response, po_line, api, import, stock_feed or automation. Changes made with an API token are always recorded as api.
  • note (string|null), started_on (date), created_by / updated_by (user ID|null), created_at / updated_at (ISO 8601).
  • ended_at (ISO 8601|null), end_reason / end_reason_label (string|null): why it ended: manual (marked available), received (stock received from the supplier), supplier_stock_feed, converted_discontinued or link_deleted.
  • due_notified_at (ISO 8601|null): when the account was told the hold fell due.
  • product (id, sku, name), supplier (id, name) and lead_time_days (integer).
  • revisions (array, detail responses only): every change, newest first: change_type (placed, revised, confirmed, due, ended) and its label, from_* / to_* date, precision and reason, source, note, user_id, user_name and created_at.

Authentication: Requires Bearer token.

Requires permission: suppliers.show

Request​

Responses​

OK

Response Headers
    Content-Type