Hi, im trying to modify or create accounts via the API.
All GET commands, work perfectly fine. When i want to make a PUT allways give me error status 405
Image attached
the API is poorly documented about the PUT methods
Hi, im trying to modify or create accounts via the API.
All GET commands, work perfectly fine. When i want to make a PUT allways give me error status 405
Image attached
the API is poorly documented about the PUT methods
Hello
You should create account by method POST not PUT.
PUT is for updating.
Best regards
Robert
Hello
You should create account by method POST not PUT.
PUT is for updating.
Best regards
Robert
Hi Robert ! Thanks for your reply, same error with POST ... did you maneage to update the database over the api? did you have a formated post to check it out?
Best Regards !
JeMa
Please make sure you are using the API the right way and also have all required fields https://docs.cs-cart.com/latest/developer_guide/api/entities/vendors.html#create-a-vendor
Hello
Let us know if you have dealt with this problem or if we are to help you.
Best regards
Robert
Hi Robert ! Thanks for your reply, same error with POST ... did you maneage to update the database over the api? did you have a formated post to check it out?
Best Regards !
JeMa
I created account successfully using API POST method but I am Unable to update using PUT method.please help if you done already
Hello
What kind of request are you doing? Have you tried to do this through postaman?
Best regards
Robert
Hello
What kind of request are you doing? Have you tried to do this through postaman?
Best regards
Robert
other method working even I passed user_id also here the parameter list email:dneqnvv@gmail.com
Hello,
You should send data as JSON, not as form-data.
Look into my Postman screenshots to see what I mean:
http://cs-cart.pl/images/postman1.png
http://cs-cart.pl/images/postman2.png
Best regards,
Robert
You are great Thanks its working fine :grin:
Hello
You are welcome :)
Best regards
Robert
Hello!
please guide me how I can get blocks data like(onsale,newset) in homepage API
Thanks
Hello
Please explain the problem
Best regards
Robert
in above data I am not getting products I am only getting block info
Hello
DO I need to do custom code here