Development
  • Guides
  • API Reference
  • API Explorer
  • SDKs
  • Sample apps
  • System status
Support
  • Developer forums
  • Developer blog
  • YouTube
  • X
More
  • Square Home
  • Square Developer
  • App Marketplace
  • Partner with Square
  • Solutions Partner Program
  • Pricing
  • Sales

© 2026 Square, Inc.

  • Developer terms of service
  • Developer Integration and Marketing Agreement
  • Privacy policy
  • Partnerships
  • Sign In
  • Sign In

    Customers

  • List customers

  • Create customer

  • Bulk create customers

  • Bulk delete customers

  • Bulk retrieve customers

  • Bulk update customers

  • Search customers

  • Delete customer

  • Retrieve customer

  • Update customer

  • Remove group from customer

  • Add group to customer

  • Webhooks

  • customer.created

  • customer.deleted

  • customer.updated

<- Customers API

Customers API

All versions ->

Bulk create customers

POST

 /v2/customers/bulk-create

Creates multiple customer profiles for a business.

This endpoint takes a map of individual create requests and returns a map of responses.

You must provide at least one of the following values in each create request:

  • given_name
  • family_name
  • company_name
  • email_address
  • phone_number
Permissions:CUSTOMERS_WRITE

Guide

Create customer profiles

Try in API Explorer
Link to section

Request body

Example code

Link to section

customers

Required

A map of 1 to 100 individual create requests, represented by idempotency key: { customer data } key-value pairs.

Each key is an idempotency key that uniquely identifies the create request. Each value contains the customer data used to create the customer profile.

Link to section

Response fields

Link to section

responses

A map of responses that correspond to individual create requests, represented by key-value pairs.

Each key is the idempotency key that was provided for a create request and each value is the corresponding response. If the request succeeds, the value is the new customer profile. If the request fails, the value contains any errors that occurred during the request.

Link to section

errors

Any top-level errors that prevented the bulk operation from running.

Link to section

Examples

All versions ->

POST /v2/customers/bulk-create
curl https://connect.squareup.com/v2/customers/bulk-create \ -X POST \ -H 'Square-Version: 2026-11-18' \ -H 'Authorization: Bearer ACCESS_TOKEN' \ -H 'Content-Type: application/json' \ -d '{ "customers": { "8bb76c4f-e35d-4c5b-90de-1194cd9179f0": { "given_name": "Amelia", "family_name": "Earhart", "email_address": "[email protected]", "address": { "address_line_1": "500 Electric Ave", "address_line_2": "Suite 600", "locality": "New York", "administrative_district_level_1": "NY", "postal_code": "10003", "country": "US" }, "phone_number": "+1-212-555-4240", "reference_id": "YOUR_REFERENCE_ID", "note": "a customer" }, "d1689f23-b25d-4932-b2f0-aed00f5e2029": { "given_name": "Marie", "family_name": "Curie", "email_address": "[email protected]", "address": { "address_line_1": "500 Electric Ave", "address_line_2": "Suite 601", "locality": "New York", "administrative_district_level_1": "NY", "postal_code": "10003", "country": "US" }, "phone_number": "+1-212-444-4240", "reference_id": "YOUR_REFERENCE_ID", "note": "another customer" } } }'

Response JSON

{ "responses": { "8bb76c4f-e35d-4c5b-90de-1194cd9179f4": { "customer": { "id": "8DDA5NZVBZFGAX0V3HPF81HHE0", "created_at": "2024-03-23T20:21:54.859Z", "updated_at": "2024-03-23T20:21:54.859Z", "given_name": "Amelia", "family_name": "Earhart", "email_address": "[email protected]", "address": { "address_line_1": "500 Electric Ave", "address_line_2": "Suite 600", "locality": "New York", "administrative_district_level_1": "NY", "postal_code": "10003", "country": "US" }, "phone_number": "+1-212-555-4240", "reference_id": "YOUR_REFERENCE_ID", "note": "a customer", "preferences": { "email_unsubscribed": false }, "creation_source": "THIRD_PARTY", "version": 0 } }, "d1689f23-b25d-4932-b2f0-aed00f5e2029": { "customer": { "id": "N18CPRVXR5214XPBBA6BZQWF3C", "created_at": "2024-03-23T20:21:54.859Z", "updated_at": "2024-03-23T20:21:54.859Z", "given_name": "Marie", "family_name": "Curie", "email_address": "[email protected]", "address": { "address_line_1": "500 Electric Ave", "address_line_2": "Suite 601", "locality": "New York", "administrative_district_level_1": "NY", "postal_code": "10003", "country": "US" }, "phone_number": "+1-212-444-4240", "reference_id": "YOUR_REFERENCE_ID", "note": "another customer", "preferences": { "email_unsubscribed": false }, "creation_source": "THIRD_PARTY", "version": 0 } } } }