curl --location --request PUT 'https://api.ordermesh.io/catalog/v1/products//variants/' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"sku": "Mug11oz-White-BlackAccent",
"attributes": [
{
"name": "Color",
"value": "White With Black Accents"
},
{
"name": "Size",
"value": "11 oz"
}
],
"options": [
{
"name": "Gift Wrap",
"value": "Standard Wrap"
}
],
"decorations": [
{
"area": "Default",
"width": 2538,
"height": 945,
"dpi": 300,
"method": "Embroidery",
"price": {
"currencies": null,
"amount": 0.5,
"currency": "USD"
},
"printImage": null,
"attributes": [
{
"name": "Placement",
"value": "Center Chest"
}
]
}
],
"price": {
"currencies": null,
"amount": 7.9,
"currency": "USD"
},
"status": "Active",
"images": [
"http://cdn.print.io/temp/38977dab92ba4699a79d84230e32fa85Mug_black_PreviewImage.png"
],
"gtin": "1194",
"upc": "Mug11oz-White-RedAccent",
"partNumber": "1194",
"extras": [
{
"name": "PimVariantId",
"value": "PIM-VAR-73529"
},
{
"name": "NetworkCertifiedDate",
"value": "2026-01-15"
}
]
}'