input CreateWarehouseInput
Fields
| Field | Type | Description |
|---|---|---|
identifier | String! | Warehouse name, not its GraphQL ID; up to 45 characters. Defaults to "Primary" when omitted. An existing physical warehouse with the same identifier is rejected, including inactive ones. |
invoice_address | CreateWarehouseAddressInput! | Sender/company address shown on invoices. Required fields must not be blank. |
label_address | CreateWarehouseAddressInput! | Return address shown on shipping labels. Required fields must not be blank. |
phone_number | String | Contact phone number, up to 24 characters. |
invoice_email | String | Invoice contact email, up to 45 characters. |
invoice_note | String | Note displayed on invoices. Omitted defaults to an empty note. |
language | WarehouseInvoiceLanguage | Invoice language. Omitted defaults to EN (English). |
timezone | String | IANA timezone, up to 35 characters. |
manual_order_prefix | String | Manual order prefix, up to 10 characters. Omitted defaults to "MO". |
show_phone_on_invoice | Boolean | Whether to display the contact phone on invoices. Omitted defaults to true. |
only_pick_orders_with_required_ship_date_today_or_earlier | Boolean | In supported picking flows, limit orders to those required to ship today or earlier, also allowing orders without a required ship date. Omitted defaults to false. |
exclude_stock_from_available_to_sell | Boolean | Exclude this warehouse's stock from supported available-to-sell calculations and inventory pushes. This does not disable the warehouse or prevent allocation. Omitted defaults to false. |
Referenced By
- warehouse_create Mutation
Example
{
"identifier": "East Coast",
"invoice_address": CreateWarehouseAddressInput,
"label_address": CreateWarehouseAddressInput,
"phone_number": "+1-555-0100",
"invoice_email": "invoices@example.com",
"invoice_note": "Thank you for your order.",
"language": "ES",
"timezone": "America/New_York",
"manual_order_prefix": "WEB",
"show_phone_on_invoice": false,
"only_pick_orders_with_required_ship_date_today_or_earlier": true,
"exclude_stock_from_available_to_sell": true
}