GET v1/ShoppingCarts/ShipmentTypes?sort={sort}
Gets all the shipment types available.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
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 ShipmentTypeOutputName | 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_ShoppingCarts_ShoppingCartEndpointController.ShipmentTypeOutput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_ShoppingCarts_ShoppingCartEndpoint"> <v1_ShoppingCarts_ShoppingCartEndpointController.ShipmentTypeOutput> <id>1</id> <name>sample string 2</name> </v1_ShoppingCarts_ShoppingCartEndpointController.ShipmentTypeOutput> <v1_ShoppingCarts_ShoppingCartEndpointController.ShipmentTypeOutput> <id>1</id> <name>sample string 2</name> </v1_ShoppingCarts_ShoppingCartEndpointController.ShipmentTypeOutput> </ArrayOfv1_ShoppingCarts_ShoppingCartEndpointController.ShipmentTypeOutput>