[1.23.0] Searching and sorting dispatch points
Warning!
The resource is available only in the following countries: PL
On this page
Dropoff points list
You can search for dropoff points by entering one or more of the following parameters
GET /v1/organizations/:organization_id/dispatch_points
Search parameters:
Parameter | Type | Action | Example |
---|---|---|---|
| Integer Array | Finds dropoff points with the given id. Finds dropoff points with the given ids. |
|
| String | Finds dropoff points whose names contain the specified string. |
|
| String Array | Finds dropoff points whose e-mail addresses are identical to the specified string. Finds dropoff points with the indicated e-mail addresses. |
|
| String Array | Finds dropoff points with a phone number identical to the specified string. Finds dropoff points with the indicated phone numbers. |
|
| String | Finds dropoff points where the address (street) begins with the specified string. |
|
| String | Finds dropoff points where the postcode begins with the specified string. |
|
| String | Finds dropoff points where the country code is identical to the specified string. |
|
| String | Finds dropoff points where the city is identical to the specified sequence. |
|
Results sorting
Search results can be sorted by passing the sort_by parameter, which can take the following values:
Value | Action | Example |
---|---|---|
| Sorts dropoff points by identifier. |
|
| Sorts dropoff points by name. |
|
| Sorts dropoff points by e-mail address. |
|
| Sorts dropoff points by phone number. |
|
| Sorts dropoff points by the first line of the address. |
|
| Sorts dropoff points by post code. |
|
| Sorts dropoff points by country code. |
|
Sorting can be done in two ways by using the sort_order parameter. By default, the results are sorted in descending order (desc
) by the dropoff point creation date (created_at
).
Value | Action | Example |
---|---|---|
| Sorts dropoff points in ascending order. |
|
| Sorts dropoff points in descending order. |
|