Skip to main content
GET
/
stores
/
{storeId}
/
analytics
/
orders-by-country
Get orders by country
curl --request GET \
  --url https://api.pandabase.io/v2/core/stores/{storeId}/analytics/orders-by-country \
  --header 'Authorization: Bearer <token>'
{
  "ok": true,
  "data": "<unknown>"
}

Authorizations

Authorization
string
header
required

Store API token. Use the sk_ prefixed secret key as the Bearer token.

Path Parameters

storeId
string
required

Store ID (shp_ prefix)

Required string length: 12 - 48

Query Parameters

period
enum<string>
Available options:
7d,
30d,
90d,
all,
custom
startDate
string<date-time>
endDate
string<date-time>

Response

Successful operation

ok
boolean
required
data
any
required