setPrice

put

/ccadmin/v1/prices/{id}

Set Price. Sets a price value to the product based on provided product ID, SKU ID and type of price.

Request

Supported Media Types
Path Parameters
  • ID corresponding to the product whose price or whose SKU price is to be set.
Body ()
Root Schema : setPrice_request
Type: object
Show Source
Example:
{
    "price":9.7,
    "volumePrice":null,
    "type":"sale",
    "skuId":"xsku2535_1"
}
Nested Schema : voumePrice
Type: object
Volume price of the product/sku
Show Source
Nested Schema : pricingScheme
Type: object
Pricing scheme can be either tieredPrice or bulkPrice
Show Source
Nested Schema : levels
Type: array
Price levels array for volume price
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : setPrice_response
Show Source
Example Response (application/json)
null

Default Response

The error response
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top