Closed thenoblet closed 2 weeks ago
Hello Mentors, this issue complements the existing issue [FEAT] Implement API Endpoints for Creating Subscription Plans. and [FEAT]: Organization Billing Plans - Retrieve Plans for Super Admin and Owners. While the existing issues focuses on CREATING and RETRIEVING subscription plans, my issue addresses the endpoint required for DELETING those subscription plans.
The goal is to complete the suite of CRUD operations for subscription plans, ensuring a comprehensive API that covers all necessary interactions with subscription data.
Update your response to follow the given criteria
Update your response to follow the given criteria
@phurhard I have updated it. Using the snake_case now.
This is 3 endpoints? @phurhard
I think this should be separated into three tickets to allow better tracking
@thenoblet
This is 3 endpoints? @phurhard
I think this should be separated into three tickets to allow better tracking
@thenoblet
@phurhard, 2 endpoints please. To retrieve and delete a subscription plan. Do I need to break them into separate endpoints? @highb33kay
Yes, you do. Two tickets for easier tracking by PMS
Please create and attach second ticket here
@highb33kay and @phurhard, I found out that there is an issue for RETRIEVE already. So I edited this endpoint to handle the DELETE operation only.
Existing issue for RETRIEVE: [FEAT]: Organization Billing Plans - Retrieve Plans for Super Admin and Owners
Description
Implement the endpoint to delete a specific plan. This feature will enable administrators to manage existing subscription plans by allowing them to delete plans as necessary.
Purpose
Acceptance Criteria
Delete Plan
Requirements
Delete Plan
Expected Outcome
Checklist
Delete Plan
DELETE /api/v1/plans/{id}
endpointTesting
Documentation
Endpoint
Delete Plan
Description: Delete a specific plan.
Endpoint:
DELETE /api/v1/plans/{id}
Authentication: Required
Authorization: Administrators only
Response (Success):
Response (Error: General Failure):
Response (Error: Plan Not Found):