Skip to content

Commit

Permalink
checkout custom form api added
Browse files Browse the repository at this point in the history
  • Loading branch information
khwaleed96 committed Dec 14, 2023
1 parent 8a04d31 commit 58a3242
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion API/Order/Order.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,15 @@ module.exports = {
return Request.get(`${url}`, { params: { ...payload }})
},

//fetch order schedulling slots
getOrderSchedulling(payload) {
const url = `/store/v1/order/getSchedulingSlots`
return Request.get(`${url}`, { params: { ...payload }})
}
},

//fetch custom order form
getCustomOrderForm(type, payload) {
const url = `/store/v1/order/custom-forms/${type}`
return Request.get(`${url}`, { params: { ...payload }})
},
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"version": "1.0.61"
"version": "1.0.62"
}

0 comments on commit 58a3242

Please sign in to comment.