Skip to main content

Get Orders Chart (Date Range)

GET 

/api/starshipit/integration-instances/:integration_instance/orders-chart

Returns a daily order-count time series for a StarShipIt integration instance over the given date range.

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

The response contains one bucket per day in [start_date, end_date], filling zero-counts for days with no orders. Used by the dashboard chart to render the orders trend.

Query parameters:

  • start_date (required, YYYY-MM-DD): start of the range
  • end_date (required, YYYY-MM-DD): end of the range; must be >= start_date

Authentication: Requires Bearer token.

Request

Responses

OK

Response Headers
    Content-Type