DeactivateWarehouseCommandRequestInput
Deactivates a warehouse. A warehouse is never deleted: its stock history stays. A warehouse that is still needed is refused with the blockers named in the error; ask ‘allowed-actions’ beforehand. A supplier that has the warehouse as its default is moved to ‘replacementWarehouseId’. errorCode is one of: WAREHOUSE_NOT_FOUND (the warehouse was not found); WAREHOUSE_CANNOT_BE_DEACTIVATED (the warehouse cannot be deactivated The error lists the blocker codes: LAST_STANDARD_WAREHOUSE, WAREHOUSE_MANAGED_BY_FULFILLMENT_NETWORK, WAREHOUSE_MANAGED_BY_AMAZON, WAREHOUSE_HAS_STOCK, WAREHOUSE_IN_ACTIVE_TRANSFER, WAREHOUSE_IS_DROP_SHIPPING_TARGET_WITH_STOCK, WAREHOUSE_ON_PURCHASE_LIST, WAREHOUSE_USED_BY_MOBILE_SERVER, WAREHOUSE_USED_AS_SUPPLIER_DEFAULT, WAREHOUSE_HAS_OPEN_PICK_LISTS, WAREHOUSE_HAS_RESERVATIONS, WAREHOUSE_HAS_OPEN_FULFILLMENT_ORDERS). - Request
DeactivateWarehouseCommandRequestInputFields
The ID of the warehouse.
The warehouse that takes over as the default warehouse of the suppliers that have this one. It must be an active warehouse of the standard type. Required when a supplier uses this warehouse.
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?