Skip to content
This repository has been archived by the owner on Feb 23, 2020. It is now read-only.

Latest commit

 

History

History
20 lines (11 loc) · 717 Bytes

README.md

File metadata and controls

20 lines (11 loc) · 717 Bytes

This endpoint is deprecated.

Original README contents follows:

Abandoned Carts Endpoint

For a detailted explanation check out the Spree Guides - Abandoned Carts Endpoint.

Save Cart (/save_cart)

  • Saves the cart (number, whole payload, last_activity_at and abandoned_at fields) to MongoDB

Match Cart (/match_cart)

  • Finds a cart that matches the new order number and removes it from the database

Poll for Abandoned Carts (/poll)

  • Polls for carts that have been abandoned and generates cart:abandoned messages
  • Uses abandonment_period_hours parameter to determine which carts should be considered as abandoned.