Usage

List order usage meters

Returns usage billing meters configured on the order's package, including current unbilled usage, remaining free allowance, billable quantity, and threshold warnings. The authenticated API key must own the order.

get/meter/{customer_id}/get/{order_id}

Path parameters

customer_idinteger required

Customer ID that owns the order.

order_idinteger required

Order ID to retrieve usage meters for.

Response

Usage meters returned

successtrue

Example response

{
  "data": [
    {
      "usage": {
        "threshold": {
          "level": "warning",
          "message": "Free usage is below 10%."
        }
      }
    }
  ]
}

Changes

Changed in 1 of the 6 revisions of this API.8

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added