fishbowlAPI API

Get All Stores

Retrieves all stores/locations. Supports filtering by code, keyword, state, and other attributes.

OpenAPI definition

{
  "openapi": "3.1.0",
  "info": {
    "title": "Fishbowl Public API",
    "version": "1.0",
    "description": "The Fishbowl Public API provides programmatic access to manage guests, loyalty programs, subscriptions, tags, and more within the Fishbowl GRM platform."
  },
  "servers": [
    {
      "url": "https://api.fishbowl.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-Key",
        "description": "Your Fishbowl API key for authentication and rate limiting."
      }
    },
    "parameters": {
      "ClientUuid": {
        "name": "X-Delightable-Client-Uuid",
        "in": "header",
        "required": true,
        "description": "Identifies the client context.",
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      },
      "BrandUuid": {
        "name": "X-Delightable-Brand-Uuid",
        "in": "header",
        "required": false,
        "description": "Narrows scope to a specific brand.",
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      },
      "Limit": {
        "name": "limit",
        "in": "query",
        "required": false,
        "description": "Number of results to return (max 96).",
        "schema": {
          "type": "integer",
          "default": 96,
          "maximum": 96
        }
      },
      "Offset": {
        "name": "offset",
        "in": "query",
        "required": false,
        "description": "Offset for pagination.",
        "schema": {
          "type": "integer",
          "default": 0
        }
      }
    },
    "schemas": {
      "ApiResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "message": {
            "type": "string"
          },
          "data": {},
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "error_code": {
            "type": "integer",
            "nullable": true
          },
          "total": {
            "type": "integer",
            "nullable": true
          },
          "cache_hit": {
            "type": "boolean"
          }
        }
      }
    }
  },
  "security": [
    {
      "ApiKeyAuth": []
    }
  ],
  "tags": [
    {
      "name": "Store API",
      "description": "Manage and retrieve store/location information."
    }
  ],
  "paths": {
    "/api/public/store": {
      "get": {
        "summary": "Get All Stores",
        "description": "Retrieves all stores/locations. Supports filtering by code, keyword, state, and other attributes.",
        "operationId": "getStores",
        "tags": [
          "Store API"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/ClientUuid"
          },
          {
            "$ref": "#/components/parameters/BrandUuid"
          },
          {
            "$ref": "#/components/parameters/Limit"
          },
          {
            "$ref": "#/components/parameters/Offset"
          },
          {
            "name": "filter[code]",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "Filter by store code."
          },
          {
            "name": "filter[keyword]",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "Keyword search."
          },
          {
            "name": "filter[participatesInMailings]",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "filter[showOnJoinPage]",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "filter[state]",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "US state abbreviation."
          },
          {
            "name": "include[]",
            "in": "query",
            "required": false,
            "description": "Related resources to include.",
            "schema": {
              "type": "string",
              "enum": [
                "storeDayPart",
                "integration",
                "image",
                "brand",
                "segmentForStoreMapping"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "List of stores.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiResponse"
                }
              }
            }
          }
        }
      }
    }
  }
}