I want to import products to our tenant. What format is supported?
Hi!
Our API supports JSON format. Check this example for the product schema:
"name": "Smartphone ZY X2",
"code": "BASIC001",
"description": "The world'\''s best camera and camcorder in a waterproof smartphone.",
"published": false,
"taxClasses": {
"EN": "STANDARD"
},
"productType": "BASIC",
"template": {
"id": "634cea2740033d7c2e7b03a8",
"version": 1
},
"relatedItems": [
{
"refId": "634cea2740033d7c2e7b03a9",
"type": "CONSUMABLE"
}
],
"mixins": {
"salePricesData": [
{
"salePriceStart": "2021-07-20T22:00:00.000+0000",
"salePriceAmount": 6.7,
"salePriceEnd": "2021-07-25T21:59:59.000+0000",
"enabled": false
}
],
"productCustomAttributes": {
"pricingMeasurePrice": 13,
"unitPricingMeasure": {
"value": 133,
"unitCode": "GRM"
},
"unitPricingBaseMeasure": {
"value": 100,
"unitCode": "GRM"
},
"pricingMeasure": {
"value": 100,
"unitCode": "GRM"
},
"orderUnit": "H87",
"minOrderQuantity": 2,
"maxOrderQuantity": 10,
"defaultOrderQuantity": 5
}
},
"metadata": {
"mixins": {
"productCustomAttributes": "https://res.cloudinary.com/saas-ag/raw/upload/schemata/productCustomAttributesMixIn.v29.json",
"salePricesData": "https://res.cloudinary.com/saas-ag/raw/upload/schemata/salePriceData.json"
}
}
}'