3mint
  • 👋Welcome to 3mint
  • 💻3mint Platform
    • Introduction
    • Deploy a contract
    • Upload your NFT data
    • Create checkout links
    • Add customers
    • Monitor your links
  • ⌨️Developer Guides
    • Introduction
    • Contracts
      • Contract Architecture
      • End-to-end Example
    • Mint
      • How To
      • End-to-end Example
      • Code Snippets
    • Wallets
      • End-to-end Example
      • Mobile Pass
        • Creating Passes
    • Token Gating
      • End-to-end Example
      • Code Snippets
  • 📖API Reference
    • Overview
    • Contracts
      • Deploy Contract
      • Get Contract
    • Collectibles
      • Get All Templates
      • Mint Collectible
    • Wallets
      • Create Wallet
      • Get Wallet
    • Customers
      • Create Customer
      • Get Customer
      • Delete Customer
    • Claim Links
      • Create Link
      • Update Link
    • Token Gating
      • Create Gate
  • ❓FAQ
    • Web3 101
    • Platform
Powered by GitBook
On this page
  1. API Reference
  2. Customers

Create Customer

PreviousCustomersNextGet Customer

Last updated 2 years ago

Creates a new customer with name, email, and other information.

📖
post
Authorizations
Body
namestringOptionalExample: John Doe
emailstringRequiredExample: john.doe@gmail.com
phonestringOptionalExample: 1234567890
tagsstring[]Required

Tags represent segments of customers. For example, a tag could be "VIP" or "New Customer"

Example: ["VIP","New Customer"]
Responses
201
The customer has been successfully created
post
POST /v1/customer HTTP/1.1
Host: 
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 99

{
  "name": "John Doe",
  "email": "john.doe@gmail.com",
  "phone": "1234567890",
  "tags": [
    "VIP",
    "New Customer"
  ]
}
201

The customer has been successfully created

No content