> For the complete documentation index, see [llms.txt](https://help.pixfizz.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.pixfizz.com/admin-and-settings/marketing/promocodes.md).

# Promocodes

Promocodes can be setup for all users, or just a single user. To create a Promocode for a single user go to users/users, select the promocode and click on "add Promocode"

<figure><img src="https://1409369501-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDLSaKAH9aauCVHoiuVBl%2Fuploads%2FASNdlT3c07B6HFGh1a0U%2Fimage.png?alt=media&amp;token=35fc6bb2-2911-4921-8998-3e19e03a4c08" alt=""><figcaption><p>Discount codes setup for user - multiple use</p></figcaption></figure>

**User** - The user is only shown if you are setting up a promocode for a single user. See [here](https://help.pixfizz.com/triage/users/users/promocodes-single-user.md) to setup a single user promocode

**Code** - This is the code that the customer needs to enter to receive their promo. If left blank it is automatically created

**Name** - A name for your reference of the promo code

**Expires** - The date the code expires (at 23.59.59 hours local time)

**When** - The promo code can be used by either all products, a selected product, or a product from a category.

**Then** -  Their are a variety of options to choose from such as whole cart discount, two for one discount, etc.

**And** - For some selections additional discounts can be offered

**From/To** -&#x20;

**If** - You can apply a minimum spend and limit to number of uses.

**Code** - The json code is supplied which can be used for creating the discount via API

<figure><img src="https://1409369501-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDLSaKAH9aauCVHoiuVBl%2Fuploads%2F7AlNx1ZIoXKqKTE5Z3fa%2Fimage.png?alt=media&amp;token=e149ed2f-52f5-4f93-95a1-6569d1d8ffed" alt=""><figcaption><p>Discount codes setup for user - single use</p></figcaption></figure>

**User** - The user is only shown if you are setting up a promocode for a single user

**Code** - This is the code that the customer needs to enter to receive their promo. If left blank it is automatically created

**Name** - A name for your reference of the promo code

**Expires** - The date the code expires (at 23.59.59 hours local time)

**Discount** - This is either a percentage or fixed amount discount

**Reuse Credit** - Can the customer re-use any remaining credit

**Applies to Shipping** - Select to allow the code allow discount off shipping

**Copies** - Set to 1 as it is fixed use
