GET api/companies/{companyId}/ShippingAccounts/{shippingAccountId}/default
Get the Default Shipping Account for a Company
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| companyId |
The ID of the company |
integer |
Required |
| shippingAccountId |
The ID Shipping Account |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
The Default Shipping Account data
ShippingAccountDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
|
| CompanyId | integer |
None. |
|
| IsDefault | boolean |
None. |
|
| Name | string |
None. |
|
| Carrier | string |
None. |
|
| CarrierType | SHIPPING_CARRIER_TYPE |
None. |
|
| AccountNumber | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1,
"companyId": 1,
"isDefault": true,
"name": "sample string 2",
"carrier": "sample string 3",
"carrierType": 1,
"accountNumber": "sample string 4"
}