amasty-extended/store-credit
最新稳定版本:1.0.1
Composer 安装命令:
composer require amasty-extended/store-credit
包简介
APIs related to amasty store credit.
README 文档
README
Amasty-Store-Credit-Extended is an extension of Amasty Store Credit that has additional APIs. This extension helps you to add/remove store credit to the customer through REST API without the need of Magento Admin UI. All you need is an admin token to use this API.
1. How to install
Run the following command in Magento 2 root folder:
composer require amasty-extended/store-credit
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
Note: Amasty-Store-Credit-Extended requires installing Amasty Store Credit in your Magento installation.
2. How to use
After installing, the package. And running the commands mentioned above. You can use the below API to add/remove store credit for the customer.
- Set REST API endpoint as
http://<magento2-server>/rest/V1/storecredit/addorsubtractin url box and method asPOST. - Use Admin Token.
- Example:
{ "customerId": 1, "amount": 10.0, // to remove 10 store credit => -10.0 "action": 13, "message": "Message" }
4. Contribute to this module
Feel free to Fork and contribute to this module and create a pull request so we will merge your changes main branch.
5. Get Support
- Feel free to mail to anushaakumarr@gmail.com if you have any further questions.
统计信息
- 总下载量: 6.07k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-03-06