Open SergeyKotyushkin opened 8 years ago
I can see that one would need to null out some properties. I am investigating this currently.
Was getting odd results as well. Running the following with 2 Lines in cart would upload 2, and occasionally the response would have 3! The third was our QA tester's favorite book. This may be a problem with MailChimp's API.
await mailChimpManager.ECommerceStores.Carts(gStoreId).UpdateAsync(cartid.ToString(), McCart);
As a workaround @SergeyKotyushkin our code does a Delete and re-Add each time we upload a Cart, instead of an update.
@SushiGuy, thanks for advise, I have already been using combination of delete and re-add.
Hi,
Please check why cart's lines do not change on
ECommerceStores.Carts(storeId).UpdateAsync(cartId, cart);