List addresses for provided customer account of an organization from the external system (not from OCC)

get

/ccadmin/v1/organizations/{id}/customerAccounts/{customerAccountId}/shipTo

List Addresses for Customer Account of an Organization. This endpoint is used to get addresses for customer account of an Organization from external system.

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 : fetchExternalCustomerAccountAddresses_response
Type: object
Show Source
Nested Schema : defaultShippingAddress
Type: object
Default shipping address for the customer account
Show Source
Nested Schema : items
Type: array
list of organizations
Show Source
Nested Schema : types
Type: array
Address type of the customer account address.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : types
Type: array
Address type of the customer account address.
Show Source
Nested Schema : items
Type: object
Show Source
Example Response (application/json)
{
    "totalResults":45,
    "offset":0,
    "defaultShippingAddress":{
        "types":[
            "addressType:SHIPPING"
        ],
        "formattedAddress":"1800 Satellite Drive,Distribution Center,CHATTANOOGA, TN 37401",
        "externalId":"1222",
        "id":"530042"
    },
    "count":5,
    "hasMore":true,
    "limit":5,
    "items":[
        {
            "types":[
                {
                    "displayName":"Shipping",
                    "repositoryId":"SHIPPING",
                    "id":"SHIPPING"
                }
            ],
            "formattedAddress":"50 King Street,TORONTO ON  M5H3Y2,CANADA",
            "externalId":"1035",
            "primaryFlag":false
        },
        {
            "types":[
                {
                    "displayName":"Shipping",
                    "repositoryId":"SHIPPING",
                    "id":"SHIPPING"
                }
            ],
            "formattedAddress":"2164 Broadway,TEMPE, AZ 85282",
            "externalId":"1036",
            "primaryFlag":false
        },
        {
            "types":[
                {
                    "displayName":"Shipping",
                    "repositoryId":"SHIPPING",
                    "id":"SHIPPING"
                }
            ],
            "formattedAddress":"1156 River Street,ATLANTA, GA 30301",
            "externalId":"1037",
            "primaryFlag":false
        },
        {
            "types":[
                {
                    "displayName":"Shipping",
                    "repositoryId":"SHIPPING",
                    "id":"SHIPPING"
                }
            ],
            "formattedAddress":"50 King Street,TORONTO ON  M5H3Y2,CANADA",
            "externalId":"1088",
            "primaryFlag":false
        },
        {
            "types":[
                {
                    "displayName":"Billing",
                    "repositoryId":"BILLING",
                    "id":"BILLING"
                },
                {
                    "displayName":"Shipping",
                    "repositoryId":"SHIPPING",
                    "id":"SHIPPING"
                }
            ],
            "formattedAddress":"302 Executive Circle,Warehouse B,CHATTANOOGA, TN 37401",
            "externalId":"1090",
            "primaryFlag":false
        }
    ]
}

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| |------------------|------------------| |59001|If there is an issue while processing addresses for customer account of an organization| |100093|If there an issue while adding addresses for customer account of an organization |
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