Update a specific bulk price

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

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

Path parameters

product_idinteger required

ID of the product.

idinteger required

ID of the bulk price.

Request body

fromQuantityinteger

Minimum quantity for the bulk price.

toQuantityinteger

Maximum quantity for the bulk price (0 for unlimited).

pricenumber float

Price for the specified quantity range.

Response

Bulk price updated successfully.

idinteger

Unique identifier for the bulk price.

variationIdinteger

ID of the variation (0 if the bulk price is not for a variation).

fromQuantityinteger

Minimum quantity for the bulk price.

toQuantityinteger

Maximum quantity for the bulk price (0 for unlimited).

pricenumber float

Price for the specified quantity range.

Changes

No recorded changes to this operation across all 1 revision of this API.