Pulling Changes REST Calls
The Pulling Changes REST API provides the JSON-based REST calls used by the daemon to coordinate the reverse synchronization process when retrieving changes from Talk2Sync.
These operations allow the daemon to retrieve pending product and order data, report the result of each storage operation, and finalize the corresponding pull transactions.
Available REST Calls
The pulling changes operations are organized into product and order synchronization flows:
Products
- Pull Products Page — Retrieves a page of products pending synchronization.
- Get Next Product to Pull — Retrieves the next product to process.
- Notify Product Success — Reports a successful product storage operation.
- Notify Product Failure — Reports a failed product storage operation.
- Set Finish Product Pulls — Finalizes the product pull operation.
Orders
- Pull Orders Page — Retrieves a page of orders pending synchronization.
- Get Next Orders to Pull — Retrieves the next orders to process.
- Notify Orders Success — Reports successful order storage.
- Notify Orders Failure — Reports failed order storage.
- Set Finish Order Pulls — Finalizes the order pull operation.
- Transact Finish Pull — Completes the pull transaction.
Next Steps
- Start with Ask if Pulling to determine whether Talk2Sync is requesting a pull operation.
- Review the Product Download flow for product synchronization.
- Review the Order Download flow for order synchronization.
- See the Reverse Connections Protocol for the complete synchronization sequence.