createAddressType

post

/ccadmin/v1/addressTypes

Endpoint for creating Address type

Request

Supported Media Types
Header Parameters
Body ()
Root Schema : createAddressType_request
Type: object
Show Source
Example:
{
    "displayName":"Office"
}
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : createAddressType_response
Type: object
Show Source
Example Response (application/json)
{
    "displayName":"Home",
    "repositoryId":"at100001",
    "id":"at100001"
}

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| |------------------|------------------| |180112|Missing required property {0}.| |180113|Input data is not valid.| |180120|Invalid address type value| |180111|Address type {0} already exists
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