Create offline sync batch
POST/pos/offline-batches
Enqueues a batch of transactions captured by a POS terminal while it was offline. Provide the device identifier and the JSON array of transactions. The batch is placed in 'queued' status and will be reconciled either automatically or via the reconcile endpoint.
Request
Responses
- 302
- 401
- 422
Redirect to the offline sync index after the batch is queued.
Unauthenticated.
Validation error — device_id and transactions_json are required.