Location Deactivate User Error Code
Possible error codes that can be returned by .
Anchor to Valid valuesValid values
- 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.
- Anchor to LOCATION_NOT_FOUNDLOCATION_
NOT_ FOUND 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.
Anchor to FieldsFields
- •OBJECT
The possible errors that can be returned when executing the
mutation.