本文档由 Apifox 自动生成,推荐使用 Apifox - API 文档、API 调试、API Mock、API 自动化测试!
{
"status": 0,
"success": true,
"data": {
"id": 0,
"name": "string",
"message": "string",
"expiry_date": "2025-01-01",
"start_date": "string",
"offer_type": "buy_x_get_y",
"status": "string",
"show_price_after_discount": true,
"show_discounts_table_message": true,
"buy": {
"type": "category",
"quantity": 0,
"products": [
{
"id": 0,
"type": "product",
"promotion": {
"title": "string",
"sub_title": "string"
},
"status": "string",
"is_available": true,
"sku": "string",
"name": "string",
"price": {
"amount": 0,
"currency": "string"
},
"sale_price": {
"amount": 0,
"currency": "string"
},
"url": "string",
"has_special_price": true,
"regular_price": {
"amount": 0,
"currency": "string"
},
"currency": "string",
"thumbnail": "string",
"calories": "string",
"mpn": "string",
"gtin": "string",
"favorite": "string",
"starting_price": "string"
}
],
"categories": [
{
"name": "string",
"url": "string"
}
]
},
"get": {
"type": "string",
"discount_type": "percentage ",
"quantity": 0,
"products": [
{
"id": 0,
"type": "product",
"promotion": {
"title": "string",
"sub_title": "string"
},
"status": "string",
"is_available": true,
"sku": "string",
"name": "string",
"price": {
"amount": 0,
"currency": "string"
},
"sale_price": {
"amount": 0,
"currency": "string"
},
"url": "string",
"has_special_price": true,
"regular_price": {
"amount": 0,
"currency": "string"
},
"currency": "string",
"thumbnail": "string",
"calories": "string",
"mpn": "string",
"gtin": "string",
"favorite": "string",
"starting_price": "string"
}
],
"categories": [
{
"name": "string",
"url": "string"
}
]
}
}
}
扫码加入 Apifox 微信交流群
在这里,获得 Apifox 使用上的任何帮助,快速上手让你的研测效率得到大幅提升