You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In version 1.1.0 of beckn, a new set of APIs has been introduced that can be used by the BAPs to fetch the meta information. One of the API is get_return_reasons. In this BAP fetches the list of return reasons from BPP. In Strapi plugin we need to implement the get_return_reasons.
Create a suitable datamodel in Strapi , check if any existing data model can be used to provide the detail.
Create an endpoint in webhook to handle the request.
Implement the query logic to fetch the requested detail.
Test the endpoint from Strapi and the generic client layer.
Write unit test cases for the get reason API.
Goals
Implement fetch return reason API in Strapi
Expected Outcome
Strapi should be able to serve the get_return_reasons API call from BAP.
Acceptance Criteria
Correct result is provided to BAP when a request for return reasins is made to Strapi BPP.
Description
In version 1.1.0 of beckn, a new set of APIs has been introduced that can be used by the BAPs to fetch the meta information. One of the API is get_return_reasons. In this BAP fetches the list of return reasons from BPP. In Strapi plugin we need to implement the get_return_reasons.
Goals
Expected Outcome
Strapi should be able to serve the get_return_reasons API call from BAP.
Acceptance Criteria
Implementation Details
It should be part of the strapi pugin and must follow the specification details here - https://github.com/beckn/protocol-specifications/blob/master/api/meta/build/meta.yaml
Tech Skills Needed:
Strapi plugin development
Node Js
Complexity
Medium
Category
Enhancement
Sub Category
Strapi plugin enhancement
The text was updated successfully, but these errors were encountered: