application/json
POST
/V1/import/json
cURL (application/json)
curl \
--request POST 'https://magento2.winkelstraat.mac/rest/all/V1/import/json' \
--header "Content-Type: application/json" \
--data '{"source":{"entity":"string","behavior":"string","validation_strategy":"string","allowed_error_count":"string","items":{},"import_images_file_dir":"string","locale":"string"}}'
curl \
--request POST 'https://magento2.winkelstraat.mac/rest/all/V1/import/json' \
--header "Content-Type: application/xml"
Request examples
{
"source": {
"entity": "string",
"behavior": "string",
"validation_strategy": "string",
"allowed_error_count": "string",
"items": {},
"import_images_file_dir": "string",
"locale": "string"
}
}
Request examples
<?xml version="1.0" encoding="UTF-8"?>
<root>
<source>
<entity>string</entity>
<behavior>string</behavior>
<validation-strategy>string</validation-strategy>
<allowed-error-count>string</allowed-error-count>
<items>
</items>
<import-images-file-dir>string</import-images-file-dir>
<locale>string</locale>
</source>
</root>
Response examples (200)
[
"string"
]
Response examples (200)
<?xml version="1.0" encoding="UTF-8"?>
<root type="array">
<root>string</root>
</root>
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 (401)
<?xml version="1.0" encoding="UTF-8"?>
<root>
<message>string</message>
<errors type="array">
<error>
<message>string</message>
<parameters type="array">
<parameter>
<resources>string</resources>
<fieldName>string</fieldName>
<fieldValue>string</fieldValue>
</parameter>
</parameters>
</error>
</errors>
<code type="integer">42</code>
<parameters type="array">
<parameter>
<resources>string</resources>
<fieldName>string</fieldName>
<fieldValue>string</fieldValue>
</parameter>
</parameters>
<trace>string</trace>
</root>
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 (500)
<?xml version="1.0" encoding="UTF-8"?>
<root>
<message>string</message>
<errors type="array">
<error>
<message>string</message>
<parameters type="array">
<parameter>
<resources>string</resources>
<fieldName>string</fieldName>
<fieldValue>string</fieldValue>
</parameter>
</parameters>
</error>
</errors>
<code type="integer">42</code>
<parameters type="array">
<parameter>
<resources>string</resources>
<fieldName>string</fieldName>
<fieldValue>string</fieldValue>
</parameter>
</parameters>
<trace>string</trace>
</root>
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"
}
Response examples (default)
<?xml version="1.0" encoding="UTF-8"?>
<root>
<message>string</message>
<errors type="array">
<error>
<message>string</message>
<parameters type="array">
<parameter>
<resources>string</resources>
<fieldName>string</fieldName>
<fieldValue>string</fieldValue>
</parameter>
</parameters>
</error>
</errors>
<code type="integer">42</code>
<parameters type="array">
<parameter>
<resources>string</resources>
<fieldName>string</fieldName>
<fieldValue>string</fieldValue>
</parameter>
</parameters>
<trace>string</trace>
</root>