stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > LocationDeactivateUserErrorCode

AdminTypes.LocationDeactivateUserErrorCode enum

Possible error codes that can be returned by LocationDeactivateUserError.

Signature:

export declare enum LocationDeactivateUserErrorCode 

Enumeration Members

Member Value Description
CannotDisableOnlineOrderFulfillment "CANNOT_DISABLE_ONLINE_ORDER_FULFILLMENT" At least one location must fulfill online orders.
DestinationLocationIsTheSameLocation "DESTINATION_LOCATION_IS_THE_SAME_LOCATION" Destination location is the same as the location to be deactivated.
DestinationLocationNotFoundOrInactive "DESTINATION_LOCATION_NOT_FOUND_OR_INACTIVE" Destination location is not found or inactive.
FailedToRelocateActiveInventories "FAILED_TO_RELOCATE_ACTIVE_INVENTORIES" Failed to relocate active inventories to the destination location.
FailedToRelocateIncomingMovements "FAILED_TO_RELOCATE_INCOMING_MOVEMENTS" Failed to relocate incoming movements to the destination location.
FailedToRelocateOpenPurchaseOrders "FAILED_TO_RELOCATE_OPEN_PURCHASE_ORDERS" Failed to relocate open purchase orders to the destination location.
FailedToRelocateOpenTransfers "FAILED_TO_RELOCATE_OPEN_TRANSFERS" Failed to relocate open transfers to the destination location.
HasActiveInventoryError "HAS_ACTIVE_INVENTORY_ERROR" Location could not be deactivated without specifying where to relocate inventory at the location.
HasActiveRetailSubscriptions "HAS_ACTIVE_RETAIL_SUBSCRIPTIONS" Location needs to be removed from Shopify POS for Retail subscription in Point of Sale channel.
HasFulfillmentOrdersError "HAS_FULFILLMENT_ORDERS_ERROR" Location could not be deactivated because it has pending orders.
HasIncomingMovementsError "HAS_INCOMING_MOVEMENTS_ERROR" Location could not be deactivated because it has open Shopify Fulfillment Network transfers.
HasOpenPurchaseOrdersError "HAS_OPEN_PURCHASE_ORDERS_ERROR" Location could not be deactivated because it has open purchase orders.
HasOpenTransfersError "HAS_OPEN_TRANSFERS_ERROR" Location could not be deactivated because it has open transfers.
LocationNotFound "LOCATION_NOT_FOUND" Location not found.
PermanentlyBlockedFromDeactivationError "PERMANENTLY_BLOCKED_FROM_DEACTIVATION_ERROR" Location either has a fulfillment service or is the only location with a shipping address.
TemporarilyBlockedFromDeactivationError "TEMPORARILY_BLOCKED_FROM_DEACTIVATION_ERROR" Location has incoming inventory. The location can be deactivated after the inventory has been received.