---
description: Import coupon codes via CSV file
---

# How to import coupon codes

Please try to use example csv files.

{% file src="https://1205438928-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mg5UIBC2diyWDMRVhHt%2Fuploads%2FpdvQ7TGgdAu4WtnDfXRb%2FImport_Coupons_examples.csv?alt=media&token=cb0d779c-ee47-464c-8793-76334d025153" %}

The file require 2 columns: **code** and **rule\_id**

**code**: is generated coupon code

**rule\_id:** is coupon code rule id. We should create rule before, and it is exists on system.



Go to admin > manage coupons > import. Then upload csv file and save import.
