---
title: "Create a bulk price for a product"
method: POST
path: "/products/{id}/bulk-prices"
---

# Create a bulk price for a product

`POST /products/{id}/bulk-prices`

## Request

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

Creates a new bulk price for a specific product. Triggers a product update event upon creation.

## Path parameters

- `id` integer, required

## Request body

- BulkPriceCreate
  - `variationId` integer: ID of the variation.
  - `fromQuantity` integer, required: Minimum quantity for the bulk price.
  - `toQuantity` integer, required: Maximum quantity for the bulk price (0 for unlimited).
  - `price` number, float, required: Price for the specified quantity range.

## Response `201`

Bulk price created 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)
