汤臣倍健营销云对接打通畅捷通T+门户-查询订单表头&表体组合接口与创建销售订单接口

接入系统:汤臣倍健营销云
汤臣倍健营销云是覆盖公域私域、线上线下的全场景的数字化营销平台。基于全触点数据构建全域标签体系,助力企业在自营平台、微信生态等全渠道上精准触达用户,自动化营销互动,实时反馈效果,真正实现营销数字化。
对接系统:畅捷通T+
畅捷通T+适用于异地多组织、多机构对企业财务汇总的管理需求;全面支持企业对远程仓库、异地办事处的管理需求;全面满足企业财务业务一体化管理需求。
接口方案配置
通过轻易云系统数据集成平台新增创建集成方案,通过轻易云的方案市场可以一键复制,并且可以借鉴其他的方案配置完成方案制作,方案制作只需要两步,第一步先确定好对应的数据来源;源系统:汤臣倍健营销云接口:门户-查询订单表头&表体组合通过请求调度者配置对应的请求参数即可获取到对应的数据。目标系统:畅捷通T+接口:创建销售订单,通过写入调度者匹配获取到的数据和写入的映射关系,即可自动生成符合目标系统:畅捷通T+写入的数据自动产生写入队列,通过运行概况,系统会自动帮你诊断方案的运行情况。实时监控到方案的运行情况

