How to assign a guest cart to a customer with rest API The 2019 Stack Overflow Developer Survey Results Are InCreate 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

Why isn't the circumferential light around the M87 black hole's event horizon symmetric?

If my opponent casts Ultimate Price on my Phantasmal Bear, can I save it by casting Snap or Curfew?

How can I define good in a religion that claims no moral authority?

Is it ethical to upload a automatically generated paper to a non peer-reviewed site as part of a larger research?

What could be the right powersource for 15 seconds lifespan disposable giant chainsaw?

What information about me do stores get via my credit card?

Why doesn't shell automatically fix "useless use of cat"?

Geography at the pixel level

Correct punctuation for showing a character's confusion

How to support a colleague who finds meetings extremely tiring?

Finding the area between two curves with Integrate

The phrase "to the numbers born"?

If I score a critical hit on an 18 or higher, what are my chances of getting a critical hit if I roll 3d20?

Did Scotland spend $250,000 for the slogan "Welcome to Scotland"?

A word that means fill it to the required quantity

What can I do if neighbor is blocking my solar panels intentionally

Button changing its text & action. Good or terrible?

Why can't devices on different VLANs, but on the same subnet, communicate?

Why couldn't they take pictures of a closer black hole?

Can a flute soloist sit?

Is it okay to consider publishing in my first year of PhD?

Why is this code so slow?

Is Cinnamon a desktop environment or a window manager? (Or both?)

Can we generate random numbers using irrational numbers like π and e?



How to assign a guest cart to a customer with rest API



The 2019 Stack Overflow Developer Survey Results Are InCreate 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;








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










share|improve this question






















  • 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
    Apr 8 at 14:57











  • 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
    Apr 8 at 16:13

















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










share|improve this question






















  • 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
    Apr 8 at 14:57











  • 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
    Apr 8 at 16:13













0












0








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










share|improve this question














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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Apr 8 at 14:32









maru3lmaru3l

334




334












  • 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
    Apr 8 at 14:57











  • 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
    Apr 8 at 16:13

















  • 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
    Apr 8 at 14:57











  • 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
    Apr 8 at 16:13
















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
Apr 8 at 14:57





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
Apr 8 at 14:57













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
Apr 8 at 16:13





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
Apr 8 at 16:13










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
);



);













draft saved

draft discarded


















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















draft saved

draft discarded
















































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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

Sum ergo cogito? 1 nng

三茅街道4182Guuntc Dn precexpngmageondP