Skip to main content

carrierUnassignWarehouse

DEPRECATED

Use carrierUnassignWarehouseAndReturnCarrier instead.

Remove warehouse assignment from a carrier (deprecated).

Disassociates a warehouse from a carrier, removing shipping services from that fulfillment location. This method is deprecated and returns only a boolean success indicator.

Possible errors:

  • CARRIER_NOT_FOUND_ERROR: Carrier with the specified ID does not exist in the system
  • CARRIER_UNASSIGN_WAREHOUSE_ERROR: Failed to unassign warehouse from carrier due to data source issues
  • FORBIDDEN: Insufficient permissions to unassign warehouses from carriers

AUTH: Role=[logistics.OWNER,logistics.EDITOR]

carrierUnassignWarehouse(
id: Int!
warehouseId: Int!
): Boolean! @deprecated

Arguments

carrierUnassignWarehouse.id ● Int! non-null scalar

Unique identifier of the carrier.

Must be a positive integer representing a valid carrier ID in the system. This ID is used to locate the carrier for warehouse unassignment.

carrierUnassignWarehouse.warehouseId ● Int! non-null scalar

Unique identifier of the warehouse to unassign.

Must be a positive integer representing a valid warehouse ID in the system. This warehouse will be removed from the carrier's coverage areas.

Type

Boolean scalar

The Boolean scalar type represents true or false.