discountsDeleteByPricesheetId
Remove all discount records associated with a specific pricesheet.
This bulk operation permanently deletes all discounts linked to the specified pricesheet, effectively removing all promotional pricing for that pricesheet.
Possible errors:
- PRICESHEET_NOT_FOUND_ERROR: Pricesheet with the specified ID does not exist
- DISCOUNT_DELETE_ERROR: Failed to delete discount records
- UNAUTHENTICATED: Invalid or missing authentication
- FORBIDDEN: Insufficient permissions to delete discounts
AUTH: Role=[pricing.OWNER]
discountsDeleteByPricesheetId(
pricesheetId: String!
): Boolean!
Arguments
discountsDeleteByPricesheetId.pricesheetId
● String!
non-null scalar
Unique identifier of the pricesheet whose discounts should be deleted.
Must be a valid UUID format representing an existing pricesheet in the system.
Type
Boolean
scalar
The Boolean
scalar type represents true
or false
.