Skip to main content

Delete Loyalty Plan

API operation: Open the endpoint in Scalar

Use DELETE /loyalty_plans/{loyalty_plan_id} to delete a loyalty plan. The operation documented here is LoyaltyPlan.delete.

The documented schema requires administrator authentication. Deletion is destructive and can affect business assignments, so verify the plan identifier and dependent configuration before sending the request.

OpenAPI reference​

Operation: DELETE /loyalty_plans/{loyalty_plan_id}

Path parameters

NameTypeRequiredDescription
loyalty_plan_idintegerYes—

Responses

CodeDescription
200OK (Envelope)
400Bad Request (ErrorResponse)
401Unauthorized
404Not Found
429Too Many Requests (ErrorResponse)
500Internal Server Error (ErrorResponse)
503Service Unavailable (ErrorResponse)
Open this operation in the API reference