> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get sales metrics only

> Get sales metrics only

### Responses

<ResponseField name="200" type="ApiResponse_SalesMetrics">
  Sales metrics retrieved successfully
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl --request GET \
    --url 'https://api.stateset.com/api/v1/analytics/sales' \
    --header 'Authorization: Bearer YOUR_API_KEY'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "data": {
      "average_order_value": "string",
      "orders_this_month": 1,
      "orders_this_week": 1,
      "orders_today": 1,
      "revenue_this_month": "string",
      "revenue_this_week": "string",
      "revenue_today": "string",
      "total_orders": 1,
      "total_revenue": "string"
    },
    "errors": null,
    "message": null,
    "meta": null,
    "success": true
  }
  ```
</ResponseExample>
