Skip to main content

Bulk Set Line Warehouse

POST 

/api/quotes/:quote/lines/bulk-warehouse

Set the allocation warehouse on many product lines at once — the "send the whole order from one warehouse" convenience for large quotes.

Required scope: orders:write

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

Body:

  • warehouse_id (int|null, exists:warehouses) — the target warehouse (null to clear).
  • line_ids (int[], optional) — the lines to update. Omit line_ids to apply to every product line on the quote. Revenue (product-less) lines are never affected.

Authentication: Requires Bearer token. Permission: quotes.update.

Request

Responses

OK

Response Headers
    Content-Type