Last active
October 12, 2016 14:37
-
-
Save zzpaul/3fe29a372185e197c278ee4e49f59148 to your computer and use it in GitHub Desktop.
Magento 2 - Custom REST API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Vendor\BonusPoint\Model; | |
use Vendor\BonusPoint\Api\BonusPointInterface; | |
class BonusPoint implements BonusPointInterface { | |
public function updateFreeBonusPoint($customerId, $point) { | |
// Do your logic here | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment