POST /V1/import/json
curl \
-X POST https://magento2.winkelstraat.mac/rest/all/V1/import/json \
-d '{"source":{"entity":"string","behavior":"string","validation_strategy":"string","allowed_error_count":"string","items":{},"import_images_file_dir":"string","locale":"string"}}'
Request examples
{
"source": {
"entity": "string",
"behavior": "string",
"validation_strategy": "string",
"allowed_error_count": "string",
"items": {},
"import_images_file_dir": "string",
"locale": "string"
}
}
Response examples (200)
[
"string"
]
Response examples (401)
{
"message": "string",
"errors": [
{
"message": "string",
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
]
}
],
"code": 42,
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
],
"trace": "string"
}
Response examples (500)
{
"message": "string",
"errors": [
{
"message": "string",
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
]
}
],
"code": 42,
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
],
"trace": "string"
}
Response examples (default)
{
"message": "string",
"errors": [
{
"message": "string",
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
]
}
],
"code": 42,
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
],
"trace": "string"
}