Skip to main content

AddSurchargesToProductInput

Input for associating surcharges with a product.

Links one or more surcharges to a product, enabling additional fees to be applied during pricing calculations and order processing.

input AddSurchargesToProductInput {
surchargeIds: [String!]!
productId: Int!
}

Fields

AddSurchargesToProductInput.surchargeIds ● [String!]! non-null scalar

List of unique surcharge identifiers to associate with or remove from the product.

Must contain valid UUID format identifiers, cannot be empty, and cannot contain duplicates. Each identifier must reference an existing surcharge in the system.

AddSurchargesToProductInput.productId ● Int! non-null scalar

Unique identifier of the product to associate surcharges with or remove surcharges from.

Must be a positive integer representing a valid product in the system.

Member Of

addSurchargesToProduct mutation