# Bulk discount prices for products

There is a way to set up bulk discount prices for a specific product.&#x20;

{% hint style="info" %}
Bulk discount prices for products can stack with other discount types.
{% endhint %}

Bulk discount price only works for one product and can't be customized, but it's fully automated and clearly visible to customers even on the product page:

<figure><img src="https://2472323273-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpZxwtrnfjGn9RK75zT5A%2Fuploads%2FTkdfty2DyGQz3HssyZtT%2Fimage.png?alt=media&#x26;token=d44a21b5-5506-47b7-8fe1-d5c0baac2569" alt=""><figcaption></figcaption></figure>

### Add bulk discount prices to a product

To add a bulk discount price, you need to know the internal product ID – `items` > `id` field value in the [Search products](https://app.gitbook.com/s/G9n5VxMY9T0Ob3D56PSD/rest-api/products/search-products#items) call.

{% hint style="info" %}
If you don't yet have an app for Ecwid API access, start with the following [instructions](https://app.gitbook.com/s/uOzT5egoVTAjMJwRuMQT/get-started/set-up-your-dev-environment-in-ecwid#step-2.-get-your-first-application).
{% endhint %}

Make sure your app has the `update_products` access scope required to manage products' bulk discount prices.

Example request:

```http
PUT /api/v3/STOREID/products/PRODUCTID HTTP/1.1
Host: app.ecwid.com
Content-Type: application/json
Authorization: Bearer secret_token

{
    "price": 100,
    "wholesalePrices": [
        {
            "quantity": 10,
            "price": 95
        },
        {
            "quantity": 50,
            "price": 90            
        }
    ]
}
```

To add bulk prices, change `STOREID` with your store ID, `PRODUCTID` with the internal ID of the product, and `secret_token` with the secret access token of your app.

The example request adds a 5% discount when the product quantity in the cart reaches 10, and a 10% discount when it reaches 50.
