Home > @infiniteobjects/shopify-data-manager > AdminTypes > LocationDeleteUserErrorCode
Possible error codes that can be returned by LocationDeleteUserError.
Signature:
export declare enum LocationDeleteUserErrorCode
| Member | Value | Description |
|---|---|---|
| GenericError | "GENERIC_ERROR" |
An error occurred while deleting the location. |
| LocationHasActiveRetailSubscription | "LOCATION_HAS_ACTIVE_RETAIL_SUBSCRIPTION" |
The location cannot be deleted while it has any active Retail subscriptions in the Point of Sale channel. |
| LocationHasInventory | "LOCATION_HAS_INVENTORY" |
The location cannot be deleted while it has inventory. |
| LocationHasPendingOrders | "LOCATION_HAS_PENDING_ORDERS" |
The location cannot be deleted while it has pending orders. |
| LocationIsActive | "LOCATION_IS_ACTIVE" |
The location cannot be deleted while it is active. |
| LocationNotFound | "LOCATION_NOT_FOUND" |
Location not found. |