Pricing configuration
Use this object to add/create and update/edit pricing configurations for your account. You can assign one or multiple price option groups to pricing configurations.
You identify a pricing configuration using its unique identifier: Code.
Request parameters
Name
Required (string)
Pricing configuration name.
Default
Boolean
True for the default pricing configuration.
BillingCountries
Array of strings
ISO codes of the countries assigned to the pricing configuration. Empty unless a pricing configuration has specific countries assigned.
PricingSchema
String
DYNAMIC – With a base price;
FLAT – Without a base price.
PriceType
String
Possible values: NET, GROSS.
DefaultCurrency
String
The ISO code of the default currency for the pricing configuration.
Prices
Object
Details below.
Prices.Regular
Array of objects
Details below.
Prices.Regular.Amount
Int
The price of the product. Use -1 to delete it.
Prices.Regular.Currency
String
ISO code of the currency for the product price.
Prices.Regular.MinQuantity
Int
The minimum quantity of volume discounts. Default is 1.
Prices.Regular.MaxQuantity
Int
The maximum quantity of volume discounts. Default is 99999.
Prices.Regular.OptionCodes
Array of objects
Details below.
Prices.Regular.OptionCodes.Code
String
System generated pricing options group code (you can also configure it) that the 2Checkout system uses to calculate product prices for pricing configurations without a base price.
Prices.Regular.OptionCodes.Options
StringArray
The pricing options group option code you configured that the 2Checkout system uses to calculate product prices for pricing configurations without a base price.
Prices.Renewal
Array of objects
Details below.
Prices.Renewal.Amount
Int
The price of the product. Use -1 to delete it.
Prices.Renewal.Currency
String
ISO code of the currency for the product price.
Prices.Renewal.MinQuantity
Int
The minimum quantity of volume discounts. Default is 1.
Prices.Renewal.MaxQuantity
Int
The maximum quantity of volume discounts. Default is 99999.
Prices.Renewal.OptionCodes
Array of objects
Details below.
PriceOptions
Array of objects
Details below.
PriceOptions.Code
String
System generated pricing options group code (you can also configure it) that the 2Checkout system uses to calculate product prices for pricing configurations without a base price.
PriceOptions.Required
Boolean
true – you set the price options group as required during the purchase process.
false – you did not set the price options group as required during the purchase process.
Last updated
Was this helpful?