Bulk create vendors
documentedCreates one or more Vendor objects.
POST /v2/vendors/bulk-createVendorsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://connect.squareup.com/v2/vendors/bulk-create" \
-X POST \
-H "Square-Version: 2026-01-22" \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-d '{
"vendors": {
"{{$idempotency_key_1}}": {
"name": "{{$vendor_name_1}}",
"account_number": "{{$vendor_account_1}}",
"note": "{{$vendor_note_1}}",
"address": {
"address_line_1": "{{$address_line1_1}}",
"address_line_2": "{{$address_line2_1}}",
"locality": "{{$city_1}}",
"administrative_district_level_1": "{{$state_1}}",
"postal_code": "{{$postal_code_1}}",
"country": "US"
},
"contacts": [
{
"name": "{{$contact_name_1}}",
"email_address": "{{$contact_email_1}}",
"phone_number": "{{$contact_phone_1}}"
}
],
"version": {{$version_1}},
"status": "ACTIVE"
},
"{{$idempotency_key_2}}": {
"name": "{{$vendor_name_2}}",
"account_number": "{{$vendor_account_2}}",
"note": "{{$vendor_note_2}}",
"address": {
"address_line_1": "{{$address_line1_2}}",
"address_line_2": "{{$address_line2_2}}",
"locality": "{{$city_2}}",
"administrative_district_level_1": "{{$state_2}}",
"postal_code": "{{$postal_code_2}}",
"country": "US"
},
"contacts": [
{
"name": "{{$contact_name_2}}",
"email_address": "{{$contact_email_2}}",
"phone_number": "{{$contact_phone_2}}"
}
],
"version": {{$version_2}},
"status": "ACTIVE"
}
}
}'