```javascript
WXAPI.orderCreate({
token: '0000'
})
```
["Parameter Description"](##/%E5%89%8D%E7%AB%AFapi%E6%8E%A5%E5%8 F%A3%E6%96%87%E6%A1%A3/%E8%AE%A2%E5%8D%95%E7%AE%A1%E7%90%86/createUsingPOST)
["Detailed explanation of parameters"](https://www.yuque.com/apifm/doc/itys0m)
Pre-order return:
```json
{
"code": 0,
"data": {
"amountTaxService": 0,
"deductionMoney": 0,
"amountReal": 4995,
"couponUserList": [
{
"canUseGoodsIds": [
235853
],
"dateAdd": "2021-12-02 18:46:44",
"dateEnd": "2021-12-18 00:00:00",
"dateStart": "2021-12-02 18:46:44",
"goodsTotalAmount": 4995,
"id": 427331,
"money": 40,
"moneyHreshold": 3000,
"moneyType": 0,
"name": "New store discount",
"pid": 223,
"pwd": "",
"status": 0,
"statusStr": "Normal",
"type": "",
"uid": 2017654,
"userId": 951
}
],
"isNeedLogistics": true,
"amountTotle": 4995,
"overseas": false,
"amountLogistics": 0,
"score": 199800,
"couponAmount": 0,
"goodsNumber": 999,
"amountTaxGst": 0,
"amountTax": 0
},
"msg": "success"
}
```
Return of actual order:
```json
{
"code": 0,
"data": {
"amount": 4995,
"amountCard": 0,
"amountCoupons": 0,
"amountLogistics": 0,
"amountReal": 4995,
"amountRefundTotal": 0,
"amountTax": 0,
"amountTaxGst": 0,
"amountTaxService": 0,
"autoDeliverStatus": 0,
"dateAdd": "2021-12-09 10:51:19",
"dateClose": "2021-12-09 11:02:20",
"differHours": 0,
"goodsNumber": 999,
"hasRefund": false,
"id": 1236848,
"ip": "183.129.193.150",
"isCanHx": false,
"isDelUser": false,
"isEnd": false,
"isHasBenefit": false,
"isNeedLogistics": true,
"isPay": false,
"isScoreOrder": true,
"isSuccessPingtuan": false,
"jd8Status": 0,
"orderNumber": "21120910519510010",
"orderType": 0,
"periodAutoPay": false,
"pid": 0,
"qudanhao": "0010",
"refundStatus": 0,
"remark": "",
"score": 199800,
"scoreDeduction": 0,
"shopId": 0,
"status": 0,
"statusStr": "Pending payment",
"trips": 0,
"type": 0
},
"msg": "success"
}
```
Field description:
+ id order id
+ orderNumber order number
+ amount payment
+ amountTotleOriginal The amount of the product before discount
+ amountReal The actual amount to be paid
+ amountCoupons coupon deduction amount
+ amountCard membership card deduction amount
+ amountLogistics freight
+ deductionMoney discount amount
+ couponUserList The array of coupons that can be selected for this order
+ amountTotle total amount of order
+ goodsNumber number of goods
+ score How many points need to be deducted
+ freightTemplateFreeShippingObject1 freight template free shipping information object
- code 0 means free shipping for this order, 700 means there is no free shipping rule, and code 10000 does not meet the rules.
- msg If there is no free shipping, the unit of quantity is still missing, such as pieces, kg, yuan
- data If there is no free shipping, the quantity is still missing.
+ freightTemplateFreeShippingObject1 extended freight template free shipping information object
- code 0 means free shipping for this order, 700 means there is no free shipping rule, and code 10000 does not meet the rules.
- msg If there is no free shipping, the unit of quantity is still missing, such as pieces, kg, yuan
- data If there is no free shipping, the quantity is still missing.