SurchargeProduct
Surcharge product association entity for GraphQL federation.
Represents the relationship between a surcharge and a specific product, used for applying additional fees, taxes, or charges to products.
type SurchargeProduct {
surchargeId: String!
productId: Int
product(hidden: Boolean): Product
surcharge: Surcharge!
}
Fields
SurchargeProduct.surchargeId ● String! non-null scalar
Unique identifier of the associated surcharge.
UUID format string referencing the surcharge applied to the product.
SurchargeProduct.productId ● Int scalar
Unique identifier of the associated product.
Integer identifier referencing the product that has the surcharge applied.
SurchargeProduct.product ● Product object
Complete product information for the surcharged item.
Detailed product data for the product that this surcharge applies to.
SurchargeProduct.product.hidden ● Boolean scalar
SurchargeProduct.surcharge ● Surcharge! non-null object
Complete surcharge information associated with the product.
Contains all surcharge details including calculation rules, localized content, and configuration settings.
Member Of
SurchargeProductResponse object