Skip to main content

Order Conflict Resolution

The point of sale (POS) application might send the order data to Connect API more than once. The default conflict resolution flow compares the combination of the order elements: _id and time.last_modified. If the time.last_modified field is more recent for the same identifier (_id), an update is made in the database. Otherwise, the order payload is considered to be out of date and is not updated in the database.

Note

If multiple orders or order updates are received in a single request to the HTTP endpoint, the same evaluation is conducted for each message in the payload.