GET v1/admin/company/{id}/ShoppingCarts/ShipmentTypes?sort={sort}
Gets all the shipment types available.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
|
| sort |
A comma delimited list of columns to sort by. Field are sorted in ascending order by default. To have a field sort in descending order, preface it with the minus (-) sign. |
string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
Collection of adminShipmentTypeOutput| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
id of the shipment type |
integer |
None. |
| name |
name of the shipment type |
string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"id": 1,
"name": "sample string 2"
},
{
"id": 1,
"name": "sample string 2"
}
]
text/html
Sample:
[{"id":1,"name":"sample string 2"},{"id":1,"name":"sample string 2"}]
application/xml, text/xml
Sample:
<ArrayOfv1_Admin_adminCarts_adminShoppingCartEndpointController.adminShipmentTypeOutput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_Admin_adminCarts_adminShoppingCartEndpoint">
<v1_Admin_adminCarts_adminShoppingCartEndpointController.adminShipmentTypeOutput>
<id>1</id>
<name>sample string 2</name>
</v1_Admin_adminCarts_adminShoppingCartEndpointController.adminShipmentTypeOutput>
<v1_Admin_adminCarts_adminShoppingCartEndpointController.adminShipmentTypeOutput>
<id>1</id>
<name>sample string 2</name>
</v1_Admin_adminCarts_adminShoppingCartEndpointController.adminShipmentTypeOutput>
</ArrayOfv1_Admin_adminCarts_adminShoppingCartEndpointController.adminShipmentTypeOutput>