Filtering

Some endpoints can be filtered with parameters to specify exactly what data you want to retrieve useful to get new data since the last request.

An example query for returning for orders created after 20th Jan 2024 12:00

https://api.giftpro.co.uk/orders/?orders.dateCreated[gte]=2024-01-20%2012:00:00

The various operators that can be used for date filtering are displayed below.

OperatorType

gte

Greater than or equal to

lte

Less than or equal to

lt

Less than

gt

Greater than

=

Equal to

Last updated