{
  "opencollection": "1.0.0",
  "info": {
    "name": "Flipdish API - Apps Accounts Campaigns 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": "Campaigns",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Flipdish Get Loyalty Campaigns for App",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.flipdish.co/api/v1.0/:appId/campaigns/loyalty",
            "params": [
              {
                "name": "appId",
                "value": "500123",
                "type": "path",
                "description": "The app id path parameter."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api.flipdish.co/identity/connect/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Get Loyalty Campaigns for App via the Flipdish Open API v1.0 (GET /api/v1.0/{appId}/campaigns/loyalty)."
        },
        {
          "info": {
            "name": "Flipdish Create Loyalty Campaign",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.flipdish.co/api/v1.0/:appId/campaigns/loyalty",
            "params": [
              {
                "name": "appId",
                "value": "500123",
                "type": "path",
                "description": "The app id path parameter."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api.flipdish.co/identity/connect/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Create Loyalty Campaign via the Flipdish Open API v1.0 (POST /api/v1.0/{appId}/campaigns/loyalty)."
        },
        {
          "info": {
            "name": "Flipdish Get Retention Campaigns for App",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.flipdish.co/api/v1.0/:appId/campaigns/retention",
            "params": [
              {
                "name": "appId",
                "value": "500123",
                "type": "path",
                "description": "The app id path parameter."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api.flipdish.co/identity/connect/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Get Retention Campaigns for App via the Flipdish Open API v1.0 (GET /api/v1.0/{appId}/campaigns/retention)."
        },
        {
          "info": {
            "name": "Flipdish Create Retention Campaign",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.flipdish.co/api/v1.0/:appId/campaigns/retention",
            "params": [
              {
                "name": "appId",
                "value": "500123",
                "type": "path",
                "description": "The app id path parameter."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api.flipdish.co/identity/connect/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Create Retention Campaign via the Flipdish Open API v1.0 (POST /api/v1.0/{appId}/campaigns/retention)."
        },
        {
          "info": {
            "name": "Flipdish Get Loyalty Campaigns for Store",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.flipdish.co/api/v1.0/:appId/campaigns/loyalty/:storeId",
            "params": [
              {
                "name": "appId",
                "value": "500123",
                "type": "path",
                "description": "The app id path parameter."
              },
              {
                "name": "storeId",
                "value": "500123",
                "type": "path",
                "description": "The store id path parameter."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api.flipdish.co/identity/connect/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Get Loyalty Campaigns for Store via the Flipdish Open API v1.0 (GET /api/v1.0/{appId}/campaigns/loyalty/{storeId})."
        },
        {
          "info": {
            "name": "Flipdish Get Retention Campaigns for Store",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.flipdish.co/api/v1.0/:appId/campaigns/retention/:storeId",
            "params": [
              {
                "name": "appId",
                "value": "500123",
                "type": "path",
                "description": "The app id path parameter."
              },
              {
                "name": "storeId",
                "value": "500123",
                "type": "path",
                "description": "The store id path parameter."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api.flipdish.co/identity/connect/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Get Retention Campaigns for Store via the Flipdish Open API v1.0 (GET /api/v1.0/{appId}/campaigns/retention/{storeId})."
        },
        {
          "info": {
            "name": "Flipdish Get Store List",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.flipdish.co/api/v1.0/:appId/campaigns/stores",
            "params": [
              {
                "name": "appId",
                "value": "500123",
                "type": "path",
                "description": "The app id path parameter."
              },
              {
                "name": "onlyPublished",
                "value": "true",
                "type": "query",
                "description": "The only published query parameter."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api.flipdish.co/identity/connect/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Get Store List via the Flipdish Open API v1.0 (GET /api/v1.0/{appId}/campaigns/stores)."
        },
        {
          "info": {
            "name": "Flipdish Update Loyalty Campaign",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.flipdish.co/api/v1.0/:appId/campaigns/loyalty/:campaignId",
            "params": [
              {
                "name": "appId",
                "value": "500123",
                "type": "path",
                "description": "The app id path parameter."
              },
              {
                "name": "campaignId",
                "value": "500123",
                "type": "path",
                "description": "The campaign id path parameter."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api.flipdish.co/identity/connect/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Update Loyalty Campaign via the Flipdish Open API v1.0 (POST /api/v1.0/{appId}/campaigns/loyalty/{campaignId})."
        },
        {
          "info": {
            "name": "Flipdish Update Retention Campaign",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.flipdish.co/api/v1.0/:appId/campaigns/retention/:campaignId",
            "params": [
              {
                "name": "appId",
                "value": "500123",
                "type": "path",
                "description": "The app id path parameter."
              },
              {
                "name": "campaignId",
                "value": "500123",
                "type": "path",
                "description": "The campaign id path parameter."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api.flipdish.co/identity/connect/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Update Retention Campaign via the Flipdish Open API v1.0 (POST /api/v1.0/{appId}/campaigns/retention/{campaignId})."
        },
        {
          "info": {
            "name": "Flipdish Remove Campaign",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.flipdish.co/api/v1.0/:appId/campaigns/:campaignId",
            "params": [
              {
                "name": "appId",
                "value": "500123",
                "type": "path",
                "description": "The app id path parameter."
              },
              {
                "name": "campaignId",
                "value": "500123",
                "type": "path",
                "description": "The campaign id path parameter."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://api.flipdish.co/identity/connect/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Remove Campaign via the Flipdish Open API v1.0 (DELETE /api/v1.0/{appId}/campaigns/{campaignId})."
        }
      ]
    }
  ],
  "bundled": true
}