Actions100
- Companies Actions
- Contacts Actions
- Invoices Actions
- Library attachments Actions
- Orders Actions
- Preference attachments Actions
- Products Actions
- Provision Attempts Actions
- Provision Details Actions
- Provision Requests Actions
- Provision Results Actions
- Provisioners Actions
- Provisioning Simulations Actions
- Quote access list Actions
- Quote attachments Actions
- Quote line items Actions
- Quote preferences Actions
- Quote sections Actions
- Quotes Actions
- Subscriptions Actions
- Topic Definitions Actions
- Usage Lines Actions
- Usage Summaries Actions
- Webhook Logs Actions
- Webhooks Actions
Usage Lines → Save Usage Lines
AI-generatedSummary
Save usage lines to the Pax8 API.
Inputs
- baseUrl — Base URL for the Pax8 API. Defaults to https://api.pax8.com.
- subscriptionId — query parameter
- externalSubscriptionId — query parameter
- billingPeriod (required) — Billing period with format yyyy-MM
- overwriteSameDayUsage — When set to false, usage lines for the same summary key will be appended instead of replacing existing same-day lines
- body (required) — Request body as JSON.
Output shape
API response confirming the save operation, typically including status and any created/updated usage line records.
All parameters except
billingPeriodandbodyare optional query parameters. ThebodyJSON must contain the usage line data structure expected by the Pax8 API.
Examples
Example 1: Save usage lines for a billing period
Set billingPeriod to the target period (e.g., '2024-01'), provide the body with usage data, and optionally filter with subscriptionId or externalSubscriptionId.