Create products in batch
Request body which must comply to the following JSON Schema:
{
"required" : [ "products" ],
"type" : "object",
"properties" : {
"products" : {
"type" : "array",
"description" : "array of products objects",
"items" : {
"required" : [ "id", "name" ],
"type" : "object",
"properties" : {
"id" : {
"type" : "string",
"description" : "Product ID for which you requested the details",
"format" : "string",
"example" : "P11"
},
"name" : {
"type" : "string",
"description" : "Mandatory in case of creation**. Name of the product for which you requested the details",
"format" : "string",
"example" : "Iphone 11"
},
"url" : {
"type" : "string",
"description" : "URL to the product",
"format" : "string",
"example" : "http://mydomain.com/product/electronics/product1"
},
"imageUrl" : {
"type" : "string",
"description" : "Absolute URL to the cover image of the product",
"format" : "string",
"example" : "http://mydomain.com/product-absoulte-url/img.jpeg"
},
"sku" : {
"type" : "string",
"description" : "Product identifier from the shop",
"format" : "string"
},
"price" : {
"type" : "number",
"description" : "Price of the product",
"format" : "float"
},
"categories" : {
"type" : "array",
"description" : "Category ID-s of the product",
"items" : {
"type" : "string"
}
},
"parentId" : {
"type" : "string",
"description" : "Parent product id of the product",
"format" : "string"
},
"metaInfo" : {
"type" : "object",
"additionalProperties" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "integer"
} ]
},
"description" : "Meta data of product such as description, vendor, producer, stock level. The size of cumulative metaInfo shall not exceed **1000 KB**. Maximum length of metaInfo object can be 10.",
"example" : {
"description" : "Shoes for sports",
"brand" : "addidas"
}
},
"deletedAt" : {
"type" : "string",
"description" : "UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) of the product deleted from the shop's database"
},
"isDeleted" : {
"type" : "boolean",
"description" : "product deleted from the shop's database",
"example" : true
}
}
}
},
"updateEnabled" : {
"type" : "boolean",
"description" : "Facilitate to update the existing categories in the same request (updateEnabled = true)"
}
}
}Specify how the response should be mapped to the table output. The following formats are available:
Raw Response: Returns the raw response in a single row with the following columns:
You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.
To use this node in KNIME, install the extension Brevo from the below update site following our NodePit Product and Node Installation Guide:
A zipped version of the software site can be downloaded here.
Deploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!