{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "SyncStatus", "description": "Reports the result of synchronizing the order to the in-store system.", "$id": "https://raw.githubusercontent.com/api-evangelist/deliveroo/refs/heads/main/json-schema/order-api-sync-status-schema.json", "type": "object", "properties": { "status": { "type": "string", "enum": [ "succeeded", "failed" ], "description": "Whether the order was successfully sent to the in-store system.", "example": "succeeded" }, "reason": { "type": "string", "nullable": true, "enum": [ "price_mismatched", "pos_item_id_mismatched", "pos_item_id_not_found", "items_out_of_stock", "location_offline", "location_not_supported", "unsupported_order_type", "no_webhook_url", "webhook_failed", "timed_out", "other", "no_sync_confirmation" ], "description": "Reason for a failed sync status.", "example": "items_out_of_stock" }, "notes": { "type": "string", "nullable": true, "description": "Free-text notes about the sync result.", "example": "example" }, "occurred_at": { "type": "string", "format": "date-time", "description": "Timestamp when the sync result occurred.", "example": "2026-06-02T12:00:00Z" } }, "required": [ "status", "occurred_at" ] }