---
title: "Batch Update Customers"
method: PUT
path: "/v2/accounting/customers/batch"
tags: ["Customers"]
---

# Batch Update Customers

`PUT /v2/accounting/customers/batch`

**Supported for:**

`freshbooks` `quickbooks` `xero` `oracleNetsuite` `sageBusinessCloud` `sageIntacct` `dynamicsBusinessCentral` `wave`

## Request body

- BatchUpdateCustomerDto
  - `connectionUuid` string, required — Unique connection identifier.
  - `batch` BatchPutCustomer[], required
    - `contactFirstName` string
    - `contactLastName` string
    - `emailAddress` string
    - `phone` string
    - `website` string, uri
    - `isPerson` boolean
    - `customerName` string
    - `contactName` string
    - `taxNumber` string
    - `parentRef` ParentRefDto
      - `id` string, required
    - `billingAddress` BillingAddressDto
      - `line1` string
      - `line2` string
      - `city` string
      - `region` string — Region within a country. For example, state name for USA, province name for Canada.
      - `country` string — Country name as 3 ISO alpha-3 characters.
      - `postalCode` string — Postal code. For example, zip code for USA and Canada.
    - `currency` string
    - `shippingAddress` ShippingAddressDto
      - `line1` string
      - `line2` string
      - `city` string
      - `region` string — Region within a country. For example, state name for USA, province name for Canada.
      - `country` string — Country name as 3 ISO alpha-3 characters.
      - `postalCode` string — Postal code. For example, zip code for USA and Canada.
    - `subsidiaryRefs` SubsidiaryRefDto[]
      - `id` string, required
    - `contacts` PushCustomerVendorContactV2[]
      - `name` string
      - `email` string
      - `phone` string
      - `address` CustomerVendorPushAddressV2
        - `line1` string
        - `line2` string
        - `city` string
        - `region` string
        - `country` string
        - `postalCode` string
        - `type` 'billing' | 'shipping' | 'other'
    - `passThrough` object
    - `paymentMethodRef` PaymentMethodRefDto
      - `id` string
      - `name` string
      - `type` 'unknown' | 'cash' | 'check' | 'creditCard' | 'debitCard' | 'bankTransfer' | 'giftCard' | 'other'
    - `customerRef` string, required — reference to the customer to be updated

## Response `200`

- BatchUpdateCustomerResponseDto
  - `connectionUuid` string, required
  - `businessName` string, required
  - `serviceName` 'freshbooks' | 'quickbooks' | 'quickbooksDesktop' | 'xero' | 'oracleNetsuite' | 'sageBusinessCloud' | 'sageIntacct' | 'dynamicsBusinessCentral' | 'dynamics365Finance' | 'wave' | 'myob' | 'zohoBooks' | 'byod', required
  - `batchId` string, required
  - `batch` UpdateCustomerIndividualResponseDto[], required
    - `pushCommunicationId` string, required
    - `requestedOn` string, date-time, required
    - `status` 'success' | 'failed' | 'pending', required
    - `data` BatchPutCustomer, required
      - `contactFirstName` string
      - `contactLastName` string
      - `emailAddress` string
      - `phone` string
      - `website` string, uri
      - `isPerson` boolean
      - `customerName` string
      - `contactName` string
      - `taxNumber` string
      - `parentRef` ParentRefDto
        - `id` string, required
      - `billingAddress` BillingAddressDto
        - `line1` string
        - `line2` string
        - `city` string
        - `region` string — Region within a country. For example, state name for USA, province name for Canada.
        - `country` string — Country name as 3 ISO alpha-3 characters.
        - `postalCode` string — Postal code. For example, zip code for USA and Canada.
      - `currency` string
      - `shippingAddress` ShippingAddressDto
        - `line1` string
        - `line2` string
        - `city` string
        - `region` string — Region within a country. For example, state name for USA, province name for Canada.
        - `country` string — Country name as 3 ISO alpha-3 characters.
        - `postalCode` string — Postal code. For example, zip code for USA and Canada.
      - `subsidiaryRefs` SubsidiaryRefDto[]
        - `id` string, required
      - `contacts` PushCustomerVendorContactV2[]
        - `name` string
        - `email` string
        - `phone` string
        - `address` CustomerVendorPushAddressV2
          - `line1` string
          - `line2` string
          - `city` string
          - `region` string
          - `country` string
          - `postalCode` string
          - `type` 'billing' | 'shipping' | 'other'
      - `passThrough` object
      - `paymentMethodRef` PaymentMethodRefDto
        - `id` string
        - `name` string
        - `type` 'unknown' | 'cash' | 'check' | 'creditCard' | 'debitCard' | 'bankTransfer' | 'giftCard' | 'other'
      - `customerRef` string, required — reference to the customer to be updated

## Other responses

- `400` — Bad Request Error - Thrown if fields sent via query does not follow specifications
- `401` — Unauthorized - Not logged in or log in expired
- `403` — Forbidden - Not enough permission
- `500` — Server Error

---

[API](https://skmtc.net/railz/apis/fis-accounting-data-as-a-service-api.md) · [All operations](https://skmtc.net/railz/apis/fis-accounting-data-as-a-service-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/railz/fis-accounting-data-as-a-service-api/revisions/5cdfae3fa1fa/schema)
