cURL
curl --request GET \ --url https://connect.withvayu.com/customers/products-consumptions/alias/{alias} \ --header 'Authorization: Bearer <token>'
{ "productsConsumptions": [ { "productId": "<string>", "productName": "Vayu Product", "provisionedAmount": 10, "consumedAmount": 10, "usagePercentage": 1, "hasAccess": true, "remainingAmount": 10, "exceededAmount": 10 } ] }
Use this endpoint to get the products consumptions by the customer alias.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
response contains the products consumptions by the customer alias
Show child attributes
The id of the product.
The name of the product.
1
"Vayu Product"
The amount of units provisioned to the customer.
x >= 0
10
The amount of units consumed by the customer.
The percentage of the provisioned amount that has been consumed.
Whether the customer has access to the product.
true
The amount of units remaining to consume.
The amount of units exceeded.