productSurcharges
Retrieve surcharges associated with a specific product.
Returns all surcharges linked to the specified product including their amounts, calculation rules, and configuration. Used for pricing calculations and product cost analysis.
Possible errors:
- FORBIDDEN: Insufficient permissions to access product surcharges
- LIST_SURCHARGES_ERROR: Database query failures or errors while fetching product surcharges from the datastore
AUTH: Role=[pricing.OWNER,pricing.EDITOR,pricing.VIEWER]
productSurcharges(
productId: Int!
input: SurchargeSearchInput
): SurchargeProductResponse!
Arguments
productSurcharges.productId
● Int!
non-null scalar
Unique identifier of the product.
Must be a positive integer representing a valid product ID in the system.
productSurcharges.input
● SurchargeSearchInput
input
Search criteria for filtering product surcharges.
If not provided, returns all surcharges associated with the product using default pagination settings.