Authorization: Bearer ********************
curl --location --request GET 'https://www.mengzhikeji.cn/prod-api/consumer/write-off'
{
"code": 0,
"msg": "string",
"data": [
{
"id": 0,
"commodityId": 0,
"merchantId": [
0
],
"consumerId": 0,
"status": "UNDONE",
"source": "ORDER",
"orderId": 0,
"applyWeek": [
"SUNDAY"
],
"applyTime": [
{
"begin": "string",
"end": "string"
}
],
"writeOffTimeout": "2019-08-24T14:15:22Z",
"writeOffMerchant": 0,
"returnTimeout": 0,
"commodity": {
"id": 0,
"commodityNo": "string",
"merchantId": 0,
"name": "string",
"pic": "string",
"type": "BUNDLE",
"status": "USED",
"usageMode": "WRITE_OFF",
"originalPrice": 0,
"remark": "string",
"picDetail": [
"string"
],
"tag": [
"string"
],
"allowMerchant": [
0
],
"detail": [
{
"name": "string",
"type": "SIMPLE_COMMODITY",
"item": [
{}
]
}
],
"buyingSetting": {
"currentPrice": 0,
"purchaseLimit": 1,
"inventory": 1,
"virtualSales": 0
},
"groupBuyingSetting": {
"groupBuying": true,
"groupBuyingRule": "string",
"groupSize": 2,
"groupBuyingPrice": 0
},
"restrictSetting": {
"thresholdPrice": 0,
"periodOfValidity": 1,
"dayOfWeek": [
"SUNDAY"
],
"timeOfDay": [
{
"begin": "string",
"end": "string"
}
],
"subscribeRule": "string",
"otherRule": "string",
"allowMerchant": [
0
]
},
"rewardSetting": {
"memberCommission": 0,
"consumerCommission": 0,
"commodity": [
{
"id": 0,
"pic": "string",
"name": "string",
"number": 0,
"price": 0,
"tag": [
"string"
]
}
]
},
"inventory": {
"inventory": 0,
"sold": 0,
"surplus": 0,
"virtual": 0,
"virtualInventory": 0,
"virtualSurplus": 0,
"virtualSold": 0
},
"deduction": 0,
"deductionType": 0,
"deductionCount": 0,
"deductionPrice": "string"
}
}
]
}