/promotionApi/open/promotion/couponAllDetailBatch{
"operation": {
"method": "POST",
"path": "/promotionApi/open/promotion/couponAllDetailBatch"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"requestExample": "{\n \"itemList\": [\n {\n \"promotionId\": \"2577860007635320832\",\n \"storeId\": \"32\",\n \"orderPageNum\": 1,\n \"orderPageSize\": 20,\n \"listingPageNum\": 2,\n \"listingPageSize\": 1\n }\n ]\n}",
"responseExample": {
"code": 0,
"message": "操作成功",
"error_details": [],
"request_id": "",
"response_time": "",
"total": 0,
"data": [
{
"promotionId": "bbdcdae5-57a1-4777-9ad6-3d901ea6fa74",
"storeId": "A23VOKJ3KY8G48",
"coupon": {
"promotionId": "bbdcdae5-57a1-4777-9ad6-3d901ea6fa74",
"name": "5%の割引 cj001",
"storeId": "A23VOKJ3KY8G48",
"storeName": "非凡-JP",
"regionName": "日本",
"currencyIcon": "JP¥",
"budget": "JP¥10000.0",
"cost": 0,
"discount": 5,
"drawQuantity": 0,
"exchangeQuantity": 0,
"exchangeRate": 0,
"status": 2,
"statusText": "已过期",
"originStatus": "",
"promotionType": 6,
"salesAmount": 0,
"salesVolume": 0,
"promotionStartTime": "2024-07-18 00:00:00",
"promotionEndTime": "2024-09-18 00:00:00"
},
"listingPage": {
"total": 2,
"size": 1,
"pageCount": 2,
"current": 2,
"currentSize": 1,
"records": [
{
"storeId": "31",
"storeName": "非凡-JP",
"regionName": "日本",
"currencyIcon": "JP¥",
"sellerSku": "09-CJWX-DFQH",
"asin": "B09SBF3H99",
"asinUrl": "https://www.amazon.co.jp/dp/B09SBF3H99",
"smallImageUrl": "https://m.media-amazon.com/images/I/51f8M9Z0O5L._SL75_.jpg",
"itemName": "シンプルなハート型ワックス編みカップルブレスレット (Red)",
"coupon": {
"salesPrice": 2889,
"discountPrice": 0,
"salesVolume": 0,
"salesAmount": 0
}
}
],
"hasNextPage": false,
"hasPreviousPage": true
},
"orderPage": {
"total": 1,
"size": 20,
"pageCount": 1,
"current": 1,
"currentSize": 1,
"records": [
{
"amazonOrderId": "nnxn-397437",
"storeId": "31",
"storeName": "非凡-JP",
"regionName": "日本",
"currencyIcon": "JP¥",
"orderItems": [
{
"sellerSku": "09-CJWX-DFQH",
"asin": "B09SBF3H99",
"asinUrl": "https://www.amazon.co.jp/dp/B09SBF3H99",
"smallImageUrl": "https://m.media-amazon.com/images/I/51f8M9Z0O5L._SL75_.jpg",
"itemName": "シンプルなハート型ワックス編みカップルブレスレット (Red)",
"localName": "KT7XL",
"localSku": "SKUKT7XL",
"promotionId": "bbdcdae5-57a1-4777-9ad6-3d901ea6fa74"
}
],
"purchaseDate": "2022-06-30 00:00:00",
"orderTotalAmount": 0,
"orderStatus": "CANCELLED"
}
],
"hasNextPage": false,
"hasPreviousPage": false
}
}
]
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | itemList | itemList | array<object> | — | Required | 批量请求详情itemList个数最小为1最大为20 |
| 1.1 | promotionId | 活动id | string | — | Required | 活动id,唯一标识 |
| 1.2 | storeId | 店铺id | string | — | Required | 店铺id |
| 1.3 | orderPageNum | 活动订单分页页数 | number | — | Required | 活动订单分页页数,最小为1 |
| 1.4 | orderPageSize | 活动订单分页大小 | number | — | Required | 活动订单分页大小,最小为1,最大为200 |
| 1.5 | listingPageNum | 活动listing分页页数 | number | — | Required | 活动listing分页页数,最小为1 |
| 1.6 | listingPageSize | 活动listing分页大小 | number | — | Required | 活动listing分页大小,最小为1,最大为200 |
| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | code | 0成功 | number | 1 | Required | 0成功 |
| 2 | message | message | string | 操作成功 | Required | |
| 3 | error_details | error_details | array<any> | — | Optional | |
| 4 | request_id | request_id | string | — | Required | |
| 5 | response_time | yyyy-MM-dd HH | string | — | Required | yyyy-MM-dd HH:mm:ss |
| 6 | total | total | integer | — | Required | |
| 7 | data | data | array<object> | — | Required | |
| 7.1 | promotionId | 活动id | string | bbdcdae5-57a1-4777-9ad6-3d901ea6fa74 | Required | 活动id |
| 7.2 | storeId | 店铺id | string | A23VOKJ3KY8G48 | Required | 店铺id |
| 7.3 | coupon | 优惠券信息 | object | — | Required | 优惠券信息 |
| 7.3.1 | promotionId | 活动id | string | bbdcdae5-57a1-4777-9ad6-3d901ea6fa74 | Required | 活动id,唯一标识 |
| 7.3.2 | name | 名称 | string | 5%の割引 cj001 | Required | 名称 |
| 7.3.3 | storeId | 店铺ID | string | A23VOKJ3KY8G48 | Required | 店铺ID |
| 7.3.4 | storeName | 店铺名 | string | 非凡-JP | Required | 店铺名 |
| 7.3.5 | regionName | 国家/地区名 | string | 日本 | Required | 国家/地区名 |
| 7.3.6 | currencyIcon | 货币icon | string | JP¥ | Required | 货币icon |
| 7.3.7 | budget | 预算 | string | JP¥10000.0 | Required | 预算 |
| 7.3.8 | cost | 支出 | number | 0 | Required | 支出 |
| 7.3.9 | discount | 折扣 | number | 5 | Required | 折扣 |
| 7.3.10 | drawQuantity | 领取数 | number | 0 | Required | 领取数 |
| 7.3.11 | exchangeQuantity | 兑换数 | number | 0 | Required | 兑换数 |
| 7.3.12 | exchangeRate | 兑换率 | number | 0 | Required | 兑换率 |
| 7.3.13 | status | status | number | 2 | Required | 状态 0其他 1进行中 2已过期 3未开始 4已取消 |
| 7.3.14 | statusText | 状态说明 | string | 已过期 | Required | 状态说明 |
| 7.3.15 | originStatus | 促销活动平台状态 | string | — | Required | 促销活动平台状态 |
| 7.3.16 | promotionType | 促销类型 | number | 6 | Required | 促销类型 |
| 7.3.17 | salesAmount | 活动总销售额 | number | 0 | Required | 活动总销售额 |
| 7.3.18 | salesVolume | 活动总销量 | number | 0 | Required | 活动总销量 |
| 7.3.19 | promotionStartTime | 活动开始时间 | string | 2024-07-18 00:00:00 | Required | 活动开始时间 |
| 7.3.20 | promotionEndTime | 活动结束时间 | string | 2024-09-18 00:00:00 | Required | 活动结束时间 |
| 7.4 | listingPage | 优惠券涉及的Listing信息 | object | — | Required | 优惠券涉及的Listing信息 |
| 7.4.1 | total | 总数 | number | 2 | Required | 总数 |
| 7.4.2 | size | 每页大小 | number | 1 | Required | 每页大小 |
| 7.4.3 | pageCount | 总页数 | number | 2 | Required | 总页数 |
| 7.4.4 | current | 当前页数 | number | 2 | Required | 当前页数 |
| 7.4.5 | currentSize | 当前页条数 | number | 1 | Required | 当前页条数 |
| 7.4.6 | records | 当前页数据 | array<object> | — | Required | 当前页数据 |
| 7.4.6.1 | storeId | 店铺id | string | 31 | Required | 店铺id |
| 7.4.6.2 | storeName | 店铺名 | string | 非凡-JP | Required | 店铺名 |
| 7.4.6.3 | regionName | 国家/地区名 | string | 日本 | Required | 国家/地区名 |
| 7.4.6.4 | currencyIcon | 货币icon | string | JP¥ | Required | 货币icon |
| 7.4.6.5 | sellerSku | sellerSku | string | 09-CJWX-DFQH | Required | seller_sku |
| 7.4.6.6 | asin | asin | string | B09SBF3H99 | Required | asin |
| 7.4.6.7 | asinUrl | asin跳转亚马逊前台链接 | string | https://www.amazon.co.jp/dp/B09SBF3H99 | Required | asin跳转亚马逊前台链接 |
| 7.4.6.8 | smallImageUrl | 商品缩略图 | string | https://m.media-amazon.com/images/I/51f8M9Z0O5L._SL75_.jpg | Required | 商品缩略图 |
| 7.4.6.9 | itemName | 商品标题 | string | シンプルなハート型ワックス編みカップルブレスレット (Red) | Required | 商品标题 |
| 7.4.6.10 | coupon | 优惠券主要信息 | object | — | Required | 优惠券主要信息 |
| 7.4.6.10.1 | salesPrice | 优惠价 | number | 2889 | Required | 优惠价 |
| 7.4.6.10.2 | discountPrice | 折后价 | number | 0 | Required | 折后价 |
| 7.4.6.10.3 | salesVolume | 销量 | number | 0 | Required | 销量 |
| 7.4.6.10.4 | salesAmount | 销售额 | number | 0 | Required | 销售额 |
| 7.4.7 | hasNextPage | 是否有下一页 | boolean | false | Required | 是否有下一页 |
| 7.4.8 | hasPreviousPage | 是否有上一页 | boolean | true | Required | 是否有上一页 |
| 7.5 | orderPage | 优惠券涉及的订单信息 | object | — | Required | 优惠券涉及的订单信息 |
| 7.5.1 | total | 总数 | number | 1 | Required | 总数 |
| 7.5.2 | size | 每页大小 | number | 20 | Required | 每页大小 |
| 7.5.3 | pageCount | 总页数 | number | 1 | Required | 总页数 |
| 7.5.4 | current | 当前页数 | number | 1 | Required | 当前页数 |
| 7.5.5 | currentSize | 当前页条数 | number | 1 | Required | 当前页条数 |
| 7.5.6 | records | 当前页数据 | array<object> | — | Required | 当前页数据 |
| 7.5.6.1 | amazonOrderId | 亚马逊订单号 | string | nnxn-397437 | Required | 亚马逊订单号 |
| 7.5.6.2 | storeId | 店铺id | string | 31 | Required | 店铺id |
| 7.5.6.3 | storeName | 店铺名 | string | 非凡-JP | Required | 店铺名 |
| 7.5.6.4 | regionName | 国家/地区名 | string | 日本 | Required | 国家/地区名 |
| 7.5.6.5 | currencyIcon | 货币icon | string | JP¥ | Required | 货币icon |
| 7.5.6.6 | orderItems | 订单商品信息 | array<object> | — | Required | 订单商品信息 |
| 7.5.6.6.1 | sellerSku | sellerSku | string | 09-CJWX-DFQH | Required | seller_sku |
| 7.5.6.6.2 | asin | asin | string | B09SBF3H99 | Required | asin |
| 7.5.6.6.3 | asinUrl | asin跳转亚马逊前台链接 | string | https://www.amazon.co.jp/dp/B09SBF3H99 | Required | asin跳转亚马逊前台链接 |
| 7.5.6.6.4 | smallImageUrl | 商品缩略图 | string | https://m.media-amazon.com/images/I/51f8M9Z0O5L._SL75_.jpg | Required | 商品缩略图 |
| 7.5.6.6.5 | itemName | 商品标题 | string | シンプルなハート型ワックス編みカップルブレスレット (Red) | Required | 商品标题 |
| 7.5.6.6.6 | localName | 品名 | string | KT7XL | Required | 品名 |
| 7.5.6.6.7 | localSku | localSku | string | SKUKT7XL | Required | localSku |
| 7.5.6.6.8 | promotionId | 促销ID | string | bbdcdae5-57a1-4777-9ad6-3d901ea6fa74 | Required | 促销ID |
| 7.5.6.7 | purchaseDate | 订购时间 | string | 2022-06-30 00:00:00 | Required | 订购时间 |
| 7.5.6.8 | orderTotalAmount | 订单总金额 | number | 0 | Required | 订单总金额 |
| 7.5.6.9 | orderStatus | 订单状态 | string | CANCELLED | Required | 订单状态 |
| 7.5.7 | hasNextPage | 是否有下一页 | boolean | false | Required | 是否有下一页 |
| 7.5.8 | hasPreviousPage | 是否有上一页 | boolean | false | Required | 是否有上一页 |
The 查询优惠券详情+listing+订单(批量) API (/promotionApi/open/promotion/couponAllDetailBatch) of 领星ERP is curated by the API asset management module of the Qeasy Cloud data integration platform and kept in sync with 领星ERP version updates.
Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.