# New Offer Code

> The editor that makes a code offer on a subscription plan: its discount and length, who can redeem it, how it combines with an introductory offer, and its price.

Source: https://air.build/docs/screens/developer/new-offer-code/

New Offer Code makes a code offer on a subscription plan: a discount people get by redeeming a code in the App Store or in your app. Everything here is fixed once the offer exists, except whether it's active, so the sheet asks for all of it at once. The codes themselves are made afterwards, on the [Offer code page](https://air.build/docs/screens/developer/offer-code-page/).

## Open it

On [Offers](https://air.build/docs/screens/developer/offers/), tap **New Offer Code**: the last row of the **Offer Codes** section on iPhone and iPad, a button under it on the Mac.

**Cancel** and **Create** are in the sheet's top bar on iPhone and iPad, and at its bottom right on the Mac.

## What's on it

### The discount

| Part | What it shows or does | Default |
| --- | --- | --- |
| **Reference Name** | The offer's name in App Store Connect and on [Offers](https://air.build/docs/screens/developer/offers/). | Empty |
| **Discount** | **Free Trial**, **Pay As You Go** or **Pay Up Front**. | **Free Trial** |
| **Each Period** | **3 Days**, **1 Week**, **2 Weeks**, **1 Month**, **2 Months**, **3 Months**, **6 Months** or **1 Year**. | **1 Month** |
| **Periods** | How many periods the discount runs. | 1 |
| Footer | Describes the discount: "The plan is free for the offer's length.", "A lower price is charged each period of the offer." or "One payment covers the whole offer." |  |

### Who Can Redeem It

| Part | What it shows or does | Default |
| --- | --- | --- |
| **Never Subscribed** | People who have never subscribed. | On |
| **Subscribed Now** | Current subscribers. | Off |
| **Lapsed** | People whose subscription has ended. | Off |
| **Alongside an Introductory Offer** | What the code does for someone who'd also get the plan's introductory offer: **Replaces It** or **Both Apply**. | **Replaces It** |

At least one of the three switches has to be on.

### Price

| Part | What it shows or does | Default |
| --- | --- | --- |
| **Base Storefront** | The storefront the price is set in, as the country followed by its currency. Choosing another reads its prices and clears the price chosen. | The United States, or the storefront last chosen on this plan's offers |
| **Price** | **Choose…**, or one of the prices Apple offers for this plan in that storefront's currency, as Apple writes them. Reads **Loading Prices…** while the list loads. | **Choose…** |
| Footer | "The price is set in one storefront and equalized across the rest, the way the plan's own price is." |  |

A price is needed even for a free trial: Apple takes one with every code offer.

## Create the offer

**Create** is dimmed until there's a **Reference Name**, at least one switch under **Who Can Redeem It** is on, and a **Price** is chosen. Tap it and the sheet closes; the offer appears under **Offer Codes** at once, and can be opened once Apple has created it. AirBuild sets the price in every storefront from the one you chose before it creates the offer.

## Messages

| Message | When | What to do |
| --- | --- | --- |
| Apple's reason, above the sections on **Offers** | Apple refused the offer. Its row goes away. | Open **New Offer Code** again and fix what Apple names. |
