{
  "opencollection": "1.0.0",
  "info": {
    "name": "Flipdish API - Apps Accounts Drivers API",
    "version": "v1.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://api.flipdish.co/identity/connect/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Drivers",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Flipdish Drivers_Get Driver Profile",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.flipdish.co/api/v1.0/drivers/profile",
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api.flipdish.co/identity/connect/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Drivers_Get Driver Profile via the Flipdish Open API v1.0 (GET /api/v1.0/drivers/profile)."
        },
        {
          "info": {
            "name": "Flipdish Drivers_Update Driver Profile",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.flipdish.co/api/v1.0/drivers/profile",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api.flipdish.co/identity/connect/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Drivers_Update Driver Profile via the Flipdish Open API v1.0 (POST /api/v1.0/drivers/profile)."
        },
        {
          "info": {
            "name": "Flipdish Drivers_Get Stores for Driver",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.flipdish.co/api/v1.0/drivers/assignedstores",
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api.flipdish.co/identity/connect/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Drivers_Get Stores for Driver via the Flipdish Open API v1.0 (GET /api/v1.0/drivers/assignedstores)."
        },
        {
          "info": {
            "name": "Flipdish Drivers_Driver Request Login Code Sms",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.flipdish.co/api/v1.0/drivers/pin",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api.flipdish.co/identity/connect/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Drivers_Driver Request Login Code Sms via the Flipdish Open API v1.0 (POST /api/v1.0/drivers/pin)."
        },
        {
          "info": {
            "name": "Flipdish Drivers_Driver Login",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.flipdish.co/api/v1.0/drivers/login",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api.flipdish.co/identity/connect/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Drivers_Driver Login via the Flipdish Open API v1.0 (POST /api/v1.0/drivers/login)."
        },
        {
          "info": {
            "name": "Flipdish Drivers_Add Driver Notification Token",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.flipdish.co/api/v1.0/drivers/token",
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api.flipdish.co/identity/connect/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Drivers_Add Driver Notification Token via the Flipdish Open API v1.0 (POST /api/v1.0/drivers/token)."
        },
        {
          "info": {
            "name": "Flipdish Drivers_Remove Driver Notification Token",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.flipdish.co/api/v1.0/drivers/token",
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api.flipdish.co/identity/connect/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Drivers_Remove Driver Notification Token via the Flipdish Open API v1.0 (DELETE /api/v1.0/drivers/token)."
        },
        {
          "info": {
            "name": "Flipdish Drivers_Set Driver Profile Image",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.flipdish.co/api/v1.0/drivers/profile/image",
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api.flipdish.co/identity/connect/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Drivers_Set Driver Profile Image via the Flipdish Open API v1.0 (POST /api/v1.0/drivers/profile/image)."
        },
        {
          "info": {
            "name": "Flipdish Drivers_Delete Driver Profile Image",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.flipdish.co/api/v1.0/drivers/profile/image",
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api.flipdish.co/identity/connect/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Drivers_Delete Driver Profile Image via the Flipdish Open API v1.0 (DELETE /api/v1.0/drivers/profile/image)."
        },
        {
          "info": {
            "name": "Flipdish Drivers_Set Driver Presence for Store",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.flipdish.co/api/v1.0/drivers/stores/:storeId/presence/:presence",
            "params": [
              {
                "name": "storeId",
                "value": "500123",
                "type": "path",
                "description": "The store id path parameter."
              },
              {
                "name": "presence",
                "value": "Offline",
                "type": "path",
                "description": "The presence path parameter."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api.flipdish.co/identity/connect/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Drivers_Set Driver Presence for Store via the Flipdish Open API v1.0 (POST /api/v1.0/drivers/stores/{storeId}/presence/{presence})."
        },
        {
          "info": {
            "name": "Flipdish Drivers_Update Delivery Tracking Status",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.flipdish.co/api/v1.0/orders/:orderId/tracking/:deliveryTrackingStatus",
            "params": [
              {
                "name": "orderId",
                "value": "500123",
                "type": "path",
                "description": "The order id path parameter."
              },
              {
                "name": "deliveryTrackingStatus",
                "value": "Unassigned",
                "type": "path",
                "description": "The delivery tracking status path parameter."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api.flipdish.co/identity/connect/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Drivers_Update Delivery Tracking Status via the Flipdish Open API v1.0 (POST /api/v1.0/orders/{orderId}/tracking/{deliveryTrackingStatus})."
        }
      ]
    }
  ],
  "bundled": true
}