Bulk delete product variants
Deletes multiple product variants in a single batch operation. Removes variants and their associated data. Supports up to 50 variants per batch. Returns arrays of successfully deleted variant IDs and failed deletions.
DELETE
/api/v1/{team_slug}/{app_slug}/variants/bulkAuthorization
AuthorizationBearer token · headerrequiredManagement API token, sent as Authorization: Bearer <token>.
Path parameters
team_slugstringrequiredTeam slug
app_slugstringrequiredApp slug
Request body
requiredapplication/jsonVariant IDs to delete
variant_idsstring[]requiredmin items 1 · max items 50
Responses
200
Variants deleted successfully
datainternal_pkg_webserver_v1.BulkDeleteVariantsResponserequiredShow propertiesHide properties
failedinternal_pkg_webserver_v1.BulkDeleteFailed[] | nullShow propertiesHide properties
Array of
internal_pkg_webserver_v1.BulkDeleteFailedidstringreasonstringsuccessfulstring[] | nulldetailsstring[]Additional contextual information about the response. Used to provide supplementary details beyond the main data payload, such as validation warnings or processing notes
successbooleanrequired400
Invalid request
detailsstring[]messagestringsuccessbooleanrequired401
Unauthorized access
detailsstring[]messagestringsuccessbooleanrequired500
Internal server error
detailsstring[]messagestringsuccessbooleanrequired