Create a price

POST {{baseUrl}}/prices

Creates a new price.

Prices describe how you charge for products. You must include a product_id in your request to relate this price to a product.

If you omit the quantity object, Paddle automatically sets a minimum of 1 and a maximum of 100 for you. This means the most units that a customer can buy is 100. Set a quantity if you'd like to offer a different amount.

If successful, your response includes a copy of the new price entity.

Request Body

{"description"=>"<string>", "product_id"=>"<string>", "unit_price"=>{"amount"=>"<string>", "currency_code"=>"<string>"}, "type"=>"standard", "name"=>"<string,null>", "billing_cycle"=>{"interval"=>"<string>", "frequency"=>"<integer>"}, "trial_period"=>{"interval"=>"<string>", "frequency"=>"<integer>"}, "tax_mode"=>"account_setting", "unit_price_overrides"=>[{"country_codes"=>["<string>"], "unit_price"=>{"amount"=>"<string>", "currency_code"=>"<string>"}}, {"country_codes"=>["<string>"], "unit_price"=>{"amount"=>"<string>", "currency_code"=>"<string>"}}], "quantity"=>{"minimum"=>1, "maximum"=>100}, "custom_data"=>"<object>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring