👏欢迎访问食亨开放平台,这里将提供给你优质的接口,请选择对应系统tab进入到接口文档
参数名 | 类型 | 说明 |
---|---|---|
url | String | 第三方接口地址/Post接口 |
app_Id | String | 开放平台AppId |
version | String | 推送的接口版本号,默认为"1.0.0" |
format | String | 数据格式(当前仅支持json) |
re_succ | Integer | 是否验证成功(0-不验证,1-验证。根据errorCode确认是否重试) |
brand_id | Integer | 品牌ID |
platform_id | Integer | 平台类型 |
platform_shop_id | String | 平台门店ID |
sh_shop_id | String | 食亨中台门店ID |
字段名称 | 字段类型 | 字段说明 | 备注 |
---|---|---|---|
appId | string | 开放平台AppID | |
brandId | Number | 品牌ID | |
shShopId | String | 食亨中台门店ID | |
uuidMsg | String | 全局唯一uuid | |
docNo | Sring | 连续订单流水号 | 不区分平台 |
orderId | string | 订单id | 销售和退款时ID关联 |
date | string | 订单时间 | yyyy-MM-dd |
orderSource | Number | 订单来源 | 见下表 |
income | Number | 商品实收 | 计算了记账金额 |
apiIncome | Number | 商品实收 | 没有计算记账金额 |
orderType | Number | 订单类型 | 1:堂食小吃/2:堂食正餐/3:外卖/4:自提/5:买单(没有商品详情) |
discountAmount | Number | 优惠金额 | 计算了记账金额 |
apiDiscountAmount | Number | 优惠金额 | 没有计算记账金额 |
refundAmount | Number | 退款金额 | 计算了记账金额 |
apiRefundAmount | Number | 退款金额 | 没有计算记账金额 |
partRefundAmount | Number | 部分退款金额 | |
apiPartRefundAmount | Number | 部分退款金额 | 暂时和partRefundAmount相同 |
platform | Number | 平台id | |
platformShopId | string | 平台门店id | |
platformShopName | string | 平台门店名称 | |
discounts | string | 活动信息 | 内含活动详情对象 见下表: |
paymentTime | Number | 支付时间 | 时间戳格式 :1711103709000 |
userPaidAmount | Number | 用户实付 | |
itemTotalAmount | Number | 商品金额 | |
groups | Group[] | 商品分组 | 包含商品详情的数组 |
totalAmount | Number | 营业额 | |
deliveryFee | Number | 配送费 | |
submitTime | Number | 下单时间 | 时间戳格式:1711103709000 |
boxFee | Number | 餐盒费 | |
daySn | string | 流水号 | 区分平台 |
payChannel | Number | 支付方式 | 见下表 |
saleStatus | Number | 订单状态 | 0:正常单,1:退款单(包含部分退款) |
refundInfos | RefundInfo[] | 退款信息 | 详情描述见下表 |
mixPayChannelList | mixPayChannelList[] | 支付列表 | |
validOrderCount | Number | 有效订单数 | 下单为1,全额退款为-1,部分退款为0 |
userId | String | 会员id | |
nickName | String | 会员昵称 | 外卖、团餐的就是收货人姓名,pos、app的就是用户昵称(wx) |
phone | String | 会员手机号 | 外卖、团餐的就是收货人手机号码,pos、app的就是用户手机号 |
参数名 | 类型 | 说明 |
---|---|---|
groupName | Sting | 分组名称 |
details | Detail[] | 详情列表 |
字段名称 | 字段类型 | 字段说明 | 备注 |
---|---|---|---|
productEnum | String | 平台商品类型 | SKU, SPU, CHILD_SKU, PACKAGE_SPU, WEIGHING_SKU, INGERDIENT |
spuName | String | 标准非规格商品名称 | |
specName | String | 标准规格名称 | 有映射的多规格商品的规格名称 |
platformSpuName | String | 平台非规格商品名称 | |
covertJson | String | 标准商品信息 | 见下表 mapped =true 才存在 |
ext | String | 包含商品活动信息 | 见下表 |
itemTotalPrice | Number | 平台商品总金额 | 表示该商品优惠后的总价 |
openSpuId | String | 标准对外非规格商品id | 未映射的情况下为空 |
skuPrice | Number | 平台商品现价金额(单价) | 表示购买该商品的单价 |
subList | SkuDTO[] | 标准套餐子品信息 | 见下表( 未映射的情况下为空 ) |
attrs | AttrSaleDTO[] | 标准属性信息 | 见下表(未映射的情况下为空 ) |
mapped | Boolean | 是否为标准商品 | 标识该商品是否按照标准定义 |
platformSkuId | String | 平台商品id | 表示原平台的商品skuId |
spuId | String | 标准非规格商品id | 未映射的情况下为空 |
skuId | String | 标准商品id | 未映射的情况下为空 |
weight | Number | 称重商品重量 | 用作称重商品重量 |
unit | String | 销售单位 | 如:kg,份 |
skuCount | Number | 商品数量 | |
meta | String | 平台原生数据 | 见下表 |
openSkuId | String | 对外商品id | 未映射的情况下为空 |
skuName | String | 标准规格商品名称 | |
platformSkuName | String | 平台规格商品名称 | |
boxPrice | Number | 餐盒价格 | |
categoryId | Number | 分类id | |
ingredients | AttrSaleDTO[] | 标准小料 | 见下表(未映射的情况下为空 ) |
practices | AttrSaleDTO[] | 标准做法 | 见下表(未映射的情况下为空 ) |
practiceVoList | PracticeDTO[] | 平台商品做法列表 | 见下表(综合了子品、小料、做法、属性)与映射无关,目前支持美饿 |
{
"groups": [
{
"groupName": "主菜",
"details": [
{
"covertJson": "{\"openSkuId\":\"500607\",\"productEnum\":\"PACKAGE_SPU\",\"spuName\":\"鸭屎香手打柠檬茶+山茶花手打柠檬茶\",\"packageSkuDetailMap\":{},\"ingredients\":[],\"openSpuId\":\"500607\",\"spuId\":125178,\"practices\":[],\"skuId\":125178,\"attrs\":[{\"num\":1,\"attrDTO\":{\"attributeId\":36510,\"openSkuId\":\"500014\",\"packagePractices\":[],\"packageAttr\":[{\"num\":1,\"attrDTO\":{\"packagePractices\":[],\"packageIngredients\":[],\"attributeName\":\"标准冰(推荐)\"}},{\"num\":1,\"attrDTO\":{\"packagePractices\":[],\"packageIngredients\":[],\"attributeName\":\"7分糖(标准甜)\"}}],\"packageIngredients\":[],\"price\":0,\"groupId\":75328,\"openSpuId\":\"500014\",\"attributeName\":\"鸭屎香手打柠檬茶\",\"spuId\":\"36510\",\"categoryId\":1821,\"skuId\":36510}},{\"num\":1,\"attrDTO\":{\"attributeId\":36493,\"openSkuId\":\"500001\",\"packagePractices\":[],\"packageAttr\":[{\"num\":1,\"attrDTO\":{\"packagePractices\":[],\"packageIngredients\":[],\"attributeName\":\"标准冰(推荐)\"}},{\"num\":1,\"attrDTO\":{\"packagePractices\":[],\"packageIngredients\":[],\"attributeName\":\"7分糖(标准甜)\"}}],\"packageIngredients\":[],\"price\":0,\"groupId\":75328,\"openSpuId\":\"500001\",\"attributeName\":\"山茶花手打柠檬茶\",\"spuId\":\"36493\",\"categoryId\":1821,\"skuId\":36493}}]}",
"practiceVoList": [
{
"practiceName": "2人份"
},
{
"practiceName": "标准冰(推荐)"
},
{
"practiceName": "7分糖(标准甜)"
}
],
"openSkuId": "500607",
"productEnum": "PACKAGE_SPU",
"spuName": "鸭屎香手打柠檬茶+山茶花手打柠檬茶",
"platformSpuName": "鸭屎香手打柠檬茶+山茶花手打柠檬茶",
"ingredients": [
],
"openSpuId": "500607",
"spuId": "125178",
"practices": [
],
"skuId": "125178",
"platformSkuId": "125178",
"itemTotalPrice": 50.00,
"skuPrice": 50.00,
"originSkuPrice": 60.00,
"unit": "2人份",
"skuCount": 1,
"subList": [
{
"num": 1,
"skuDTO": {
"attributeId": 36510,
"openSkuId": "500014",
"practices": [
],
"attrs": [
{
"num": 1,
"attrDTO": {
"attributeName": "标准冰(推荐)"
}
},
{
"num": 1,
"attrDTO": {
"attributeName": "7分糖(标准甜)"
}
}
],
"ingredients": [
],
"price": 0,
"openSpuId": "500014",
"attributeName": "鸭屎香手打柠檬茶",
"spuId": "36510",
"categoryId": 1821,
"skuId": "36510"
}
},
{
"num": 1,
"skuDTO": {
"attributeId": 36493,
"openSkuId": "500001",
"practices": [
],
"attr": [
{
"num": 1,
"attrDTO": {
"attributeName": "标准冰(推荐)"
}
},
{
"num": 1,
"attrDTO": {
"attributeName": "7分糖(标准甜)"
}
}
],
"ingredients": [
],
"price": 0,
"openSpuId": "500001",
"attributeName": "山茶花手打柠檬茶",
"spuId": "36493",
"categoryId": 1821,
"skuId": "36493"
}
}
],
"mapped": true,
"meta": "{\"actualPrice\":31.68,\"appFoodCode\":\"鸭屎香手打柠檬茶+山茶花手打柠檬茶\",\"boxNum\":1.0,\"boxPrice\":2.0,\"cartId\":0,\"detailExtra\":{\"attrType\":1,\"cate\":\"套餐\",\"packageDeatil\":\"[\\\"鸭屎香手打柠檬茶\\\",\\\"山茶花手打柠檬茶\\\"]\"},\"detailId\":6428700652169,\"foodDiscount\":1.0,\"foodName\":\"鸭屎香手打柠檬茶+山茶花手打柠檬茶\",\"foodProperty\":\"标准冰(推荐),7分糖(标准甜)\",\"mtSkuId\":27916697964,\"mtSpuId\":7140420076,\"mtTagId\":10923027707,\"price\":36.0,\"quantity\":1,\"skuId\":\"\",\"spec\":\"2人份\",\"subDetailList\":[],\"unit\":\"2人份\"}"
},
{
"covertJson": "{\"openSkuId\":\"500627\",\"productEnum\":\"SKU\",\"spuName\":\"空山乌龙手打柠檬茶\",\"packageSkuDetailMap\":{},\"ingredients\":[],\"openSpuId\":\"500627\",\"spuId\":132292,\"categoryId\":1821,\"practices\":[],\"skuId\":132292,\"attrs\":[{\"num\":1,\"attrDTO\":{\"packagePractices\":[],\"packageIngredients\":[],\"attributeName\":\"标准冰(推荐)\"}},{\"num\":1,\"attrDTO\":{\"packagePractices\":[],\"packageIngredients\":[],\"attributeName\":\"7分糖(标准甜)\"}}]}",
"openSkuId": "500627",
"productEnum": "SKU",
"spuName": "空山乌龙手打柠檬茶",
"platformSpuName": "空山乌龙手打柠檬茶",
"ingredients": [
],
"openSpuId": "500627",
"spuId": "132292",
"categoryId": 1821,
"practices": [
],
"skuId": "132292",
"attrs": [
{
"num": 1,
"attrDTO": {
"attributeName": "标准冰(推荐)"
}
},
{
"num": 1,
"attrDTO": {
"attributeName": "7分糖(标准甜)"
}
}
],
"practiceVoList": [
{
"practiceName": "600毫升"
},
{
"practiceName": "标准冰(推荐)"
},
{
"practiceName": "7分糖(标准甜)"
}
],
"groupName": "1号口袋",
"meta": "{\"actualPrice\":18.0,\"appFoodCode\":\"空山乌龙手打柠檬茶\",\"boxNum\":1.0,\"boxPrice\":1.0,\"cartId\":0,\"detailId\":6428700652233,\"foodDiscount\":1.0,\"foodName\":\"空山乌龙手打柠檬茶\",\"foodProperty\":\"标准冰(推荐),7分糖(标准甜)\",\"mtSkuId\":32580508269,\"mtSpuId\":7922715765,\"mtTagId\":10923027707,\"price\":18.0,\"quantity\":1,\"skuId\":\"\",\"spec\":\"600毫升\",\"subDetailList\":[],\"unit\":\"600毫升\"}",
"boxPrice": 1.00,
"mapped": true,
"originSkuPrice": 18.00,
"spuId": "132292",
"categoryId": 1821,
"skuId": "132292",
"platformSkuId": "132292",
"unit": "600毫升",
"skuCount": 1
}
]
}
]
}
{
"groups": [
{
"groupName": "主菜",
"details": [
{
"practiceVoList": [
{
"practiceName": "2人份"
},
{
"practiceName": "标准冰(推荐)"
},
{
"practiceName": "7分糖(标准甜)"
}
],
"productEnum": "SPU",
"platformSpuName": "鸭屎香手打柠檬茶+山茶花手打柠檬茶",
"ingredients": [
],
"practices": [
],
"platformSkuId": "27916697964",
"itemTotalPrice": 50.00,
"skuPrice": 50.00,
"originSkuPrice": 60.00,
"skuCount": 1,
"unit": "2人份",
"mapped": false,
"meta": "{\"actualPrice\":31.68,\"appFoodCode\":\"鸭屎香手打柠檬茶+山茶花手打柠檬茶\",\"boxNum\":1.0,\"boxPrice\":2.0,\"cartId\":0,\"detailExtra\":{\"attrType\":1,\"cate\":\"套餐\",\"packageDeatil\":\"[\\\"鸭屎香手打柠檬茶\\\",\\\"山茶花手打柠檬茶\\\"]\"},\"detailId\":6428700652169,\"foodDiscount\":1.0,\"foodName\":\"鸭屎香手打柠檬茶+山茶花手打柠檬茶\",\"foodProperty\":\"标准冰(推荐),7分糖(标准甜)\",\"mtSkuId\":27916697964,\"mtSpuId\":7140420076,\"mtTagId\":10923027707,\"price\":36.0,\"quantity\":1,\"skuId\":\"\",\"spec\":\"2人份\",\"subDetailList\":[],\"unit\":\"2人份\"}"
},
{
"productEnum": "SKU",
"platformSpuName": "空山乌龙手打柠檬茶",
"ingredients": [
],
"practices": [
],
"practiceVoList": [
{
"practiceName": "600毫升"
},
{
"practiceName": "标准冰(推荐)"
},
{
"practiceName": "7分糖(标准甜)"
}
],
"groupName": "1号口袋",
"meta": "{\"actualPrice\":18.0,\"appFoodCode\":\"空山乌龙手打柠檬茶\",\"boxNum\":1.0,\"boxPrice\":1.0,\"cartId\":0,\"detailId\":6428700652233,\"foodDiscount\":1.0,\"foodName\":\"空山乌龙手打柠檬茶\",\"foodProperty\":\"标准冰(推荐),7分糖(标准甜)\",\"mtSkuId\":32580508269,\"mtSpuId\":7922715765,\"mtTagId\":10923027707,\"price\":18.0,\"quantity\":1,\"skuId\":\"\",\"spec\":\"600毫升\",\"subDetailList\":[],\"unit\":\"600毫升\"}",
"boxPrice": 1.00,
"mapped": false,
"originSkuPrice": 18.00,
"platformSkuId": "32580508269",
"unit": "600毫升",
"skuCount": 1
}
]
}
]
}
商品属性/小料/做法(AttrSaleDTO)
字段名称 字段类型 字段说明 num
Nummber 数量 attrDTO
AttrDTO 做法/属性/小料配置
{
"num": 1,
"attrDTO": {
"practices": [
],
"ingredients": [
],
"price": 0.00,
"attributeName": "5分糖",
"attributeId": 123215123,
"attrType": 1
}
}
商品属性/小料/做法(AttrDTO)
字段名称 字段类型 字段说明 price
Nummber 加价价格 attributeName
String 小料名称/做法名称/属性名称 attributeId
Nummber 小料ID/做法ID/属性ID attrType
Nummber 类型 0:属性 1:小料 2:做法 attributeTypeEnum
String ADD_PRICE:加价 NO_PRICE:不加价
"practices": [
{
"num": 1,
"attrDTO": {
"attributeId": 207682,
"attributeTypeEnum": "ADD_PRICE",
"price": 0.00,
"attributeName": "少冰(推荐)",
"attrType": 2
}
}
],
"ingredients": [
{
"num": 1,
"attrDTO": {
"attributeId": 208743,
"attributeTypeEnum": "ADD_PRICE",
"price": 1.00,
"attributeName": "水晶条/小",
"attrType": 1
}
}
],
"attrs": [
{
"num": 1,
"attrDTO": {
"attributeId": 33655,
"price": 0.00,
"attributeName": "微微辣",
"attrType": 0
}
}
]
套餐子品信息|(Group.Detail.subList)
套餐子品信息|(SkuDTO)
字段名称 字段类型 字段说明 num
Nummber 数量 skuDTO
SkuDetailDTO 子品信息详情
[
{
"num": 1,
"skuDTO": {
"practices": [
{
"num": 1,
"attrDTO": {
"attributeId": 231762,
"attributeTypeEnum": "ADD_PRICE",
"price": 0.00,
"groupId": 27967,
"attributeName": "北海道吐司",
"attrType": 2
}
},
{
"num": 1,
"attrDTO": {
"attributeId": 231419,
"attributeTypeEnum": "ADD_PRICE",
"price": 0.00,
"attributeName": "番茄+沙拉",
"attrType": 2
}
},
{
"num": 1,
"attrDTO": {
"attributeId": 231453,
"attributeTypeEnum": "ADD_PRICE",
"price": 0.00,
"attributeName": "加混合蔬菜",
"attrType": 2
}
}
],
"openSpuId": "500146",
"categoryName": "现烤飞碟三明治",
"attributeId": 231759,
"openSkuId": "500146",
"attrs": [
],
"ingredients": [
{
"num": 1,
"attrDTO": {
"attributeId": 231434,
"attributeTypeEnum": "ADD_PRICE",
"price": 3.50,
"attributeName": "加一个鸡蛋",
"attrType": 1
}
}
],
"price": 0.000,
"attributeName": "双重芝士火腿鸡蛋三明治(超级招牌)",
"spuId": "231759",
"categoryId": 12990,
"skuId": "231759"
}
}
]
套餐子品信息(SkuDetailDTO)
字段名称 字段类型 字段说明 practices
AttrSaleDTO[] 套餐子品做法 ingredients
AttrSaleDTO[] 套餐子品小料 attrs
AttrSaleDTO[] 套餐子品属性 price
Nummber 套餐子品加价价格 attributeName
String 套餐子品名称 specName
String 套餐子品规格名称 categoryName
String 套餐子品分类名称 categoryId
Number 套餐子品分类ID attributeId
Number 套餐子品ID openSkuId
String 套餐子品对外商品id openSpuId
String 套餐子品对外非规格商品id skuId
String 规格商品ID spuId
String 非规格商品ID
{
"num": 1,
"skuDTO": {
"practices": [
{
"num": 1,
"attrDTO": {
"attributeId": 231762,
"attributeTypeEnum": "ADD_PRICE",
"price": 0.00,
"groupId": 27967,
"attributeName": "北海道吐司",
"attrType": 2
}
},
{
"num": 1,
"attrDTO": {
"attributeId": 231419,
"attributeTypeEnum": "ADD_PRICE",
"price": 0.00,
"attributeName": "番茄+沙拉",
"attrType": 2
}
},
{
"num": 1,
"attrDTO": {
"attributeId": 231453,
"attributeTypeEnum": "ADD_PRICE",
"price": 0.00,
"attributeName": "加混合蔬菜",
"attrType": 2
}
}
],
"openSpuId": "500146",
"categoryName": "现烤飞碟三明治",
"attributeId": 231759,
"openSkuId": "500146",
"attrs": [
],
"ingredients": [
{
"num": 1,
"attrDTO": {
"attributeId": 231434,
"attributeTypeEnum": "ADD_PRICE",
"price": 3.50,
"attributeName": "加一个鸡蛋",
"attrType": 1
}
}
],
"price": 0.000,
"attributeName": "双重芝士火腿鸡蛋三明治(超级招牌)",
"spuId": "231759",
"categoryId": 12990,
"skuId": "231759"
}
}
平台商品做法列表(PracticeDTO)
字段名称 字段类型 字段说明 practiceName
String 商品做法名称 practiceType
Nummber 商品做法值 0:属性 1:加料 2:做法 3:子品 4:规格 (目前支持美团和饿了么平台)
"practiceVoList": [
{
"practiceName": "qqq",
"practiceType": 0
},
{
"practiceName": "www",
"practiceType": 1
}
]
平台特定信息(Group.Detail.covertJson)
活动关联商品信息(Group.Detail.ext)
{
"ext": ""
}
参数名 | 类型 | 说明 |
---|---|---|
detailIndex | Nummber | 内部字段无需理会 |
discountUniqueId | Nummber | 活动明细唯一ID |
{
"ext": "{\"detailIndex\":1711105819163,\"discountUniqueId\":\"101548604\"}"
}
退款信息(refundInfos)
退款商品分组详情
参数名 | 类型 | 说明 |
---|---|---|
damageFlag | Boolean | 退款商品是否报损,只有退款单里有,有可能为空, |
refundOrderId | String | 退单id |
refundType | Number | 退款类型 : -1(未知),1(全额退款)2(部分退款),3(订单取消,第三方平台有) |
cancelTime | Number | 订单取消时间:时间戳 |
refundGoods | RefundGood[] | 退款商品列表 |
[
{
"damageFlag": true,
"refundOrderId": "a1b2c3d4e5f6",
"refundType": 1,
"cancelTime": 1711339070000,
"refundGoods": [
{
"skuId": "112221",
"platformSkuId": "sku123",
"refundSkuCount": 1,
"refundSkuPrice": 0.0
},
{
"skuId": "sku54321",
"platformSkuId": "sku511",
"refundSkuCount": 1,
"refundSkuPrice": 0.0
}
]
}
]
参数名 | 类型 | 说明 |
---|---|---|
skuId | String | 退款标准商品id |
platformSkuId | String | 退款平台商品id |
refundSkuCount | Number | 退款商品数量 |
refundSkuPrice | Number | 退款商品金额 |
[
{
"skuId": "112221",
"platformSkuId": "sku123",
"refundSkuCount": 1,
"refundSkuPrice": 0.0
},
{
"skuId": "sku54321",
"platformSkuId": "sku511",
"refundSkuCount": 1,
"refundSkuPrice": 0.0
}
]
活动信息(discounts):
参数名 | 类型 | 说明 |
---|---|---|
wmDisCountType | Number | 外卖平台折扣类型 |
amount | Number | 折扣金额 |
name | Number | 折扣活动名称 |
unablePayChannels | string[] | 不支持的支付方式 |
参数名 | 类型 | 说明 |
---|---|---|
id | Number | 折扣ID |
type | Number | 折扣类型 1:优惠券 2:会员权益卡 3:整单折扣 4:整单减免 5:团购活动 6:商品活动 7:一口价 9:订单满 减 10:配送优惠券 11:权益卡-配送折扣 12:第三方优惠券 13:赠菜 30:在线点活动 31在线点-团购 |
amount | Number | 折扣金额/减免金额/一口价金额/折扣比例 |
name | string | 折扣活动名称 |
count | Number | 券使用的数量 |
online | Boolean | 在线核销标识 |
platform | Number | 团购平台(仅团购存在) |
salePrice | Number | 记账金额(在金额计算时用到的记账金额是在type折扣类型为1,5,10的情况下) |
支付列表(mixPayChannelList):
mixPayChannelList
参数名 | 类型 | 说明 |
---|---|---|
amount | Nummber | 支付金额 |
payChannel | Nummber | 支付方式(枚举参考下文支付方式枚举) |
{
"mixPayChannelList": [{
"amount": 3.00,
"payChannel": 3
},
{
"amount": 2.00,
"payChannel": 7
}
]
}
订单来源
0:美团
1:饿了么
2:饿百
4:美团
10:微信小程序
11:APP
12:POS
13:运营中心:商家后台
14:支付宝小程序
15:抖音小程序
16:三方POS
17:抖音外卖
20:微信小程序(企迈)
21:支付宝小程序(企迈)
22:云闪付小程序(企迈)
5:美团在线点
79:京东秒送
支付方式枚举
3 微信支付
4 支付宝支付
6 现金支付
7 余额支付
8 礼品卡支付
20 刷卡
21 自外送会员支付
22 美餐网支付
23 小秘书支付
24 美团团餐支付
30 0元付订单
31 小程序支付
12 美团支付-货到付款
13 美团支付-在线支付
14 饿了么支付-货到付款
15 饿了么支付-在线支付
16 抖音支付-在线支付
77 抖音外卖支付
90 混合支付
其他负数payChannel 其他支付,自定义支付方式
26 美团在线点支付
27 在线点团购券支付
70 美团圈圈
71 银联支付
72 第三方支付
73 京东支付
74 美团小白盒
75 企业团餐
76 校园卡
78 自营外卖
79 京东秒送
团购平台枚举
0 美团团购
1 口碑团购
2 抖音团购
3 其他团购
10 美团点评自助核销
24 美团在线点团购
65 快手团购
platform > 99 自定义团购
{
"apiDiscountAmount": 0.0,
"apiIncome": 6.74,
"apiPartRefundAmount": 0.0,
"apiRefundAmount": 0.0,
"appId": "123456",
"boxFee": 1.0,
"brandId": 7777,
"date": "2024-11-19",
"daySn": "15",
"deliveryFee": 0.1,
"dimDateId": "20241119",
"discountAmount": 0.0,
"discounts": "[]",
"docNo": "AA0000077",
"groups": [
{
"details": [
{
"attrs": [
],
"categoryId": 402,
"covertJson": "{\"openSkuId\":\"505679\",\"productEnum\":\"SKU\",\"spuName\":\"火龙果\",\"packageSkuDetailMap\":{},\"ingredients\":[{\"num\":1,\"attrDTO\":{\"attributeId\":-1,\"packagePractices\":[],\"packageIngredients\":[],\"attributeName\":\"白酒\",\"attrType\":1}},{\"num\":1,\"attrDTO\":{\"attributeId\":152912,\"packagePractices\":[],\"packageIngredients\":[],\"attributeName\":\"sx奶盖\"}}],\"openSpuId\":\"505679\",\"spuId\":153109,\"categoryId\":402,\"practices\":[],\"skuId\":153109,\"uniqueId\":\"153109|sx奶盖*1|白酒*1\",\"attrs\":[]}",
"ingredients": [
{
"attrDTO": {
"attrType": 1,
"attributeId": 152912,
"attributeName": "sx奶盖",
"price": 0.0
},
"num": 1
}
],
"itemTotalPrice": 2.02,
"mapped": true,
"meta": "{\"activities\":[],\"attributes\":[{\"name\":\"做法属性\",\"value\":\"0度\"}],\"barCode\":\"\",\"categoryId\":1,\"extendCode\":\"\",\"foodType\":0,\"id\":3094730148,\"ingredients\":[{\"name\":\"白酒\",\"quantity\":1,\"skuCode\":\"\",\"uniqueId\":\"117b93361-fc77-4bda-a127-47aa15387823\"}],\"mealPreparation\":\"[0度]\",\"name\":\"火龙果[0度]\",\"newSpecs\":[],\"originalName\":\"火龙果\",\"price\":1.02,\"quantity\":1,\"shopPrice\":0.0,\"skuId\":100001455566438039,\"total\":1.02,\"uniqueId\":\"100f044a3-3ac2-4bb6-af89-c6b6feb74ddb\",\"userPrice\":0.0,\"vfoodId\":2526009411,\"weight\":50.0}",
"openSkuId": "505679",
"openSpuId": "505679",
"platformSkuId": "3094730148",
"platformSkuName": "火龙果[0度]",
"platformSpuName": "火龙果",
"practiceVoList": [
{
"practiceName": "白酒",
"practiceType": 1
},
{
"practiceName": "sx奶盖",
"practiceType": 1
}
],
"practices": [
],
"productEnum": "SKU",
"skuCount": 1,
"skuId": "153109",
"skuPrice": 2.02,
"spuId": "153109",
"spuName": "火龙果",
"subList": [
],
"unit": "份"
},
{
"covertJson": "{\"productEnum\":\"PACKAGE_SPU\",\"spuName\":\"双人成行\",\"packageSkuDetailMap\":{},\"mappingType\":\"ELE_PACKAGE_MAPPING\",\"ingredients\":[],\"spuId\":-10001,\"practices\":[],\"skuId\":-10001,\"attrs\":[{\"num\":1,\"attrDTO\":{\"attributeId\":153108,\"openSkuId\":\"505678\",\"packagePractices\":[],\"packageAttr\":[],\"packageIngredients\":[{\"num\":1,\"attrDTO\":{\"attributeId\":-1,\"packagePractices\":[],\"packageIngredients\":[],\"attributeName\":\"雪碧\",\"attrType\":1}},{\"num\":1,\"attrDTO\":{\"attributeId\":-1,\"packagePractices\":[],\"packageIngredients\":[],\"attributeName\":\"可乐\",\"attrType\":1}},{\"num\":1,\"attrDTO\":{\"attributeId\":153107,\"packagePractices\":[],\"packageIngredients\":[],\"attributeName\":\"红酒\"}}],\"groupId\":-1,\"openSpuId\":\"505678\",\"attributeName\":\"猫台\",\"spuId\":\"153108\",\"categoryId\":402,\"skuId\":153108}},{\"num\":1,\"attrDTO\":{\"attributeId\":153109,\"openSkuId\":\"505679\",\"packagePractices\":[],\"packageAttr\":[],\"packageIngredients\":[{\"num\":1,\"attrDTO\":{\"attributeId\":-1,\"packagePractices\":[],\"packageIngredients\":[],\"attributeName\":\"白酒\",\"attrType\":1}},{\"num\":1,\"attrDTO\":{\"attributeId\":-1,\"packagePractices\":[],\"packageIngredients\":[],\"attributeName\":\"红酒\",\"attrType\":1}},{\"num\":1,\"attrDTO\":{\"attributeId\":152913,\"packagePractices\":[],\"packageIngredients\":[],\"attributeName\":\"sx麻薯\"}}],\"groupId\":-1,\"openSpuId\":\"505679\",\"attributeName\":\"火龙果\",\"spuId\":\"153109\",\"categoryId\":402,\"skuId\":153109}}]}",
"itemTotalPrice": 5.02,
"mapped": true,
"meta": "{\"activities\":[],\"attributes\":[],\"barCode\":\"\",\"categoryId\":1,\"extendCode\":\"\",\"foodGroup\":[[{\"attrs\":[{\"name\":\"温度\",\"value\":\"0度\"}],\"groupId\":150000587946272407,\"id\":3094465248,\"name\":\"猫台\",\"newSpecs\":[],\"quantity\":1.0,\"skuId\":\"100001455284946583\",\"subFoodGroupItem\":[{\"attrs\":[],\"groupId\":150000587991173783,\"id\":3094470119,\"name\":\"雪碧\",\"newSpecs\":[],\"quantity\":1.0,\"skuId\":\"100001455295054487\"},{\"attrs\":[],\"groupId\":150000587991173783,\"id\":3094172817,\"name\":\"可乐\",\"newSpecs\":[],\"quantity\":1.0,\"skuId\":\"100001454990611095\"}]},{\"attrs\":[{\"name\":\"做法属性\",\"value\":\"100度\"}],\"groupId\":150000587946272407,\"id\":3094730148,\"name\":\"火龙果\",\"newSpecs\":[],\"quantity\":1.0,\"skuId\":\"100001455566438039\",\"subFoodGroupItem\":[{\"attrs\":[],\"groupId\":150000588027473559,\"id\":3094754845,\"name\":\"白酒\",\"newSpecs\":[],\"quantity\":1.0,\"skuId\":\"100001455586613911\"},{\"attrs\":[],\"groupId\":150000588027473559,\"id\":3094403026,\"name\":\"红酒\",\"newSpecs\":[],\"quantity\":1.0,\"skuId\":\"100001455226358423\"}]}]],\"foodType\":7,\"id\":3094676282,\"ingredients\":[],\"mealPreparation\":\"[猫台(0度/雪碧/可乐)/火龙果(100度/白酒/红酒)]\",\"name\":\"双人成行[猫台(0度/雪碧/可乐)/火龙果(100度/白酒/红酒)]\",\"newSpecs\":[],\"originalName\":\"双人成行\",\"price\":5.02,\"quantity\":1,\"shopPrice\":0.0,\"skuId\":100001455506165399,\"total\":5.02,\"uniqueId\":\"0b2ca9f92-c960-494d-aa77-44515b88018b\",\"userPrice\":0.0,\"vfoodId\":2525905279,\"weight\":1.0}",
"platformSkuId": "3094676282",
"platformSkuName": "双人成行[猫台(0度/雪碧/可乐)/火龙果(100度/白酒/红酒)]",
"platformSpuName": "双人成行",
"practiceVoList": [
{
"practiceName": "猫台",
"practiceType": 3
},
{
"practiceName": "火龙果",
"practiceType": 3
}
],
"productEnum": "PACKAGE_SPU",
"skuCount": 1,
"skuId": "-10001",
"skuPrice": 5.02,
"spuId": "-10001",
"spuName": "双人成行",
"subList": [
{
"num": 1,
"skuDTO": {
"attributeId": 153108,
"attributeName": "猫台",
"attrs": [
],
"categoryId": 402,
"ingredients": [
{
"attrDTO": {
"attrType": 1,
"attributeId": 153107,
"attributeName": "红酒",
"price": 0.0
},
"num": 1
}
],
"openSkuId": "505678",
"openSpuId": "505678",
"practices": [
],
"price": 0.0,
"skuId": "153108",
"spuId": "153108"
}
},
{
"num": 1,
"skuDTO": {
"attributeId": 153109,
"attributeName": "火龙果",
"attrs": [
],
"categoryId": 402,
"ingredients": [
{
"attrDTO": {
"attrType": 1,
"attributeId": 152913,
"attributeName": "sx麻薯",
"price": 0.0
},
"num": 1
}
],
"openSkuId": "505679",
"openSpuId": "505679",
"practices": [
],
"price": 0.0,
"skuId": "153109",
"spuId": "153109"
}
}
],
"unit": "份"
}
],
"groupName": "1号篮子"
},
{
"details": [
{
"itemTotalPrice": 1.0,
"mapped": false,
"meta": "{\"activities\":[],\"barCode\":\"\",\"categoryId\":102,\"extendCode\":\"\",\"foodType\":0,\"id\":-70000,\"ingredients\":[],\"mealPreparation\":\"\",\"name\":\"餐盒\",\"price\":1.0,\"quantity\":1,\"shopPrice\":0.0,\"skuId\":-1,\"total\":1.0,\"userPrice\":0.0,\"vfoodId\":0}",
"platformSkuId": "-70000",
"platformSkuName": "餐盒",
"practiceVoList": [
],
"productEnum": "SKU",
"skuCount": 1,
"skuPrice": 1.0,
"unit": "份"
}
],
"groupName": "其它费用"
}
],
"income": 6.74,
"itemTotalAmount": 7.04,
"nickName": "宋**",
"orderId": "8096866003663384979",
"orderSource": 1,
"orderType": 3,
"partRefundAmount": 0.0,
"payChannel": 15,
"paymentTime": 1732011253000,
"phone": "159****5125",
"platform": 1,
"platformServiceFee": 0.0,
"platformShopId": "301184363",
"platformShopName": "ss-stage测试店铺",
"refundAmount": 0.0,
"refundInfos": [
],
"saleStatus": 0,
"shShopId": "intell35",
"submitTime": 1732011253000,
"totalAmount": 8.14,
"userPaidAmount": 8.14,
"uuidMsg": "a3d878a5-4c2c-4c91-8554-b95085daf8d4-77",
"validOrderCount": 1
}
{
"apiDiscountAmount": 0.0,
"apiIncome": -6.74,
"apiPartRefundAmount": 0.0,
"apiRefundAmount": 6.74,
"appId": "123456",
"boxFee": -1.0,
"brandId": 7777,
"date": "2024-11-19",
"daySn": "15",
"deliveryFee": -0.1,
"dimDateId": "20241119",
"discountAmount": 0.0,
"docNo": "AA0000078",
"groups": [
{
"details": [
{
"attrs": [
],
"categoryId": 402,
"covertJson": "{\"openSkuId\":\"505679\",\"productEnum\":\"SKU\",\"spuName\":\"火龙果\",\"packageSkuDetailMap\":{},\"ingredients\":[{\"num\":1,\"attrDTO\":{\"attributeId\":-1,\"packagePractices\":[],\"packageIngredients\":[],\"attributeName\":\"白酒\",\"attrType\":1}},{\"num\":1,\"attrDTO\":{\"attributeId\":152912,\"packagePractices\":[],\"packageIngredients\":[],\"attributeName\":\"sx奶盖\"}}],\"openSpuId\":\"505679\",\"spuId\":153109,\"categoryId\":402,\"practices\":[],\"skuId\":153109,\"uniqueId\":\"153109|sx奶盖*1|白酒*1\",\"attrs\":[]}",
"ingredients": [
{
"attrDTO": {
"attrType": 1,
"attributeId": 152912,
"attributeName": "sx奶盖",
"price": 0.0
},
"num": 1
}
],
"itemTotalPrice": 2.02,
"mapped": true,
"meta": "{\"activities\":[],\"attributes\":[{\"name\":\"做法属性\",\"value\":\"0度\"}],\"barCode\":\"\",\"categoryId\":1,\"extendCode\":\"\",\"foodType\":0,\"id\":3094730148,\"ingredients\":[{\"name\":\"白酒\",\"quantity\":1,\"skuCode\":\"\",\"uniqueId\":\"117b93361-fc77-4bda-a127-47aa15387823\"}],\"mealPreparation\":\"[0度]\",\"name\":\"火龙果[0度]\",\"newSpecs\":[],\"originalName\":\"火龙果\",\"price\":1.02,\"quantity\":1,\"shopPrice\":0.0,\"skuId\":100001455566438039,\"total\":1.02,\"uniqueId\":\"100f044a3-3ac2-4bb6-af89-c6b6feb74ddb\",\"userPrice\":0.0,\"vfoodId\":2526009411,\"weight\":50.0}",
"openSkuId": "505679",
"openSpuId": "505679",
"platformSkuId": "3094730148",
"platformSkuName": "火龙果[0度]",
"platformSpuName": "火龙果",
"practiceVoList": [
{
"practiceName": "白酒",
"practiceType": 1
},
{
"practiceName": "sx奶盖",
"practiceType": 1
}
],
"practices": [
],
"productEnum": "SKU",
"skuCount": 1,
"skuId": "153109",
"skuPrice": 2.02,
"spuId": "153109",
"spuName": "火龙果",
"subList": [
],
"unit": "份"
},
{
"covertJson": "{\"productEnum\":\"PACKAGE_SPU\",\"spuName\":\"双人成行\",\"packageSkuDetailMap\":{},\"mappingType\":\"ELE_PACKAGE_MAPPING\",\"ingredients\":[],\"spuId\":-10001,\"practices\":[],\"skuId\":-10001,\"attrs\":[{\"num\":1,\"attrDTO\":{\"attributeId\":153108,\"openSkuId\":\"505678\",\"packagePractices\":[],\"packageAttr\":[],\"packageIngredients\":[{\"num\":1,\"attrDTO\":{\"attributeId\":-1,\"packagePractices\":[],\"packageIngredients\":[],\"attributeName\":\"雪碧\",\"attrType\":1}},{\"num\":1,\"attrDTO\":{\"attributeId\":-1,\"packagePractices\":[],\"packageIngredients\":[],\"attributeName\":\"可乐\",\"attrType\":1}},{\"num\":1,\"attrDTO\":{\"attributeId\":153107,\"packagePractices\":[],\"packageIngredients\":[],\"attributeName\":\"红酒\"}}],\"groupId\":-1,\"openSpuId\":\"505678\",\"attributeName\":\"猫台\",\"spuId\":\"153108\",\"categoryId\":402,\"skuId\":153108}},{\"num\":1,\"attrDTO\":{\"attributeId\":153109,\"openSkuId\":\"505679\",\"packagePractices\":[],\"packageAttr\":[],\"packageIngredients\":[{\"num\":1,\"attrDTO\":{\"attributeId\":-1,\"packagePractices\":[],\"packageIngredients\":[],\"attributeName\":\"白酒\",\"attrType\":1}},{\"num\":1,\"attrDTO\":{\"attributeId\":-1,\"packagePractices\":[],\"packageIngredients\":[],\"attributeName\":\"红酒\",\"attrType\":1}},{\"num\":1,\"attrDTO\":{\"attributeId\":152913,\"packagePractices\":[],\"packageIngredients\":[],\"attributeName\":\"sx麻薯\"}}],\"groupId\":-1,\"openSpuId\":\"505679\",\"attributeName\":\"火龙果\",\"spuId\":\"153109\",\"categoryId\":402,\"skuId\":153109}}]}",
"itemTotalPrice": 5.02,
"mapped": true,
"meta": "{\"activities\":[],\"attributes\":[],\"barCode\":\"\",\"categoryId\":1,\"extendCode\":\"\",\"foodGroup\":[[{\"attrs\":[{\"name\":\"温度\",\"value\":\"0度\"}],\"groupId\":150000587946272407,\"id\":3094465248,\"name\":\"猫台\",\"newSpecs\":[],\"quantity\":1.0,\"skuId\":\"100001455284946583\",\"subFoodGroupItem\":[{\"attrs\":[],\"groupId\":150000587991173783,\"id\":3094470119,\"name\":\"雪碧\",\"newSpecs\":[],\"quantity\":1.0,\"skuId\":\"100001455295054487\"},{\"attrs\":[],\"groupId\":150000587991173783,\"id\":3094172817,\"name\":\"可乐\",\"newSpecs\":[],\"quantity\":1.0,\"skuId\":\"100001454990611095\"}]},{\"attrs\":[{\"name\":\"做法属性\",\"value\":\"100度\"}],\"groupId\":150000587946272407,\"id\":3094730148,\"name\":\"火龙果\",\"newSpecs\":[],\"quantity\":1.0,\"skuId\":\"100001455566438039\",\"subFoodGroupItem\":[{\"attrs\":[],\"groupId\":150000588027473559,\"id\":3094754845,\"name\":\"白酒\",\"newSpecs\":[],\"quantity\":1.0,\"skuId\":\"100001455586613911\"},{\"attrs\":[],\"groupId\":150000588027473559,\"id\":3094403026,\"name\":\"红酒\",\"newSpecs\":[],\"quantity\":1.0,\"skuId\":\"100001455226358423\"}]}]],\"foodType\":7,\"id\":3094676282,\"ingredients\":[],\"mealPreparation\":\"[猫台(0度/雪碧/可乐)/火龙果(100度/白酒/红酒)]\",\"name\":\"双人成行[猫台(0度/雪碧/可乐)/火龙果(100度/白酒/红酒)]\",\"newSpecs\":[],\"originalName\":\"双人成行\",\"price\":5.02,\"quantity\":1,\"shopPrice\":0.0,\"skuId\":100001455506165399,\"total\":5.02,\"uniqueId\":\"0b2ca9f92-c960-494d-aa77-44515b88018b\",\"userPrice\":0.0,\"vfoodId\":2525905279,\"weight\":1.0}",
"platformSkuId": "3094676282",
"platformSkuName": "双人成行[猫台(0度/雪碧/可乐)/火龙果(100度/白酒/红酒)]",
"platformSpuName": "双人成行",
"practiceVoList": [
{
"practiceName": "猫台",
"practiceType": 3
},
{
"practiceName": "火龙果",
"practiceType": 3
}
],
"productEnum": "PACKAGE_SPU",
"skuCount": 1,
"skuId": "-10001",
"skuPrice": 5.02,
"spuId": "-10001",
"spuName": "双人成行",
"subList": [
{
"num": 1,
"skuDTO": {
"attributeId": 153108,
"attributeName": "猫台",
"attrs": [
],
"categoryId": 402,
"ingredients": [
{
"attrDTO": {
"attrType": 1,
"attributeId": 153107,
"attributeName": "红酒",
"price": 0.0
},
"num": 1
}
],
"openSkuId": "505678",
"openSpuId": "505678",
"practices": [
],
"price": 0.0,
"skuId": "153108",
"spuId": "153108"
}
},
{
"num": 1,
"skuDTO": {
"attributeId": 153109,
"attributeName": "火龙果",
"attrs": [
],
"categoryId": 402,
"ingredients": [
{
"attrDTO": {
"attrType": 1,
"attributeId": 152913,
"attributeName": "sx麻薯",
"price": 0.0
},
"num": 1
}
],
"openSkuId": "505679",
"openSpuId": "505679",
"practices": [
],
"price": 0.0,
"skuId": "153109",
"spuId": "153109"
}
}
],
"unit": "份"
},
{
"itemTotalPrice": 1.0,
"mapped": false,
"meta": "{\"activities\":[],\"barCode\":\"\",\"categoryId\":102,\"extendCode\":\"\",\"foodType\":0,\"id\":-70000,\"ingredients\":[],\"mealPreparation\":\"\",\"name\":\"餐盒\",\"price\":1.0,\"quantity\":1,\"shopPrice\":0.0,\"skuId\":-1,\"total\":1.0,\"userPrice\":0.0,\"vfoodId\":0}",
"platformSkuId": "-70000",
"platformSkuName": "餐盒",
"practiceVoList": [
],
"productEnum": "SKU",
"skuCount": 1,
"skuPrice": 1.0,
"unit": "份"
}
],
"groupName": "默认篮子"
}
],
"income": -6.74,
"itemTotalAmount": -7.04,
"orderId": "8096866003663384979",
"orderSource": 1,
"orderType": 3,
"partRefundAmount": 0.0,
"payChannel": 15,
"paymentTime": 1732011253000,
"platform": 1,
"platformServiceFee": 0.0,
"platformShopId": "301184363",
"platformShopName": "ss-stage测试店铺",
"refundAmount": 6.74,
"refundInfos": [
{
"cancelTime": 1732011266000,
"refundGoods": [
{
"platformSkuId": "3094730148",
"refundSkuCount": 1,
"refundSkuPrice": 2.02
},
{
"platformSkuId": "3094676282",
"refundSkuCount": 1,
"refundSkuPrice": 5.02
},
{
"platformSkuId": "-70000",
"refundSkuCount": 1,
"refundSkuPrice": 1.0
}
],
"refundOrderId": "8096866003663384979",
"refundType": 3
}
],
"saleStatus": 1,
"shShopId": "intell35",
"submitTime": 1732011253000,
"totalAmount": -8.14,
"userPaidAmount": -8.14,
"uuidMsg": "8d4fa956-d056-4e6e-b6fd-3890e11e6c9b-78",
"validOrderCount": -1
}
{
"errorCode": 0,
"msg": "success"
}