---
title: "Update a specific bulk price"
method: PUT
path: "/products/{product_id}/bulk-prices/{id}"
---

# Update a specific bulk price

`PUT /products/{product_id}/bulk-prices/{id}`

## Request

- Base URL: `https://api.ecommerceapi.uk/v1`
- URL: `https://api.ecommerceapi.uk/v1/products/{product_id}/bulk-prices/{id}`
- Auth: HTTP basic

Updates an existing bulk price assigned to a product. Triggers a product update event upon update.

## Path parameters

- `product_id` integer, required
- `id` integer, required

## Request body

- BulkPriceUpdate
  - `fromQuantity` integer: Minimum quantity for the bulk price.
  - `toQuantity` integer: Maximum quantity for the bulk price (0 for unlimited).
  - `price` number, float: Price for the specified quantity range.

## Response `200`

Bulk price updated successfully.

- BulkPrice
  - `id` integer: Unique identifier for the bulk price.
  - `variationId` integer: ID of the variation (0 if the bulk price is not for a variation).
  - `fromQuantity` integer: Minimum quantity for the bulk price.
  - `toQuantity` integer: Maximum quantity for the bulk price (0 for unlimited).
  - `price` number, float: Price for the specified quantity range.

---

[API](https://skmtc.dev/ecommerceapi/apis/product-bulk-prices.md) - [All operations](https://skmtc.dev/ecommerceapi/apis/product-bulk-prices/llms.txt) - [OpenAPI document](https://skmtc.dev/ecommerceapi/apis/product-bulk-prices/revisions/1c5baab90b39?raw)
