novinzodevelopers
Your store's APIApps referenceLicenses

Disable Variant

POST/admin/variants/{variantId}/disable

Turns license keys off for a product variant: its later buyers get no key. It deletes the variant's terms and its unsold supplied keys for good, and turning keys on again does not bring them back. Licenses already sold keep working with their own terms.

Path Parameters

variantId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/admin/variants/string/disable"
{  "message": "string"}