List Orders

Retrieve a paginated list of your orders with optional filters.

text
GET /orders

API key only, no signature required. Only orders created through the Partner API for your organization are returned.

Query Parameters

NameTypeRequiredDescription
pageintegerNoPage number (default: 1)
limitintegerNoItems per page (default: 20, max: 100)
statusintegerNoFilter by order product status (numeric, see status table below)
productTypeintegerNoFilter by product type: 1 = TICKET, 2 = ESIM, 4 = INSURANCE, 5 = FINES
dateFromISO 8601NoFilter orders created on or after this date
dateToISO 8601NoFilter orders created on or before this date
externalReferencestringNoFilter by your external reference

Example Request

GET/v2/partners/orders
curl "https://api.vignetim.com/v2/partners/orders" \
  -H "X-API-Key: $VIGNETIM_API_KEY"

Response

json
{
	"data": [
		{
			"id": "0d9c1c7e-3f4b-4d2a-9b1e-2f6a8c5d7e90",
			"orderNumber": "VGN-2026-004512",
			"status": 4,
			"statusLabel": "COMPLETED",
			"totalAmount": 11.5,
			"discountAmount": 0,
			"taxAmount": 1.92,
			"currency": "EUR",
			"externalReference": "YOUR-ORDER-REF-001",
			"products": [
				{
					"id": "7e6d5c4b-3a2f-1e0d-9c8b-7a6f5e4d3c2b",
					"status": 4,
					"statusLabel": "COMPLETED",
					"productId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
					"productTypeId": 1,
					"price": 11.5,
					"vehicle": {
						"plate": "AB123CD",
						"countryIsocode": "AT",
						"categoryId": "f1e2d3c4-b5a6-7890-abcd-ef1234567890"
					},
					"startAt": "2026-04-01T00:00:00.000Z",
					"endAt": "2026-04-10T23:59:59.000Z"
				}
			],
			"createdAt": "2026-03-20T14:30:00.000Z",
			"updatedAt": "2026-03-20T14:31:15.000Z"
		}
	],
	"metadata": {
		"total": 156,
		"page": 1,
		"limit": 20,
		"totalPages": 8
	}
}

Order Object

FieldTypeDescription
idUUIDOrder ID
orderNumberstringHuman-readable order number (optional)
statusinteger / nullAggregated order status (numeric, see below); null when the order has no products
statusLabelstring / nullStatus enum name for status, e.g. COMPLETED
totalAmountnumberOrder total
discountAmountnumberDiscount applied
taxAmountnumberTax portion
currencystringCurrency code, e.g. EUR
externalReferencestringYour external reference (optional)
productsarrayOrder products (see below)
createdAtISO 8601Creation timestamp
updatedAtISO 8601Last update timestamp

Order Product Object

FieldTypeDescription
idUUIDOrder product line ID
statusintegerProduct status (numeric)
statusLabelstring / nullStatus enum name, e.g. COMPLETED
productIdstringCatalog product ID (ticket UUID, eSIM ID, or slug)
productTypeIdintegerProduct type
pricenumberLine price
vehicleobject{ plate?, countryIsocode?, categoryId? } (optional)
startAtISO 8601Validity start (optional)
endAtISO 8601Validity end (optional)

Order Statuses

status is numeric; statusLabel carries the matching enum name.

ValueLabelDescription
0NONENo status assigned
1PENDINGAwaiting processing
2REQUESTEDRequested from the provider
3IN_PROGRESSBeing processed
4COMPLETEDSuccessfully completed
5REJECTEDRejected
6REFUND_REQUESTEDRefund requested
7REFUND_COMPLETEDRefund completed
8ACTION_REQUIREDRequires additional action
9RESERVEDReserved
10SEMI_COMPLETEDCompleted but not fully processed
11FAILEDFulfillment failed after payment; under review
12EXPIREDUnpaid order auto-expired

Aggregation Rule

The order-level status is derived from its products:

  • All products COMPLETED -> COMPLETED
  • Any product REJECTED -> REJECTED
  • Any product PENDING -> PENDING
  • Otherwise -> the first product's status
  • No products -> null