{ "info": { "_postman_id": "0e0edc2e-d324-4a3b-89e0-6fd217dbbf99", "name": "Testing", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, "item": [ { "name": "New listing Rest", "request": { "method": "POST", "header": [], "body": { "mode": "formdata", "formdata": [ { "key": "photos[]", "type": "file", "src": [ "/C:/Users/MichalBrezak/Desktop/screencapture-dev3-abprofitrade-eu-oc-admin-index-php-2020-06-12-12_56_04.png", "/C:/Users/MichalBrezak/Desktop/screencapture-dev3-abprofitrade-eu-oc-admin-index-php-2020-06-12-12_56_20.png" ] } ] }, "url": { "raw": "https://plugins.abprofitrade.eu/oc-content/plugins/rest/api.php?key=test-api-key&type=insert&object=item&action=add&catId=31&contactName=John Doe&[email protected]&price=543000&countryId=US¤cy=USD&title[en_US]=Test item XYZ bla bla 2&description[en_US]=Test Test Test Test Test Test Test Test Test Test Test Test", "protocol": "https", "host": [ "plugins", "abprofitrade", "eu" ], "path": [ "oc-content", "plugins", "rest", "api.php" ], "query": [ { "key": "key", "value": "test-api-key" }, { "key": "type", "value": "insert" }, { "key": "object", "value": "item" }, { "key": "action", "value": "add" }, { "key": "catId", "value": "31" }, { "key": "contactName", "value": "John Doe" }, { "key": "contactEmail", "value": "[email protected]" }, { "key": "price", "value": "543000" }, { "key": "countryId", "value": "US" }, { "key": "currency", "value": "USD" }, { "key": "title[en_US]", "value": "Test item XYZ bla bla 2" }, { "key": "description[en_US]", "value": "Test Test Test Test Test Test Test Test Test Test Test Test" } ] } }, "response": [] } ]}
@DenHere is functional one.Do not forget to update "photos[]" parameter in "Body" tab.Just in case attachment would get removed one day Code: [Select]{ "info": { "_postman_id": "0e0edc2e-d324-4a3b-89e0-6fd217dbbf99", "name": "Testing", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, "item": [ { "name": "New listing Rest", "request": { "method": "POST", "header": [], "body": { "mode": "formdata", "formdata": [ { "key": "photos[]", "type": "file", "src": [ "/C:/Users/MichalBrezak/Desktop/screencapture-dev3-abprofitrade-eu-oc-admin-index-php-2020-06-12-12_56_04.png", "/C:/Users/MichalBrezak/Desktop/screencapture-dev3-abprofitrade-eu-oc-admin-index-php-2020-06-12-12_56_20.png" ] } ] }, "url": { "raw": "https://plugins.abprofitrade.eu/oc-content/plugins/rest/api.php?key=test-api-key&type=insert&object=item&action=add&catId=31&contactName=John Doe&[email protected]&price=543000&countryId=US¤cy=USD&title[en_US]=Test item XYZ bla bla 2&description[en_US]=Test Test Test Test Test Test Test Test Test Test Test Test", "protocol": "https", "host": [ "plugins", "abprofitrade", "eu" ], "path": [ "oc-content", "plugins", "rest", "api.php" ], "query": [ { "key": "key", "value": "test-api-key" }, { "key": "type", "value": "insert" }, { "key": "object", "value": "item" }, { "key": "action", "value": "add" }, { "key": "catId", "value": "31" }, { "key": "contactName", "value": "John Doe" }, { "key": "contactEmail", "value": "[email protected]" }, { "key": "price", "value": "543000" }, { "key": "countryId", "value": "US" }, { "key": "currency", "value": "USD" }, { "key": "title[en_US]", "value": "Test item XYZ bla bla 2" }, { "key": "description[en_US]", "value": "Test Test Test Test Test Test Test Test Test Test Test Test" } ] } }, "response": [] } ]}