{ "info": { "_postman_id": "3f2bc407-ec9d-4eef-b77d-74359eb281fe", "name": "Uber Wrapper", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, "item": [ { "name": "Health", "request": { "method": "GET", "header": [], "url": { "raw": "{{baseUrl}}/health", "host": [ "{{baseUrl}}" ], "path": [ "health" ] } } }, { "name": "Create Merchant", "request": { "method": "POST", "header": [ { "key": "x-api-key", "value": "{{apiKey}}" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"Demo Restaurant\",\n \"externalRef\": \"pos_001\"\n}" }, "url": { "raw": "{{baseUrl}}/api/v1/merchants", "host": [ "{{baseUrl}}" ], "path": [ "api", "v1", "merchants" ] } } }, { "name": "Get OAuth URL", "request": { "method": "GET", "header": [ { "key": "x-api-key", "value": "{{apiKey}}" } ], "url": { "raw": "{{baseUrl}}/api/v1/auth/uber/authorize-url?merchantId={{merchantId}}", "host": [ "{{baseUrl}}" ], "path": [ "api", "v1", "auth", "uber", "authorize-url" ], "query": [ { "key": "merchantId", "value": "{{merchantId}}" } ] } } }, { "name": "Check Domain Pairing", "request": { "method": "GET", "header": [ { "key": "x-api-key", "value": "{{apiKey}}" } ], "url": { "raw": "{{baseUrl}}/api/v1/auth/uber/domain-pairing-status", "host": [ "{{baseUrl}}" ], "path": [ "api", "v1", "auth", "uber", "domain-pairing-status" ] } } }, { "name": "Get Auth Capabilities", "request": { "method": "GET", "header": [ { "key": "x-api-key", "value": "{{apiKey}}" } ], "url": { "raw": "{{baseUrl}}/api/v1/auth/uber/capabilities", "host": [ "{{baseUrl}}" ], "path": [ "api", "v1", "auth", "uber", "capabilities" ] } } }, { "name": "Client Credentials Token", "request": { "method": "POST", "header": [ { "key": "x-api-key", "value": "{{apiKey}}" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"scope\": \"eats.store eats.order\"\n}" }, "url": { "raw": "{{baseUrl}}/api/v1/auth/uber/client-credentials-token", "host": [ "{{baseUrl}}" ], "path": [ "api", "v1", "auth", "uber", "client-credentials-token" ] } } }, { "name": "Replace Menu (PUT)", "request": { "method": "PUT", "header": [ { "key": "x-api-key", "value": "{{apiKey}}" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"merchantId\": \"{{merchantId}}\",\n \"storeId\": \"{{storeId}}\",\n \"menu\": {\n \"categories\": []\n }\n}" }, "url": { "raw": "{{baseUrl}}/api/v1/uber/menu/replace", "host": [ "{{baseUrl}}" ], "path": [ "api", "v1", "uber", "menu", "replace" ] } } }, { "name": "Update Menu Items", "request": { "method": "POST", "header": [ { "key": "x-api-key", "value": "{{apiKey}}" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"merchantId\": \"{{merchantId}}\",\n \"storeId\": \"{{storeId}}\",\n \"items\": [\n {\n \"id\": \"item_1\",\n \"price_info\": {\n \"price\": 799\n },\n \"suspension_info\": {\n \"suspend_until\": null\n }\n }\n ]\n}" }, "url": { "raw": "{{baseUrl}}/api/v1/uber/menu/items", "host": [ "{{baseUrl}}" ], "path": [ "api", "v1", "uber", "menu", "items" ] } } }, { "name": "List Provisionable Stores", "request": { "method": "GET", "header": [ { "key": "x-api-key", "value": "{{apiKey}}" } ], "url": { "raw": "{{baseUrl}}/api/v1/uber/stores/provisionable?merchantId={{merchantId}}", "host": [ "{{baseUrl}}" ], "path": [ "api", "v1", "uber", "stores", "provisionable" ], "query": [ { "key": "merchantId", "value": "{{merchantId}}" } ] } } }, { "name": "List Stores (App)", "request": { "method": "GET", "header": [ { "key": "x-api-key", "value": "{{apiKey}}" } ], "url": { "raw": "{{baseUrl}}/api/v1/uber/stores", "host": [ "{{baseUrl}}" ], "path": [ "api", "v1", "uber", "stores" ] } } }, { "name": "Get Store By ID", "request": { "method": "GET", "header": [ { "key": "x-api-key", "value": "{{apiKey}}" } ], "url": { "raw": "{{baseUrl}}/api/v1/uber/stores/{{storeId}}", "host": [ "{{baseUrl}}" ], "path": [ "api", "v1", "uber", "stores", "{{storeId}}" ] } } }, { "name": "Get Store Status", "request": { "method": "GET", "header": [ { "key": "x-api-key", "value": "{{apiKey}}" } ], "url": { "raw": "{{baseUrl}}/api/v1/uber/stores/{{storeId}}/status", "host": [ "{{baseUrl}}" ], "path": [ "api", "v1", "uber", "stores", "{{storeId}}", "status" ] } } }, { "name": "Set Store Status", "request": { "method": "POST", "header": [ { "key": "x-api-key", "value": "{{apiKey}}" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"status\": \"OFFLINE\",\n \"reason\": \"maintenance\"\n}" }, "url": { "raw": "{{baseUrl}}/api/v1/uber/stores/{{storeId}}/status", "host": [ "{{baseUrl}}" ], "path": [ "api", "v1", "uber", "stores", "{{storeId}}", "status" ] } } }, { "name": "Get Holiday Hours", "request": { "method": "GET", "header": [ { "key": "x-api-key", "value": "{{apiKey}}" } ], "url": { "raw": "{{baseUrl}}/api/v1/uber/stores/{{storeId}}/holiday-hours", "host": [ "{{baseUrl}}" ], "path": [ "api", "v1", "uber", "stores", "{{storeId}}", "holiday-hours" ] } } }, { "name": "Get Order Details", "request": { "method": "GET", "header": [ { "key": "x-api-key", "value": "{{apiKey}}" } ], "url": { "raw": "{{baseUrl}}/api/v1/uber/orders/{{orderId}}", "host": [ "{{baseUrl}}" ], "path": [ "api", "v1", "uber", "orders", "{{orderId}}" ] } } }, { "name": "Resolve Fulfillment Issue", "request": { "method": "POST", "header": [ { "key": "x-api-key", "value": "{{apiKey}}" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"merchantId\": \"{{merchantId}}\",\n \"action\": \"resolve\",\n \"payload\": {\n \"issues\": []\n }\n}" }, "url": { "raw": "{{baseUrl}}/api/v1/uber/orders/{{orderId}}/action", "host": [ "{{baseUrl}}" ], "path": [ "api", "v1", "uber", "orders", "{{orderId}}", "action" ] } } }, { "name": "Resolve Fulfillment Issues (Typed)", "request": { "method": "POST", "header": [ { "key": "x-api-key", "value": "{{apiKey}}" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"issues\": [\n {\n \"cart_item_id\": \"cart_item_1\",\n \"issue_type\": \"OUT_OF_ITEM\",\n \"action_type\": \"REPLACE_FOR_ME\",\n \"item_substitute\": {\n \"id\": \"sub_item_1\"\n }\n }\n ]\n}" }, "url": { "raw": "{{baseUrl}}/api/v1/uber/orders/{{orderId}}/fulfillment-issues", "host": [ "{{baseUrl}}" ], "path": [ "api", "v1", "uber", "orders", "{{orderId}}", "fulfillment-issues" ] } } }, { "name": "Mark Order Ready", "request": { "method": "POST", "header": [ { "key": "x-api-key", "value": "{{apiKey}}" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{}" }, "url": { "raw": "{{baseUrl}}/api/v1/uber/orders/{{orderId}}/ready", "host": [ "{{baseUrl}}" ], "path": [ "api", "v1", "uber", "orders", "{{orderId}}", "ready" ] } } }, { "name": "Order Response SLA Metric", "request": { "method": "GET", "header": [ { "key": "x-api-key", "value": "{{apiKey}}" } ], "url": { "raw": "{{baseUrl}}/api/v1/metrics/order-response-sla", "host": [ "{{baseUrl}}" ], "path": [ "api", "v1", "metrics", "order-response-sla" ] } } }, { "name": "Go Live Readiness Metric", "request": { "method": "GET", "header": [ { "key": "x-api-key", "value": "{{apiKey}}" } ], "url": { "raw": "{{baseUrl}}/api/v1/metrics/go-live-readiness?merchantId={{merchantId}}", "host": [ "{{baseUrl}}" ], "path": [ "api", "v1", "metrics", "go-live-readiness" ], "query": [ { "key": "merchantId", "value": "{{merchantId}}" } ] } } }, { "name": "Fetch Reporting CSV", "request": { "method": "POST", "header": [ { "key": "x-api-key", "value": "{{apiKey}}" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"method\": \"GET\",\n \"upstreamPath\": \"/v1/eats/reports/payment_details\",\n \"query\": {\n \"storeUUIDs\": \"{{storeId}}\",\n \"startDate\": \"2026-03-01\",\n \"endDate\": \"2026-03-02\"\n },\n \"parseCsv\": true,\n \"requiredHeaders\": [\"order_id\", \"store_id\"]\n}" }, "url": { "raw": "{{baseUrl}}/api/v1/uber/reporting/fetch", "host": [ "{{baseUrl}}" ], "path": [ "api", "v1", "uber", "reporting", "fetch" ] } } }, { "name": "Set Holiday Hours", "request": { "method": "POST", "header": [ { "key": "x-api-key", "value": "{{apiKey}}" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"holiday_hours\": []\n}" }, "url": { "raw": "{{baseUrl}}/api/v1/uber/stores/{{storeId}}/holiday-hours", "host": [ "{{baseUrl}}" ], "path": [ "api", "v1", "uber", "stores", "{{storeId}}", "holiday-hours" ] } } }, { "name": "Create POS Data (Provision)", "request": { "method": "POST", "header": [ { "key": "x-api-key", "value": "{{apiKey}}" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"merchantId\": \"{{merchantId}}\",\n \"posData\": {\n \"partner_store_id\": \"POS_STORE_001\",\n \"integration_enabled\": true,\n \"store_configuration_data\": {}\n }\n}" }, "url": { "raw": "{{baseUrl}}/api/v1/uber/stores/{{storeId}}/pos-data", "host": [ "{{baseUrl}}" ], "path": [ "api", "v1", "uber", "stores", "{{storeId}}", "pos-data" ] } } }, { "name": "Patch POS Data (Enable/Disable)", "request": { "method": "PATCH", "header": [ { "key": "x-api-key", "value": "{{apiKey}}" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"merchantId\": \"{{merchantId}}\",\n \"posData\": {\n \"integration_enabled\": false\n }\n}" }, "url": { "raw": "{{baseUrl}}/api/v1/uber/stores/{{storeId}}/pos-data", "host": [ "{{baseUrl}}" ], "path": [ "api", "v1", "uber", "stores", "{{storeId}}", "pos-data" ] } } }, { "name": "Delete POS Data (Deprovision)", "request": { "method": "DELETE", "header": [ { "key": "x-api-key", "value": "{{apiKey}}" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"merchantId\": \"{{merchantId}}\"\n}" }, "url": { "raw": "{{baseUrl}}/api/v1/uber/stores/{{storeId}}/pos-data", "host": [ "{{baseUrl}}" ], "path": [ "api", "v1", "uber", "stores", "{{storeId}}", "pos-data" ] } } }, { "name": "Webhook Ingest (Simulation)", "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-Uber-Signature", "value": "replace-with-valid-hmac" } ], "body": { "mode": "raw", "raw": "{\n \"event_type\": \"orders.notification\",\n \"resource_id\": \"ORDER_ID\",\n \"resource_href\": \"/v1/eats/orders/ORDER_ID\",\n \"order\": {\n \"id\": \"ORDER_ID\"\n }\n}" }, "url": { "raw": "{{baseUrl}}/api/v1/webhooks/uber", "host": [ "{{baseUrl}}" ], "path": [ "api", "v1", "webhooks", "uber" ] } } }, { "name": "Generic Uber Request", "request": { "method": "POST", "header": [ { "key": "x-api-key", "value": "{{apiKey}}" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"method\": \"GET\",\n \"path\": \"/v1/eats/stores/{{storeId}}/orders\",\n \"authMode\": \"app\",\n \"scopes\": \"eats.order\"\n}" }, "url": { "raw": "{{baseUrl}}/api/v1/uber/request", "host": [ "{{baseUrl}}" ], "path": [ "api", "v1", "uber", "request" ] } } } ], "variable": [ { "key": "baseUrl", "value": "http://localhost:8080" }, { "key": "apiKey", "value": "change-me" }, { "key": "merchantId", "value": "" }, { "key": "storeId", "value": "" }, { "key": "orderId", "value": "" } ] }