{"_id":"575676128749830e00681ea5","parentDoc":null,"project":"55a4d5531a5f991700a9409e","user":"55a8e7abc8bd450d000dd0e5","version":{"_id":"575676128749830e00681e82","__v":2,"project":"55a4d5531a5f991700a9409e","createdAt":"2016-06-07T07:21:54.005Z","releaseDate":"2016-06-07T07:21:54.005Z","categories":["575676128749830e00681e83","575676128749830e00681e84","575676128749830e00681e85","575676128749830e00681e86","575676128749830e00681e87","575676128749830e00681e88","575676128749830e00681e89","575676128749830e00681e8a","575676128749830e00681e8b","580c5ff36c35230f003d3b49"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"2.0.0","version":"2.0"},"category":{"_id":"575676128749830e00681e85","version":"575676128749830e00681e82","project":"55a4d5531a5f991700a9409e","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-02-29T12:26:30.643Z","from_sync":false,"order":0,"slug":"callback-url","title":"Callback Url"},"__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-02-29T12:27:47.000Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":0,"body":"A Callback Url is called using GET each time an order changes status into ex. DELIVERED or PICKEDUP.\n\nThe request contains information about the order and it's current status, the following information can be extracted from the querystring of the request.\n\nOPEN - the initial status on an active assignment that is visible for urbers\nCLAIMED - is when an urber takes an assignment in the list\nDELIVERED - is when the urber have delivered the items to the customer (completed) \nCANCELLED - is when the urb-it support and operations cancel the assignment. \nPENDING - is when the assignment is waiting for a specific time \n\nex. tomorrow at 15.00. 60 minutes before the time at 14.00 the status will change to Open and ready for urbers to claim.\n[block:parameters]\n{\n \"data\": {\n \"h-0\": \"Query String\",\n \"h-1\": \"Type\",\n \"h-2\": \"Description\",\n \"0-0\": \"store_id\",\n \"1-0\": \"order_reference_id\",\n \"2-0\": \"order_status\",\n \"3-0\": \"order_status_changed_at\",\n \"4-0\": \"consumer_secret_hash\",\n \"0-1\": \"string/guid\",\n \"1-1\": \"string/guid\",\n \"2-1\": \"string\",\n \"3-1\": \"datetime\",\n \"4-1\": \"string\",\n \"0-2\": \"The store's unique Urb-it id in which the order was placed.\",\n \"1-2\": \"The order's unique Urb-it id.\",\n \"2-2\": \"The order's current status, can be either DELIVERED or PICKEDUP.\",\n \"3-2\": \"The date when the order changed it's status.\",\n \"4-2\": \"Your consumer secret (hased using MD5) to verify that the request came from Urb-it.\"\n },\n \"cols\": 3,\n \"rows\": 5\n}\n[/block]","excerpt":"","slug":"callback-url","type":"basic","title":"Callback Url"}