Skip to main content

updateWarehouse Mutation

Updates given warehouse.

Requires the MANAGE_PRODUCTSpermission.
updateWarehouse(
externalReference: String
id: ID
input: WarehouseUpdateInput!
): WarehouseUpdate
Details
type WarehouseUpdate {
warehouseErrors: [WarehouseError!]! @deprecated
errors: [WarehouseError!]!
warehouse: Warehouse
}

Arguments​

externalReference ● String​

External reference of a warehouse.

id ● ID​

ID of a warehouse to update.

input ● WarehouseUpdateInput!​

Fields required to update warehouse.

Type​

WarehouseUpdate​

Updates given warehouse.

Requires the MANAGE_PRODUCTSpermission.