curl --request GET \
--url https://api.pricenow.dev/api/orders/{orderId}/codes \
--header 'accept-language: <accept-language>' \
--header 'pratiq-channel-uuid: <pratiq-channel-uuid>'{
"data": {
"orderRefno": "<string>",
"clientName": "<string>",
"isComplete": true,
"codes": [
{
"id": 123,
"code": "<string>",
"codeType": "<unknown>",
"descriptor": "<string>",
"system": "SKIDATA",
"imageDataUri": "<string>",
"purpose": "OTHER",
"orderItems": [
{
"id": 123,
"parentItemId": 123,
"status": "RESERVED",
"productVariant": {
"productId": 123,
"id": 123,
"attributes": [
{
"name": "<string>",
"identifier": "<string>",
"value": "<string>",
"sortOrder": 123,
"metaInformation": {},
"translation": "<string>"
}
],
"name": "<string>",
"translation": "<string>",
"vatRate": 123,
"product": {
"id": 123,
"sortOrder": 123,
"name": "<string>",
"translation": "<string>",
"identifier": "<string>",
"type": "TICKET",
"isSubscription": true,
"standalone": true,
"hasValidity": true,
"imageUrl": "<string>",
"merchant": {
"identifier": "<string>",
"timezone": "<string>"
}
},
"availableMedia": [
{
"id": 123,
"type": "SKIDATA",
"priceComponents": [
{
"price": 123,
"productVariant": {
"id": 123,
"name": "<string>",
"translation": "<string>",
"vatRate": 123,
"productId": 123,
"attributes": [
{
"name": "<string>",
"identifier": "<string>",
"value": "<string>",
"sortOrder": 123,
"metaInformation": {},
"translation": "<string>"
}
]
},
"intent": "SENDING_FEE"
}
]
}
]
},
"validity": {
"from": "<string>",
"to": "<string>"
},
"parentItem": "<unknown>",
"childItems": "<array>",
"person": {
"id": 123,
"accountId": 123,
"formDefinition": {},
"defaultValues": {},
"values": {},
"isOwner": true
},
"keycard": {
"id": 123,
"dataCarrierId": "<string>",
"personId": 123,
"metaInformation": {},
"type": "SKIDATA"
},
"medium": "<unknown>",
"listPriceGross": 123,
"listPriceNet": 123,
"promoCodeDiscount": 123,
"autoDiscount": {
"id": 123,
"displayName": "<string>",
"description": "<string>",
"discountType": "RELATIVE",
"discount": 123
},
"autoDiscountAmount": 123,
"totalDiscountGross": 123,
"totalDiscountNet": 123,
"donation": {
"type": "CAUSE_WE_CARE",
"amount": 123
},
"totalGross": 123,
"totalNet": 123,
"vatRate": 123,
"displayPrice": true,
"requiresPersonalization": true,
"requiresValidation": true,
"requiresMedium": true,
"isConfirmationRequired": true,
"isFlexTicket": true,
"isMaxOneTicketPerPerson": true,
"isUniqueItem": true,
"supportsWeatherGuarantee": true,
"hasWeatherGuarantee": true
}
]
}
]
}
}Get all barcode/QR code images for an order with rich order item data. Returns codes with base64 SVG images and full order item details for ticket rendering.
curl --request GET \
--url https://api.pricenow.dev/api/orders/{orderId}/codes \
--header 'accept-language: <accept-language>' \
--header 'pratiq-channel-uuid: <pratiq-channel-uuid>'{
"data": {
"orderRefno": "<string>",
"clientName": "<string>",
"isComplete": true,
"codes": [
{
"id": 123,
"code": "<string>",
"codeType": "<unknown>",
"descriptor": "<string>",
"system": "SKIDATA",
"imageDataUri": "<string>",
"purpose": "OTHER",
"orderItems": [
{
"id": 123,
"parentItemId": 123,
"status": "RESERVED",
"productVariant": {
"productId": 123,
"id": 123,
"attributes": [
{
"name": "<string>",
"identifier": "<string>",
"value": "<string>",
"sortOrder": 123,
"metaInformation": {},
"translation": "<string>"
}
],
"name": "<string>",
"translation": "<string>",
"vatRate": 123,
"product": {
"id": 123,
"sortOrder": 123,
"name": "<string>",
"translation": "<string>",
"identifier": "<string>",
"type": "TICKET",
"isSubscription": true,
"standalone": true,
"hasValidity": true,
"imageUrl": "<string>",
"merchant": {
"identifier": "<string>",
"timezone": "<string>"
}
},
"availableMedia": [
{
"id": 123,
"type": "SKIDATA",
"priceComponents": [
{
"price": 123,
"productVariant": {
"id": 123,
"name": "<string>",
"translation": "<string>",
"vatRate": 123,
"productId": 123,
"attributes": [
{
"name": "<string>",
"identifier": "<string>",
"value": "<string>",
"sortOrder": 123,
"metaInformation": {},
"translation": "<string>"
}
]
},
"intent": "SENDING_FEE"
}
]
}
]
},
"validity": {
"from": "<string>",
"to": "<string>"
},
"parentItem": "<unknown>",
"childItems": "<array>",
"person": {
"id": 123,
"accountId": 123,
"formDefinition": {},
"defaultValues": {},
"values": {},
"isOwner": true
},
"keycard": {
"id": 123,
"dataCarrierId": "<string>",
"personId": 123,
"metaInformation": {},
"type": "SKIDATA"
},
"medium": "<unknown>",
"listPriceGross": 123,
"listPriceNet": 123,
"promoCodeDiscount": 123,
"autoDiscount": {
"id": 123,
"displayName": "<string>",
"description": "<string>",
"discountType": "RELATIVE",
"discount": 123
},
"autoDiscountAmount": 123,
"totalDiscountGross": 123,
"totalDiscountNet": 123,
"donation": {
"type": "CAUSE_WE_CARE",
"amount": 123
},
"totalGross": 123,
"totalNet": 123,
"vatRate": 123,
"displayPrice": true,
"requiresPersonalization": true,
"requiresValidation": true,
"requiresMedium": true,
"isConfirmationRequired": true,
"isFlexTicket": true,
"isMaxOneTicketPerPerson": true,
"isUniqueItem": true,
"supportsWeatherGuarantee": true,
"hasWeatherGuarantee": true
}
]
}
]
}
}