Skip to main content
DELETE
Delete Variant
There is no variant endpoint on the OAuth App API (/api/v1/). Variant deletion is performed on the merchant admin route documented here (DELETE /variants/delete-single-variant/{id}), which is also what the MCP delete_variant tool calls.

Authentication

Merchant JWT (Authorization: Bearer <merchant-token>); roles MERCHANT, STAFF_ADMIN, SUPER_ADMIN, or MANAGER.

Path Parameters

id
string
required
The variant ID to delete

Response

The platform response envelope is { status, state, message, data }. On a successful delete, data is an empty object.
If the variant cannot be found the endpoint returns status: 400, state: "error", message: "Variant Not Found".