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-Implement API for Deleting a Product #1422

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

[Feature]: BE-PHOENIX-Implement API for Deleting a Product #1422

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 deletes a product by its ID.

Endpoint: DELETE /api/v1/organizations/{org_id}/products/{product_id}

Acceptance Criteria

  • The API should delete the product from the database.
  • The API should return a success status or an error if the product doesn't exist.

Links

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

https://www.figma.com/design/VEItfX6St5NSAqqNHImcxD/HNG-Boilerplate-Designs?node-id=771-15093&t=aoGEulnZvAsAxXc1-4

Images

![image]
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