saveExtendedRemorsePeriod
put
/ccadmin/v1/merchant/extendedRemorsePeriod
Save Extended Remorse Period. Saves the extended remorse period and gets back the saved data.
Request
Supported Media Types
- application/json
Root Schema : saveExtendedRemorsePeriod_request
Type:
Show Source
object
-
extendedRemorsePeriodDays(optional):
string
Extended Remorse period in days. Needed to specify when extended remorse period is enabled.
-
isExtendedRemorsePriod:
boolean
Tells whether extended remorse period is enabled or not.
Example:
{
"extendedRemorsePeriodDays":"20",
"isExtendedRemorsePriod":true
}
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Root Schema : saveExtendedRemorsePeriod_response
Type:
Show Source
object
-
extendedRemorsePeriodDays(optional):
integer
Extended Remorse period time in hours.
-
isExtendedRemorsePeriod(optional):
boolean
Tells whether extended remorse period is set or not.
Example Response (application/json)
{
"extendedRemorsePeriodDays":20,
"isExtendedRemorsePeriod":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|
|------------------|------------------|
|20515|A problem occurred when saving the data.|
|20511|Extended Remorse period days must be numeric.|
|20513|Invalid data for isExtendedRemorsePeriod. Value must be (true/false).|
|20514|Unable to save extended remorse period data.|
|20510|Extended Remorse period days is required.|
|20512|Invalid data. Extended Remorse period days must be more than 0.|
Root Schema : errorModel
Type:
Show Source
object
-
devMessage(optional):
string
An optional non-localized message containing technical information for developers
-
errorCode(optional):
string
The numerical code identifying the error
-
errors(optional):
array errors
An optional list of errors if multiple errors were encountered
-
message(optional):
string
The localized message describing the error
-
moreInfo(optional):
string
An optional non-localized message with more information
-
o:errorPath(optional):
string
An optional machine readable description of where the error occurred
-
status(optional):
string
The HTTP status code
-
type(optional):
string
The URI to the HTTP state code definition
Nested Schema : errors
Type:
array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type:
Show Source
object
-
devMessage(optional):
string
An optional non-localized message containing technical information for developers
-
errorCode(optional):
string
The numerical code identifying the error
-
message(optional):
string
The localized message describing the error
-
moreInfo(optional):
string
An optional non-localized message with more information
-
o:errorPath(optional):
string
An optional machine readable description of where the error occurred
-
status(optional):
string
The HTTP status code