GET
/
customers
/
products-consumptions
/
{customerId}
curl --request GET \
  --url https://connect.withvayu.com/customers/products-consumptions/{customerId} \
  --header 'Authorization: Bearer <token>'
{
  "productsConsumptions": [
    {
      "productId": "<string>",
      "productName": "Vayu Product",
      "provisionedAmount": 10,
      "consumedAmount": 10,
      "usagePercentage": 1,
      "hasAccess": true,
      "remainingAmount": 10,
      "exceededAmount": 10
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

customerId
string
required

Response

200
application/json
response contains the products consumptions by the customer id
productsConsumptions
object[]
required