Skip to main content
Anchor to LocationDeactivateUserErrorCode

LocationDeactivateUserErrorCode

enum

Possible error codes that can be returned by LocationDeactivateUserError.

Anchor to CANNOT_DISABLE_ONLINE_ORDER_FULFILLMENTCANNOT_DISABLE_ONLINE_ORDER_FULFILLMENT

At least one location must fulfill online orders.

Anchor to DESTINATION_LOCATION_IS_THE_SAME_LOCATIONDESTINATION_LOCATION_IS_THE_SAME_LOCATION

Destination location is the same as the location to be deactivated.

Anchor to DESTINATION_LOCATION_NOT_FOUND_OR_INACTIVEDESTINATION_LOCATION_NOT_FOUND_OR_INACTIVE

Destination location is not found or inactive.

Anchor to DESTINATION_LOCATION_NOT_SHOPIFY_MANAGEDDESTINATION_LOCATION_NOT_SHOPIFY_MANAGED

Destination location is not Shopify managed.

Anchor to FAILED_TO_RELOCATE_ACTIVE_INVENTORIESFAILED_TO_RELOCATE_ACTIVE_INVENTORIES

Failed to relocate active inventories to the destination location.

Anchor to FAILED_TO_RELOCATE_INCOMING_MOVEMENTSFAILED_TO_RELOCATE_INCOMING_MOVEMENTS

Failed to relocate incoming movements to the destination location.

Anchor to FAILED_TO_RELOCATE_OPEN_PURCHASE_ORDERSFAILED_TO_RELOCATE_OPEN_PURCHASE_ORDERS

Failed to relocate open purchase orders to the destination location.

Anchor to HAS_ACTIVE_INVENTORY_ERRORHAS_ACTIVE_INVENTORY_ERROR

Location could not be deactivated without specifying where to relocate inventory at the location.

Anchor to HAS_ACTIVE_RETAIL_SUBSCRIPTIONSHAS_ACTIVE_RETAIL_SUBSCRIPTIONS

Location needs to be removed from Shopify POS for Retail subscription in Point of Sale channel.

Anchor to HAS_FULFILLMENT_ORDERS_ERRORHAS_FULFILLMENT_ORDERS_ERROR

Location could not be deactivated because it has pending orders.

Anchor to HAS_OPEN_PURCHASE_ORDERS_ERRORHAS_OPEN_PURCHASE_ORDERS_ERROR

Location could not be deactivated because it has open purchase orders.

Location not found.

Anchor to PERMANENTLY_BLOCKED_FROM_DEACTIVATION_ERRORPERMANENTLY_BLOCKED_FROM_DEACTIVATION_ERROR

Location either has a fulfillment service or is the only location with a shipping address.

Anchor to TEMPORARILY_BLOCKED_FROM_DEACTIVATION_ERRORTEMPORARILY_BLOCKED_FROM_DEACTIVATION_ERROR

Location has incoming inventory. The location can be deactivated after the inventory has been received.


Was this section helpful?

•OBJECT

The possible errors that can be returned when executing the locationDeactivate mutation.


Was this section helpful?