cancel
Showing results for 
Search instead for 
Did you mean: 

Assigns a specified customer to a specified shopping cart.

Assigns a specified customer to a specified shopping cart.

I'm using REST API to assign a customer to a specified cart.
For that I am using below api
PUT /V1/carts/{cartId}
Body
{
"customerId": 1xxxx,
"storeId": 1xxxx
}

Even though I use valid cart id, I get below error.
{
"message": "No such entity with %fieldName = %fieldValue",
"parameters": {
"fieldName": "cartId",

"fieldValue": 31

}

}