API: Delete Offer and promo

Request

Soft delete a specific Offer and promo by ID:

DELETE /offer-and-promos/{id}

Sample Response:

                    
{
    "status": "success",
    "message": "Offer and promo deleted successfully"
}
                    
                

Notes:

  • The offer and promo ID is required in the URL to specify which offer and promo to delete.
  • If the offer and promo does not exist, the API will return an error response.