# Update 10DLC brand

> Update a 10DLC brand in draft status. Cannot update after submission.

`PATCH https://api.zavu.dev/v1/10dlc/brands/{brandId}`

Update a 10DLC brand in draft status. Cannot update after submission.

## Parameters

- `brandId` (path, string, required): 10DLC brand ID.

## Body

- `entityType` (string): Business entity type for 10DLC brand registration. One of: `PRIVATE_PROFIT`, `PUBLIC_PROFIT`, `NON_PROFIT`, `GOVERNMENT`, `SOLE_PROPRIETOR`.
- `displayName` (string)
- `companyName` (string)
- `ein` (string): Tax id of the business, checked against `country` (the one sent in this request, or the brand's current one): the 9-digit EIN for a US brand, or the tax id from its country's business register otherwise.
- `firstName` (string)
- `lastName` (string)
- `email` (string<email>)
- `phone` (string)
- `street` (string)
- `city` (string)
- `state` (string)
- `postalCode` (string)
- `country` (string)
- `website` (string<uri>)
- `vertical` (string)
- `stockSymbol` (string)
- `stockExchange` (string)

## Responses

### 200

Brand updated.

- `brand` (object, required)
  - `id` (string, required)
  - `entityType` (string, required): Business entity type for 10DLC brand registration. One of: `PRIVATE_PROFIT`, `PUBLIC_PROFIT`, `NON_PROFIT`, `GOVERNMENT`, `SOLE_PROPRIETOR`.
  - `displayName` (string, required): Display name of the brand.
  - `companyName` (string, nullable): Legal company name.
  - `ein` (string, nullable): Tax id of the business: the Employer Identification Number (EIN) for a US brand, or the tax id from its own country's business register for a brand outside the US.
  - `firstName` (string, nullable)
  - `lastName` (string, nullable)
  - `email` (string<email>, required)
  - `phone` (string, required): Contact phone number in E.164 format.
  - `street` (string, required)
  - `city` (string, required)
  - `state` (string, required)
  - `postalCode` (string, required)
  - `country` (string, required): Two-letter ISO country code.
  - `website` (string<uri>, nullable)
  - `vertical` (string, required): Industry vertical.
  - `stockSymbol` (string, nullable)
  - `stockExchange` (string, nullable)
  - `status` (string, required): Status of a 10DLC brand registration. - `draft`: created, not yet submitted to the carrier. - `pending`: submitted, awaiting the carrier's answer. - `verified`: the carrier registered the brand AND verified the business behind it. - `unverified`: the carrier registered the brand but did not verify the business — the registration exists, the identity check did not pass or has not been resolved. Campaigns are allowed, with lower daily limits. Read `identityStatus` for the carrier's own wording. - `rejected`: refused by the carrier. - `failed`: the registration never reached the carrier; the fee is refunded. One of: `draft`, `pending`, `verified`, `unverified`, `rejected`, `failed`.
  - `identityStatus` (string, nullable): The carrier's raw identity verdict on the business, as the carrier spells it (`VERIFIED`, `VETTED_VERIFIED`, `SELF_DECLARED`, `UNVERIFIED`). Null while the identity has not been resolved — which is not the same as verified, and is why such a brand reports `status: unverified`.
  - `brandScore` (integer, nullable): Trust score assigned by TCR after vetting.
  - `brandRelationship` (string, nullable)
  - `failureReason` (string, nullable): Reason for rejection, if applicable.
  - `submittedAt` (string<date-time>, nullable)
  - `verifiedAt` (string<date-time>, nullable)
  - `createdAt` (string<date-time>, required)
  - `updatedAt` (string<date-time>, required)

### 400

Invalid request or brand already submitted.

- `code` (string, required)
- `message` (string, required)
- `details` (object)

### 401

Unauthorized.

- `code` (string, required)
- `message` (string, required)
- `details` (object)

### 404

Brand not found.

- `code` (string, required)
- `message` (string, required)
- `details` (object)

## Example

```bash
curl -X PATCH "https://api.zavu.dev/v1/10dlc/brands/brand_abc123" \
  -H "Authorization: Bearer $ZAVUDEV_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "entityType": "PRIVATE_PROFIT"
}'
```

```typescript
import Zavudev from "@zavudev/sdk";

const zavu = new Zavudev({ apiKey: process.env.ZAVUDEV_API_KEY });

const result = await zavu.number10dlc.brands.update("brand_abc123", {
  entityType: "PRIVATE_PROFIT",
});

console.log(result);
```
