{
  "opencollection": "1.0.0",
  "info": {
    "name": "Deliverect Channel Accounts Stores 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": "Stores",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Deliverect Get Store",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.deliverect.com/commerce/:accountId/stores/:channelLinkId",
            "params": [
              {
                "name": "accountId",
                "value": "668e4aa170efd23c474b2ad1",
                "type": "path",
                "description": "The accountId value."
              },
              {
                "name": "channelLinkId",
                "value": "5e8abc11dec0001a009b",
                "type": "path",
                "description": "The channelLinkId value."
              }
            ]
          },
          "docs": "A store represents a unique ordering experience from a specific location."
        },
        {
          "info": {
            "name": "Deliverect Get Stores",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.deliverect.com/commerce/:accountId/stores",
            "params": [
              {
                "name": "accountId",
                "value": "5b71c6489f00290d4",
                "type": "path",
                "description": "The accountId value."
              },
              {
                "name": "page",
                "value": "1",
                "type": "query",
                "description": "Page to be returned"
              },
              {
                "name": "size",
                "value": "50",
                "type": "query",
                "description": "Number of stores to be returned per page - Max: 100"
              },
              {
                "name": "latitude",
                "value": "30.4515",
                "type": "query",
                "description": "Reference latitude coordinate to calculate store distance"
              },
              {
                "name": "longitude",
                "value": "-91.1871",
                "type": "query",
                "description": "Reference longitude coordinate to calculate store distance"
              },
              {
                "name": "sort",
                "value": "distance",
                "type": "query",
                "description": "The sort value."
              },
              {
                "name": "fulfillmentType",
                "value": "string",
                "type": "query",
                "description": "Fulfillment type(s) available on the channelLink. e.g: delivery,eatIn"
              }
            ]
          },
          "docs": "Returns the list of stores. A store represents a unique ordering experience from a specific location."
        }
      ]
    }
  ],
  "bundled": true
}