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

# Create shop

> Creates a new merchant-owned shop.



## OpenAPI

````yaml /api-reference/openapi.yaml post /api/shops
openapi: 3.1.0
info:
  title: VaultGraph Portal API
  version: 0.1.1
  description: Server-to-server endpoints exposed by the VaultGraph portal (beta).
servers:
  - url: https://app.vaultgraph.com
    description: Production
security: []
tags:
  - name: Shops
    description: Shop management endpoints.
  - name: Commerce
    description: >-
      Deployment-scoped commerce endpoints (catalog, checkout, order).
      Authenticated with a deployment (`dk_`) API key. Internal plumbing between
      the hosted MCP server and the merchant adapter — merchants integrate via
      the MCP, not these REST routes.
paths:
  /api/shops:
    post:
      tags:
        - Shops
      summary: Create shop
      description: Creates a new merchant-owned shop.
      operationId: createShop
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ShopCreateRequest'
      responses:
        '201':
          description: Shop created
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/Shop'
        '400':
          description: Invalid payload
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Server error while creating shop
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    ShopCreateRequest:
      type: object
      description: Request payload for creating a new shop.
      properties:
        name:
          type: string
          description: Human-readable name of the shop.
        description:
          type:
            - string
            - 'null'
          description: Optional description of the shop.
      required:
        - name
      additionalProperties: true
    Shop:
      type: object
      description: Representation of a shop in the VaultGraph portal.
      properties:
        id:
          type: string
          description: Public short identifier for the shop.
        name:
          type: string
          description: Human-readable name of the shop.
        description:
          type:
            - string
            - 'null'
          description: Optional description of the shop.
        created_at:
          type: string
          format: date-time
          description: Timestamp when the shop was created.
        updated_at:
          type: string
          format: date-time
          description: Timestamp when the shop was last updated.
      additionalProperties: true
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: string
        detail:
          type: string
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````