Account Locations
Counterparty (customer & Supplier) Locations are basically addresses that are associated with a given account and used for remittance, pickup, delivery, etc. The ListAccountLocations API produces a list of addresses or locations that have been defined for a specific account or for multiple accounts. Each row in the result set represents one location for a specific account.
Results will be returned in the order that they were last updated. The most recently updated items being at the top of the response.
Request Example
https://api.cietrade.net/ListAccountLocations?UserID=ExampleUser@gmail.com&Account=ABCFibers
Query Parameters (Filters)
| UserID | cieTrade.net User Name. | Required | |
| Account | Target Account. Use exact company name as defined, Account ID or blank value for locations across all accounts. | Optional | |
| Location | Target Location Short Name for the account parameter. If this is used the result set will return only one record for this location. | Optional | |
| AsOf | Returns all records that were last updated on and after this date. If other filter options are provided, they will be ignored if an AsOf date is provided. | Optional |
Response Example
{
"account_name": "Polymer Mart",
"location_short_name": "BILLING",
"address_id": "402055",
"account_id": "1008",
"company_primary_email": "nicholas@cietrade.com",
"address_line_1": "343 Montville St",
"address_line_2": "Building J",
"city": "Newcastle",
"region": "PA",
"postal": "99023",
"country": "USA",
"is_primary_address": "Y",
"contact_name": "apdept",
"contact_email": "apdept@poly.com",
"billing_email_address": "apdept@poly.com"
"active_status": "Active",
"location_UDF1": "FLORIDA",
"location_UDF2": "Franchise"
"location_UDF3": "",
"location_UDF4": "",
"LastUpdated": "Oct 16 2025 12:51PM"
}
- Is_Primary_Address is a "Y" or "N" value. Only one per counterparty.
- Billing_Email_address is the Counterparty default billing contact if set. Otherwise it will be the primary contact of the counterparty.