v1

latestOpenAPI 3.0.42026-07-2685196386.6 KB
Variant

Delete variant

Removes the specified variant. Requires the stores.products.update permission.

delete/stores/{storeId}/products/{productId}/variants/{variantId}

Path parameters

storeIdstring uuid required

The store’s unique identifier.

productIdstring uuid required

The product’s unique identifier.

variantIdstring uuid required

The variant’s unique identifier.

Response

The object was successfully deleted.

successboolean required

Indicates whether the operation or response was successful.

messagestring nullable

A descriptive message providing additional context or information about the response.

codestring nullable

The error code (if there was an error) to use when referencing the error