Skip to content

List recent orders

GET
/orders
curl --request GET \
--url 'https://api.1up.gift/orders?limit=10' \
--header 'Authorization: Bearer <token>'

Returns your most recently placed orders, newest first, in the same shape as the order.created webhook payload. Intended for polling integrations; prefer a webhook subscription if you want orders pushed to you as they happen.

limit
integer format: int32
default: 10

How many orders to return, 1–50. Defaults to 10.

The most recent orders.

Array<object>
object
id
integer format: int32
event
null | string
reference
null | string
customerId
integer format: int64
value
number format: double
currency
null | string
country
null | string
sourceType
null | string
externalReference
null | string
giftSelectionType
null | string
giftProductId
null | integer format: int32
giftsCollectionId
null | integer format: int32
wrappingKey
null | string
fromName
null | string
deliveryMode
null | string
lineCount
integer format: int32
createdBy
null | integer format: int64
creationDate
string format: date-time