提交訂單接口代碼標簽

(2)請求參數:

?

參數名稱 必填 參數值說明 格式要求
openId OpenID String
fromPage 訂單類型(與確認訂單信息接口的fromPage參數一致)

0:購物車,1:立即購買

string
shippingId 收貨信息編號 Int
couponCode 優惠券編碼 string
countDownId 限時購編號(暫時未使用 int
buyAmount 數量 int
productSku 商品規格編號 string
cartItemIds 購物車IDs,多個用逗號分隔,fromPage=0時 String
jsonOrderShops 各店鋪備注字符串 string
remark 訂單備注 string
deductionPoints 使用積分 int
formId 小程序formId string
isStore 是否門店訂單(門店訂單傳值true,其他傳false) Bool
ProductType 虛擬訂單傳值1,其他傳0 Int
VirtualProductItems 虛擬訂單信息項

?

(3)返回值說明:Json格式

返回結果:

{"success":true,"msg":"訂單提交成功!","code":0,"data":{"OrderId":"201706168450136","OrderTotal":376.72}}

?

?

返回結果參數說明:

字段名稱 字段編碼 數據類型 是否可空 備注
訂單編號 OrderId Int
訂單金額 OrderTotal Decimal

?

更多
  • 該日志由 于2020年05月30日發表在 未分類 分類下, 你可以發表評論,并在保留原文地址 及作者的情況下引用到你的網站或博客。
  • 本文鏈接: 提交訂單接口代碼標簽 | 幫助信息-動天數據
  • 版權所有: 幫助信息-動天數據-轉載請標明出處
  • 【上一篇】 【下一篇】

    0 Comments.