Skip to content

Commit

Permalink
Merge pull request #2 from hyp-azam/main
Browse files Browse the repository at this point in the history
Added list merchant by ids endpoint
  • Loading branch information
siddiquiazam authored Oct 17, 2024
2 parents badada7 + bc7c1b7 commit 3de8e54
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions API/Merchant/Merchant.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ module.exports = {
return Request.post(`${url}`, payload.data, {headers: payload.headers});
},

// List merchants by id
listMerchantsById(payload) {
const url = `/store/v1/merchant/listByIds`;
return Request.get(`${url}`, { params: { ...payload } });
},

// List Featured Merchants
listFeaturedMerchants(payload) {
const url = `/store/v1/merchant/merchant-featured/list`;
Expand Down
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.71"
"version": "1.0.72"
}

0 comments on commit 3de8e54

Please sign in to comment.