汤臣倍健营销云接口明细
- 接口:/openapi-basesubject/order/queryOrderHead
- 接口名称:门户-查询订单表头&表体组合
- 接口方法:POST
请求参数
字段 | 名称 | 类型 | 描述 |
orgId | 组织ID | string | |
page | 页码 | string | |
id | 订单id | string | |
applyerId | 要货方id | string | |
supplierId | 供货方id | string | |
no | 订单号 | string | |
distributionType | 分销类型 | string | |
distributorId | 分销商id | string | |
orderStatus | 订单状态 | string | |
createDt | 创建时间 | string | |
orderTypeCode | 订单类型,如普通订单、直运销售 | string | |
isDeliveryFreezed | 是否暂停发货 | string | |
nature | 订单分类 | string | |
relatedApplyerId | 关联交易经销商id | string | |
saleDistribution | 销售渠道 | string | |
disApplyerId | 分销商id | string | |
startDt | 订单时间(开始) | string | |
endDt | 订单时间(结束) | string | |
appStartDt | 审批时间(开始) | string | |
appEndDt | 审批时间(结束) | string | |
lastStartDt | 最后修改时间(开始) | string | |
lastEndDt | 最后修改时间(结束) | string | |
响应参数
字段 | 名称 | 类型 | 描述 |
applyerId | 要货方id | string | |
supplierId | 供货方id | string | |
no | 订单号 | string | |
distributionType | 分销类型 | string | |
distributorId | 分销商id | string | |
orgId | 订单组织 | string | |
orderStatus | 订单状态 | string | |
createDt | 创建时间 | string | |
contractNo | 合同编号 | string | |
isReport | 是否随批报告 | string | |
predictArriveDt | 预计到货日期 | string | |
deliveryLevelCode | 发货优先级 | string | |
orderTypeCode | 订单类型,如普通订单、直运销售 | string | |
isDeliveryFreezed | 是否暂停发货 | string | |
taxCode | 税码 | string | |
areaCode | 区域id | string | |
currencyCode | 币种 | string | |
settlementModeCode | 结算方式 | string | |
deliveryCode | 交货方式 | string | |
isCreditManaged | 是否信用暂挂 | string | |
salesman | 订单销售人员 | string | |
relatedApplyerId | 关联交易经销商id | string | |
saleDistribution | 销售渠道 | string | |
nature | 订单分类,如要货单、退货单 | string | |
actGiftQuantity | 实际审批数量 | string | |
giftQuantity | 赠品数量 | string | |
province | 省份 | string | |
city | 城市 | string | |
county | 县城 | string | |
newExchangeOrder | 是否新的积分订单绑定方式(婴童特殊要求,值为1是,没有值或0为否) | string | |
contacts | 收货联系人 | string | |
phone | 收货联系人电话 | string | |
storagePlace | 仓库归属地 | string | |
shippingAddress | 收货地址 | string | |
expectDate | 预计到达天数 | string | |
disApplyerId | 分销商id | string | |
freeGiftTotal | 免费赠品余量 | string | |
discountTotalMoney | 产品折让总额 | string | |
returnedMoney | 应退金额 | string | |
retunsOvertopMoney | 退货超额金额 | string | |
remainMoney | 折让后金额 | string | |
fineMoney | 罚金金额 | string | |
totalMoney | 总金额 | string | |
netDiscountTotalMoney | 网络品&赠品折让总额 | string | |
netDiscountCanuseMoney | 网络品(产品)使用网络品&赠品可用总额 | string | |
netDiscountMoney | 网络品(产品)实际使用网络品&赠品折让金额 | string | |
netGiftDiscountCanuseMoney | 赠品使用网络品&赠品可用总额 | string | |
netGiftDiscountMoney | 赠品实际使用网络品&赠品折让金额 | string | |
fullDiscountTotalMoney | 全品折让总额 | string | |
fullDiscountCanuseMoney | 产品使用全品可用总额 | string | |
fullDiscountMoney | 产品实际使用全品折让金额 | string | |
fullGiftDiscountCanuseMoney | 赠品使用全品可用总额 | string | |
fullGiftDiscountMoney | 赠品实际使用全品折让金额 | string | |
retunsFullyMoney | 全额退款金额 | string | |
orderContacts | 订单联系人 | string | |
orderPhone | 订单联系人电话 | string | |
orderDt | 订单时间 | string | |
approveDt | 审批时间 | string | |
lastUpdateDt | 最后更新时间 | string | |
clientAppNo | 经销商外围系统编码 | string | |
partnerName | 经销商名称 | string | |
orgName | 租户名称 | string | |
details | 明细 | array | |
details.id | 明细Id | string | |
details.discountMoney | 折扣后金额 | string | |
details.quantity | 下单数量 | string | |
details.productId | 产品id | string | |
details.productName | 产品名称 | string | |
details.productNo | 产品编码 | string | |
details.spec | 规格 | string | |
details.unitCode | 单位 | string | |
details.minUnit | 包装数 | string | |
details.basePrice | 统一价 | string | |
details.price | 供货价 | string | |
details.actQuantity | 审批数量 | string | |
details.money | 金额 | string | |
details.type | 类型 | string | |
details.isFree | 是否免费 | string | |
details.discountAmount | 折扣额 | string | |
details.discountPrice | 折扣后单价 | string | |
details.discountRate | 折扣率 | string | |
details.itemDiscountMoney | 普通行折让 | string | |
details.itemFullDiscountMoney | 全品行折让 | string | |
details.itemNetDiscountMoney | 网络品&赠品行折让 | string | |
details.easNo | 产品长编码 | string | |
details.extNo | 产品外围编码 | string | |
details.batchNum | 产品批次号 | string | |
畅捷通T+接口明细
- 调用接口:/tplus/api/v2/saleOrder/Create
- 接口名称:创建销售订单
- 方法:POST
请求参数
字段 | 字段名称 | 类型 | 配置值 |
VoucherDate | 单据日期 | string | {{createDt}} |
Code | 编码 | string | {{no}} |
ExternalCode | 外部编码 | string | {{no}} |
BusinessType | 业务类型 | string | 15 |
Memo | 备注 | string | {{partnerName}}-{{remark}} (from营销云) |
Customer | 客户 | string | {{clientAppNo}} |
SaleOrderDetails | 明细 | array | details |
SaleOrderDetails.Warehouse | 仓库 | string | {{orgId}} |
SaleOrderDetails.Inventory | 存货 | string | {{details.extNo}} |
SaleOrderDetails.Unit | 单位 | string | |
SaleOrderDetails.Quantity | 数量 | string | {{details.actQuantity}} |
SaleOrderDetails.TaxRate | 税率 | string | |
SaleOrderDetails.OrigTaxPrice | 含税价 | string | {{details.price}} |
SaleOrderDetails.IsPresent | 是否赠品 | string | _function case '{{details.isFree}}' when '是' then 'true' else 'false' end |
SaleOrderDetails.DeliveryDate | 交货日期 | string | {{predictArriveDt}} |
SaleOrderDetails.dataKey | dataKey | string | dto |
系统数据集成价值
通过轻易云集成平台系列产品线可以协助企业轻易快捷的构建基于微服务架构的新一代企业服务总线,传统基于SOA架构的ESB产品主要解决的数据集成和协议转换等基础功能,已完全不能满足基于微服务架构、混合云集成架构、跨组织、跨单位的总线解决方案。 而轻易云集成平台的每个产品线都是新一代的按照最新的互联网架构模式进行研发的产品线,能快速协助企业从传统的SOA架构转向微服务架构的服务总线解决方案。

