discountDelete
Permanently remove a specific discount record from the system.
This action cannot be undone. The discount record will no longer be available for pricing calculations or promotional campaigns.
Possible errors:
- DISCOUNT_NOT_FOUND_ERROR: Discount with the specified ID does not exist
- DISCOUNT_DELETE_ERROR: Failed to delete discount record
- UNAUTHENTICATED: Invalid or missing authentication
- FORBIDDEN: Insufficient permissions to delete discounts
AUTH: Role=[pricing.OWNER]
discountDelete(
id: String!
): Boolean!
Arguments
discountDelete.id
● String!
non-null scalar
Unique identifier of the discount record to delete.
Must be a valid UUID format representing an existing discount in the system.
Type
Boolean
scalar
The Boolean
scalar type represents true
or false
.