Skip to main content

PriceCalculateInput

Price calculation parameters for comprehensive product pricing with customer context.

Contains all necessary information to determine the appropriate pricing including customer identification, product details, quantity, and geographic context. Used for real-time price calculations and pricing displays.

input PriceCalculateInput {
productId: Int!
quantity: Int!
taxZone: String!
contactId: Int
customerId: Int
companyId: Int
}

Fields

PriceCalculateInput.productId ● Int! non-null scalar

Unique identifier of the product for price calculation.

Must be a valid product ID that exists in the system. Used to retrieve base pricing, cost information, and applicable discounts for the specified product.

PriceCalculateInput.quantity ● Int! non-null scalar

Quantity of the product for price calculation.

Minimum value is 1. Used to determine volume discounts, bulk pricing tiers, and quantity-based promotional offers. Higher quantities may result in better pricing.

PriceCalculateInput.taxZone ● String! non-null scalar

Geographic tax zone for tax calculations and regional pricing.

Must be a valid 2-character country code. Used to determine applicable tax rates, regional pricing rules, and zone-specific discounts. Defaults to "NL" if not specified.

PriceCalculateInput.contactId ● Int scalar

Contact identifier for personalized pricing calculations.

When provided, enables contact-specific pricing, pricesheet assignments, and personalized discounts. Cannot be used together with customerId. Use 0 or omit for anonymous pricing.

PriceCalculateInput.customerId ● Int scalar

Customer id to calculate the price for

PriceCalculateInput.companyId ● Int scalar

Company id to calculate the price for

Member Of

priceCalculate query ● priceExplain query