Inventory API
Warehouses
Create Warehouse
This API endpoint (POST) creates a new warehouse. If the request succeeds, it returns a Warehouse Object otherwise, it will return an error.
Permissions: warehouses.create
Webhook event: warehouse-created
label string * The label of the warehouse.
address string * The street address of the warehouse.
areas_served array of strings (Country Codes) * The countries served by this warehouse.
country string (Country Codes) * A two-letter country code (ISO 3166) that represents the warehouse country.
email string The contact email of the warehouse.
city string The city where the warehouse is located at.
state string The state where the warehouse is located.
postcode string The postcode of the warehouse.
telephone string The warehouse's primary phone number.
custom_id string A custom id that you can use as a reference in your system.