Get Data Analysis By SPU

Provides merchants with detailed insights into sales data, enabling data-driven decision-making by analyzing products by SPU, SKU, or collections.

Body Params
string
required
string
required

The starting timestamp (in seconds) for retrieving analysis data. Must be a valid Unix timestamp and less than. Typically set to the start of the day (00:00) in the relevant timezone end_time.

string
required

The ending timestamp (in seconds) for retrieving analysis data. Must be a valid Unix timestamp and greater tha. . Typically set to the start of the following day (00:00) in the relevant timezone. begin_time.

string
int32
Defaults to 10
int32

Time zone adjustment for analysis, in hours. Notice: Values outside the range -12 to 14 might lead to unexpected results in time-based calculations.

string

Sort by field is used for sorting the data,chosen from: created_at, first_published_at, published_at, product_op_updated_at, order_count, sales_count, sales_total, net_sales_total, discount, tax, views_count, add_to_cart_count, add_to_cart_rate, view_client_count, add_cart_client_count, add_to_cart_conversion_rate, transform_rate.

string

Sorting direction: asc (ascending) or desc (descending).

string

The Collection ID uniquely identifies a group of products within a collection. When the collection id is passed, it is filtered based on the collection ID.

string

When the keyword is not empty, the product is filtered. Keywords will vaguely match these fields of the product: title, id, brief, sku, spu, tags, note.

string

The filtering mode can be base or advanced. The default value is base. If you select advanced, the filters filter takes effect.

string
boolean
Response

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json