Skip to main content

CreateWarehouseInput

A new warehouse.

input CreateWarehouseInput {
address: JSON
capacity: Int
code: String!
contactEmail: String
contactPhone: String
metadata: JSON
name: String!
taxRegistrationNumber: String
type: String!
}

Fields​

CreateWarehouseInput.address ● JSON scalar​

The address as JSON: street1, street2, city, state, country, postalCode, and optionally latitude and longitude.

CreateWarehouseInput.capacity ● Int scalar​

The storage capacity of the warehouse.

CreateWarehouseInput.code ● String! non-null scalar​

The warehouse code, unique within the organization.

CreateWarehouseInput.contactEmail ● String scalar​

The contact email address.

CreateWarehouseInput.contactPhone ● String scalar​

The contact phone number.

CreateWarehouseInput.metadata ● JSON scalar​

Additional data attached to the record, as JSON.

CreateWarehouseInput.name ● String! non-null scalar​

The warehouse name.

CreateWarehouseInput.taxRegistrationNumber ● String scalar​

The tax registration number of this location. When blank, the organization's number is used on the documents the warehouse issues.

CreateWarehouseInput.type ● String! non-null scalar​

The kind of warehouse, such as main, branch or distribution.

Member Of​

createWarehouse mutation