> ## 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.

# List countries

> Retrieve all supported countries with metadata.

## Request

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

## Headers

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

## Successful response

```json theme={null}
{
    "status": 200,
    "success": true,
    "message": "Countries retrieved",
    "data": [
        {
            "shortName": "NG",
            "name": "Nigeria",
            "native": "Nigeria",
            "phone": "234",
            "continent": "AF",
            "capital": "Abuja",
            "currency": "NGN",
            "languages": ["en"],
            "emoji": "🇳🇬",
            "emojiU": "U+1F1F3 U+1F1EC"
        },
        {
            "shortName": "US",
            "name": "United States",
            "native": "United States",
            "phone": "1",
            "continent": "NA",
            "capital": "Washington D.C.",
            "currency": "USD",
            "languages": ["en"],
            "emoji": "🇺🇸",
            "emojiU": "U+1F1FA U+1F1F8"
        }
    ]
}
```

## Error response

```json theme={null}
{
    "status": 500,
    "success": false,
    "message": "Internal server error",
    "data": {}
}
```


## OpenAPI

````yaml GET /country/countries
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:
  /country/countries:
    get:
      summary: List all countries
      description: Retrieve all supported countries with metadata.
      parameters:
        - $ref: '#/components/parameters/XShopIdHeader'
      responses:
        '200':
          description: Countries retrieved successfully.
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                    example: 200
                  success:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Countries retrieved
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        name:
                          type: string
                          example: Nigeria
                        shortName:
                          type: string
                          example: NG
                        phone:
                          type: string
                          example: '234'
                        currency:
                          type: string
                          example: NGN
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.

````