Jump to content

How To Create A Customer From My angular UI


rvkvino

Recommended Posts

I have an android application developed by using Ionic3. Now I have developed the Ecom site using Prestashop and I have planned 2 UI in web one as siteurl/mysite for my existing one and siteurl as prestashop shop url. And I need to integrate the prestashop catalog module into my existing app. I have tried the below url my that I can get all the resources get method, but I couldn't create new one and pass the values to prestashop webservice,

For example, I can retrieve all the resource 

https://bhimajewellery.com/new/api this will return all of the Resource in xml format

 

http://bhimajewellery.com/new/api/categories?display=full&output_format=JSON This is returning in json formal of all the categories.

 

But I have tried in this way to create a customer from my android app but showing 

"code": 27,
            "message": "Resource of type \"customers\ufeff\" does not exists.

 

I have tried this code,

http://bhimajewellery.com/new/api/customers?schema=blank&output_format=JSON&ws_key=my_key

{ "passwd"    : "vivek@lmx",
  "lastname"  : "S",
  "firstname" : "Vivek",
  "email"     : "[email protected]"
}

This I have tried from postman api, /could you please help anyone to solve the issue and how to create from any ui and access the webservice and create new record.

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