post https://apis.supplierxm.salsify.com/public/v1/products
Allow you to write product data
The data attribute of the POST body corresponds to the list of products in JSON format payload.
This API is available both in JSON and XML format (Content-Type: application/json or application/xml)
The datamodel that describes precisely the list of attributes supported for update is available in the online documentation.
cf. Attributes documentation
You will find some sample payload below:
{
"data": [
{
"gtin": "03201773272008",
"namePublicLong": [
{
"data": "Hello world from write API Product 1",
"expressedIn": {
"code": "fra-FR"
}
}
]
},
{
"gtin": "03571996445009",
"namePublicLong": [
{
"data": "Hello world from write API Product 2",
"expressedIn": {
"code": "fra-FR"
}
}
]
}
]
}
{
"data": [
{
"gtin": "03571996445009",
"assets": {
"pictures": [
{
"isPackshot": true,
"url": "https://stream.supplierxm.salsify.com/images/logo-inverse.781f93875f9c12548f1a45118dde00b1.png"
},
{
"isPackshot": false,
"url": "https://stream.supplierxm.salsify.com/images/logo-inverse.781f93875f9c12548f1a45118dde00b1.png"
}
]
}
}
]
}