Order Create In Store
POST: https://salework.net/api/open/stock/v1/order/salework/create
Request Headers
client-id: 123456
token: 50000601c30atpedfgu3LVvik87Ixlsvle3mSoB7701ceb156fPunYZ43GBgRequest Body
{
"warehouse_id": "SaleworkWarehouse",
"order_info": {
"selected_payment": "the selected payment method"
"total_price": 0,
"cod": 0,
"price_policy": "retail_price",
"discount": 0,
"discount_type": "VND",
"prepaid": 0,
"note": "This is order note!",
"complete_now": false
},
"products_info": [
{
"code": "PRODUCT_CODE",
"quantity": 1
}
],
"customer_info": {
"name": "John Doe",
"phone": "0123456789",
"phone_alt": "",
"address": "123 ABC Street",
"province_id": "01",
"district_id": "011",
"ward_id": "00111",
"note": "This is customer note!"
},
"delivery_info": {
"logistics": "inStore"
}
}Response Body
Parameters
Parameters
Type
Required
Note
Last updated