How to assign a guest cart to a customer with rest APICreate customer with REST API - password does not workChange quote_id(Cart) after logout in Magento CE 1.9Merge Guest cart with Logged in - Rest API`REST API authorization errors with POST requests onlyGetting error in Rest Api guest-cart. [POST] V1/guest-carts/cart-id/itemsThe requested Payment Method is not available When creating an orderMAGENTO 2 REST API Checkout payment using credit cardMagento2 REST API - Cannot create cart/quote for customerBundle product on cart shows up price 0 (REST API)When to use PUT /carts/cartId
Doomsday-clock for my fantasy planet
Can the Produce Flame cantrip be used to grapple, or as an unarmed strike, in the right circumstances?
Is there a familial term for apples and pears?
Why do we use polarized capacitors?
Patience, young "Padovan"
Is "plugging out" electronic devices an American expression?
Piano - What is the notation for a double stop where both notes in the double stop are different lengths?
Was there ever an axiom rendered a theorem?
How can I fix this gap between bookcases I made?
How to answer pointed "are you quitting" questioning when I don't want them to suspect
Check if two datetimes are between two others
Why doesn't a const reference extend the life of a temporary object passed via a function?
Finding files for which a command fails
What is the meaning of "of trouble" in the following sentence?
Hosting Wordpress in a EC2 Load Balanced Instance
Eliminate empty elements from a list with a specific pattern
Is it legal to have the "// (c) 2019 John Smith" header in all files when there are hundreds of contributors?
What is GPS' 19 year rollover and does it present a cybersecurity issue?
Email Account under attack (really) - anything I can do?
How to move the player while also allowing forces to affect it
Prime joint compound before latex paint?
How to deal with fear of taking dependencies
New order #4: World
Does bootstrapped regression allow for inference?
How to assign a guest cart to a customer with rest API
Create customer with REST API - password does not workChange quote_id(Cart) after logout in Magento CE 1.9Merge Guest cart with Logged in - Rest API`REST API authorization errors with POST requests onlyGetting error in Rest Api guest-cart. [POST] V1/guest-carts/cart-id/itemsThe requested Payment Method is not available When creating an orderMAGENTO 2 REST API Checkout payment using credit cardMagento2 REST API - Cannot create cart/quote for customerBundle product on cart shows up price 0 (REST API)When to use PUT /carts/cartId
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
How to assign a guest cart to a customer with rest API. I've try PUT /carts/cartId when I’m log as a customer to assign a guest cart to the customer https://devdocs.magento.com/redoc/2.3/customer-rest-api.html#operation/quoteCartManagementV1AssignCustomerPut. If I’m trying right after I’ve log in I got a error because the customer already have a cart assign and if I try right after proccess the transaction, I’m getting 404 saying there’s not entity at the cartId
magento2 cart api rest pwa
add a comment |
How to assign a guest cart to a customer with rest API. I've try PUT /carts/cartId when I’m log as a customer to assign a guest cart to the customer https://devdocs.magento.com/redoc/2.3/customer-rest-api.html#operation/quoteCartManagementV1AssignCustomerPut. If I’m trying right after I’ve log in I got a error because the customer already have a cart assign and if I try right after proccess the transaction, I’m getting 404 saying there’s not entity at the cartId
magento2 cart api rest pwa
Does Magento not automatically assign the guest's cart to the customer when logging them in based on their session? In frontend it does this, but I'm not sure if it happens via API.
– rain2o
10 hours ago
No, it doesn't. In the API docs it's mentionning this endpoint but the only time I got it work, it was right after I've create the customer with a brand new guest-cart. I didn't try with a processed guest cart.
– maru3l
9 hours ago
add a comment |
How to assign a guest cart to a customer with rest API. I've try PUT /carts/cartId when I’m log as a customer to assign a guest cart to the customer https://devdocs.magento.com/redoc/2.3/customer-rest-api.html#operation/quoteCartManagementV1AssignCustomerPut. If I’m trying right after I’ve log in I got a error because the customer already have a cart assign and if I try right after proccess the transaction, I’m getting 404 saying there’s not entity at the cartId
magento2 cart api rest pwa
How to assign a guest cart to a customer with rest API. I've try PUT /carts/cartId when I’m log as a customer to assign a guest cart to the customer https://devdocs.magento.com/redoc/2.3/customer-rest-api.html#operation/quoteCartManagementV1AssignCustomerPut. If I’m trying right after I’ve log in I got a error because the customer already have a cart assign and if I try right after proccess the transaction, I’m getting 404 saying there’s not entity at the cartId
magento2 cart api rest pwa
magento2 cart api rest pwa
asked 10 hours ago
maru3lmaru3l
284
284
Does Magento not automatically assign the guest's cart to the customer when logging them in based on their session? In frontend it does this, but I'm not sure if it happens via API.
– rain2o
10 hours ago
No, it doesn't. In the API docs it's mentionning this endpoint but the only time I got it work, it was right after I've create the customer with a brand new guest-cart. I didn't try with a processed guest cart.
– maru3l
9 hours ago
add a comment |
Does Magento not automatically assign the guest's cart to the customer when logging them in based on their session? In frontend it does this, but I'm not sure if it happens via API.
– rain2o
10 hours ago
No, it doesn't. In the API docs it's mentionning this endpoint but the only time I got it work, it was right after I've create the customer with a brand new guest-cart. I didn't try with a processed guest cart.
– maru3l
9 hours ago
Does Magento not automatically assign the guest's cart to the customer when logging them in based on their session? In frontend it does this, but I'm not sure if it happens via API.
– rain2o
10 hours ago
Does Magento not automatically assign the guest's cart to the customer when logging them in based on their session? In frontend it does this, but I'm not sure if it happens via API.
– rain2o
10 hours ago
No, it doesn't. In the API docs it's mentionning this endpoint but the only time I got it work, it was right after I've create the customer with a brand new guest-cart. I didn't try with a processed guest cart.
– maru3l
9 hours ago
No, it doesn't. In the API docs it's mentionning this endpoint but the only time I got it work, it was right after I've create the customer with a brand new guest-cart. I didn't try with a processed guest cart.
– maru3l
9 hours ago
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f269208%2fhow-to-assign-a-guest-cart-to-a-customer-with-rest-api%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f269208%2fhow-to-assign-a-guest-cart-to-a-customer-with-rest-api%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Does Magento not automatically assign the guest's cart to the customer when logging them in based on their session? In frontend it does this, but I'm not sure if it happens via API.
– rain2o
10 hours ago
No, it doesn't. In the API docs it's mentionning this endpoint but the only time I got it work, it was right after I've create the customer with a brand new guest-cart. I didn't try with a processed guest cart.
– maru3l
9 hours ago