Modify the update API based on the new approach that can handle new domains with configuration changes or minimal code-level changes.
Goals
[ ] Development of update API with the new approach and make a call back for on_update.
[ ] Prepare Unit Test's for the update endpoint
Expected Outcome
Update API as per the new approach that works seamlessly with all the existing domains and should be able to accommodate new domains. It should be working correctly and updating order details properly for both commerce and time booking use cases.
Acceptance Criteria
[ ] Update API working with all current domains.
[ ] The requested order must be updated with the new details provided by the user.
[ ] On making an update call, it should call back on_update with the correct response to the request.
Implementation Details
Add logic on update endpoint to fetch data using the query engine.
Add logic for mutation on the database to update an order.
Create JSONata file for transforming the query response to BECKN format.
Transform the query response to BECKN format using transformer and JSONata.
Description
Modify the update API based on the new approach that can handle new domains with configuration changes or minimal code-level changes.
Goals
Expected Outcome
Update API as per the new approach that works seamlessly with all the existing domains and should be able to accommodate new domains. It should be working correctly and updating order details properly for both commerce and time booking use cases.
Acceptance Criteria
Implementation Details
Add logic on update endpoint to fetch data using the query engine. Add logic for mutation on the database to update an order. Create JSONata file for transforming the query response to BECKN format. Transform the query response to BECKN format using transformer and JSONata.
Mockups / Wireframes
NA
Product Name
Beckn
Project Name
strapi-plugin
Organization Name:
FIDE
Domain
NA
Tech Skills Needed:
Strapi Node
Complexity
Medium
Category
Feature
Sub Category
API