CreateWarehouseCommandRequestInput
Creates a warehouse of one of the types a user can create (standard, WMS, external fulfillment, drop shipping). The input is a one-of: exactly one variant is sent and it is the type of the new warehouse. The variant carries exactly the fields of its type; a standard warehouse gets one implicit storage location and its settings with defaults, a WMS warehouse its system locations. errorCode is one of: WAREHOUSE_NAME_OR_SHORT_NAME_MISSING, WAREHOUSE_CONTACT_ADDRESS_INCOMPLETE, COUNTRY_NOT_FOUND, WAREHOUSE_TYPE_NOT_CREATABLE (the request is invalid, for example the name or short name is missing, the address is incomplete, the country is unknown or the variant does not fit); COMPANY_NOT_FOUND, CATEGORY_NOT_FOUND or WAREHOUSE_NOT_FOUND (a referenced company, category or source or target warehouse was not found); WAREHOUSE_NAME_NOT_UNIQUE (the name is already used by an active warehouse). - Request
CreateWarehouseCommandRequestInputFields
The data of the new warehouse. Exactly one variant.
Client-supplied idempotency key. When provided, a repeated request with the same key and payload replays the original result instead of re-executing the mutation.
Was this page helpful?