---
title: "PUT /api/v1/CustomerTenants/{id}"
method: PUT
path: "/api/v1/CustomerTenants/{id}"
tags: ["CustomerTenants"]
---

# PUT /api/v1/CustomerTenants/{id}

`PUT /api/v1/CustomerTenants/{id}`

## Path parameters

- `id` integer, required

## Request body

- CustomerTenantDetailed
  - `tenant` CustomerTenantExtended
    - `invoiceProfile` ObjectReference
      - `id` integer
      - `name` string, nullable
    - `id` integer
    - `name` string, nullable
    - `publisher` ObjectReference
      - `id` integer
      - `name` string, nullable
    - `program` ObjectReference
      - `id` integer
      - `name` string, nullable
    - `publisherCustomerId` string, nullable
    - `externalPublisherCustomerId` string, nullable
    - `domain` string, nullable
    - `domainPrefix` string, nullable
    - `reference` string, nullable
    - `customerTenantType` 0 | 1 | 2
    - `entityStatus` 0 | 1
    - `organization` Organization
      - `id` integer
      - `name` string, nullable
      - `parentId` integer
      - `crayonCompanyName` string, nullable
      - `accountNumber` string, nullable
    - `consumer` ObjectReference
      - `id` integer
      - `name` string, nullable
    - `resellerMarkup` number, double
    - `defaultSubscriptionPriceType` 1 | 2 | 3
    - `agreement` CustomerTenantAgreement
      - `firstName` string, nullable
      - `lastName` string, nullable
      - `phoneNumber` string, nullable
      - `email` string, nullable
      - `sameAsPrimaryContact` boolean
      - `dateAgreed` string, date-time, nullable
      - `accepted` boolean
      - `agreementType` 0 | 1
  - `user` CustomerTenantUser
    - `userName` string, nullable
    - `password` string, nullable
  - `profile` CustomerTenantProfile
    - `cultureCode` string, nullable
    - `languageCode` string, nullable
    - `contact` CustomerTenantContact
      - `firstName` string, nullable
      - `lastName` string, nullable
      - `email` string, nullable
      - `phoneNumber` string, nullable
    - `address` CustomerTenantAddress
      - `firstName` string, nullable
      - `middleName` string, nullable
      - `lastName` string, nullable
      - `addressLine1` string, nullable
      - `addressLine2` string, nullable
      - `addressLine3` string, nullable
      - `city` string, nullable
      - `region` string, nullable
      - `postalCode` string, nullable
      - `countryCode` string, nullable
      - `countryName` string, nullable
    - `agreement` CustomerTenantAgreement
      - `firstName` string, nullable
      - `lastName` string, nullable
      - `phoneNumber` string, nullable
      - `email` string, nullable
      - `sameAsPrimaryContact` boolean
      - `dateAgreed` string, date-time, nullable
      - `accepted` boolean
      - `agreementType` 0 | 1
  - `company` CustomerTenantCompany
    - `organizationRegistrationNumber` string, nullable

## Response `200`

Success

- CustomerTenantDetailed
  - `tenant` CustomerTenantExtended
    - `invoiceProfile` ObjectReference
      - `id` integer
      - `name` string, nullable
    - `id` integer
    - `name` string, nullable
    - `publisher` ObjectReference
      - `id` integer
      - `name` string, nullable
    - `program` ObjectReference
      - `id` integer
      - `name` string, nullable
    - `publisherCustomerId` string, nullable
    - `externalPublisherCustomerId` string, nullable
    - `domain` string, nullable
    - `domainPrefix` string, nullable
    - `reference` string, nullable
    - `customerTenantType` 0 | 1 | 2
    - `entityStatus` 0 | 1
    - `organization` Organization
      - `id` integer
      - `name` string, nullable
      - `parentId` integer
      - `crayonCompanyName` string, nullable
      - `accountNumber` string, nullable
    - `consumer` ObjectReference
      - `id` integer
      - `name` string, nullable
    - `resellerMarkup` number, double
    - `defaultSubscriptionPriceType` 1 | 2 | 3
    - `agreement` CustomerTenantAgreement
      - `firstName` string, nullable
      - `lastName` string, nullable
      - `phoneNumber` string, nullable
      - `email` string, nullable
      - `sameAsPrimaryContact` boolean
      - `dateAgreed` string, date-time, nullable
      - `accepted` boolean
      - `agreementType` 0 | 1
  - `user` CustomerTenantUser
    - `userName` string, nullable
    - `password` string, nullable
  - `profile` CustomerTenantProfile
    - `cultureCode` string, nullable
    - `languageCode` string, nullable
    - `contact` CustomerTenantContact
      - `firstName` string, nullable
      - `lastName` string, nullable
      - `email` string, nullable
      - `phoneNumber` string, nullable
    - `address` CustomerTenantAddress
      - `firstName` string, nullable
      - `middleName` string, nullable
      - `lastName` string, nullable
      - `addressLine1` string, nullable
      - `addressLine2` string, nullable
      - `addressLine3` string, nullable
      - `city` string, nullable
      - `region` string, nullable
      - `postalCode` string, nullable
      - `countryCode` string, nullable
      - `countryName` string, nullable
    - `agreement` CustomerTenantAgreement
      - `firstName` string, nullable
      - `lastName` string, nullable
      - `phoneNumber` string, nullable
      - `email` string, nullable
      - `sameAsPrimaryContact` boolean
      - `dateAgreed` string, date-time, nullable
      - `accepted` boolean
      - `agreementType` 0 | 1
  - `company` CustomerTenantCompany
    - `organizationRegistrationNumber` string, nullable

---

[API](https://skmtc.net/crayon/apis/crayon-group-customer-api.md) · [All operations](https://skmtc.net/crayon/apis/crayon-group-customer-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/crayon/crayon-group-customer-api/versions/a04494a78f65/schema)
