GET
/
billableMetrics
/
{id}
curl --request GET \
  --url https://api.sulu.sh/v0/billableMetrics/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "object": "billableMetric",
  "name": "<string>",
  "description": "<string>",
  "merchantId": "<string>",
  "unit": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "aggregation": "SUM",
  "productId": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Unique identifier for a billable metric

Response

200
application/json
Billable metric details

The response is of type object.