Update Product Prices

Overview

In order to update product prices, you can consume the endpoint presented in this article. In order to consume it, you must:

  • Be authenticated user

For information on how you can authenticate, see: Authentication

As soon as you do authentication and receive a valid token, it needs to be passed to the service call.

Endpoint

NOTE: Endpoint “PUT /api/Catalog/{productID}/Prices” is obsolete as it does not support special characters in the productID. Use the new endpoint presented in this article.

Example for such endpoint for TT server is:

https://tt.api.sellercloud.com/rest/api/Catalog/Prices​​

For your server endpoint will be:

https://{your_server_id}.api.sellercloud.com/rest/api/Catalog/Prices

Request

Information about expected request parameters can be found on swagger UI https://tt/api.sellercloud.com/rest/swagger.

  • Method Type: HttpPut
  • Authorization: Use Bearer Token (where ‘Token’ is the token received from token authentication)
  • Header info: Content-Type: application/json
  • Request Body:

ParameterData TypeDescriptionIs Required
ProductIDstringProduct IDtrue
SitePricedecimalProduct site price.

This is the price that will be used for the channels that have “UseDefaultSItePrice” set to ‘true’.

Do not provide or set to “null” if no update is needed.

false
ChannelPricesArrayList of channel prices to update.

Do not provide or set to “null” if no update is needed.

false
ChannelPrice.ChannelIDenumThe ID of the channel.

Possible values can be found here.

true
ChannelPrice.PricedecimalProduct price for the channel.

Can be updated only if “UseDefaultSItePrice” is set to ‘false’.

To update a channel price that uses the default site price, the ‘SitePrice’ has to be updated which will update the price of all channels that uses the default site price.

Do not provide or set to “null” if no update is needed.

false
ChannelPrice.UseDefaultSItePriceboolIndicates if the channel uses the default site price for the product.

Note: For channel eBay the UseDefaultSitePrice can only be set to true when client setting ‘Enable Default Price for eBay’ is enabled and the Company is configured to allow default price for eBay.

Do not provide or set to “null” if no update is needed.

false

Response

  • If user is authenticated and vendor prices update is successful, then response will be Status Code 200 => OK
  • If user is not authenticated, then response will be Status Code 401 => Not Valid Token
  • In case of error, response will be Status Code 500 => Internal Server Error

Was this article helpful?

Next
Get Purchase Order Items