updateAddressType

put

/ccadmin/v1/addressTypes/{id}

Update Address Type. Endpoint for updating address type.

Request

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

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : updateAddressType_response
Type: object
Show Source
Example Response (application/json)
{
    "displayName":"Dunning"
}

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