PUT
/
v1
/
price-configurations
/
{id}
/
prices
curl --request PUT \
  --url https://api.hyperline.co/v1/price-configurations/{id}/prices \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '[
  {
    "type": "fee",
    "id": "<string>",
    "amount": 24000
  }
]'
{
  "id": "<string>",
  "currency": "EUR",
  "country": "FR",
  "plan_id": "<string>",
  "billing_interval": {
    "period": "once"
  },
  "commitment_interval": {
    "period": "all"
  },
  "updated_at": "<string>",
  "type": "fee",
  "prices": [
    {
      "type": "fee",
      "id": "<string>",
      "amount": 24000
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json · object[]
Prices payload

Price tiers of the price configuration. If fixed amount, only one price is available.

Response

200 - application/json
The updated price configuration

The response is of type object.