SANDBOX
Api
文档
登录
注册
视图
打印
历史
跳到...
店铺管理
商品
订单
购物车
图片
消息通知
消息
app客户端
平台会员
自定义页面
运营管理
私有文件存储
店铺
优惠劵
标签
店铺统计
新会员系统
店铺会员
支付
微分销
供应商
采购单
变更
动态
discuz
物流信息a
微店订单开放接口
微分销订单开放接口
地区
融云api
社区好友
社区群聊
社区主题
团队成员
团队
公共服务
第三方合作接口
有量交易订单
开放接口--订单
开放接口--商品
开放接口--物流
社区公众号服务
开放接口--sku
客服
独立团
IM用户相关接口
资源计费服务
UchatAPI
UchatManager
买卖接龙
微信发送消息
生鲜APP
微信群客服
ELK日志查询API
UchatAPI
社群服务
Influxdb日志查询API
开群服务
微商业API
个人号助手
个人号裂变
甩龙服务
小蜜微信发送消息
IM相关接口
微商业
小蜜接龙
微选接口
微选合作接口
粮本erp接口
第三方合作服务接口
汇付相关接口
银行卡检查
创建订单
三方接入
token管理
三方平台认证
源头速供
wechat_notice
买卖助理小程序帮买
外部订单同步服务
用户身份整合
权限信息
消息服务
设置Key
API列表
店铺管理
商品
订单
购物车
图片
消息通知
消息
app客户端
平台会员
自定义页面
运营管理
私有文件存储
店铺
优惠劵
标签
店铺统计
新会员系统
店铺会员
支付
微分销
供应商
采购单
变更
动态
discuz
物流信息a
微店订单开放接口
微分销订单开放接口
地区
融云api
社区好友
社区群聊
社区主题
团队成员
团队
公共服务
第三方合作接口
有量交易订单
开放接口--订单
开放接口--商品
开放接口--物流
社区公众号服务
开放接口--sku
客服
独立团
IM用户相关接口
资源计费服务
UchatAPI
UchatManager
买卖接龙
微信发送消息
生鲜APP
微信群客服
ELK日志查询API
UchatAPI
社群服务
Influxdb日志查询API
开群服务
微商业API
个人号助手
个人号裂变
甩龙服务
小蜜微信发送消息
IM相关接口
微商业
小蜜接龙
微选接口
微选合作接口
粮本erp接口
第三方合作服务接口
汇付相关接口
银行卡检查
创建订单
三方接入
token管理
三方平台认证
源头速供
wechat_notice
买卖助理小程序帮买
外部订单同步服务
用户身份整合
权限信息
消息服务
POST
取消订单
/api/liangben/v1/order/cancel
错误代码列表
http状态码
错误码
错误信息
200
Parameter
Value
Type
Description
order_sn
string
订单号
执行API
POST
创建订单
/api/liangben/v1/order/create
错误代码列表
http状态码
错误码
错误信息
200
Parameter
Value
Type
Description
consignee
收货人姓名
mobile
收货人手机
telephone
收货人电话
province
省
city
市
district
区
address
详细地址
delivery_time
预计到货时间
external_order_sn
外部单号
order_from
订单来源
delivery_type_id
配送方式
product_info
订单商品
buyer_message
订单留言
执行API
GET
购物车商品列表
/api/liangben/v1/product/get_cart_list
错误代码列表
http状态码
错误码
错误信息
200
执行API
POST
获取运费
/api/liangben/v1/order/get_freight
错误代码列表
http状态码
错误码
错误信息
200
Parameter
Value
Type
Description
delivery_id
int
配送方式ID
product_list
string
订购商品
area_code
string
区域编码
执行API
POST
订单详情
/api/liangben/v1/order/get_order_info
错误代码列表
http状态码
错误码
错误信息
200
Parameter
Value
Type
Description
fields
string
查询字段
order_sn
string
订单号
external_order_sn
string
外部单号
product_fields
string
商品字段
执行API
POST
订单列表
/api/liangben/v1/order/get_order_list
错误代码列表
http状态码
错误码
错误信息
200
Parameter
Value
Type
Description
fields
string
查询字段
page
int
当前页码
page_size
int
每页条数
use_has_next
string
是否启用has_next的分页方式,如果指定true,则返回
order_sn
string
订单号
shipment_status
int
发货状态:1 待发货 2 部分发货 3已发货
order_status
int
订单状态:1 待审核 4 待发货 5 待收货 6 已完成 7 已取消
pay_status
int
支付状态:0 未支付 1 已支付
start_time
string
订单创建开始时间。格式:yyyy-MM-dd HH:mm:ss
sort_order
string
订单创建结束时间。格式:yyyy-MM-dd HH:mm:ss
external_order_sn
string
外部单号
more_order_sn
string
多个订单号查询,“,”分割,最多不能超过20个订单号
more_external_order_sn
string
多个外部订单号查询,“,”分割,最多不能超过20个订单号
执行API
POST
商品详情
/api/liangben/v1/product/get_product_detail
错误代码列表
http状态码
错误码
错误信息
200
Parameter
Value
Type
Description
fields
string
查询字段(可选)
product_id
string
商品id
product_code
string
商品编码
执行API
POST
商品列表
/api/liangben/v1/product/get_product_list
错误代码列表
http状态码
错误码
错误信息
200
Parameter
Value
Type
Description
fields
string
查询字段(可选)
page
int
当前页码
page_size
int
每页条数
use_has_next
string
是否启用has_next的分页方式,如果指定true,则返回
product_tag
string
搜索商品标签
keyword
string
搜索商品关键字
product_code
string
搜索商品编码
cat_id
int
搜索商品分类ID
brand_id
string
搜索商品品牌ID(支持多个品牌搜索)
sort_order
string
排序字段
sort_type
string
排序方式
执行API
POST
单个sku库存
/api/liangben/v1/stock/get_product_sku_stock
错误代码列表
http状态码
错误码
错误信息
200
Parameter
Value
Type
Description
fields
string
查询字段
sku_id
string
执行API
POST
单个商品库存
/api/liangben/v1/stock/get_product_stock
错误代码列表
http状态码
错误码
错误信息
200
Parameter
Value
Type
Description
fields
string
查询字段
product_id
string
商品id
执行API
POST
商品库存列表
/api/liangben/v1/stock/get_product_stock_list
错误代码列表
http状态码
错误码
错误信息
200
Parameter
Value
Type
Description
fields
string
查询字段
page
int
当前页码
page_size
int
每页条数
use_has_next
string
是否启用has_next的分页方式,如果指定true,则返回
product_code
string
商品编码
product_id
string
商品id
执行API
POST
订单出库发货记录
/api/liangben/v1/order/out_info
错误代码列表
http状态码
错误码
错误信息
200
Parameter
Value
Type
Description
order_sn
string
订单号
purchase_sn
string
出库单号
执行API
POST
商品加入购物车
/api/liangben/v1/product/addCart
错误代码列表
http状态码
错误码
错误信息
200
Parameter
Value
Type
Description
add_info
string
添加购物车信息,示例值:[{ "sku_id": "8381", "buy_num": "1"}]
执行API
POST
订单收货
/api/liangben/v1/order/receipt
错误代码列表
http状态码
错误码
错误信息
200
Parameter
Value
Type
Description
order_sn
string
订单号
purchase_sn
string
销售出库单号
remarks
string
备注
执行API
POST
申请退货
/api/liangben/v1/order/refund_apply
错误代码列表
http状态码
错误码
错误信息
200
Parameter
Value
Type
Description
order_sn
string
订单号
return_data
string
退货商品信息
return_reason_id
int
退货原因
return_reason
string
退货原因描述
执行API
POST
取消退货
/api/liangben/v1/order/refund_cancel
错误代码列表
http状态码
错误码
错误信息
200
Parameter
Value
Type
Description
order_sn
string
订单号
执行API
POST
退款详情
/api/liangben/v1/order/refund_info
错误代码列表
http状态码
错误码
错误信息
200
Parameter
Value
Type
Description
order_sn
string
订单号
执行API
GET
POST
退款列表
/api/liangben/v1/order/refund_list
错误代码列表
http状态码
错误码
错误信息
200
Parameter
Value
Type
Description
order_sn
string
订单号
refund_status
int
退款状态
examine_status
int
审核状态
page
int
当前页码
page_size
int
每页条数
use_has_next
string
是否启用has_next的分页方式,如果指定true,则返回
执行API
×
设置调用的Key / Secret
Key
Secret
OAuth Token Header