Jump to content

Problem with WebService


eam

Recommended Posts

Hello,

 

I'm trying to use the Prestashop webservice.

 

When entering

http//myshop/prestashop/api/categories or http//myshop/prestashop/api/categories/15 in the browser, the webservice works fine.

 

However, the http//myshop/prestashop/api/categories?schema=synopsis url returns the following :

 

<prestashop>

<errors><error><code>27</code>

<message>Resource of type "categories?schema=synopsis" does not exists. Did you mean: "categories"?

 

 

Did I do something wrong ?

 

Thanks.

  • Like 1
Link to comment
Share on other sites

  • 9 years later...

I have a similar problem. When I try to get the field schema (schema=synopsis), I get the same error repeated, plus another. I am running 1.7.8.7.

<![CDATA[ [PHP Notice #8] Trying to access array offset on value of type null (C:\wamp64\www\prestashop\classes\webservice\WebserviceOutputBuilder.php, line 716) ]]>

<![CDATA[ [PHP Notice #8] Trying to access array offset on value of type null (C:\wamp64\www\prestashop\classes\webservice\WebserviceOutputBuilder.php, line 719) ]]>

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...