surchargeDelete
Permanently delete a surcharge from the pricing system.
Removes the surcharge and all associated configuration. This action cannot be undone and will affect any pricing calculations that depend on this surcharge.
Possible errors:
- FORBIDDEN: Insufficient permissions to delete surcharges
- NOT_FOUND_SURCHARGE_ERROR: Surcharge with the provided ID was not found
- GET_SURCHARGE_ERROR: Database access errors while fetching the surcharge to delete
- DELETE_SURCHARGE_ERROR: Database deletion failures or general errors while deleting the surcharge
AUTH: Role=[pricing.OWNER]
surchargeDelete(
id: String!
): Surcharge!
Arguments
surchargeDelete.id
● String!
non-null scalar
Unique identifier of the surcharge to delete.
Must be a valid string representing an existing surcharge in the system.
Type
Surcharge
object
Surcharge entity representing additional fees and charges in the pricing system.
Contains comprehensive surcharge information including calculation rules, localized content, tax configuration, and validity periods. Used for dynamic pricing calculations and order processing.