> For the complete documentation index, see [llms.txt](https://developer.smarts.ee/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.smarts.ee/general/data-object-description/campaigncode.md).

# CampaignCode

### Object description

| Field          | Type       | Required | Description                                                                                      |
| -------------- | ---------- | -------- | ------------------------------------------------------------------------------------------------ |
| clientId       | ClientId   | Yes      | Which customers will apply                                                                       |
| campaignId     | CampaignId | Yes      | Campaign strategy number                                                                         |
| clientCardCode | String     | Yes      | <p>Client card machine readable code. </p><p>Default <code>00000000</code> - Applies for all</p> |

## Enum type possible values

| Client ID |                                                          |
| --------- | -------------------------------------------------------- |
| C         | Clients how has client card                              |
| U         | All customers (with client card and without client card) |
| B         | Only unauthorized customers                              |

| Campaign ID                        |                                               |
| ---------------------------------- | --------------------------------------------- |
| AMOUNT\_MODIFICATION               | Amount modification campaign                  |
| AMOUNT\_BASED\_UNIT\_PRICE         | Amount based unit price modification campaign |
| TOTAL\_MODIFICATION                | Total price modification campaign             |
| AMOUNT\_BASED\_TOTAL\_MODIFICATION |                                               |
