Skip to main content

Delete Variation

Delete a product variation. This also removes the junction table entries for the variation's option values and soft-deletes any associated inventory items.

Endpointโ€‹

DELETE /v1/store-products/{id}/variations/{variationId}

Authenticationโ€‹

Requires an API key with the store:write scope.

Parametersโ€‹

ParameterTypeLocationDescription
idintegerpathThe store product ID
variationIdintegerpathThe product variation ID

Responseโ€‹

Success (204 No Content)โ€‹

No response body.

note

When a variation is deleted, its associated inventory items (if using item-level tracking) are soft-deleted and will no longer count toward the product's stock quantity.

Errorsโ€‹

StatusCodeDescription
401authentication_requiredNo API key provided
401invalid_api_keyInvalid API key
403insufficient_scopeAPI key lacks store:write scope
404resource_not_foundStore product or variation does not exist

Example Requestโ€‹

curl -X DELETE "https://app.equipdash.com/api/v1/store-products/1/variations/1" \
-H "Authorization: Bearer eqd_live_abc123xyz789..."