{"info":{"_postman_id":"fce18eb0-13a7-427b-8ae0-f6fa8efa2ff8","name":"API-CATCHER MARKETPLACE","schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json","_exporter_id":"20912892"},"item":[{"name":"Auth","request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n        \"appId\": \"{appId}\",\r\n        \"appSecret\" : \"{appSecret}\",\r\n        \"grant_type\": \"client_secret\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.catcher.es/auth/v1/authorize","protocol":"https","host":["api","catcher","es"],"path":["auth","v1","authorize"]}},"response":[]},{"name":"Create Order","request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6Im9yZGVyIiwidXNlcklkIjo5LCJsb2NhdGlvbklkIjoiOWY2MTQwOGUzYWZiNjMzZTUwY2RmMWIyMGRlNmY1NjYiLCJpYXQiOjE2NjkwMzQ2MjEsImV4cCI6MTY2OTEyMTAyMX0.tMz0999QTn4YR9_KuV6p6e_ANpY_4E1zcZ4mV4ob0lE","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"locationId\":\"{locationId}\",\r\n    \"orderPickupLocName\": \"Burger Food\",\r\n    \"orderPickupTime\": \"2022-11-21 17:35:00\",\r\n    \"orderPaymentMethod\": \"card\",\r\n    \"orderDeliveryLocation\": \"Calle de Núñez de Balboa, 112, 28006 Madrid, España | 34\",\r\n    \"addressDetails\": \"promer piso B\",\r\n    \"orderDeliveryLat\": \"39.479730\",\r\n    \"orderDeliveryLong\": \"-0.381910\",\r\n    \"orderPickupLocation\": \"Calle de reida, 17\",\r\n    \"orderPickupLat\": \"39.483619\",\r\n    \"orderPickupLong\": \"-0.376711\",\r\n    \"userPhone\": \"+34612345678\",\r\n    \"userName\":\"David Gonzales\", \r\n    \"orderSource\": \"glovo\", \r\n    \"orderTotalAmount\": \"1045\",\r\n    \"orderInstructions\":\"No incluir cubiertos.\", \r\n    \"orderCode\":\"MUVXG1N4\",\r\n    \"externalId\": \"ZKERF-2JUO-TYUN\",\r\n    \"orderPickupConfirmationCode\": \"\",\r\n    \"orderDeliveryConfirmationCode\": \"\",\r\n    \"orderSourceChannel\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.catcher.es/pitcher/v1/order","protocol":"https","host":["api","catcher","es"],"path":["pitcher","v1","order"]}},"response":[]},{"name":"Create Order V2","request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOjg3OSwiZW1haWwiOiJtYXJjb3MuZGlwQGNhdGNoZXIuZXMiLCJzY29wZSI6IkFsbCIsImlhdCI6MTY3MTEwMjk5MSwiZXhwIjoxNjcxMTg5MzkxfQ.NcagFN8JILSSzrLm0ZEm1r8AKj0glUPs25ekYMLUV-I","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"stacking\": false,\r\n    \"orders\": [ \r\n        {\r\n            \"locationId\":\"9f61408e3afb633e50cdf1b20de6wwe\",\r\n            \"orderPickupLocName\": \"Burger Food\",\r\n            \"orderPickupTime\": \"2022-11-24 20:35:00\",\r\n            \"orderPaymentMethod\": \"card\",\r\n            \"orderDeliveryLocation\": \"Calle de Núñez de Balboa, 112, 28006 Madrid, España | 34\",\r\n            \"addressDetails\": \"promer piso B\",\r\n            \"orderDeliveryLat\": \"39.479730\",\r\n            \"orderDeliveryLong\": \"-0.381910\",\r\n            \"orderPickupLocation\": \"Calle de Lleida, 17\",\r\n            \"orderPickupLat\": \"39.483619\",\r\n            \"orderPickupLong\": \"-0.376711\",\r\n            \"userPhone\": \"+34612345678\",\r\n            \"userName\":\"David Gonzales\",\r\n            \"orderSource\": \"Glovo\",\r\n            \"orderTotalAmount\": \"1045\",\r\n            \"orderInstructions\":\"No incluir cubiertos.\",\r\n            \"orderCode\":\"MUVXG1N5\",\r\n            \"externalId\": \"ZKERF-2JUO-TYUN\",\r\n            \"orderPickupConfirmationCode\": \"\",\r\n            \"orderDeliveryConfirmationCode\": \"\",\r\n            \"orderSourceChannel\": \"\"\r\n        },\r\n        {\r\n            \"locationId\":\"9f61408e3afb633e50cdf1b20de6wwe\",\r\n            \"orderPickupLocName\": \"Burger Food\",\r\n            \"orderPickupTime\": \"2022-11-24 20:35:00\",\r\n            \"orderPaymentMethod\": \"card\",\r\n            \"orderDeliveryLocation\": \"Calle de Núñez de Balboa, 112, 28006 Madrid, España | 34\",\r\n            \"addressDetails\": \"promer piso B\",\r\n            \"orderDeliveryLat\": \"39.479730\",\r\n            \"orderDeliveryLong\": \"-0.381910\",\r\n            \"orderPickupLocation\": \"Calle de Lleida, 17\",\r\n            \"orderPickupLat\": \"39.483619\",\r\n            \"orderPickupLong\": \"-0.376711\",\r\n            \"userPhone\": \"+34612345678\",\r\n            \"userName\":\"David Gonzales\",\r\n            \"orderSource\": \"Uber\",\r\n            \"orderTotalAmount\": \"1045\",\r\n            \"orderInstructions\":\"No incluir cubiertos.\",\r\n            \"orderCode\":\"MUVXG1N5\",\r\n            \"externalId\": \"ZKERF-2JUO-TYUN\",\r\n            \"orderPickupConfirmationCode\": \"\",\r\n            \"orderDeliveryConfirmationCode\": \"\",\r\n            \"orderSourceChannel\": \"\"\r\n        }\r\n    ]    \r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://staging.catcher.es/pitcher/v2/order","protocol":"https","host":["staging","catcher","es"],"path":["pitcher","v2","order"]}},"response":[]},{"name":"Cancel Order","request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOjg3OSwiZW1haWwiOiJtYXJjb3MuZGlwQGNhdGNoZXIuZXMiLCJzY29wZSI6IkFsbCIsImlhdCI6MTY2ODk0NzAzMSwiZXhwIjoxNjY5MDMzNDMxfQ.ka5SInGrriadqcntUCBtVe13MltYYpBldIV9m6dpt-4","type":"text"}],"url":{"raw":"https://api.catcher.es/pitcher/v1/order/cancel/{orderId}","protocol":"https","host":["api","catcher","es"],"path":["pitcher","v1","order","cancel","{orderId}"]}},"response":[]},{"name":"Update delivery price","request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOjg3OSwiZW1haWwiOiJtYXJjb3MuZGlwQGNhdGNoZXIuZXMiLCJzY29wZSI6IkFsbCIsImlhdCI6MTY2ODk0NzAzMSwiZXhwIjoxNjY5MDMzNDMxfQ.ka5SInGrriadqcntUCBtVe13MltYYpBldIV9m6dpt-4","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"presetPrice\": \"4.9\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.catcher.es/pitcher/v1/external/order/{orderId}","protocol":"https","host":["api","catcher","es"],"path":["pitcher","v1","external","order","{orderId}"]}},"response":[]},{"name":"Get Orders History","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOjg3OSwiZW1haWwiOiJtYXJjb3MuZGlwQGNhdGNoZXIuZXMiLCJzY29wZSI6IkFsbCIsImlhdCI6MTY3NDA4MzQxOX0.Gph3fbUXuW16jlgdU7q9NnzXdNEkXtljJ4VKlYrNGtk","type":"text"}],"url":{"raw":"https://api.catcher.es/pitcher/v1/external/history/orders/{orderId}?dateFrom=2023-01-10&dateTo=2023-01-18&take=2&page=1&search=p","protocol":"https","host":["api","catcher","es"],"path":["pitcher","v1","external","history","orders","{orderId}"],"query":[{"key":"dateFrom","value":"2023-01-10"},{"key":"dateTo","value":"2023-01-18"},{"key":"take","value":"2"},{"key":"page","value":"1"},{"key":"search","value":"p"}]}},"response":[]},{"name":"Get Order Status","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOjg3OSwiZW1haWwiOiJtYXJjb3MuZGlwQGNhdGNoZXIuZXMiLCJzY29wZSI6IkFsbCIsImlhdCI6MTY2ODk0NzAzMSwiZXhwIjoxNjY5MDMzNDMxfQ.ka5SInGrriadqcntUCBtVe13MltYYpBldIV9m6dpt-4","type":"text"}],"url":{"raw":"https://api.catcher.es/pitcher/v1/order/status/{orderId}","protocol":"https","host":["api","catcher","es"],"path":["pitcher","v1","order","status","{orderId}"]}},"response":[]},{"name":"Get Order Details","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOjg3OSwiZW1haWwiOiJtYXJjb3MuZGlwQGNhdGNoZXIuZXMiLCJzY29wZSI6IkFsbCIsImlhdCI6MTY2ODk0NzAzMSwiZXhwIjoxNjY5MDMzNDMxfQ.ka5SInGrriadqcntUCBtVe13MltYYpBldIV9m6dpt-4","type":"text"}],"url":{"raw":"https://api.catcher.es/pitcher/v1/order/{orderId}?finish_details=true","protocol":"https","host":["api","catcher","es"],"path":["pitcher","v1","order","{orderId}"],"query":[{"key":"finish_details","value":"true","description":"Optional. Set to true to include finishDetails in the response; omit or use another value to exclude finishDetails."}]}},"response":[]},{"name":"Get Driver Location","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6Im9yZGVyIiwidXNlcklkIjo4LCJsb2NhdGlvbklkIjoiZGMwYWM4NDhlNWUzNmI4YjhlZDRhNzZmYjBhY2VmZGIiLCJpYXQiOjE2NjkzNjE2MTIsImV4cCI6MTY2OTQ0ODAxMn0.kqaaYWzVOBcUl4IjeUw91l6zFErPDl_dy9gDO6wI3sI","type":"text"}],"url":{"raw":"https://api.catcher.es/pitcher/v1/order/riderlocation/{orderId}","protocol":"https","host":["api","catcher","es"],"path":["pitcher","v1","order","riderlocation","{orderId}"]}},"response":[]}]}