Cs-Cart Api Url If Mod_Rewrite Disabled

Hi ,



Can any body provide me the equivalent mod_rewrite disabled url for the following?


  1. [url=“http://example.com/api/products/1”]http://example.com/api/products/1[/url]



    for eg.

    [url=“http://example.com/api/products”]http://example.com/api/products[/url] => [url=“http://example.com/api.php?_d=products”]http://example.com/api.php?_d=products[/url]



    I want this to update product data.





    Thanks.

Please use:



http://domain.com/api.php?_d=products/1




etc

Hi,



I have used that url already but the response is null array and no update/delete products in website.



I have print the $result = curl_exec($ch); and found following.



405 - HTTP verb used to access this page is not allowed.



The page you are looking for cannot be displayed because an invalid method (HTTP verb) was used to attempt access.



I google it and looks like this is the problem of server.



Thanks.

The GET method works correctly for me. Another methods are used to update / delete products. Please find more details here:



http://docs.cs-cart.com/4.2.x/api/index.html

Thanks. Just another query.



Can we extract our products orders only from cs-cart API. As the website may contains products from multiple clients. How to distingush client from orders?



Thank you.

[quote name='matt.k' timestamp='1432263799' post='215322']

Thanks. Just another query.



Can we extract our products orders only from cs-cart API. As the website may contains products from multiple clients. How to distingush client from orders?



Thank you.

[/quote]



Do you want to get orders of the specific user?