Get Associated Accounts
Retrieves a list of shipping accounts that are linked to a specific shipping location.
Request
- Base URLhttps://api.proshipping.net
- URLhttps://api.proshipping.net/v4/shippingLocations/{shippingLocationId}/shippingAccounts
- AuthOAuth 2Client credentialsToken URL: https://authentication.proshipping.net/connect/token
Path parameters
A unique identifier assigned to the shipping location by the system (shippingLocationId) or by you (LocationAlias). This ID is used to distinguish between different shipping locations within the system, facilitating referencing and operations, such as updates, deletions, or specific queries related to that location.
Query parameters
A string representing the term or keywords used to filter account results. For example, a search term like "Warehouse" would return shipping accounts containing the search term, helping to narrow down the list based on the user input.
An integer that defines the number of account entries (record) returned per page in the response. For instance, if pageSize is set to 20, the API will return up to 20 accounts in each response. <br /> <br />Note: By default, this value is set to 100.
An integer indicating the specific page of results to retrieve, allowing for pagination of larger datasets. For example, if pageNumber is set to 3, the API will return the results corresponding to the third page of accounts based on the specified pageSize. <br /> <br />Note: By default, this value is set to 1.
Sort By
A string specifying the field by which to organise the search results. For instance, "Name" could be used to sort accounts alphabetically, arranging the results in a more user-friendly order. <br /> <br />Note: By default, this value is set to Name.
Order Direction
A string indicating the direction in which to sort the results, typically set to "ascending" or "descending." For example, setting sortDir to "Ascending" while using "Name" as sortBy would arrange the accounts from A to Z. <br /> <br />Note: By default, this value is set to Ascending.
Response
Returns a paged list of associated shipping accounts.
Example response
{
"ShippingAccounts": [
{
"CarrierCode": "RM",
"AccountNumber": "0123456789",
"AccountName": "AB VideoGames",
"AccountAlias": "JSL",
"AccountStatus": "Enabled",
"ContactName": "John Smith",
"ContactNumber": "0123456789",
"LastUpdatedBy": "User A"
}
],
"TotalCount": 303
}Changes
No recorded changes to this operation across all 5 revisions of this API.