GET
/
v1
/
products
/
{id}
curl --request GET \
  --url https://api.hyperline.co/v1/products/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "itm_3kXODDF42QXtnL",
  "name": "Product name",
  "description": "Product internal description",
  "public_description": "Product public description",
  "type": "flat_fee",
  "properties": {},
  "custom_properties": {},
  "is_available_on_subscription": true,
  "is_available_on_demand": true,
  "price_configurations": [
    {
      "id": "<string>",
      "currency": "EUR",
      "country": "FR",
      "plan_id": "<string>",
      "billing_interval": {
        "period": "weeks",
        "count": 123
      },
      "commitment_interval": {
        "period": "weeks",
        "count": 123
      },
      "updated_at": "<string>",
      "type": "fee",
      "prices": [
        {
          "type": "fee",
          "amount": 123
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
headerrequired

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

Path Parameters

id
string
required

Response

200 - application/json
  • Option 1

  • Option 2

  • Option 3

  • Option 4

id
string
required

Product ID.

name
string
required

Product name.

description
string | null
required

Product description.

public_description
string | null
required

Public description of the product.

type
enum<string>
required
Available options:
flat_fee
properties
object | null
required

Key/value pairs to store any information you find useful.

custom_properties
object | null
required

A list of key value with the ID or the name of the custom property as the key and the custom property value as value.

is_available_on_subscription
boolean
required

Enable the product to be added as part of a subscription.

is_available_on_demand
boolean
required

Enable the product to be billed at any time as a one-time payment.

price_configurations
object[]
required