Last updated 3 days ago
Was this helpful?
Create a variant for terms.
Json representation of the variant
POST /public/v1/catalog/products/{productId}/terms/{termsAndConditionsId}/variants HTTP/1.1 Host: Content-Type: multipart/form-data Accept: */* Content-Length: 120 { "variant": { "Type": "Online", "AssetUrl": "text", "LanguageCode": "text", "Name": "text", "Description": "text" }, "file": "binary" }
Created
{ "id": "text", "audit": { "created": { "at": "2025-05-17T09:11:32.397Z", "by": { "id": "text", "name": "text", "icon": "text" } }, "updated": { "at": "2025-05-17T09:11:32.397Z", "by": { "id": "text", "name": "text", "icon": "text" } } }, "$meta": { "omitted": [ "text" ] }, "type": "text", "assetUrl": "text", "languageCode": "text", "name": "text", "description": "text", "status": "text", "filename": "text", "size": 1, "contentType": "text", "termsAndConditions": { "id": "text", "name": "text" }, "fileId": "text" }