createType

post

/ccadmin/v1/appeasementTypes

Create appeasement type. Creates a new appeasement type with the provided type ID else system generated ID, by default.

Request

Supported Media Types
Header Parameters
Body ()
Root Schema : createType_request
Type: object
Show Source
Example:
{
    "displayName":"Order",
    "description":"Appeasement to be applied on a given order",
    "active":true,
    "id":"order",
    "isOrderRequired":true
}
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : createType_response
Type: object
Show Source
Example:
{
    "displayName":"Order",
    "description":"Appeasement to be applied on a given order",
    "active":true,
    "id":"order",
    "isOrderRequired":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| |------------------|------------------| |900001|An internal error occurred.| |900018|An internal error occured while processing the input request| |900020|An error for appeasement type id duplication.| |13001|Input validation error.|
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