orderlistDelete
Permanently delete an order list and all its associations from the system.
Removes the order list completely including all product assignments, user permissions, company associations, and configuration data. This operation cannot be undone and will immediately make the order list inaccessible to all users.
Deletion process includes:
- Verification of order list existence and permissions
- Removal of all product and cluster associations
- Removal of all user and company assignments
- Complete deletion of order list configuration and metadata
Use with caution as this operation is irreversible. Consider deactivating the order list instead if temporary removal is needed.
Possible errors:
- ORDERLIST_NOT_FOUND_ERROR: Order list with the specified ID does not exist
- ORDERLIST_UKNOWN_ERROR: Unexpected system error during deletion process
- FORBIDDEN: Insufficient permissions to delete order lists
AUTH: Role=[shop.OWNER]
orderlistDelete(
id: Int!
): Boolean!
Arguments
orderlistDelete.id
● Int!
non-null scalar
Unique identifier of the order list to permanently delete.
Must be a valid positive integer representing an existing order list ID in the system. The order list must be accessible to the authenticated user and deletion must be authorized.
Validation: Must be a positive integer, order list must exist and be deletable by the authenticated user.
Type
Boolean
scalar
The Boolean
scalar type represents true
or false
.