GET
/
prices
/
units
List price units
curl --request GET \
  --url https://api.cloud.flexprice.io/v1/prices/units \
  --header 'x-api-key: <api-key>'
{
  "items": [
    {
      "base_currency": "<string>",
      "code": "<string>",
      "conversion_rate": 123,
      "created_at": "<string>",
      "created_by": "<string>",
      "environment_id": "<string>",
      "id": "<string>",
      "name": "<string>",
      "precision": 123,
      "status": "published",
      "symbol": "<string>",
      "tenant_id": "<string>",
      "updated_at": "<string>",
      "updated_by": "<string>"
    }
  ],
  "pagination": {
    "limit": 123,
    "offset": 123,
    "total": 123
  }
}

Authorizations

x-api-key
string
header
required

Enter your API key in the format x-api-key <api-key>*

Query Parameters

status
string

Filter by status

limit
integer

Limit number of results

offset
integer

Offset for pagination

sort
string

Sort field

order
string

Sort order (asc/desc)

Response

OK

items
object[]
pagination
object