Skip to main content

priceDefault

Retrieve default pricing for products without customer-specific context.

Returns the base pricing for products without applying customer-specific discounts or special pricing rules. Useful for displaying catalog prices or when customer context is not available.

Possible errors:

  • PRICE_CALCULATION_ERROR: Failed to calculate default prices
  • PRODUCT_NOT_FOUND_ERROR: One or more specified products do not exist
  • PRICESHEET_NOT_FOUND_ERROR: No default pricing configured
  • UNAUTHENTICATED: Invalid or missing authentication
  • FORBIDDEN: Insufficient permissions to access pricing

AUTH: Role=[pricing.OWNER,pricing.EDITOR,pricing.VIEWER]

priceDefault(
input: PriceCalculateDefaultInput!
): [ProductPrice!]!

Arguments​

priceDefault.input ● PriceCalculateDefaultInput! non-null input​

Default price calculation parameters.

Contains product identifiers and basic parameters for calculating default prices without customer-specific context.

Type​

ProductPrice object​

Calculated product price with comprehensive pricing information and business rules applied.

Contains the final calculated price for a product including base pricing, discounts, tax calculations, and all applicable business rules. Used for displaying prices to customers and processing orders.

IMPORTANT - tax semantics: in the Propeller API gross is the amount EXCLUDING tax and net is the amount INCLUDING tax (net = gross + tax). This is the REVERSE of common accounting usage, where gross means tax-inclusive. Do not map gross to a tax-inclusive field.