curl -i -X POST \
'https://api.myshoptet.com/api/products?include=string' \
-H 'Content-Type: application/vnd.shoptet.v1.0+json' \
-H 'Shoptet-Access-Token: YOUR_API_KEY_HERE' \
-d '{
"data": {
"guid": "1b02cb8e-d7b5-11e0-9a5c-feab5ed617ed",
"type": "product",
"visibility": "hidden",
"name": "Velká čokoláda",
"adult": true,
"shortDescription": "Velice kvalitní a dobrá čokoláda.",
"description": "<p>Velice kvalitní a dobrá čokoláda. Chutná vždy dobře. <b>Neobsahuje arašídy.</b></p>",
"metaTitle": "Velice kvalitní a dobrá čokoláda.",
"metaDescription": "Velice kvalitní a dobrá čokoláda. Chutná vždy dobře. Neobsahuje arašídy.",
"conditionGrade": "used",
"conditionDescription": "Without original package.",
"defaultCategoryGuid": "1b02cb8e-d7b5-11e0-9a5c-feab5ed617ed",
"brandCode": "milka",
"internalNote": "Internal note for product manager.",
"supplierGuid": "1b02cb8e-d7b5-11e0-9a5c-feab5ed617ed",
"categoryGuids": [
"1b02cb8e-d7b5-11e0-9a5c-feab5ed617ed"
],
"warrantyId": 1,
"flags": [
{
"code": "new",
"dateFrom": "2017-04-04",
"dateTo": "2017-04-04"
}
],
"descriptiveParameters": [
{
"name": "Material",
"value": "Cotton",
"description": "Material the shirt is made of",
"priority": 1
}
],
"filteringParameters": [
{
"code": "action",
"values": []
}
],
"surchargeParameters": [
{
"code": "pp-1",
"values": [
{
"valueIndex": "hodnota-01",
"price": "21.00",
"visible": true
}
]
}
],
"variants": [
{
"code": "0035",
"ean": "8594001234567",
"unitId": -1,
"weight": "15.500",
"width": "10.0",
"height": "10.0",
"depth": "10.0",
"visible": true,
"price": "21.00",
"currencyCode": "CZK",
"manufacturerCode": "OKI",
"pluCode": "0828",
"isbn": "978-80-251-0000-0",
"serialNo": "B412",
"mpn": "H3T5-87",
"availabilityId": -1,
"availabilityWhenSoldOutId": -3,
"parameters": [
{
"nameIndex": "color",
"valueIndex": "red"
}
],
"minStockSupply": "1.000",
"stocksLocations": [
{
"stockId": 1,
"amount": "1.000",
"location": "H6/M11/R13"
}
],
"negativeStockAllowed": true,
"measureUnit": {
"packagingUnitId": 22,
"packagingAmount": "1.000",
"measureUnitId": 1,
"measureAmount": "1.000"
},
"recyclingFeeId": 123,
"amountDecimalPlaces": 2,
"atypicalBilling": true,
"atypicalShipping": true
}
],
"indexName": "baleriny-modre-s-puntiky",
"relatedVideos": [
{
"code": "zpvmPA3me7o",
"title": "Test video",
"type": "youtube"
}
]
}
}'