surcharge
Retrieve detailed information about a specific surcharge.
Returns comprehensive surcharge data including amounts, calculation rules, product associations, and configuration settings. Used for surcharge management and pricing calculations.
Possible errors:
- FORBIDDEN: Insufficient permissions to access surcharge data
- NOT_FOUND_SURCHARGE_ERROR: Surcharge with the provided ID was not found
- GET_SURCHARGE_ERROR: Database access errors while fetching the surcharge
AUTH: Role=[pricing.OWNER,pricing.EDITOR,pricing.VIEWER]
surcharge(
id: String!
): Surcharge!
Arguments
surcharge.id
● String!
non-null scalar
Unique identifier of the surcharge to retrieve.
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.