List customer account addresses for billing for the given organization id.

get

/ccstore/v1/organizations/current/customerAccounts/billTo

Request

Supported Media Types
Query Parameters
  • Customer account Ids whose addresses has to be fetched
  • This is the field to determine number of records to be fetched per REST call.
  • This field determines the offset/starting index from which data to be fetched.
  • SCIM query to search on the address properties. Search on all the address possible except address's id, address's type, partyNumber, partyId, partyName and accountId
  • This is the field to provide sort on the address properties except addressType.
  • Tells whether to include total and totalResults in the SCIM query.By default the value is true
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : listCustomerAccountBillingAddresses_response
Type: object
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 : type
Type: array
The types tagged to the address
Show Source
Nested Schema : items
Type: object
Show Source
Example Response (application/json)
{
    "total":2,
    "totalResults":2,
    "offset":0,
    "limit":2,
    "items":[
        {
            "country":"US",
            "address3":null,
            "address2":null,
            "city":"Atlanta",
            "externalNumber":"1220",
            "address1":"1156 River Street",
            "postalCode":"30010",
            "county":"Fulton",
            "externalId":"1220",
            "type":[
                {
                    "displayName":"Billing",
                    "repositoryId":"BILLING",
                    "id":"BILLING"
                }
            ],
            "accountId":"1006",
            "siteUseId":null,
            "formattedAddress":"1156 River Street,ATLANTA, GA 30010",
            "partyName":"Miller Manufacturing",
            "state":"GA",
            "id":"150001",
            "partyId":"1006",
            "partyNumber":"1006"
        },
        {
            "country":"US",
            "address3":"Warehouse B",
            "address2":"Distribution Center",
            "city":"Chattanooga",
            "externalNumber":"1222",
            "address1":"1800 Satellite Drive",
            "postalCode":"37401",
            "county":"Hamilton",
            "externalId":"1222",
            "type":[
                {
                    "displayName":"Billing",
                    "repositoryId":"BILLING",
                    "id":"BILLING"
                },
                {
                    "displayName":"Shipping",
                    "repositoryId":"SHIPPING",
                    "id":"SHIPPING"
                }
            ],
            "accountId":"1006",
            "siteUseId":null,
            "formattedAddress":"1800 Satellite Drive,Distribution Center,CHATTANOOGA, TN 37401",
            "partyName":"Miller Manufacturing",
            "state":"TN",
            "id":"150002",
            "partyId":"1006",
            "partyNumber":"1006"
        }
    ]
}

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 occurred 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