beckn / beckn-ui-workspace

Mono Repo for Beckn UI Workspace
9 stars 12 forks source link

Update Policy by ID API creation using Strapi plugin #2054

Closed emmayank closed 1 month ago

emmayank commented 1 month ago

Description

This task involves developing an API to allow users to update the status of a specific policy using its unique ID. The API will enable users to change the policy status to one of three states: inactive, active, or published. This API will be useful for managing policy lifecycle updates within the system.

Goals

Expected Outcome

  1. A fully functional API that allows users to update the status of a policy based on its ID.
  2. Users will be able to set the status of a policy to inactive, active, or published.
  3. The updated status should be reflected in the system for any subsequent queries.

Acceptance Criteria

Mockups / Wireframes

NA

Product Name

Beckn

Domain

Strapi

Tech Skills Needed

Complexity

Medium

Category

API Development

Sub Category

Policy Management

rahul-eminds commented 1 month ago

Created update policy api and tested from postman PR: https://github.com/beckn/strapi-plugins/pull/148

emmayank commented 1 month ago

Review Completed