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

    Vendors

  • Bulk create vendors

  • Bulk retrieve vendors

  • Bulk update vendors

  • Create vendor

  • Search vendors

  • Retrieve vendor

  • Update vendor

  • Webhooks

  • vendor.created

  • vendor.updated

<- Vendors API

Vendors API

All versions ->

Create vendorBeta

POST

 /v2/vendors/create

Creates a single Vendor object to represent a supplier to a seller.

Permissions:VENDOR_WRITE

Guide

Create vendors

Try in API Explorer
Link to section

Request body

Example code

Link to section

idempotency_key

string

Required

A client-supplied, universally unique identifier (UUID) to make this CreateVendor call idempotent.

See Idempotency in the API Development 101 section for more information.

Min Length
1
Max Length
128
Link to section

vendor

The requested Vendor to be created.

Link to section

Response fields

Link to section

errors

Errors encountered when the request fails.

Link to section

vendor

The successfully created Vendor object.

Link to section

Examples

All versions ->

POST /v2/vendors/create
curl https://connect.squareup.com/v2/vendors/create \ -X POST \ -H 'Square-Version: 2026-11-18' \ -H 'Authorization: Bearer ACCESS_TOKEN' \ -H 'Content-Type: application/json' \ -d '{ "idempotency_key": "8fc6a5b0-9fe8-4b46-b46b-2ef95793abbe", "vendor": { "name": "Joe'\''s Fresh Seafood", "address": { "address_line_1": "505 Electric Ave", "address_line_2": "Suite 600", "locality": "New York", "administrative_district_level_1": "NY", "postal_code": "10003", "country": "US" }, "contacts": [ { "name": "Joe Burrow", "email_address": "[email protected]", "phone_number": "1-212-555-4250" } ], "account_number": "4025391", "note": "a vendor" } }'

Response JSON

{ "vendor": { "id": "INV_V_JDKYHBWT1D4F8MFH63DBMEN8Y4", "created_at": "2022-03-16T10:21:54.859Z", "updated_at": "2022-03-16T10:21:54.859Z", "name": "Joe's Fresh Seafood", "address": { "address_line_1": "505 Electric Ave", "address_line_2": "Suite 600", "locality": "New York", "administrative_district_level_1": "NY", "postal_code": "10003", "country": "US" }, "contacts": [ { "id": "INV_VC_FMCYHBWT1TPL8MFH52PBMEN92A", "name": "Joe Burrow", "email_address": "[email protected]", "phone_number": "1-212-555-4250" } ], "account_number": "4025391", "note": "a vendor", "version": 1, "status": "ACTIVE" } }