Create Customer Cart
This request retrieves the shopping cart for a logged-in customer using a Bearer token for authentication.
curl --location --request POST '{{Base_url}}/rest/V1/carts/mine' \
--header 'Authorization: Bearer eyJraWQiOiIxIiwiYWxnIjoiSFMyNTYifQ.eyJ1aWQiOjIyNjE4OSwidXR5cGlkIjozLCJpYXQiOjE3MzgzMTg1ODksImV4cCI6MTczODMyMjE4OX0.4tWNj6cBnVyEsBXGHyrZGfdGBSgPQq7unBWV-BNlvWA' \
--header 'Cookie: PHPSESSID=6t4unirh1unu87ef0stp2sv3kv; private_content_version=5ab80b7def0c212f723edead3c971a19' \
--data ''615982{
"message": "The consumer isn't authorized to access %resources.",
"parameters": {
"resources": "self"
}
}Last updated