Storepick Discount API¶
Overview¶
This API uses 2 endpoints, PUT and DELETE. The PUT endpoint calls the Club Service to add colleagues along with a limited number of additional discount members to the Colleague Discount Club where they and their additional members can receive a discount online. The PUT endpoint will either make a POST request (to create a new entry for an employee into the Club) or a PUT request (to update an existing employee with a change in additional members) to the Club service. The DELETE endpoint calls the Club Service with a DELETE request to remove a specified colleague and their additional members from the Clubs so that they no longer receive the discount. Employee details are stored in an encrypted dynamodb table to determine whether they are already in the Club and the additional members they have. The maximum limit for additional members is set from the config.
References¶
Document |
Ref |
|---|---|
Business Analysis |
|
Architecture Document |
|
Jira Epic |
Colleague & Customer Discounts: SPDP-2138. |
API Swagger (Requires Morrisons network or VPN for access) |
|
Bitbucket Repository |
Components¶
Diagram¶