文档
测试

添加/克隆订单

POST
/sale-order/create-or-clone

接口描述

添加、克隆订单,克隆订单只需要传订单ID

请求头

参数名
类型
描述
必填
token
string
token
必填

请求参数

参数名
类型
描述
必填
SaleOrder
array
订单信息
必填
shop_id
int
店铺ID
必填
platform_order_id
string
平台订单ID
必填
sold_date_time
datetime
销售时间 2020-10-10 08:00:00
必填
saveChildrenString
json/array
产品信息
必填
0
int
索引第一个
必填
spu
string
spu
必填
sku
string
sku
必填
picUrl
string
头图
必填
shop_item_id
string
itemID
必填
transaction_id
string
销售项交易ID
必填
sale_price
float
售价
必填
product_name
string
产品名
必填
product_id
int
产品ID
必填
quantity
int
数量
必填
discount
float
折扣金额
必填
yangtao_sku
string
洋桃SKU
必填
shipping_fee
float
运费
必填
SaleOrderAttrExtend
array
订单扩展属性信息
必填
shop_order_number
string
平台订单号
必填
payment_method
int
支付方式ID
必填
payment_transaction_id
string
支付号
必填
created_notes
string
备注
必填
type
int
订单类型ID
必填
SaleOrderCustomerInfo
array
订单客户信息
必填
customer_fullname
string
姓名
必填
customer_phone
string
手机
必填
customer_email
string
邮箱
必填
customer_state
string
必填
customer_city
string
必填
customer_town
string
区/县
必填
customer_street1
string
街道地址1
必填
customer_zip
string
邮编
必填

说明 / 示例

````json { "code": 1, "msg": "操作成功", "data": [] } ````