Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
38 views

Setting Custom Property in customer using APi in Magento

I'm passing a custom property value using an API. The problem is that I am sending "Device Registration" as the origin ( custom property ) but the value that is being set in as "D365FO&...
hoor Iqbal's user avatar
0 votes
1 answer
576 views

Does not have accessor method M2

Getting this error: {"message":"Property "CustomerId" does not have accessor method "getCustomerId" in class "Magento\Customer\Api\Data\CustomerInterface". ...
Jimit Bhavsar's user avatar
1 vote
3 answers
1k views

Magento 2.4.2 rest api issue with get current customer details using customer token

I am using latest magento version 2.4.2 I have created customer token using postman eg. https://<magento.host>/rest/V1/integration/customer/token sending in body { "username" : "...
Chander Shekhar's user avatar
0 votes
1 answer
488 views

REST API : Magento 2 : Without admin token how i can registered new user?

I am using bearer token for rest API authentication in Magento2.3.2 but I am facing one issue, while registering the new user, admin authentication token is required while registering New user by API. ...
Vishal Bansal's user avatar
1 vote
1 answer
2k views

Magento2 : Set Customer Custom Attribute Value Using Rest API

Property "Mobilenumber" does not have accessor method "getMobilenumber" in class "Magento\Customer\Api\Data\CustomerInterface". Whenever i am trying to set customer custom attribute value i am ...
Sanjay Shiyal's user avatar
1 vote
0 answers
39 views

Create customer with default addresses via API

Is it possible to create customer via API and set default billing and shipping address at once ? I know that in customerCustomerRepositoryV1 and customerAccountManagementV1 are fields like ...
Konrad Siamro's user avatar
2 votes
1 answer
450 views

POST /rest/V1/carts/{cartId}/items isn't working when logged as customer

I'm trying to use all the /carts/{cartId} endpoint list in the magento rest API documentation with the cart ID I've recevied on POST /rest/V1/carts/mine but every time I'm getting a error "message": ...
maru3l's user avatar
  • 145
5 votes
1 answer
2k views

How to capture the User ID using magento's customer Token?

How do I make a call to that URL that captures the User ID, using Magento customer Token in magento 2 rest API? How Magento 2 makes calls in-between for the APIs ?
Yann Martel's user avatar
1 vote
1 answer
355 views

Magento2 : Getting error while updating the data using API

I am getting the following error while updating the record using the Magento 2 REST API. Error: ( [message] => Request does not match any route. [trace] => ) I am ...
satya's user avatar
  • 11
1 vote
0 answers
271 views

GET products for my cart with customer token

I want to insert items in a cart using a customer token. I already found how to insert the products but it needs the SKU of the products. The problem is I can't find a way to get the product's SKU ...
Kaleriosun's user avatar
0 votes
1 answer
1k views

Magento 2 Rest Api customer associated with the email or not?

I am checking the rest api regarding customer has been existed or not with the email. I found an API in the swagger tool i.e POST /V1/customers/isEmailAvailable At Swagger Tool:- At ...
Nagaraju Kasa's user avatar
1 vote
1 answer
2k views

Overwrite magento 2 default customer rest api

I use magento 2 rest /V1/customers/me it get response like this { "id": 2, "group_id": 1, "default_billing": "2", "default_shipping": "2", "created_at": "2018-03-30 07:53:13", ...
mohan's user avatar
  • 352
0 votes
2 answers
359 views

Can i get all customers, along with their address information, using the REST api?

I'm using Magento version 1.9, and i'm trying to get all my customers, via the REST API. That is working fine. But i also need the phone number for each customer, and then have to make a seperate ...
Talkar's user avatar
  • 3
1 vote
3 answers
4k views

Customer session for logged in customer by token based authentication

We are using token based authentication over rest api from that resource /rest/V1/integration/customer/token?username=USER_NAME&password=P@$$WORD to consume magento rest api web services. We ...
Mohammed Gomma's user avatar
2 votes
2 answers
3k views

Magento 2 Rest API: create / update order,customer information

I want to create and update customers, order in Magento-2. But I am facing problem in how to pass data to create customer. Can anyone give me an example for this? I passed data like: $cusData = "...
BornCoder's user avatar
  • 1,518
8 votes
5 answers
61k views

Magento 2: How to get order information using REST API?

I want to get order,customer information by using REST API. Anyone have idea about this?
BornCoder's user avatar
  • 1,518
3 votes
2 answers
2k views

Magento2 Rest api get admin customer details and orders

If I login as an admin user, how can I get details of customer and orders list with payment details using REST API in Magento2
Jeni's user avatar
  • 31
1 vote
1 answer
1k views

Magento 2 Customer Api Custom Attribute

I have added a custom attribute say child_first_name to customer entity. When I try to access through rest API, I can able to get the attribute in the result- snip.. { "custom_attributes": [ ...
blakcaps's user avatar
  • 1,965
8 votes
5 answers
10k views

How to add a new address (shipping or billing or another) via Magento 2 REST API?

There are API's available to fetch and delete address of a customer but not create a new one. GET /V1/customers/addresses/:addressId GET /V1/customers/me/billingAddress GET /V1/customers/:...
devdoe's user avatar
  • 460
2 votes
1 answer
6k views

REST API for getting cart details of specific customer

I am trying to get the allocated cart detail for specific customer, but there are no api available to getting the cart information from customer detail (from customerId). How can i get the cart ...
Arun Kasyakar's user avatar
1 vote
2 answers
875 views

Magento 1.9 REST Customer Password Field Unable To Save

Been using REST to create or update Customer record but the field password never able to be saved/updated regardless. Below is the JSON output to Magento REST: POST output: {"website_id":1,"email":"...
d4v1dv00's user avatar
  • 111
3 votes
2 answers
3k views

Invalid webservice adapter specified REST API

I have configured the rest api in my localhost magento. When I Hit this url, http://localhost/magento/api/rest/products The error is: Invalid webservice adapter specified.
Sundar's user avatar
  • 699
1 vote
1 answer
147 views

Need resource to configure my magento REST Apis

I am here to know the step by step configuration of magento RESTful apis. I have basic idea of how it works. But Still I dont know to configure the api to produce the results. Help me to configure it ...
Sundar's user avatar
  • 699