getProfileAddress

get

/ccapp/v1/profiles/{id}/addresses/{addressId}

Get Profile Address specific to the customer profile based on the address Id

Request

Supported Media Types
Path Parameters
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : getProfileAddress_response
Type: object
Show Source
Nested Schema : address
Type: object
The address object of the profile
Show Source
Nested Schema : dynamicProperty
Type: object
The value of the dynamic Property
Nested Schema : types
Type: array
The types tagged to the address
Show Source
Nested Schema : items
Type: object
Show Source
Example Response (application/json)
{
    "address":{
        "lastName":"Anderson",
        "country":"US",
        "types":[
            {
                "displayName":"Billing",
                "repositoryId":"ss-10002",
                "id":"ss-10002"
            }
        ],
        "address3":"",
        "address2":"",
        "city":"Buffalo",
        "address1":"1234, International Avenue",
        "postalCode":"32305",
        "companyName":"Oracle",
        "firstName":"kim",
        "phoneNumber":"813-123-1234",
        "repositoryId":"ss-40010",
        "state":"FL"
    },
    "addressType":"Home",
    "links":[
        {
            "rel":"self",
            "href":"http://localhost:9080/ccadminui/v1/profiles/se-570031/addresses/130023"
        }
    ]
}

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| |------------------|------------------| |22031|Internal error during get profile| |22002|No profile found with profile id| |100190|Error occurred while attempting to fetch addresses from the repository.| |22038|Invalid Address ID : address is not associated with user profile.|
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