[1.2.0] Shipment template searching and sorting
Template List
Template search can be performed by specifying one or more of the following criteria.
GET /v1/organizations/:organization_id/shipment_templates
Search criteria
Parameter | Type | Description | Example |
---|---|---|---|
| String | Searches templates containing the given string in their name. |
|
| String | Searches templates containing the given string in their status. |
|
Result sorting
Search results can be sorted using the sort_by
parameter using the following values:
sort_by value | Effect | Example |
---|---|---|
| Sorts by id. |
|
| Sorts by name. |
|
| Sorts by status. |
|
| Sorts by creation date and time. |
|
| Sorts by last update date and time. |
|
Sorting can be descending or ascending and is controlled by the sort_order
parameter. By default, the sorting order is descending on the created_at
attribute.
sort_order value | Effect | Example |
---|---|---|
| Ascending sorting. |
|
| Descending sorting. |
|
On this page