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

# Create a Customer

> Create a new customer record manually for a store identified by `x-store-id`. Requires `email` and optionally `name` in the request body. This endpoint checks for existing customers with the same email and returns a conflict if found. On successful creation, it returns the customer data.



## OpenAPI

````yaml /api-reference/blink-api.json post /v1/customers
openapi: 3.0.0
info:
  title: Blink API
  description: Comprehensive API documentation for Blink.
  version: 1.0.0
servers:
  - url: https://api.blink.store/v1
security:
  - storeIdHeader: []
tags:
  - name: Invoices
    description: Unified merchant of record invoices for products and subscriptions.
  - name: Geo Pricing
    description: Resolve Purchasing Power Parity (PPP) localized pricing.
paths:
  /v1/customers:
    post:
      tags:
        - Customers
      summary: Create a Customer
      description: >-
        Create a new customer record manually for a store identified by
        `x-store-id`. Requires `email` and optionally `name` in the request
        body. This endpoint checks for existing customers with the same email
        and returns a conflict if found. On successful creation, it returns the
        customer data.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateCustomerRequest'
      responses:
        '201':
          description: Customer created successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomerResponse'
        '409':
          description: Conflict - A customer with this email already exists.
      security:
        - storeIdHeader: []
components:
  schemas:
    CreateCustomerRequest:
      type: object
      properties:
        name:
          type: string
        email:
          type: string
      required:
        - email
    CustomerResponse:
      type: object
  securitySchemes:
    storeIdHeader:
      type: apiKey
      in: header
      name: x-store-id

````