> ## Documentation Index
> Fetch the complete documentation index at: https://docs.salesive.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get shop

> Retrieve shop information.

## Request

```http theme={null}
GET /shops
x-shop-id: {{shopId}}
```

## Headers

| Header      | Type   | Description        |
| ----------- | ------ | ------------------ |
| `x-shop-id` | string | Identify the shop. |

## Successful response

```json theme={null}
{
    "status": 200,
    "success": true,
    "message": "Shop found",
    "data": {
        "_id": "68b8f52575da81b332af29f1",
        "name": "Salesive Store",
        "description": "The official Salesive demo store",
        "tagline": "Shop the future",
        "logo": "https://cdn.salesive.com/shops/logo.png",
        "favicon": "https://cdn.salesive.com/shops/favicon.png",
        "currency": "68c54dd440e9beff3260c2b2",
        "country": "NG",
        "state": "Lagos",
        "rating": 4.8,
        "numReviews": 12,
        "isActive": true,
        "featured": false,
        "settings": {
            "allowOrderWithoutShipping": false,
            "disableShipmentInStorefront": false
        },
        "socialMedia": {},
        "location": {},
        "createdAt": "2025-01-01T00:00:00.000Z",
        "updatedAt": "2026-06-10T18:02:55.870Z",
        "id": "68b8f52575da81b332af29f1"
    }
}
```

<Note>
  The shop is resolved from the `x-shop-id` header (or the storefront referrer).
  A request with no shop context is rejected before reaching this handler.
</Note>

## Error response

```json theme={null}
{
    "status": 404,
    "success": false,
    "message": "Shop not found",
    "data": {}
}
```


## OpenAPI

````yaml GET /shops
openapi: 3.1.0
info:
  title: Salesive Store API
  description: >-
    REST interface for querying products, categories, and merchandising banners
    exposed by Salesive storefronts.
  version: 1.0.0
servers:
  - description: Production
    url: https://store.salesive.com/api/v1
security:
  - BearerAuth: []
    ShopIdHeader: []
paths:
  /shops:
    get:
      summary: Get shop
      description: Retrieve shop information using shop context header or referrer.
      parameters:
        - $ref: '#/components/parameters/XShopIdHeader'
      responses:
        '200':
          description: Shop information retrieved
components:
  parameters:
    XShopIdHeader:
      name: x-shop-id
      in: header
      description: >-
        Optional identifier that scopes responses to a specific storefront when
        the referer cannot be inferred.
      required: false
      schema:
        type: string
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: JWT issued by the Salesive Store API for authenticated shoppers.
    ShopIdHeader:
      type: apiKey
      in: header
      name: x-shop-id
      description: >-
        Optional storefront identifier sent as a header to scope responses to a
        specific shop. Try It requests remember this value once provided.

````