POST /V1/import/csv
curl \
-X POST https://magento2.winkelstraat.mac/rest/all/V1/import/csv \
-d '{"source":{"locale":"string","entity":"string","behavior":"string","validation_strategy":"string","allowed_error_count":"string","csv_data":"string","import_field_separator":"string","import_multiple_value_separator":"string","import_empty_attribute_value_constant":"string","import_images_file_dir":"string"}}'
Request examples
{
"source": {
"locale": "string",
"entity": "string",
"behavior": "string",
"validation_strategy": "string",
"allowed_error_count": "string",
"csv_data": "string",
"import_field_separator": "string",
"import_multiple_value_separator": "string",
"import_empty_attribute_value_constant": "string",
"import_images_file_dir": "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"
}