{
  "opencollection": "1.0.0",
  "info": {
    "name": "Ostrom Auth Orders API",
    "version": "2023-11-01"
  },
  "items": [
    {
      "info": {
        "name": "Orders",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve user orders information by external user id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.ostrom-api.io/users/:externalUserId/orders",
            "params": [
              {
                "name": "externalUserId",
                "value": "",
                "type": "path",
                "description": "Partner user unique identifier"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://auth.sandbox.ostrom-api.io/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Allowed role: `PARTNER`"
        },
        {
          "info": {
            "name": "Retrieve user order information by external user id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.ostrom-api.io/users/:externalUserId/orders/:orderId",
            "params": [
              {
                "name": "externalUserId",
                "value": "",
                "type": "path",
                "description": "Partner user unique identifier"
              },
              {
                "name": "orderId",
                "value": "",
                "type": "path",
                "description": "ID of the order"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://auth.sandbox.ostrom-api.io/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Allowed role: `PARTNER`"
        }
      ]
    }
  ],
  "bundled": true
}