- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
FilterablePriceSetProps
Filters to apply on price sets.
An array of filters to apply on the entity, where each item in the array is joined with an "and" condition.
An array of filters to apply on the entity, where each item in the array is joined with an "or" condition.
context
Record<string, [BigNumberInput](/references/pricing/types/pricing.BigNumberInput)>Optionalan object whose keys are the name of the context attribute. Its value can be a string or a BigNumberInput. For example, you can pass the currency_code
property with its value being the currency code to calculate the price in.
Another example is passing the quantity
property to calculate the price for that specified quantity, which finds a price set whose min_quantity
and max_quantity
conditions match the specified quantity.
context
Record<string, [BigNumberInput](/references/pricing/types/pricing.BigNumberInput)>Optionalcurrency_code
property with its value being the currency code to calculate the price in.
Another example is passing the quantity
property to calculate the price for that specified quantity, which finds a price set whose min_quantity
and max_quantity
conditions match the specified quantity.id
string[]OptionalIDs to filter price sets by.
Filters to apply on a price set's associated money amounts.
Was this page helpful?