Working with Multiple Accounts

If the user is granted access to multiple profiles, the default behavior is to aggregate data across all accounts.

To request data from a specific account, specify a ProfileID in the $filter parameter.

Most examples within this documentation will assume understanding of this concept already exists to apply it as needed.

To query orders across all authorized accounts 

GET https://api.channeladvisor.com/v1/Orders

To query orders from a specific account

GET https://api.channeladvisor.com/v1/Orders?$filter=ProfileID eq 12345678
 
GET https://api.channeladvisor.com/v1/Orders?$filter=ProfileID eq 11111111 or ProfileID eq 22222222