---
title: "update reseller"
method: PUT
path: "/v2/distributors/resellers/{resellerId}"
tags: ["Partner Portal"]
---

# update reseller

`PUT /v2/distributors/resellers/{resellerId}`

## Request

- Base URL: `https://api.cloudally.com`
- URL: `https://api.cloudally.com/v2/distributors/resellers/{resellerId}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/cloudally/apis/cloudally-rest-api/docs/v2/distributors/resellers/:resellerId/put.ts> (a function with typed inputs; its response is checked against the schema)

update a reseller

## Path parameters

- `resellerId` string, required

## Request body

- ResellerUpdateDto
  - `resellerName` string, required: Company name
  - `contactName` string: Reseller’s contact person
  - `countryCode` string, required: Reseller’s country name from ISO3166-1 alpha-2
  - `waiveSharedMailboxes` boolean: Defines whether shared mailboxes of partner’s accounts should be provided free of charge (true) or included in billing (false or not included in the request)
  - `notificationSettings` NotificationDto: NotificationSettings
    - `provideType` 'LINK' | 'CSV', required: How to send report as attachment or as a link to download
    - `reportFreq` 'DAILY' | 'WEEKLY' | 'MONTHLY': Frequency of summary report, by default - DAILY
    - `reportDay` 'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY' | 'SUNDAY': Day of summary report - only in case of Weekly report
    - `sendSummaryReport` boolean: Indicate should we send summary report or not
    - `failureOnlyReport` boolean: Indicate should we send only failed summary report (only in case of enabled summary report)

## Response `200`

Successful retrieval of the information.

- ResellerUpdateResponse: ResellerUpdateResponse
  - `resellerName` string, required: Company name
  - `contactName` string: Reseller’s contact person
  - `countryCode` string, required: Reseller’s country name from ISO3166-1 alpha-2
  - `waiveSharedMailboxes` boolean: Defines whether shared mailboxes of partner’s accounts should be provided free of charge (true) or included in billing (false or not included in the request)
  - `notificationSettings` NotificationDto: NotificationSettings
    - `provideType` 'LINK' | 'CSV', required: How to send report as attachment or as a link to download
    - `reportFreq` 'DAILY' | 'WEEKLY' | 'MONTHLY': Frequency of summary report, by default - DAILY
    - `reportDay` 'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY' | 'SUNDAY': Day of summary report - only in case of Weekly report
    - `sendSummaryReport` boolean: Indicate should we send summary report or not
    - `failureOnlyReport` boolean: Indicate should we send only failed summary report (only in case of enabled summary report)

## Other responses

- `401`: The user is not logged in.
- `403`: The user does not have an access to view the account activity.

---

[API](https://skmtc.dev/cloudally/apis/cloudally-rest-api.md) - [All operations](https://skmtc.dev/cloudally/apis/cloudally-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cloudally/apis/cloudally-rest-api/revisions/97e3a3740b5b?raw)
