Update product prices

Updates the price and/or sale price for a specified SKU or multiple SKUs (up to 15).

post/products/prices

Request

  • Base URL
    https://api.ecommerceapi.uk/v1
  • URL
    https://api.ecommerceapi.uk/v1/products/prices
  • Auth
    HTTP basic

Request body

skustring

The SKU code for the product or product variation. Required when using 'price' or 'salePrice' alone. Should not be used with 'items'.

pricenumber float

The base price of the product.

salePricenumber float

The sale price of the product.

sendToEbayboolean

When true, the price update will also trigger an eBay listing revision (if the product is eligible for eBay). The update is processed via a background job and may be subject to eBay API rate limits and timeouts.

Response

Prices updated successfully.

skustring

The SKU code for the product or product variation.

updatedboolean

Indicates whether the price was updated. If false, the price was unchanged.

productIdinteger

The ID of the product associated with the SKU. Present only if 'updated' is true.

variationboolean

Indicates whether the SKU corresponds to a variation. Present only if 'updated' is true.

Changes

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