Order APi: create,signle get and delete api is fully created
This commit is contained in:
@@ -88,16 +88,14 @@ export const orderSwaggerDocs = {
|
|||||||
content: {
|
content: {
|
||||||
"application/json": {
|
"application/json": {
|
||||||
example: JSON.stringify({
|
example: JSON.stringify({
|
||||||
"shopAccountId": "shop_12345",
|
"shopAccountId": "",
|
||||||
"productPrice": 1500,
|
"productPrice": 1500,
|
||||||
"productQuantity": 2,
|
"productQuantity": 2,
|
||||||
"productName": "Wireless Mouse",
|
"productName": "Wireless Mouse",
|
||||||
"customerName": "Rahim Uddin",
|
"customerName": "Rahim Uddin",
|
||||||
"customerPhone": "+8801712345678",
|
"customerPhone": "+8801712345678",
|
||||||
"customerAddress": "Rangpur, Bangladesh",
|
"customerAddress": "Rangpur, Bangladesh",
|
||||||
"customerNote": "Please deliver between 3-5 PM",
|
"customerNote": "Please deliver between 3-5 PM"
|
||||||
"paymentType": "Cash on Delivery",
|
|
||||||
"status": "Pending"
|
|
||||||
}), // put your request body
|
}), // put your request body
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user