Get promotion products
GET/api/affiliate/promotion/products
Get promotion products
Request
Query Parameters
Country, CN, US
Possible values: >= 1
Page index. It is based 1, not 0
Remain promotion duration, unit: million second
Platform, one of shopee, shopify, thinla, shenlan and shoplazza
Product Name
Promotion Status, one of Participating, End
Promotion type. one of HighestCommission, TopPerforming
Possible values: >= 1
and <= 1000
Page size. default is 10
Responses
- 200
- 401
- 403
- 404
OK
- */*
- Schema
- Example (from schema)
Schema
Array [
]
data
object
页码,最小为1
总页数
records
object[]
数据
品牌商是否推出了他的产品给红人
存档id
分类全名
分类Id
佣金金额
佣金率
国家
创建时间
创建人
currencyCode
currencySymbol
删除标志
打折码
修改时间
修改人
图片url
红人id数组,如果是查红人的话,这个可能是空字符串或一个红人id, 如果是按mcm查的话,可能是空或一组红人id
是否已存档
是否已过期
是否隐藏 0否1是
是否无法推广
市场信息
媒体相关信息,Json字符串, 该类型为数组,数组元素结构, {type: "example" | "file", mediaUrl: string, mediaName: string}
投放结束时间
投放开始时间
platformType
object
平台
产品单价
产品链接
产品名称
销量
商品名称
短link数组,如果是查红人的话,这个可能是空字符串或一个短link, 如果是按mcm查的话,可能是空或一组短link
排序号
Tags, JSON字符串,字符串数组
TotalCommRate
每页记录数,最小为1,最大 为5000,默认为10
总记录数
{
"data": {
"current": 0,
"pages": 0,
"records": [
{
"active": false,
"archivedId": "string",
"categories": "string",
"categoryId": "string",
"commission": "string",
"commissionRate": "string",
"country": "string",
"createTime": "2024-05-05T03:24:21.763Z",
"creator": "string",
"currencyCode": "string",
"currencySymbol": "string",
"deleted": false,
"discountCode": "string",
"editTime": "2024-05-05T03:24:21.763Z",
"editor": "string",
"id": "string",
"imageUrl": "string",
"influencerIds": "string",
"isArchived": false,
"isExpired": false,
"isHidden": false,
"isUnableToPromote": false,
"marketingInformation": "string",
"medias": "string",
"periodEndTime": "2024-05-05T03:24:21.763Z",
"periodStartTime": "2024-05-05T03:24:21.763Z",
"platformType": {
"code": "string",
"value": "string"
},
"price": "string",
"productLink": "string",
"productName": "string",
"sales": 0,
"shopName": "string",
"shortLinks": "string",
"sortNumber": 0,
"tags": "string",
"totalCommissionRate": "string"
}
],
"size": 0,
"total": 0
},
"message": "string",
"params": [
{}
],
"requestId": "string",
"status": 0
}
Unauthorized
Forbidden
Not Found