# Upload file to Create Cart

The **Upload File to Create Cart** feature allows customers to quickly generate a shopping cart by uploading a file containing product information.

Instead of adding items manually, customers can upload a supported file format and the system will automatically extract product data and create the cart accordingly.

This feature is designed to save time and streamline bulk ordering.

<figure><img src="https://810149679-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7AXvWN0Sv4Sg8s2aVRWp%2Fuploads%2Fkw3azpcAN8a58Sc8OIed%2Funknown.png?alt=media&#x26;token=559d1218-0c9f-4655-b7b7-c24ff193366c" alt=""><figcaption></figcaption></figure>

***Note: This feature is available for Diamond plan and only works if customers login to your store.***&#x20;

#### 1. File requirements:&#x20;

To successfully create a cart, the uploaded file must contain:

* **SKU or Barcode**
* **Quantity**

Both fields are required to correctly identify products and generate the cart.

#### 2. Supported File Formats

a. Document Files:  `.csv, .xlsx, .pdf, .docx, .txt`

b. Image Files: `.png, .jpg, .jpeg, .webp, .gif`

#### 3. File Limitations

a. Maximum file size: **2MB**

b. Maximum image resolution: **1800 x 2400 pixels**

#### 4. AI Processing & Token Usage

This feature uses a third-party AI service to analyze and extract product data from uploaded files. Therefore, usage is limited based on the AI provider’s **token system**.

**a. Token Limit**

* The current limit is **2,000,000 tokens**

If your uploaded files are relatively small, we may support increasing this limit upon request.

**b. How Token Usage Works**

* Token usage is **not fixed**
* It depends on:
  * File size
  * File content
  * Data complexity

The larger and more data-heavy the file, the more tokens it will consume.

The app keeps a **history of uploaded files** to calculate and track the total number of tokens used.

**For example:**&#x20;

* An image file with resolution **1024 x 1024** may consume approximately **1,024 input tokens**
* An image file with resolution **1800 x 2400** may consume approximately **1,452 input tokens**
