Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: BE-PHOENIX-Create API for Archiving a Product #1421

Open
Ndustan opened this issue Aug 24, 2024 · 0 comments
Open

[Feature]: BE-PHOENIX-Create API for Archiving a Product #1421

Ndustan opened this issue Aug 24, 2024 · 0 comments
Labels
triage This Ticket is yet to be verified as a valid ticket

Comments

@Ndustan
Copy link

Ndustan commented Aug 24, 2024

Description

Implement an API endpoint that archives a product by updating its status.

Endpoint: PATCH /api/v1/organizations/{org_id}/products/{product_id}/archive

Acceptance Criteria

  • The API should update the product's status in the database.
  • The API should return a success status and the updated product details.

Links

| [FIGMA LINK] https://www.figma.com/design/VEItfX6St5NSAqqNHImcxD/HNG-Boilerplate-Designs?node-id=3065-4132&t=aoGEulnZvAsAxXc1-4

Images

![image]
image

@Ndustan Ndustan added the triage This Ticket is yet to be verified as a valid ticket label Aug 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage This Ticket is yet to be verified as a valid ticket
Projects
None yet
Development

No branches or pull requests

1 participant