List customer accounts details for the provided organization id.

get

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

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 : listCustomerAccounts_response
Type: object
Show Source
Nested Schema : invalidItemIds
Type: array
Invalid/Failed external Address Ids of the Customer Account's addresses which are not synced.
Show Source
Nested Schema : items
Type: array
List of customer account details for given organization.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : defaultBillTo
Type: object
Default billTo address for the Customer Account
Show Source
Nested Schema : defaultShipTo
Type: object
Default shipTo address for the Customer Account
Show Source
Nested Schema : types
Type: array
The types tagged to the address
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : types
Type: array
The types tagged to the address
Show Source
Nested Schema : items
Type: object
Show Source
Example Response (application/json)
{
    "items":[
        {
            "defaultShipTo":{
                "country":"US",
                "address3":null,
                "address2":null,
                "city":"St Cloud",
                "externalNumber":"4831",
                "address1":"933 Blackberry Creek Ave",
                "postalCode":"34769",
                "county":"Osceola",
                "externalId":"12356",
                "type":[
                    {
                        "displayName":"Shipping",
                        "repositoryId":"SHIPPING",
                        "id":"SHIPPING"
                    }
                ],
                "siteUseId":null,
                "formattedAddress":"933 Blackberry Creek Ave,ST CLOUD, FL 34769",
                "partyName":"Miller Manufacturing",
                "state":"FL",
                "id":"240016",
                "partyId":"1234",
                "partyNumber":"3456"
            },
            "partyName":"Miller Manufacturing",
            "defaultBillTo":{
                "country":"US",
                "address3":null,
                "address2":null,
                "city":"St Cloud",
                "externalNumber":"4831",
                "address1":"933 Blackberry Creek Ave",
                "postalCode":"34769",
                "county":"Osceola",
                "externalId":"12345",
                "type":[
                    {
                        "displayName":"Billing",
                        "repositoryId":"BILLING",
                        "id":"BILLING"
                    }
                ],
                "accountId":"4564",
                "siteUseId":"5282",
                "formattedAddress":"933 Blackberry Creek Ave,ST CLOUD, FL 34769",
                "partyName":"Miller Manufacturing",
                "state":"FL",
                "id":"240014",
                "partyId":"1234",
                "partyNumber":"3456"
            },
            "id":"ca150002",
            "partyId":"12747",
            "partyNumber":"10252"
        }
    ]
}

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| |------------------|------------------| |100193| Internal error while fetching customer accounts| |100001|invalid organization Id|
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