Delivery Methods
The DeliveryMethods resource allows DeliveryMethods to be listed.
The full range of URIs and HTTP Verbs supported are:
Operation |
HTTP Action |
List a page of Delivery Methods |
GET /DeliveryMethods |
GET DeliveryMethods
These filters can be used with the GET DeliveryMethods endpoint:
Filter |
Description |
name |
Only return delivery methods that start with the specific name. |
modifiedSince |
Only return orders created or edited after a specified date, must be UTC format. |
Available Fields for DeliveryMethods:
Property |
Type |
Length |
Required |
Notes |
Guid |
Guid |
|
Yes |
Unique identifier. Can only be set when adding a record. |
LastModifiedOn |
Nullable DateTime |
|
|
|
Name |
String |
50 |
Yes |
|
Obsolete |
Boolean |
true ,false |
|
|
Examples for Request GET /DeliveryMethods
show xml example
<?xml version="1.0"?>
<DeliveryMethods xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://api.unleashedsoftware.com/version/1">
<Pagination>
<NumberOfItems>1</NumberOfItems>
<PageSize>200</PageSize>
<PageNumber>1</PageNumber>
<NumberOfPages>1</NumberOfPages>
</Pagination>
<DeliveryMethod>
<Guid>fe1a1e61-328e-4a71-87d8-85e3c39fa4e3</Guid>
<LastModifiedOn>2016-03-29T02:35:20.312087</LastModifiedOn>
<Name>UPS</Name>
<Obsolete>false</Obsolete>
</DeliveryMethod>
</DeliveryMethods>
show json example
{
"Pagination": {
"NumberOfItems": 1,
"PageSize": 200,
"PageNumber": 1,
"NumberOfPages": 1
},
"Items": [
{
"Name": "UPS",
"Obsolete": false,
"Guid": "fe1a1e61-328e-4a71-87d8-85e3c39fa4e3",
"LastModifiedOn": "/Date(1459218920312)/"
}
]
}
Use the API Sandbox to see how the object is rendered in JSON or XML.
Note: An Unleashed account is required before you can use the API Sandbox.
Trial accounts are also allowed to connect to the API.
You can register a new account here: Register.