{
  "opencollection": "1.0.0",
  "info": {
    "name": "Deliverect Channel Accounts Profiles API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://api.deliverect.com/oauth/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Profiles",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Deliverect Register Profile",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.deliverect.com/giftCards/registerProfile",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Deliverect Register Profile"
        },
        {
          "info": {
            "name": "Deliverect Get Profile Links",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.deliverect.com/giftCards/channel/:channelLinkId/providerProfileLinks",
            "params": [
              {
                "name": "channelLinkId",
                "value": "{{channelLinkId}}",
                "type": "path",
                "description": "The channelLinkId value."
              }
            ]
          },
          "docs": "Deliverect Get Profile Links"
        },
        {
          "info": {
            "name": "Deliverect Register Profile",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.deliverect.com/register",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Deliverect Register Profile"
        },
        {
          "info": {
            "name": "Deliverect Unregister Profile Event",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.deliverect.com/unregister-profile",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "When the gateway profile is uninstalled, the partner is expected to handle the unregistered event so that the profile can be uninstalled and disabled."
        }
      ]
    }
  ],
  "bundled": true
}