Order Product
Customer can order unlimited product by POST Method with login
https://ecom.coderorbit.com/public/api/api/order
headers:{
"Accept": "application/json",
"App-Master-Key": `${app_token}`,
"Authorization" : `Bearer ${token}`,
}
body:{
"boundle_name": "",
"note": "this is test order",
"type": "Sigle",
"promo_code": "",
"discount_by_promo_code": "30",
"payment_type": 1,
"user_id": 1,
"contact": {
"address": "current address",
"delivery_address": "Delivery Address",
"email": "majadul.dev@gmail.com",
"mobile": "01677270944"
},
"items": [
{
"item_id": 7,
"quantity": 2,
"item_name": "this the new product",
"cruurent_price": 100,
"regular_price": 110,
"vat": 0,
"tax": 0
},
{
....
}
],
"others": {
"check": "test"
}
}
### Result
{
"msg": "success"
}
Bundle Product
Customer can order single bundle product by POST Method with login
https://ecom.coderorbit.com/public/api/api/bundle
headers:{
"Accept": "application/json",
"App-Master-Key": `${app_token}`,
"Authorization" : `Bearer ${token}`,
}
body:{
"boundle_name": "Bundle Offer 2 products",
"type": "Bundle",
"promo_code": "MS20",
"discount_by_promo_code": "30",
"payment_type": 1,
"vendor_id": 1,
"user_id": 1,
"contact": {
"address": "current address",
"delivery_address": "Delivery Address",
"email": "majadul.dev@gmail.com",
"mobile": "01677270944"
},
"note": "This is a note",
"bundle_id": "3rDf6V02OhqIc2q",
"bundle_items": [5,4],
"others": {
"check": "test"
}
}
### Result
{
"msg": "success"
}