cURL
curl --request GET \
--url https://api.pricenow.dev/api/checkout/{checkoutId}/items/{itemId} \
--header 'accept-language: <accept-language>' \
--header 'pratiq-channel-uuid: <pratiq-channel-uuid>'import requests
url = "https://api.pricenow.dev/api/checkout/{checkoutId}/items/{itemId}"
headers = {
"accept-language": "<accept-language>",
"pratiq-channel-uuid": "<pratiq-channel-uuid>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'accept-language': '<accept-language>',
'pratiq-channel-uuid': '<pratiq-channel-uuid>'
}
};
fetch('https://api.pricenow.dev/api/checkout/{checkoutId}/items/{itemId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.pricenow.dev/api/checkout/{checkoutId}/items/{itemId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"accept-language: <accept-language>",
"pratiq-channel-uuid: <pratiq-channel-uuid>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.pricenow.dev/api/checkout/{checkoutId}/items/{itemId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("accept-language", "<accept-language>")
req.Header.Add("pratiq-channel-uuid", "<pratiq-channel-uuid>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.pricenow.dev/api/checkout/{checkoutId}/items/{itemId}")
.header("accept-language", "<accept-language>")
.header("pratiq-channel-uuid", "<pratiq-channel-uuid>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pricenow.dev/api/checkout/{checkoutId}/items/{itemId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["accept-language"] = '<accept-language>'
request["pratiq-channel-uuid"] = '<pratiq-channel-uuid>'
response = http.request(request)
puts response.read_body{
"data": {
"id": 123,
"parentItemId": 123,
"productVariant": {
"productId": 123,
"name": "<string>",
"id": 123,
"vatRate": 123,
"attributes": [
{
"name": "<string>",
"identifier": "<string>",
"value": "<string>",
"sortOrder": 123,
"metaInformation": {},
"translation": "<string>"
}
],
"translation": "<string>",
"product": {
"id": 123,
"sortOrder": 123,
"name": "<string>",
"translation": "<string>",
"identifier": "<string>",
"isSubscription": true,
"standalone": true,
"hasValidity": true,
"imageUrl": "<string>",
"merchant": {
"identifier": "<string>",
"timezone": "<string>"
},
"category": {
"id": 123,
"name": "<string>"
},
"slug": "<string>"
},
"availableMedia": [
{
"description": "<string>",
"name": "<string>",
"id": 123,
"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>"
}
]
}
}
]
}
]
},
"validity": {
"from": "<string>",
"to": "<string>"
},
"parentItem": {
"id": 123,
"parentItemId": 123,
"productVariant": {
"productId": 123,
"name": "<string>",
"id": 123,
"vatRate": 123,
"attributes": [
{
"name": "<string>",
"identifier": "<string>",
"value": "<string>",
"sortOrder": 123,
"metaInformation": {},
"translation": "<string>"
}
],
"translation": "<string>",
"product": {
"id": 123,
"sortOrder": 123,
"name": "<string>",
"translation": "<string>",
"identifier": "<string>",
"isSubscription": true,
"standalone": true,
"hasValidity": true,
"imageUrl": "<string>",
"merchant": {
"identifier": "<string>",
"timezone": "<string>"
},
"category": {
"id": 123,
"name": "<string>"
},
"slug": "<string>"
},
"availableMedia": [
{
"description": "<string>",
"name": "<string>",
"id": 123,
"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>"
}
]
}
}
]
}
]
},
"validity": {
"from": "<string>",
"to": "<string>"
},
"parentItem": "<unknown>",
"childItems": "<array>",
"listPriceGross": 123,
"listPriceNet": 123,
"promoCodeDiscount": 123,
"autoDiscount": {
"id": 123,
"displayName": "<string>",
"description": "<string>",
"discount": 123
},
"autoDiscountAmount": 123,
"totalDiscountGross": 123,
"totalDiscountNet": 123,
"totalGross": 123,
"totalNet": 123,
"vatRate": 123,
"displayPrice": true,
"isDeletable": true,
"requiresPersonalization": true,
"requiresValidation": true,
"requiresMedium": true,
"isConfirmationRequired": true,
"isFlexTicket": true,
"isMaxOneTicketPerPerson": true,
"isUniqueItem": true,
"supportsWeatherGuarantee": true,
"hasWeatherGuarantee": true,
"personFieldsDefinition": {}
},
"childItems": [
{
"id": 123,
"parentItemId": 123,
"productVariant": {
"productId": 123,
"name": "<string>",
"id": 123,
"vatRate": 123,
"attributes": [
{
"name": "<string>",
"identifier": "<string>",
"value": "<string>",
"sortOrder": 123,
"metaInformation": {},
"translation": "<string>"
}
],
"translation": "<string>",
"product": {
"id": 123,
"sortOrder": 123,
"name": "<string>",
"translation": "<string>",
"identifier": "<string>",
"isSubscription": true,
"standalone": true,
"hasValidity": true,
"imageUrl": "<string>",
"merchant": {
"identifier": "<string>",
"timezone": "<string>"
},
"category": {
"id": 123,
"name": "<string>"
},
"slug": "<string>"
},
"availableMedia": [
{
"description": "<string>",
"name": "<string>",
"id": 123,
"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>"
}
]
}
}
]
}
]
},
"validity": {
"from": "<string>",
"to": "<string>"
},
"parentItem": "<unknown>",
"childItems": "<array>",
"listPriceGross": 123,
"listPriceNet": 123,
"promoCodeDiscount": 123,
"autoDiscount": {
"id": 123,
"displayName": "<string>",
"description": "<string>",
"discount": 123
},
"autoDiscountAmount": 123,
"totalDiscountGross": 123,
"totalDiscountNet": 123,
"totalGross": 123,
"totalNet": 123,
"vatRate": 123,
"displayPrice": true,
"isDeletable": true,
"requiresPersonalization": true,
"requiresValidation": true,
"requiresMedium": true,
"isConfirmationRequired": true,
"isFlexTicket": true,
"isMaxOneTicketPerPerson": true,
"isUniqueItem": true,
"supportsWeatherGuarantee": true,
"hasWeatherGuarantee": true,
"personFieldsDefinition": {}
}
],
"listPriceGross": 123,
"listPriceNet": 123,
"promoCodeDiscount": 123,
"autoDiscount": {
"id": 123,
"displayName": "<string>",
"description": "<string>",
"discount": 123
},
"autoDiscountAmount": 123,
"totalDiscountGross": 123,
"totalDiscountNet": 123,
"totalGross": 123,
"totalNet": 123,
"vatRate": 123,
"displayPrice": true,
"isDeletable": true,
"requiresPersonalization": true,
"requiresValidation": true,
"requiresMedium": true,
"isConfirmationRequired": true,
"isFlexTicket": true,
"isMaxOneTicketPerPerson": true,
"isUniqueItem": true,
"supportsWeatherGuarantee": true,
"hasWeatherGuarantee": true,
"personFieldsDefinition": {},
"person": {
"id": 123,
"accountId": 123,
"formDefinition": {},
"defaultValues": {},
"values": {},
"isOwner": true
},
"medium": {
"description": "<string>",
"name": "<string>",
"id": 123,
"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>"
}
]
}
}
],
"requiresKeycard": true,
"keycard": {
"id": 123,
"dataCarrierId": "<string>",
"personId": 123,
"metaInformation": {}
}
},
"compatiblePersons": [
{
"id": 123,
"accountId": 123,
"formDefinition": {},
"defaultValues": {},
"values": {},
"isOwner": true
}
],
"incompatiblePersons": [
{
"reasons": [
{
"type": "MISSING_REQUIRED_PERSONAL_DATA",
"metaData": {
"missingFields": [
"<string>"
]
}
}
],
"person": {
"id": 123,
"accountId": 123,
"formDefinition": {},
"defaultValues": {},
"values": {},
"isOwner": true
}
}
],
"availableMedia": [
{
"description": "<string>",
"name": "<string>",
"id": 123,
"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>"
}
]
}
}
],
"requiresKeycard": true,
"compatibleKeycards": [
{
"id": 123,
"dataCarrierId": "<string>",
"personId": 123,
"metaInformation": {}
}
],
"incompatibleKeycards": [
{
"reasons": [
"INCOMPATIBLE_KEYCARD_TYPE"
],
"keycard": {
"id": 123,
"dataCarrierId": "<string>",
"personId": 123,
"metaInformation": {}
}
}
]
}
]
}
}checkout
Get apicheckout items
Get a single checkout item checkout item by id
GET
/
api
/
checkout
/
{checkoutId}
/
items
/
{itemId}
cURL
curl --request GET \
--url https://api.pricenow.dev/api/checkout/{checkoutId}/items/{itemId} \
--header 'accept-language: <accept-language>' \
--header 'pratiq-channel-uuid: <pratiq-channel-uuid>'import requests
url = "https://api.pricenow.dev/api/checkout/{checkoutId}/items/{itemId}"
headers = {
"accept-language": "<accept-language>",
"pratiq-channel-uuid": "<pratiq-channel-uuid>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'accept-language': '<accept-language>',
'pratiq-channel-uuid': '<pratiq-channel-uuid>'
}
};
fetch('https://api.pricenow.dev/api/checkout/{checkoutId}/items/{itemId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.pricenow.dev/api/checkout/{checkoutId}/items/{itemId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"accept-language: <accept-language>",
"pratiq-channel-uuid: <pratiq-channel-uuid>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.pricenow.dev/api/checkout/{checkoutId}/items/{itemId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("accept-language", "<accept-language>")
req.Header.Add("pratiq-channel-uuid", "<pratiq-channel-uuid>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.pricenow.dev/api/checkout/{checkoutId}/items/{itemId}")
.header("accept-language", "<accept-language>")
.header("pratiq-channel-uuid", "<pratiq-channel-uuid>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pricenow.dev/api/checkout/{checkoutId}/items/{itemId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["accept-language"] = '<accept-language>'
request["pratiq-channel-uuid"] = '<pratiq-channel-uuid>'
response = http.request(request)
puts response.read_body{
"data": {
"id": 123,
"parentItemId": 123,
"productVariant": {
"productId": 123,
"name": "<string>",
"id": 123,
"vatRate": 123,
"attributes": [
{
"name": "<string>",
"identifier": "<string>",
"value": "<string>",
"sortOrder": 123,
"metaInformation": {},
"translation": "<string>"
}
],
"translation": "<string>",
"product": {
"id": 123,
"sortOrder": 123,
"name": "<string>",
"translation": "<string>",
"identifier": "<string>",
"isSubscription": true,
"standalone": true,
"hasValidity": true,
"imageUrl": "<string>",
"merchant": {
"identifier": "<string>",
"timezone": "<string>"
},
"category": {
"id": 123,
"name": "<string>"
},
"slug": "<string>"
},
"availableMedia": [
{
"description": "<string>",
"name": "<string>",
"id": 123,
"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>"
}
]
}
}
]
}
]
},
"validity": {
"from": "<string>",
"to": "<string>"
},
"parentItem": {
"id": 123,
"parentItemId": 123,
"productVariant": {
"productId": 123,
"name": "<string>",
"id": 123,
"vatRate": 123,
"attributes": [
{
"name": "<string>",
"identifier": "<string>",
"value": "<string>",
"sortOrder": 123,
"metaInformation": {},
"translation": "<string>"
}
],
"translation": "<string>",
"product": {
"id": 123,
"sortOrder": 123,
"name": "<string>",
"translation": "<string>",
"identifier": "<string>",
"isSubscription": true,
"standalone": true,
"hasValidity": true,
"imageUrl": "<string>",
"merchant": {
"identifier": "<string>",
"timezone": "<string>"
},
"category": {
"id": 123,
"name": "<string>"
},
"slug": "<string>"
},
"availableMedia": [
{
"description": "<string>",
"name": "<string>",
"id": 123,
"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>"
}
]
}
}
]
}
]
},
"validity": {
"from": "<string>",
"to": "<string>"
},
"parentItem": "<unknown>",
"childItems": "<array>",
"listPriceGross": 123,
"listPriceNet": 123,
"promoCodeDiscount": 123,
"autoDiscount": {
"id": 123,
"displayName": "<string>",
"description": "<string>",
"discount": 123
},
"autoDiscountAmount": 123,
"totalDiscountGross": 123,
"totalDiscountNet": 123,
"totalGross": 123,
"totalNet": 123,
"vatRate": 123,
"displayPrice": true,
"isDeletable": true,
"requiresPersonalization": true,
"requiresValidation": true,
"requiresMedium": true,
"isConfirmationRequired": true,
"isFlexTicket": true,
"isMaxOneTicketPerPerson": true,
"isUniqueItem": true,
"supportsWeatherGuarantee": true,
"hasWeatherGuarantee": true,
"personFieldsDefinition": {}
},
"childItems": [
{
"id": 123,
"parentItemId": 123,
"productVariant": {
"productId": 123,
"name": "<string>",
"id": 123,
"vatRate": 123,
"attributes": [
{
"name": "<string>",
"identifier": "<string>",
"value": "<string>",
"sortOrder": 123,
"metaInformation": {},
"translation": "<string>"
}
],
"translation": "<string>",
"product": {
"id": 123,
"sortOrder": 123,
"name": "<string>",
"translation": "<string>",
"identifier": "<string>",
"isSubscription": true,
"standalone": true,
"hasValidity": true,
"imageUrl": "<string>",
"merchant": {
"identifier": "<string>",
"timezone": "<string>"
},
"category": {
"id": 123,
"name": "<string>"
},
"slug": "<string>"
},
"availableMedia": [
{
"description": "<string>",
"name": "<string>",
"id": 123,
"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>"
}
]
}
}
]
}
]
},
"validity": {
"from": "<string>",
"to": "<string>"
},
"parentItem": "<unknown>",
"childItems": "<array>",
"listPriceGross": 123,
"listPriceNet": 123,
"promoCodeDiscount": 123,
"autoDiscount": {
"id": 123,
"displayName": "<string>",
"description": "<string>",
"discount": 123
},
"autoDiscountAmount": 123,
"totalDiscountGross": 123,
"totalDiscountNet": 123,
"totalGross": 123,
"totalNet": 123,
"vatRate": 123,
"displayPrice": true,
"isDeletable": true,
"requiresPersonalization": true,
"requiresValidation": true,
"requiresMedium": true,
"isConfirmationRequired": true,
"isFlexTicket": true,
"isMaxOneTicketPerPerson": true,
"isUniqueItem": true,
"supportsWeatherGuarantee": true,
"hasWeatherGuarantee": true,
"personFieldsDefinition": {}
}
],
"listPriceGross": 123,
"listPriceNet": 123,
"promoCodeDiscount": 123,
"autoDiscount": {
"id": 123,
"displayName": "<string>",
"description": "<string>",
"discount": 123
},
"autoDiscountAmount": 123,
"totalDiscountGross": 123,
"totalDiscountNet": 123,
"totalGross": 123,
"totalNet": 123,
"vatRate": 123,
"displayPrice": true,
"isDeletable": true,
"requiresPersonalization": true,
"requiresValidation": true,
"requiresMedium": true,
"isConfirmationRequired": true,
"isFlexTicket": true,
"isMaxOneTicketPerPerson": true,
"isUniqueItem": true,
"supportsWeatherGuarantee": true,
"hasWeatherGuarantee": true,
"personFieldsDefinition": {},
"person": {
"id": 123,
"accountId": 123,
"formDefinition": {},
"defaultValues": {},
"values": {},
"isOwner": true
},
"medium": {
"description": "<string>",
"name": "<string>",
"id": 123,
"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>"
}
]
}
}
],
"requiresKeycard": true,
"keycard": {
"id": 123,
"dataCarrierId": "<string>",
"personId": 123,
"metaInformation": {}
}
},
"compatiblePersons": [
{
"id": 123,
"accountId": 123,
"formDefinition": {},
"defaultValues": {},
"values": {},
"isOwner": true
}
],
"incompatiblePersons": [
{
"reasons": [
{
"type": "MISSING_REQUIRED_PERSONAL_DATA",
"metaData": {
"missingFields": [
"<string>"
]
}
}
],
"person": {
"id": 123,
"accountId": 123,
"formDefinition": {},
"defaultValues": {},
"values": {},
"isOwner": true
}
}
],
"availableMedia": [
{
"description": "<string>",
"name": "<string>",
"id": 123,
"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>"
}
]
}
}
],
"requiresKeycard": true,
"compatibleKeycards": [
{
"id": 123,
"dataCarrierId": "<string>",
"personId": 123,
"metaInformation": {}
}
],
"incompatibleKeycards": [
{
"reasons": [
"INCOMPATIBLE_KEYCARD_TYPE"
],
"keycard": {
"id": 123,
"dataCarrierId": "<string>",
"personId": 123,
"metaInformation": {}
}
}
]
}
]
}
}Headers
Language of the response
Available options:
en, de, fr, it UUID of the sales channel
Response
200 - application/json
Successful response
Show child attributes
Show child attributes
⌘I

