{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/deliverect/refs/heads/main/json-schema/pos-api-post-orderstatus-orderid-schema.json", "title": "PostOrderstatusOrderid", "description": "Deliverect Post_orderstatus_orderid", "type": "object", "properties": { "orderId": { "type": "string", "example": "609a1b2c3d4e5f6a7b8c9d0e", "description": "The original _id that was sent to the POS order webhook" }, "receiptId": { "type": "string", "example": "609a1b2c3d4e5f6a7b8c9d0e", "description": "Internal ID assigned by the POS, typically in a human-readable format for printed receipts." }, "status": { "type": "integer", "example": 20, "description": "Status to update" }, "pickupTime": { "type": "string", "format": "date-time", "example": "2026-03-15T14:30:00Z", "description": "Updated pickupTime is in UTC yyyy-MM-ddTHH:mm:ssZ" }, "reason": { "type": "string", "example": "string", "description": "Reason for a status change e.g. 'ITEM OUT OF STOCK'" }, "timeStamp": { "type": "string", "format": "date-time", "example": "2026-03-15T14:30:00Z", "description": "Timestamp when the status was applied" } }, "required": [ "orderId", "receiptId", "status" ] }