Skip to main content

unarchiveWarehouse

Unarchive a warehouse.

This mutation restores an archived warehouse so it can be used for operations again.

Authentication & Permissions

Requires authentication and the warehouse:unarchive permission for the warehouse's brand.

Possible Errors

  • **Warehouse not found**: The specified warehouse does not exist
  • **Warehouse does not belong to the provided company**: The warehouse belongs to a different company
  • **Warehouse does not belong to the provided brand**: The warehouse belongs to a different brand
  • **Warehouse is not archived**: The warehouse is not archived and cannot be unarchived
unarchiveWarehouse(
input: UnarchiveWarehouseInput!
): Warehouse

Arguments

unarchiveWarehouse.input ● UnarchiveWarehouseInput! non-null input

Parameters for UnarchiveWarehouse

Type

Warehouse object

A warehouse