curl --request POST \
--url https://api.jtl-cloud.com/erp/v2/itemdetails/create \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-appid: <x-appid>' \
--header 'x-appversion: <x-appversion>' \
--header 'x-tenant-id: <x-tenant-id>' \
--data '
{
"productGroupId": "b45f6432-2462-4c6f-b00f-1d9d01000000",
"shippingClassId": "b45f6432-2462-4c6f-b00f-1d9d01000000",
"manufacturerId": "b45f6432-2462-4c6f-b00f-1d9d01000000",
"identifiers": {
"sku": "<string>",
"amazonFnsku": "<string>",
"gtin": "<string>",
"manufacturerNumber": "<string>",
"isbn": "<string>",
"tariccode": "<string>",
"upc": "<string>",
"unNumber": "<string>",
"hazardNumber": "<string>",
"ownIdentifier": "<string>",
"defaultAsin": "<string>",
"jfsku": "<string>"
},
"prices": {
"ignoreDiscounts": true,
"salesPriceNet": 123,
"suggestedRetailPrice": 123,
"purchasePriceNet": 123,
"ebayPrice": 123,
"amazonPrice": 123,
"salesChannelPrices": [
{
"saleschannelId": "b45f6432-2462-4c6f-b00f-1d9d01000000",
"customerGroupPrices": [
{
"customerGroupId": "b45f6432-2462-4c6f-b00f-1d9d01000000",
"prices": [
{
"fromQuantity": 123,
"netPrice": 123,
"reduceStandardPriceByPercent": 123
}
]
}
],
"isActive": true
}
],
"customerPrices": [
{
"customerId": "b45f6432-2462-4c6f-b00f-1d9d01000000",
"prices": [
{
"fromQuantity": 123,
"netPrice": 123,
"reduceStandardPriceByPercent": 123
}
]
}
],
"defaultPrices": [
{
"customerGroupId": "b45f6432-2462-4c6f-b00f-1d9d01000000",
"prices": [
{
"fromQuantity": 123,
"netPrice": 123,
"reduceStandardPriceByPercent": 123
}
]
}
]
},
"suppliers": {
"defaultSupplier": "b45f6432-2462-4c6f-b00f-1d9d01000000",
"defaultDropshippingSupplier": "b45f6432-2462-4c6f-b00f-1d9d01000000",
"suppliers": [
{
"supplierId": "b45f6432-2462-4c6f-b00f-1d9d01000000",
"supplierItemName": "<string>",
"supplierItemNumber": "<string>",
"stockLevel": 123,
"netPurchasePrice": 123,
"minimumPurchaseQuantity": 123,
"deliveryTimeInDays": 123,
"isDropshippingActive": true,
"packageUnitDescription": "<string>",
"packageUnitQuantity": 123,
"notes": "<string>",
"vatRate": 123,
"useSupplierDeliveryTime": true,
"includeSupplierStock": true,
"purchaseInterval": 123,
"scalePrices": [
{
"fromQuantity": 123,
"netPrice": 123,
"usePercentageDiscount": true,
"percentageDiscount": 123
}
]
}
]
},
"measurements": {
"height": 123,
"length": 123,
"shippingWeight": 123,
"weight": 123,
"width": 123
},
"images": {
"defaultImages": [
{
"blobIdentifier": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sortNumber": 123,
"isMainImage": true
}
],
"platformImages": [
{
"platformId": "b45f6432-2462-4c6f-b00f-1d9d01000000",
"images": [
{
"blobIdentifier": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sortNumber": 123,
"isMainImage": true
}
]
}
],
"saleschannelImages": [
{
"saleschannelId": "b45f6432-2462-4c6f-b00f-1d9d01000000",
"images": [
{
"blobIdentifier": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sortNumber": 123,
"isMainImage": true
}
]
}
],
"ebayImages": [
{
"ebayAccountId": "b45f6432-2462-4c6f-b00f-1d9d01000000",
"images": [
{
"blobIdentifier": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sortNumber": 123,
"isMainImage": true
}
]
}
]
},
"variations": {
"variations": [
{
"variationId": "b45f6432-2462-4c6f-b00f-1d9d01000000",
"position": 123,
"descriptions": [
{
"languageIso": "<string>",
"name": "<string>"
}
],
"values": [
{
"variationValueId": "b45f6432-2462-4c6f-b00f-1d9d01000000",
"itemNumber": "<string>",
"gTIN": "<string>",
"weightOffset": 123,
"descriptions": [
{
"languageIso": "<string>",
"name": "<string>"
}
],
"surcharges": {
"defaultSurchargeNet": 123,
"customerGroupSurcharges": [
{
"customerGroupId": "b45f6432-2462-4c6f-b00f-1d9d01000000",
"surcharge": 123,
"isActive": true
}
],
"salesChannelSurcharges": [
{
"salesChannelId": "b45f6432-2462-4c6f-b00f-1d9d01000000",
"surcharges": [
{
"customerGroupId": "b45f6432-2462-4c6f-b00f-1d9d01000000",
"surcharge": 123,
"isActive": true
}
]
}
]
},
"position": 123,
"image": "b45f6432-2462-4c6f-b00f-1d9d01000000"
}
],
"variationType": 0
}
]
},
"attributes": {
"values": [
{
"attributeId": "b45f6432-2462-4c6f-b00f-1d9d01000000",
"defaultValues": [
{
"languageIso": "<string>",
"value": "<string>"
}
],
"salesChannelValues": [
{
"salesChannelId": "b45f6432-2462-4c6f-b00f-1d9d01000000",
"values": [
{
"languageIso": "<string>",
"value": "<string>"
}
]
}
]
}
]
},
"unitPricing": {
"salesUnitId": "b45f6432-2462-4c6f-b00f-1d9d01000000",
"packagingUnitId": "b45f6432-2462-4c6f-b00f-1d9d01000000",
"innerQuantity": 123,
"innerQuantityUnitId": "b45f6432-2462-4c6f-b00f-1d9d01000000",
"isBasePriceDeclared": true,
"basePriceReferenceUnitId": "b45f6432-2462-4c6f-b00f-1d9d01000000",
"basePriceReferenceAmount": 123
},
"specialPrices": {
"isActive": true,
"startDate": "2023-11-07T05:31:56Z",
"endDate": "2023-11-07T05:31:56Z",
"isEndDateActive": true,
"minimumStockQuantity": 123,
"isStockRestrictionActive": true,
"salesChannelSpecialPrices": [
{
"salesChannelId": "b45f6432-2462-4c6f-b00f-1d9d01000000",
"specialPrices": [
{
"customerGroupId": "b45f6432-2462-4c6f-b00f-1d9d01000000",
"netPrice": 123,
"isActive": true
}
]
}
]
},
"storageConstraints": {
"allowNegativeStock": true,
"itemPlatformNegativeStocks": [
{
"platformId": "b45f6432-2462-4c6f-b00f-1d9d01000000",
"isNegativeStockAllowed": true
}
],
"itemSalesChannelNegativeStocks": [
{
"salesChannelId": "b45f6432-2462-4c6f-b00f-1d9d01000000",
"isNegativeStockAllowed": true
}
],
"buffer": 123,
"globalMinimumStockLevel": 123,
"hasBatch": true,
"isInventoryManagementActive": true,
"isBestBeforeManaged": true,
"isStockDivisible": true,
"serialNumberType": 0
}
}
'