Product: Price Points

Create Product Currency Prices

POST
/product_price_points/{product_price_point_id}/currency_prices.json

Creates currency prices for a given currency that has been defined on the site level in your settings.

When creating currency prices, they need to mirror the structure of your primary pricing. If the product price point defines a trial and/or setup fee, each currency must also define a trial and/or setup fee.

Note: Currency Prices are not able to be created for custom product price points.

Authorization

BasicAuth
AuthorizationBasic <token>

The username is a Maxio Chargify API key. The password is x.

In: header

Path Parameters

product_price_point_id*integer

The Advanced Billing id of the product price point

Request Body

application/json

currency_prices*array<>

Response Body

application/json

application/json

curl -X POST "https://example.com/product_price_points/0/currency_prices.json" \  -H "Content-Type: application/json" \  -d '{    "currency_prices": [      {        "currency": "EUR",        "price": 60,        "role": "baseline"      },      {        "currency": "EUR",        "price": 30,        "role": "trial"      },      {        "currency": "EUR",        "price": 100,        "role": "initial"      }    ]  }'
{  "currency_prices": [    {      "id": 100,      "currency": "EUR",      "price": 123,      "formatted_price": "€123,00",      "product_price_point_id": 32669,      "role": "baseline"    }  ]}