Skip to main content
GET
Compare Analytics Endpoint

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

X-API-Key
string | null

Path Parameters

merchant_id
string
required

Query Parameters

period_type
enum<string>
required
Available options:
week,
month,
week4
period_a
string<date>
required

ISO date — period A start

period_b
string<date>
required

ISO date — period B start

collection_ids
string<uuid>[] | null
market
string | null
locale
string | null
market_group_id
string | null

Response

MerchantCompareResponse · object | null

Successful Response

period_a
AnalyticsSourceMeta · object
required
period_b
AnalyticsSourceMeta · object
required
collections
CollectionCompareRow · object[]
totals
MerchantCompareTotals · object