saveRemorsePeriod

put

/ccadmin/v1/merchant/remorsePeriod

Save Remorse Period. Saves the remorse period and gets back the saved data.

Request

Supported Media Types
Body ()
Root Schema : saveRemorsePeriod_request
Type: object
Show Source
Example:
{
    "isRemorsePeriod":true,
    "remorsePeriodHours":"1",
    "remorsePeriodMinutes":"20"
}
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : saveRemorsePeriod_response
Type: object
Show Source
Example Response (application/json)
{
    "isRemorsePeriod":true,
    "remorsePeriodHours":1,
    "remorsePeriodMinutes":20
}

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| |------------------|------------------| |96009|A problem occurred when saving the data.| |96005|Remorse period minutes must be numeric.| |96006|Remorse period minutes must be in range (0-59).| |96007|Invalid data for isRemorsePeriod. Value must be (true/false).| |96008|Unable to save remorse period data.| |96001|Remorse period hours is required.| |96002|Remorse period hours must be numeric.| |96003|Invalid data. Remorse period hours must be positive.| |96004|Remorse period minutes is required.|
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