---
title: "Update a customer"
method: PUT
path: "/v1/resourceowner/workorders/customers/{workOrderCustomerId}"
tags: ["ResourceOwnerWorkOrder"]
---

# Update a customer

`PUT /v1/resourceowner/workorders/customers/{workOrderCustomerId}`

## Path parameters

- `workOrderCustomerId` integer, required

## Request body

- WorkOrderCustomerModelPUT
  - `Name` string
  - `ContactName` string
  - `CommunicationLanguageISO639_2` string
  - `Email` string
  - `PhoneNumber` string
  - `BillingAddress` CustomerBillingAddressModel
    - `Street` string
    - `Apartment` string
    - `CareOf` string
    - `ZipCode` string
    - `City` string
    - `StateOrProvince` string
    - `ISO3166CountryCode` string
    - `Position` PositionPointModel
      - `Longitude` number, double
      - `Latitude` number, double
  - `JobAddress` CustomerJobAddressModel
    - `Street` string
    - `Apartment` string
    - `CareOf` string
    - `ZipCode` string
    - `City` string
    - `StateOrProvince` string
    - `ISO3166CountryCode` string
    - `Position` PositionPointModel
      - `Longitude` number, double
      - `Latitude` number, double

## Response `200`

Successfully updated

- WorkOrderCustomerModelGET
  - `Name` string
  - `ContactName` string
  - `CommunicationLanguageISO639_2` string
  - `Email` string
  - `PhoneNumber` string
  - `BillingAddress` CustomerBillingAddressModel
    - `Street` string
    - `Apartment` string
    - `CareOf` string
    - `ZipCode` string
    - `City` string
    - `StateOrProvince` string
    - `ISO3166CountryCode` string
    - `Position` PositionPointModel
      - `Longitude` number, double
      - `Latitude` number, double
  - `JobAddress` CustomerJobAddressModel
    - `Street` string
    - `Apartment` string
    - `CareOf` string
    - `ZipCode` string
    - `City` string
    - `StateOrProvince` string
    - `ISO3166CountryCode` string
    - `Position` PositionPointModel
      - `Longitude` number, double
      - `Latitude` number, double
  - `WorkOrderCustomerId` integer
  - `CreatedDate` string, date-time

## Other responses

- `403` — Forbidden access to resource
- `500` — Internal server error

---

[API](https://skmtc.net/automile/apis/automile-api.md) · [All operations](https://skmtc.net/automile/apis/automile-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/automile/automile-api/revisions/bd42075f6b02/schema)
