Endpoints
Last updated
Last updated
Cupid exposes an active store id for a given myShopify domain.
Returns a complete wishlist for a provided email.
This is our default experience endpoint for non authenticated users, typically we recommend storing a wishlist Id in localstorage and fetching the wishlist at the beginning of the browsing session for SPA's
Delete a wishlist and all of its events, not to be confused with "tombstone"-ing a wishlist which will clear the public history of a given wishlist, but keep the id.
This is the default experience, you can provide any eventType for your own purposes, but we have some protected events that provide certain functionality. Cupid stores wishlists as a timeseries of events, and accepts freeform event bodies, allowing developers to build highly flexible experiences.
Reserved events include:
wishlist/add
Will add a product to a rendered wishlist
wishlist/remove
Will remove a product from a rendered wishlist
email/add
Will add an email to a rendered withlist
tombstone
Will hide all events that took place before the tombstone event, perfect for a "clear wishlist" button.
An active store Id
An active Wishlist for a given user Email
An active Wishlist for a given Wishlist Id
Delete a Wishlist
No content
No content