事件分组事件标识
ordersorders/updated
订单更新
请求头
  • X-Shopline-Topic string required
    事件操作标识
    Example: orders/edited
  • X-Shopline-Hmac-Sha256 string required
    签名
    Example: XWmrwMey6OsLMeiZKwP4FppHH3cmAiiJJAweH5Jo4bM=
  • X-Shopline-Shop-Domain string required
    店铺域名
    Example: shophub.myshopline.com
  • X-Shopline-Shop-Id string required
    店铺id
    Example: 1610418123456
  • X-Shopline-Merchant-Id string required
    商户ID
    Example: 2000001234
  • X-Shopline-API-Version string required
    版本号
    Example: v20210901
  • X-Shopline-Webhook-Id string required
    消息ID
    Example: b54557e48a5fbf7d70bcd043
请求体
  • adjust_price string
    调整金额,在pos场景下因金额四舍五入带来的平衡金额
    Example: 8.00
  • adjust_price_setobject
    按照店铺币种和交易币种计价的调整金额
  • presentment_moneyobject
    买家侧的金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • shop_moneyobject
    卖家侧的金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • billing_addressobject
    账单地址
  • address1 string
    详细地址1
    Example: 地址1
  • address2 string
    详细地址2,备选
    Example: 地址2
  • city string
    城市
    Example: 纽约
  • company string
    公司名称
    Example: 新公司名
  • country string
    国家/地区
    Example: 美国
  • country_code string
    国家/地区编码
    Example: US
  • first_name string
    Example: Tom
  • last_name string
    Example: Washington
  • name string
    姓名
    Example: Tom Washington
  • phone string
    电话
    Example: 18723465843
  • province string
    省/二级地址
    Example: 加利福尼亚州
  • province_code string
    省/二级地址编码
    Example: 4200006
  • zip string
    邮编
    Example: 54213
  • browser_ip string
    浏览器ip
    Example: 157.119.232.35
  • buyer_note string
    买家备注
    Example: 备注
  • cancel_reason string
    取消订单原因
    Example: "不想买了"
  • cancelled_at string
    取消时间
    Example: 2012-05-01T14:22:25-04:00
  • cart_token string
    购物车token
    Example: c2c4a58186b9d96395d7e6b5c2969577
  • checkout_id string
    当前订单关联的弃单id
    Example: 2404785166526352972864
  • checkout_token string
    结算页token
    Example: c2c4a58186b9d96395d7e6b5c2969577
  • client_detailsobject
    客户端信息
  • browser_ip string
    浏览器IP
    Example: 157.119.232.35
  • session_hash string
    会员会话加密信息
    Example: c2c4a58186b9d96395d7e6b5c2969577
  • user_agent string
    客户端代理
    Example: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Sa
  • uuid string
    uuid
    Example: 432354345
  • companyobject
    公司信息
  • id string
    公司id
    Example: 1005619945158043247856
  • location_id string
    地点id
    Example: 3005619945158043247856
  • tax_registration_id string
    税号信息
    Example: 213213
  • created_at string
    创建订单时间
    Example: 2021-08-16T08:27:57+00:00
  • credit_limitobject
    信用支付
  • credit_limit_currency string
    信用额度币种,目前是店铺币种
    Example: USD
  • is_credit_limit boolean
    订单是否使用了信用支付 true:使用 false:未使用
    Example: true
  • outstanding_credit_limit string
    订单占用的信用额度总额
    Example: 1.00
  • total_credit_limit string
    订单使用的信用额度总额
    Example: 1.00
  • currency string
    结算币种
    Example: USD
  • current_subtotal_price string
    当前商品总和,商品总价*数量
    Example: 8.00
  • current_subtotal_price_setobject
    当前商品总和多币种信息, 买卖家币种和金额一致
  • presentment_moneyobject
    买家侧金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • shop_moneyobject
    卖家侧金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • current_total_discounts string
    折扣总和,精度2,营销优惠+人工折扣
    Example: 8.00
  • current_total_discounts_setobject
    折扣总和多币种信息,没有多币种,所以买卖家币种和金额一致
  • presentment_moneyobject
    买家侧金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • shop_moneyobject
    卖家侧金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • current_total_duties_setobject
    当前商品总关税
  • presentment_moneyobject
    买家侧金额信息
  • amount string
    金额
    Example: 8.88
  • currency_code string
    币种
    Example: USD
  • shop_moneyobject
    卖家侧金额信息
  • amount string
    金额
    Example: 8.88
  • currency_code string
    币种
    Example: USD
  • current_total_price string
    当前订单总额,取值逻辑:商品总额 - 优惠总额 + 运费 + 税费
    Example: 8.00
  • current_total_price_setobject
    当前订单总额多币种信息,买卖家币种和金额一致
  • presentment_moneyobject
    买家侧金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • shop_moneyobject
    卖家侧金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • current_total_tax string
    税费总和,商品税 + 运费税
    Example: 8.00
  • current_total_tax_setobject
    税费总和多币种信息, 买卖家币种和金额一致
  • presentment_moneyobject
    买家侧金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • shop_moneyobject
    卖家侧金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • customerobject
    买家信息
  • addressesobject
    地址
  • address1 string
    详细地址1
    Example: 地址1
  • address2 string
    详细地址2,备选
    Example: 地址2
  • city string
    城市
    Example: 纽约
  • country string
    国家/地区
    Example: 美国
  • country_code string
    国家/地区编码
    Example: US
  • first_name string
    Example: Tom
  • last_name string
    Example: Washington
  • name string
    全名
    Example: Tom Washington
  • phone string
    电话
    Example: 13100000000
  • province string
    Example: 加利福尼亚州
  • province_code string
    省编码
    Example: 4200006
  • zip string
    邮编
    Example: 98734
  • area_code string
    手机区号
    Example: +86
  • created_at string
    买家创建时间
    Example: 2022-11-04T10:18:46+00:00
  • currency string
    币种
    Example: USD
  • email string
    用户邮箱
    Example: test1001@Gmail.com
  • first_name string
    Example: Tom
  • id string
    用户id
    Example: 4201057495
  • last_name string
    Example: Washington
  • phone string
    用户手机号
    Example: 13100000000
  • customer_locale string
    买家国家 语种编码+国家名称缩写
    Example: enCN
  • deduct_member_point_amount string
    当前订单会员积分抵扣金额
    Example: 8.00
  • deduct_member_point_amount_setobject
    当前订单会员积分抵扣金额,多币种信息
  • presentment_moneyobject
    买家侧金额信息
  • amount string
    金额
    Example: 8.88
  • currency_code string
    币种
    Example: USD
  • shop_moneyobject
    卖家侧金额信息
  • amount string
    金额
    Example: 8.88
  • currency_code string
    币种
    Example: USD
  • discount_applicationsobject[]
    该订单应用的所有折扣信息
  • allocation_method string
    活动的折扣应用范围 1)across(该值分布在所有授权行中) 2)each(该值应用于每个授权行)
    Example: across
  • code string
    折扣码
    Example: 1Q3UMQM8RBP5
  • description string
    活动的具体描述
    Example: 活动的具体描述
  • target_selection string
    活动的折扣应用具体对象 1)explicit(折扣分配到明确选择的商品行或运费行) 2)all(折扣分配到所有商品行或运费行) 3)ENTITLED(折扣仅分配到其有权使用的商品行或运费行)
    Example: all
  • target_type string
    活动的折扣应用对象 1)line_item 2)shipping_line
    Example: line_item
  • title string
    自动折扣的标题
    Example: 活动的具体描述
  • type string
    活动折扣类型 1)manual(自定义类型) 2)automatic(自动折扣类型) 3)discount_code(折扣码类型)
    Example: manual
  • value string
    活动的折扣值
    Example: 20
  • value_type string
    活动的折扣值类型,包含百分比和固定金额两类
    Example: fixed_amount
  • discount_codesobject[]
    优惠码信息
  • amount string
    优惠金额,精度2
    Example: 8.00
  • amount_setobject
    amount,多币种信息
  • presentment_moneyobject
    买家侧金额信息
  • amount string
    金额
    Example: 8.00
  • currency_code string
    币种
    Example: currency_code
  • shop_moneyobject
    卖家侧金额信息
  • amount string
    金额
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • code string
    优惠码
    Example: KIN4GNAB2FRH
  • type string
    优惠类型, 1-减金额;2-打折;3-免运费;8-固定售价;9-最低价商品免费;10-打包价;11-第N件打折;
    Example: 减金额
  • email string
    买家邮箱
    Example: test001@Gmail.com
  • financial_status string
    支付状态: unpaid - 未支付; authorized - 已授权;pending-支付中; partially_paid-部分支付; paid-已支付; partially_refunded-部分退款; refunded-已退款;
    Example: unpaid
  • fulfillment_status string
    发货状态, fulfilled-已发货; partial-部分发货; null-未发货; 注:返回的枚举值与入参的查询枚举值不一样
    Example: fulfilled
  • fulfillmentsobject[]
    包裹信息
  • created_at string
    创建时间(格式见IOS8601)
    Example: 2022-11-04T10:18:46+00:00
  • id string
    包裹编号
    Example: 22046737798141702810214336
  • line_itemsobject[]
    商品列表
  • attribute string
    商品属性:名称 - 属性值 多个以逗号", "分割 如:颜色 - 红色, 尺寸 - X
    Example:
  • fulfillable_quantity integer
    可发货数量
    Example: 1
  • fulfillment_quantity integer
    发货数量
    Example: 1
  • fulfillment_service string
    物流商名称,如果一种商品有多个不同的发货服务商,则以逗号分隔
    Example: 顺丰国际
  • fulfillment_status string
    商品的发货状态, 发货状态, fulfilled-已发货; partial-部分发货; null-未发货;
    Example: fulfilled
  • grams double
    重量(克)
    Example: 100
  • id string
    商品快照表的id, 系统生成,与订单号唯一确认一个商品
    Example: 412
  • image_url string
    商品图片
    Example: https://d2n979dmt31clo.cloudfront.net/image/store/4211449909/1667384795847/63928f08a7174ab2958c6a969
  • location_id string
    地点ID
    Example: 5445886274929439997
  • name string
    sku标题
    Example: test-002
  • price string
    商品售价,精度2
    Example: 8.00
  • price_setobject
    商品售价,多币种信息
  • presentment_moneyobject
    买家侧金额信息
  • amount string
    金额
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • shop_moneyobject
    卖家侧金额信息
  • amount string
    金额
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • product_id string
    spu序列号
    Example: 16056761559984840457934011
  • quantity integer
    订单中的商品数量
    Example: 3
  • requires_shipping boolean
    是否需要发货
    Example: true
  • sku string
    商品码
    Example: 18056761559987524812644011
  • tax_linesobject[]
    税费信息
  • price string
    价格
    Example: 8.00
  • price_setobject
    税费多币种信息
  • presentment_moneyobject
    买家侧金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • shop_moneyobject
    卖家侧金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • rate double
    税率
    Example: 1
  • title string
    税费名称
    Example: 税费
  • taxable boolean
    是否收税
    Example: true
  • title string
    商品标题
    Example: 漂亮的裙子
  • variant_id string
    商品sku序列号
    Example: 18056761559987524812644011
  • variant_title string
    商品属性值, 多个以" / "分割, 如: “155 / 红色 / 大"
    Example:
  • vendor string
    供应商
    Example: 供应商
  • name string
    发货单短号
    Example: 1032-F2
  • order_id string
    订单号
    Example: 21056577640603870897253153
  • shipment_status string
    包裹状态
    Example: fulfilled
  • status string
    物流配送状态, success-已发货; cancelled-已取消;
    Example: success
  • tracking_company string
    物流公司名称
    Example: 顺丰国际
  • tracking_number string
    第三方物流单号
    Example: yun0001
  • tracking_url string
    物流公司url
    Example: https://www.sf-international.com/
  • updated_at string
    更新时间(格式见IOS8601)
    Example: 2022-11-04T10:18:46+00:00
  • hidden_order boolean
    是否是归档订单, true=已归档订单, false=未归档订单
    Example: true
  • id string
    系统订单号
    Example: 21056577640603870897253153
  • line_itemsobject[]
    订单商品快照信息
  • attribute string
    商品属性:名称 - 属性值 多个以逗号", "分割 如:颜色 - 红色, 尺寸 - X
    Example: 红色
  • discount_allocationsobject[]
    折扣明细金额多币种
  • amount string
    折扣明细金额
    Example: 8.00
  • amount_setobject
    折扣明细金额多币种
  • presentment_moneyobject
    支付币种
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • shop_moneyobject
    店铺币种
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • discount_application_index integer
    标明在折扣明细中的位置
    Example: 1
  • dutiesobject[]
    关税信息
  • country_code_of_origin string
    原产地/发货地的国家代码
  • harmonized_system_code string
    海关编码
  • id string
    关税编号
  • priceobject
    关税多币种信息
  • presentment_moneyobject
    买家侧金额信息
  • amount string
    金额
    Example: 8.88
  • currency_code string
    币种
    Example: USD
  • shop_moneyobject
    卖家侧金额信息
  • amount string
    金额
    Example: 8.88
  • currency_code string
    币种
    Example: USD
  • tax_linesobject[]
    税费明细列表
  • price_setobject
    税费多币种信息
  • presentment_moneyobject
    买家侧金额信息
  • amount string
    金额
    Example: 8.88
  • currency_code string
    币种
    Example: USD
  • shop_moneyobject
    卖家侧金额信息
  • amount string
    金额
    Example: 8.88
  • currency_code string
    币种
    Example: USD
  • rate double
    税率
  • rate_percentage double
    税率(百份比的值,即rate * 100)
  • title string
    税费标题
  • fulfillable_quantity integer
    可发货数量
    Example: 1
  • fulfillment_service string
    物流商名称,如果一种商品有多个不同的发货服务商,则以逗号分隔
    Example: 顺丰国际
  • fulfillment_status string
    商品的发货状态, 发货状态, fulfilled-已发货; partial-部分发货; null-未发货;
    Example: yun0001
  • gift_card boolean
    是否为礼品卡商品
  • grams double
    重量(克)
    Example: 100
  • id string
    商品快照表的id, 系统生成,与订单号唯一确认一个商品
    Example: 413
  • image_url string
    商品图片
    Example: https://d2n979dmt31clo.cloudfront.net/image/store/4211449909/1667384795847/63928f08a7174ab2958c6a969
  • location_id string
    地点ID
    Example: 5327026538935748524
  • name string
    sku标题
    Example: 商品标题
  • price string
    商品售价,精度2
    Example: 8.00
  • price_setobject
    商品售价,多币种金额信息
  • presentment_moneyobject
    支付币种
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • shop_moneyobject
    店铺币种
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • product_id string
    spu序列号
    Example: 16056761559984840457934011
  • propertiesobject[]
    商品定制信息
  • additional string
    定制商品附加字段
    Example: 附加
  • name string
    自定义属性名称
    Example: 自定义属性
  • type string
    属性类型, text-字符,展示格式为 name: value; picture-图片,展示类型为 name: 通过urls获取渲染出缩略图;link-超链,展示类型为 name: value,支持点击链接跳转 到urls第一个
    Example: text
  • urls array
    url资源列表
    Example: https://www.url.com
  • value string
    自定义属性值
    Example: 自定义属性值
  • quantity integer
    订单中的商品数量
    Example: 1
  • requires_shipping boolean
    是否需要发货
    Example: true
  • sku string
    商品码
    Example: 18056761559987524812644011
  • tags string
    商品标签(多个逗号隔开)
    Example: 手表
  • tax_linesobject[]
    税费信息
  • price string
    价格
    Example: 8.00
  • price_setobject
    税费多币种信息
  • presentment_moneyobject
    买家侧金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • shop_moneyobject
    卖家侧金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • rate double
    税率
    Example: 1
  • title string
    税费名称
    Example: 税费
  • type string
    税费用类型,用于区分是商品税还是运费税,枚举值如下 product_tax:商品税 shipping_tax:运费税
    Example: shipping_tax
  • taxable boolean
    是否收税
    Example: true
  • title string
    商品标题
    Example: 好看的裙子
  • variant_id string
    商品sku序列号
    Example: 18056761559987524812644011
  • variant_title string
    商品属性值, 多个以" / "分割, 如: “155 / 红色 / 大"
    Example:
  • vendor string
    供应商
    Example: 供应商
  • locationsobject[]
    地点信息
  • location_id string
    地点ID
    Example: 5327026538935748524
  • name string
    地点名称
    Example: us.street
  • type string
    1.posLocation: POS渠道创建该订单的门店地点(建议使用posLocationId,后续将废弃) 2.pickupLocation: 当订单的配送方式为自提时,自提的门店地点 3.productLocation: 订单中商品的库存地点(建议使用商品行中的location信息,后续将废弃)
    Example: posLocation
  • name string
    自定义单号(会变化)
    Example: test001
  • note string
    商家备注内容, 多个以逗号分隔
    Example: 备注
  • note_attributesobject[]
    商家备注日志,日期内容
  • create_time string
    备注创建时间(格式见IOS8601)
    Example: 2022-11-04T10:18:46+00:00
  • name string
    备注来源(卖家标识)
    Example: 备注来源
  • value string
    备注内容
    Example: 内容
  • order_at string
    成单时间
    Example: 2021-08-16T08:27:57+00:00
  • order_source string
    订单来源渠道,目前只有pos渠道该字段才有值,其他渠道该值为空
    Example: pos
  • order_status_url string
    订单状态页url
    Example: https://shoptest.myshopline.com/trade/thank_you?mainOrderMark=xxx&mainOrderSeq=200565776406008509
  • payment_detailsobject[]
    支付单信息
  • create_time string
    支付单创建时间
    Example: 2021-08-16T08:27:57+00:00
  • pay_amount double
    支付金额
    Example: 8
  • pay_channel_deal_id string
    支付流水号:支付渠道生成的支付号
    Example: pi_3MI897Hezv8FxjBO1uGxMPhX
  • pay_seq string
    支付网支付单号, SL内部定义的支付单的唯一编号请求号
    Example: 23057287797738260472676128
  • pay_status string
    支付状态
    Example: unpaid
  • processed_at string
    支付创建时间,格式:2023-04-12T22:59:52+08:00
    Example: 2023-04-12T22:59:52+08:00
  • status_code string
    支付状态码
    Example: RISK_PENDING
  • status_msg string
    支付单状态码描述
    Example: PENDING_REVIEW
  • payment_gateway_names array
    付款方式列表,该订单所用到的付款方式列表
    Example: Paypal
  • payment_termsobject
    支付条款
  • created_at string
    创建时间
    Example: 2024-06-05 08:00:00
  • due_in_days integer
    当条款类型为NET时提供,多少天后未付款则到期
    Example: 2
  • id string
    唯一识别该支付条款的id
    Example: 6497210673894431747
  • overdue boolean
    支付条款是否超时:true/false
    Example: true
  • payment_schedulesobject[]
    与付款条件相关联的一组时间表
  • completed_at string
    付款完成时间
    Example: 2024-06-05 08:00:00
  • due_at string
    预计付款时间
    Example: 2024-06-05 08:00:00
  • issued_at string
    付款条件启动的时间。当为FIXED时,为保存时间(若草稿单成单,则订单继承草稿单时间) ;当为FULFILLMENT/RECEIPT时,为条件生效时间;当为NET时,则为保存时间(若草稿单成单,则订单继承草稿单时间)
    Example: 2024-06-05 08:00:00
  • payment_terms_name string
    用于创建付款条件的付款条件模板的名称
    Example: Due on receipt
  • payment_terms_type string
    用于创建付款条件的付款条件模板类型: FIXED:商家指定日期 FULFILLMENT:完成发货日期 NET:固定条件日期 RECEIPT:发送账单日期 UNKNOWN:未知类型
    Example: RECEIPT
  • updated_at string
    更新时间
    Example: 2024-06-05 08:00:00
  • phone string
    买家联系方式
    Example: 13100000000
  • po_number string
    B2B场景在订单上记录的采购订单号
  • pos_location_id string
    pos交易地点
    Example: 5227248679317408779
  • presentment_currency string
    买家侧币种
    Example: USD
  • processed_at string
    成单时间,格式:2023-04-12T22:59:52+08:00 2023-04-12T22:59:52+08:00
    Example: 2023-04-12T22:59:52+08:00
  • processed_user_id string
    订单创建者
    Example: 4201057495
  • refundsobject[]
    退款列表
  • created_at string
    退款单创建时间 (格式见IOS8601)
    Example: 2021-08-16T08:27:57+00:00
  • id string
    退款id
    Example: 2605659027312156877634
  • note string
    退款备注
    Example: 备注
  • order_id string
    订单号
    Example: 21056577640603870897253153
  • processed_at string
    更新时间
    Example: 2021-08-16T08:27:57+00:00
  • refund_line_itemsobject[]
    退款商品
  • id string
    退款单号
    Example: 2605659027312156877634
  • line_item_id string
    商品快照表的id, 系统生成,与订单号唯一确认一个商品
    Example: 101
  • quantity string
    数量,商品数量
    Example: 1
  • restock_type string
    库存返还类型,no_restock-未返还,cancel-取消, return-返还
    Example: no_restock
  • subtotal string
    退款金额合计,精度2
    Example: 1.00
  • subtotal_setobject
    退款金额合计,多币种信息,卖家和买家侧相同
  • presentment_moneyobject
    买家侧币种
  • amount string
    金额,精度2
    Example: 1.00
  • currency_code string
    币种
    Example: USD
  • shop_moneyobject
    卖家侧金额信息
  • amount string
    金额,精度2
    Example: 1.00
  • currency_code string
    币种
    Example: USD
  • total_tax_setobject
    总税额,多币种信息
  • presentment_moneyobject
    买家侧币种
  • amount string
    金额,精度2
    Example: 1.00
  • currency_code string
    币种
    Example: USD
  • shop_moneyobject
    卖家侧金额信息
  • amount string
    金额,精度2
    Example: 1.00
  • currency_code string
    币种
    Example: USD
  • user_id string
    用户id
    Example: 4201057495
  • shipping_addressobject
    收货地址
  • address1 string
    详细地址1
    Example: 地址1
  • address2 string
    详细地址2,备选
    Example: 地址2
  • city string
    城市
    Example: 纽约
  • company string
    公司名称
    Example: 新公司
  • country string
    国家
    Example: 美国
  • country_code string
    国家码
    Example: US
  • delivery_store_code string
    门店编码
    Example: 1001
  • delivery_store_name string
    门店名称
    Example: 店铺
  • district string
    Example: 番禺区
  • district_code string
    区编码
    Example: 5213300
  • first_name string
    Example: Tom
  • last_name string
    Example: Washington
  • latitude string
    地址纬度
    Example: 23.35773
  • longitude string
    地址经度
    Example: 116.4151
  • name string
    全名
    Example: Tom Washington
  • phone string
    电话
    Example: 13100000000
  • province string
    省份
    Example: 加利福尼亚州
  • province_code string
    省份码
    Example: 4200006
  • zip string
    邮编
    Example: 521000
  • shipping_linesobject[]
    物流信息
  • code string
    物流编号
    Example: SF1232344456776
  • discount_allocationsobject[]
    折扣明细金额多币种展示
  • amount string
    折扣金额,精度2
    Example: 8.00
  • amount_setobject
    折扣多币种金额
  • presentment_moneyobject
    买家侧金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • shop_moneyobject
    店铺侧金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • discount_application_index integer
    在折扣明细中的位置
    Example: 1
  • discounted_price string
    折扣金额,精度2
    Example: 8.00
  • discounted_price_setobject
    折扣多币种金额
  • presentment_moneyobject
    买家侧金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • shop_moneyobject
    店铺侧金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • phone string
    电话
    Example: 13100000000
  • price string
    物流运费, double类型的字符串
    Example: 8.00
  • price_setobject
    物流运费多资源信息
  • presentment_moneyobject
    买家侧币种金额
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • shop_moneyobject
    卖家侧币种金额
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • shipping_price string
    原运费金额值(非折扣后金额)
    Example: 8.00
  • source string
    物流类型
    Example: SHOPLINE
  • tax_linesobject[]
    物流税费信息
  • price string
    价格
    Example: 8.00
  • price_setobject
    税费多币种信息
  • presentment_moneyobject
    买家侧币种金额
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • shop_moneyobject
    卖家侧币种金额
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • rate double
    税率
    Example: 1
  • title string
    税费名称
    Example: 税费
  • title string
    物流名称
    Example: 顺丰国际
  • status string
    订单状态,open-处理中,cancelled-已取消
    Example: open
  • store_id string
    店铺ID
    Example: 1644828244663
  • subtotal_price string
    商品折后价总和, 商品总价 - 营销优惠 - 人工折扣
    Example: 8.00
  • subtotal_price_setobject
    商品折后价总和多币种信息
  • presentment_moneyobject
    买家侧金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • shop_moneyobject
    卖家侧金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • tags string
    订单标签
    Example: 手表
  • tax_linesobject[]
    税费信息
  • price string
    价格
    Example: 8.00
  • price_setobject
    多币种金额信息
  • presentment_moneyobject
    买家侧金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • shop_moneyobject
    卖家侧金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • rate double
    税率
    Example: 1
  • title string
    税费名称
    Example: 税费
  • tax_number string
    税号
    Example: 11111
  • tax_type string
    税号类型
    Example: 类型
  • taxes_included boolean
    总计额是否包含税额
    Example: true
  • total_discounts string
    折扣总额,营销优惠+人工折扣
    Example: 8.00
  • total_discounts_setobject
    折扣总额多币种信息
  • presentment_moneyobject
    买家侧金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • shop_moneyobject
    卖家侧金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • total_line_items_price string
    商品原价总和,精度2
    Example: 8.00
  • total_line_items_price_setobject
    商品原价总和,多币种信息
  • presentment_moneyobject
    买家侧金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • shop_moneyobject
    卖家侧金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • total_outstanding string
    未付款金额总和,精度2
    Example: 8.00
  • total_outstanding_setobject
    未付款金额总和,多币种信息
  • presentment_moneyobject
    买家侧金额信息
  • amount string
    金额
    Example: 8.88
  • currency_code string
    币种
    Example: USD
  • shop_moneyobject
    卖家侧金额信息
  • amount string
    金额
    Example: 8.88
  • currency_code string
    币种
    Example: USD
  • total_shipping_price_setobject
    订单运费总和,多币种信息
  • presentment_moneyobject
    买家侧金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • shop_moneyobject
    卖家侧金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • total_tax string
    税费总和,精度2, 商品税 + 运费税
    Example: 8.00
  • total_tax_setobject
    税费总和,多币种信息
  • presentment_moneyobject
    买家侧金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • shop_moneyobject
    卖家侧的金额信息
  • amount string
    金额,精度2
    Example: 8.00
  • currency_code string
    币种
    Example: USD
  • total_tip_received string
    小费,精度2
    Example: 8.00
  • total_tip_received_setobject
    小费,多币种信息
  • presentment_moneyobject
    买家侧金额信息
  • amount string
    金额
    Example: 8.88
  • currency_code string
    币种
    Example: USD
  • shop_moneyobject
    卖家侧金额信息
  • amount string
    金额
    Example: 8.88
  • currency_code string
    币种
    Example: USD
  • total_weight double
    商品总重量(g)
  • updated_at string
    订单更新时间,(格式见IOS8601)
    Example: 2021-08-16T08:27:57+00:00
  • user_id string
    买家id
    Example: 4201057495
响应
收到 SHOPLINE 发送的 Webhook 通知后,你需要按照如下 SHOPLINE 要求的格式进行响应。
HTTP/1.1 200 OK
关于如何订阅 Webhooks 及更多 Webhook 响应规则说明,请参考 Webhook 概述
这篇文章对你有帮助吗?