200Successful Response
Schema: app__core__success__MessageResponse
successbooleanmessagestringcodestring
/api/v1/inventory/products/variants/{id}Archive a variant (default), or permanently delete it with permanent=true. Permanent deletion is rejected when the variant has linked inventory, order, shipment, transfer, or count records.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
idstring · uuidrequiredpermanentbooleandefault: FalsePermanently delete instead of archiving. Only allowed when the variant has no linked records.
product_idstringSchema: app__core__success__MessageResponse
successbooleanmessagestringcodestring