saveItemPriceOverride

put

/ccadmin/v1/merchant/itemPriceOverride

Save Item Price Override. Saves the remorse period and gets back the saved data.

Request

Supported Media Types
  • application/json
Body Parameter
Root Schema : saveItemPriceOverride_request

Response

Supported Media Types
  • application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : saveItemPriceOverride_response
Example application/json

{
    "itemRepriceAllowed":true,
    "itemPriceOverrideAllowedForCreate":true,
    "itemPriceOverrideAllowed":true
}
Default Response
The error response. The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud: |Error Code|Description| |------------------|------------------| |20508|Invalid data for Item reprice.value must be (true/false).| |20507|Invalid data for Item price override.Value must be (true/false).| |20506|Either of the item price override flags is required.|
Body
Root Schema : errorModel
Type: object
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Nested Schema : items
Type: object

Examples

Sample Request:

{
  "itemPriceOverrideAllowed": true,
  "itemPriceOverrideAllowedForCreate": true
}

Sample Response Payload returned by endpoint:

{
  "itemRepriceAllowed": true,
  "itemPriceOverrideAllowedForCreate": true,
  "itemPriceOverrideAllowed": true
}