1.0.2
1.0.2.0Example GummyPoints API endpoint
BSD-3-Clause
The Requires
- php ~5.6.0|^7.0.0
- vinaikopp/module-example-gummypoints ^0.1
Example GummyPoints API endpoint
The purpose of this module is to provide an example API endpoint for frontend development examples., (*1)
Install via composer, (*2)
composer require vinaikopp/module-example-gummypoints ^1.0.0
, (*3)
The purpose of the module is not to demonstrate a sophisticated endpoint, but rather to provide a simple source of data for doing FPC related experiments and exercises., (*4)
API Endpoint: /rest/V1/customer_gummypoints, (*5)
The API endpoint can only be accessed by logged in customers and will return a random integer value., (*6)
API Endpoint: /rest/V1/customer_gummypoints/:customerId, (*7)
The API endpoint is only open to admins authorized to manage customers. It will return a random integer value., (*8)
The module also provides a customer data section with the code
customer-gummypoints
. It is refreshed during login, logout,
checkout/onepage/saveOrder
and add to cart actions., (*9)
Example GummyPoints API endpoint
BSD-3-Clause