curl --location --request PUT '/products' \
--header 'Content-Type: application/json' \
--data '{
"productId": "string",
"active": 1,
"sku": "string",
"ean": "string",
"brand": "string",
"unit": "string",
"condition": "new",
"stock": 0,
"availability": 0,
"tax": 0,
"purchase": {
"amount": 0,
"currency": "string"
},
"prices": [
{
"amount": 0,
"currency": "CZK",
"country": "string",
"pricelist": "string",
"priceAfterDiscount": 0,
"priceWithoutTax": 0,
"discountRate": 0,
"measurePrice": 0,
"measureAmount": 0,
"measureUnitName": "kg"
}
],
"imageUrls": [
"http://example.com"
],
"categories": [
"string"
],
"tags": [
{
"name": "new"
}
],
"related": [
"string"
],
"languages": [
{
"id": "cs",
"name": "string",
"url": "http://example.com",
"description": "string",
"shortDescription": "string",
"attributes": [
{
"key": "size",
"value": "XL"
}
]
}
],
"added": "2019-08-24T14:15:22.123Z",
"validFrom": "2019-08-24T14:15:22.123Z",
"validTo": "2019-08-24T14:15:22.123Z",
"variants": [
{
"variantId": "string",
"sku": "string",
"ean": "string",
"active": 0,
"condition": "new",
"stock": 0,
"availability": 0,
"prices": [
{
"amount": 0,
"currency": "CZK",
"country": "string",
"pricelist": "string",
"priceAfterDiscount": 0,
"priceWithoutTax": 0,
"discountRate": 0,
"measurePrice": 0,
"measureAmount": 0,
"measureUnitName": "kg"
}
],
"imageUrls": [
"http://example.com"
],
"languages": [
{
"id": "cs",
"name": "string",
"url": "http://example.com",
"description": "string",
"shortDescription": "string",
"attributes": [
{
"key": "size",
"value": "XL"
}
]
}
],
"customFields": [
{
"key": "string",
"value": "string",
"group": "string"
}
],
"validFrom": "2019-08-24T14:15:22.123Z",
"validTo": "2019-08-24T14:15:22.123Z"
}
]
}'