Description
Create one or multiple inventory locations.
Permission bit: "inventory_locations.create"
Topic: Inventory Locations
Arguments
data: [InventoryLocationCreate!]!
Main argument for mutations.
Unique shop identifier. See also: Unique Identifiers
Example: "sh_EQzGqWoY"
Data Argument Fields
address: AddressCreate!
Address of the inventory location (warehouse)
Whether customer collection is allowed or not
Example: false
Whether inventory location is enabled or not
Example: true
hours: [InventoryLocationHourCreate!]
The maximum amount of time the inventory location will take to fulfill the order
Example: 5
Valid when: lead_time_hours_max is a non-negative integer
The minimum amount of time the inventory location will take to fulfill the order
Example: 2
Valid when: lead_time_hours_min is a non-negative integer
Name of the inventory location
Example: "Asia Warehouse"
Valid when: name is not empty
Valid when: name's length doesn't exceed 250 characters
special_hours: [InventoryLocationSpecialHoursCreate!]
Result
Preview (typescript)
Loading module