Skip to main content

UpdateWarehouseInput

Changes to a warehouse. Omitted fields stay as they are.

input UpdateWarehouseInput {
address: JSON
capacity: Int
code: String
contactEmail: String
contactPhone: String
metadata: JSON
name: String
status: WarehouseStatus
taxRegistrationNumber: String
type: String
}

Fields​

UpdateWarehouseInput.address ● JSON scalar​

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

UpdateWarehouseInput.capacity ● Int scalar​

The storage capacity of the warehouse.

UpdateWarehouseInput.code ● String scalar​

The warehouse code, unique within the organization.

UpdateWarehouseInput.contactEmail ● String scalar​

The contact email address.

UpdateWarehouseInput.contactPhone ● String scalar​

The contact phone number.

UpdateWarehouseInput.metadata ● JSON scalar​

Additional data attached to the record, as JSON.

UpdateWarehouseInput.name ● String scalar​

The warehouse name.

UpdateWarehouseInput.status ● WarehouseStatus enum​

Whether the warehouse is in use.

UpdateWarehouseInput.taxRegistrationNumber ● String scalar​

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

UpdateWarehouseInput.type ● String scalar​

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

Member Of​

updateWarehouse mutation