Cart resource & connection to Customer

1 view
Skip to first unread message

Fatima Khan

unread,
Feb 16, 2012, 7:01:36 PM2/16/12
to shopify-api
Hello

In the API documentation, I see reference to a 'Cart' resource, but
can't seem to access on the ruby api. Also, is there an association
between a cart and the associated customer? I.e. can one find the
associated customer with a cart (assuming customer is registered) or
find the cart from a customer?

Thanks!
Fatima

Dennis O'Connor

unread,
Feb 21, 2012, 10:06:02 AM2/21/12
to shopi...@googlegroups.com
Hi Fatima,

If you get the latest Shopify-API off of GitHub (https://github.com/Shopify/shopify_api), you will be able to access the Cart API. We haven't published it in the gem yet. At this time there is no association between Cart and Customer.

Thanks,
Dennis

--
Dennis O'Connor

Developer
API / Integrations
Shopify 

Edward Ocampo-Gooding

unread,
Feb 21, 2012, 3:02:24 PM2/21/12
to shopi...@googlegroups.com
Fatima,

What you can do as an interim measure is track the customer by their email; it usually does the trick.

We’re working on more docs for the cart API now.

CPR

unread,
Apr 30, 2012, 12:00:00 PM4/30/12
to shopi...@googlegroups.com
Edward-

Can you elaborate on this approach?
Reply all
Reply to author
Forward
0 new messages