Deleting a Discount Profile
Endpoint: DELETE/admin/discount_profiles/{profile_id}
Purpose
This endpoint permanently deletes a specific discount profile from the system. It allows administrators to remove outdated or unused promotional rules and maintain a clean and relevant set of active discounts.
Path Parameters
Field | Type | Description |
---|---|---|
profile_id | integer | The unique identifier of the discount profile to be deleted |
Query Parameters
This endpoint does not require any query parameters.
Request Body
This endpoint does not require a request body.
Response
A successful request returns a 204 No Content response, indicating that the discount profile has been successfully deleted. No response body is returned.
DELETE
https://{your_site_domain}/api/v4/admin/discount_profiles/{profile_id}
Try It Out