I'm happy to announce that you can now add and remove listings, and
update quantites in user shopping carts via the API! Full details are
here:
http://developer.etsy.com/docs/resource_cart
In addition, problems with associations on the Cart resource not
behaving the same as associations elsewhere have been fixed.
Please kick the tires and let us know what you think! We're excited
to open up new possibilities for Etsy apps.
thanks,
Justin Kerr Sheckler
Developer API Lead
Etsy.com
jus...@etsy.com
--
You received this message because you are subscribed to the Google Groups "Etsy API V2" group.
To post to this group, send email to etsy-...@googlegroups.com.
To unsubscribe from this group, send email to etsy-api-v2...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/etsy-api-v2?hl=en.
Try adding an item from the shop lilkt384 with coupon code "SUMMERFUN", then fetch your cart via OAuth like:
GET http://openapi.etsy.com/v2/private/users/__SELF__/carts?includes=Listings(title%2Cstate%2Clisting_id%2Cprice%2Ccurrency_code%2Cquantity)%3A25%3A0%2FMainImage%3A25%3A0%2CCoupon%3A25%3A0
I get a Coupon association that looks like this (this isn't the raw JSON, but a processed, internal representation) -- notice the missing coupon_code field:
{
"coupon_code" = SUMMERFUN;
"domestic_only" = "<null>";
"free_shipping" = "<null>";
"pct_discount" = 15;
"seller_active" = 1;
}
Anonymous guest carts isn't something that our platform supports, but
we're looking into it.
We'll also get back to you on the two bugs!
thanks
Justin Kerr Sheckler
Developer API Lead
Etsy.com
jus...@etsy.com
Sent from my iPhone