Description
Creates an asynchronous import task and returns its tracking ID for status an report queries.
Regarding the input body, ignore the requirement level and refer to the user documentation here depending on the value of the field action.
Array []
The type of item to delete
Enum: "product", "variant", "category"
Enum:"category""product""variant"
Discriminator
- EU Production Serverhttps://api.eu1.target2sell.mirakl.net/catalog/import
- US Production Serverhttps://api.us1.retail.mirakl.net/catalog/import
- APAC Production Serverhttps://api.au1.retail.mirakl.net/catalog/import
- Sandbox Serverhttps://api-dev.eu1.target2sell.mirakl.net/catalog/import
curl -i -X POST \
https://api.eu1.target2sell.mirakl.net/catalog/import \
-H 'Content-Type: application/json' \
-d '[
{
"action": "add",
"content": {
"name": "Informatic",
"parentId": "root",
"status": "enabled"
},
"id": "informatic",
"type": "category"
},
{
"action": "add",
"content": {
"name": "Computer",
"parentId": "informatic",
"status": "enabled"
},
"id": "computer",
"type": "category"
},
{
"action": "add",
"content": {
"name": "Ultrabook",
"parentId": "computer",
"status": "enabled"
},
"id": "ultrabook",
"type": "category"
},
{
"action": "add",
"content": {
"name": "Black Friday",
"parentId": "root",
"status": "enabled"
},
"id": "black_friday",
"type": "category"
}
]'