承接 amasty-extended/store-credit 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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/addorsubtract in url box and method as POST.
  • 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

统计信息

  • 总下载量: 6.07k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-03-06