Get shipping stats
get_shipping_statsRetrieve shipping statistics for a date range, including label counts, costs, savings, tracking states, carrier and zone breakdowns, to analyze parcel performance and spend.
Instructions
Labels, spend, savings, tracking and where packages went for a date range, as on Reports.
Everything the Reports page charts for a date range (default the last 30 days, at most a year): label count, total and average cost (domestic and international), payments, carrier adjustments, savings against retail, pending refunds and returns, tracking states, labels and average cost per day, the carrier split, labels per zone and per US state and country. Money is in US dollars.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_date | No | Last day, YYYY-MM-DD, included. Default today. | |
| from_date | No | First day, YYYY-MM-DD. Default 30 days ago. |