For the complete documentation index, see llms.txt. This page is also available as Markdown.
Public APIs for Price Lists
How to get the access key
Go to Dashboard > Pubic API, fill out the form and submit your access request. We’ll review it and send the access key to your email.
Rule endpoints
There are fields of Price List rule, you need to understand:
id: If provided and matches an existing price list, the rule will be updated. If omitted or does not match any existing price list, a new price list will be created.
name*: Price list name.
priority: Must be a number between 0 and 99 if provided.
status
0: disable
1: enable
replacedVariants
true: Replace all existing variants (default).
false: Overwrite variants with matching IDs.
discount_type
PERCENT: Apply a percentage as a discount.
FIXED: Decrease a fixed amount off original prices.
NEW: Apply a new price.
CUSTOMIZE: Customize for each product.
discount_value
volume_type
NO_LIMIT: No discount.
QUANTITY: Discount on purchasing quantity.
AMOUNT: Discount on purchasing amount.
CUSTOMIZE: Customize for each product.
volume_apply
EVERY_PRODUCT: Applies to all products in the price list.
TOTAL_PRODUCT: Applies to the total quantity/amount of all products in the price list.
volume_table: If provided, must be an array of volume pricing tiers.
volume_pricing_from: value must be greater than the previous one.
volume_pricing_type: "PERCENT", "FIXED", or "NEW".
volume_pricing_value: discount value.
limit_type
NO_LIMIT: No limit.
QUANTITY: Limit on purchasing quantity.
AMOUNT: Limit on purchasing amount.
CUSTOMIZE: Customize for each product.
limit_apply
EVERY_PRODUCT: Applies to all products in the price list.
TOTAL_PRODUCT: Applies to the total quantity/amount of all products in the price list.
minimum: Minimum quantity/amount of each product or all products in the price list in the order.
maximum: Maximum quantity/amount of each product or all products in the price list in the order.