Jump to content

Product upload using Product API


AvijitInSync

Recommended Posts

Hi Expert, 

I am Avijit from InSync Tech-Fin Solution Limited working as an integration developer. Right now, I am integrating SAP B1 and Prestashop version 1.7.5.1. I am middle of my project and it is an important development for me. Please help on urgent basis.

I am using prestashop version 1.7.5.1 and i want to upload product by using api. I am using the following URL and request body to upload a product

URL : http://www.xxxxxx.xx/api/products?ws_key=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Request Body : I have attached into the document section. 

Response Status 500 Internal Server Error

<?xml version="1.0" encoding="UTF-8"?>
<prestashop xmlns:xlink="http://www.w3.org/1999/xlink">
    <errors>
        <error>
            <code>
                <![CDATA[46]]>
            </code>
            <message>
                <![CDATA[Unable to save resource]]>
            </message>
        </error>
    </errors>
</prestashop>

I have also attached Postman screenshot. Please find it and let me know where I am doing mistake.

 

Thanks

Avijit

prestashopProductUpload.xml

 

prestashopProductPostmanExample.JPG

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...