# Update draft 10DLC campaign

GraphQL endpoint: `/company`

Update an existing draft 10DLC campaign. Draft means it is not yet submitted for approval. This is useful if you want to start preparing a campaign before submitting it for approval.

## Query

```graphql
mutation($id: ID!, $input: TenDlcUpdateCampaignInput!) {
  updateTenDlcCampaignAsDraft(id: $id, input: $input) {
    id
    campaignId
    companyId
    brandId
    internalBrandId
    usecase
    status
    description
    messageFlow
  }
}

```

## Variables

```json
{
  "id": "00000000-0000-4000-8000-000000000002",
  "input": {
    "description": "Updated marketing campaign with better targeting",
    "messageFlow": "Updated flow: Users text START to subscribe. Weekly product updates sent."
  }
}
```

## Response

```json
{
  "data": {
    "updateTenDlcCampaignAsDraft": {
      "brandId": "BZSJGD7",
      "campaignId": null,
      "companyId": "00000000-0000-4000-8000-000000000001",
      "description": "Updated marketing campaign with better targeting",
      "id": "00000000-0000-4000-8000-000000000002",
      "internalBrandId": "00000000-0000-4000-8000-000000000003",
      "messageFlow": "Updated flow: Users text START to subscribe. Weekly product updates sent.",
      "status": "DRAFT",
      "usecase": "MARKETING"
    }
  }
}
```
