Search…
Common GET Parameters
The common query parameters in the GET requests are:
Parameter
Description
from_date
Filter the query from this date. In a timestamp.
to_date
Filter the query to this date. In a timestamp.
date_filter
Which date should the from_date and to_date be filtered by. The default is created. Other examples are modified and payment_date.
size
Set the maximum number of items returned in the response.
page
Choose which page the results come from, based on size .
status
Most of the Building Blocks have statuses. Filter by one or multiple statuses separated by a comma.
sort
Sort the results of a given field by ascending order. Put a minus (-) in front of the sorting parameter and it will be sorted in descending order.
Python SDK
Core SDK & Node SDK
1
builton.order().get_all(sort='-created')
Copied!
1
builton.orders.get({
2
size: 1,
3
page: 0,
4
urlParams: { sort: '-created' }
5
}).then(console.log);
6
7
// The pagination parameters are set by default,
8
// the rest of the parameters are to be set in `urlParams`.
Copied!
See Pagination for more details about paginating with the Core SDK and the Node SDK.
Copy link