Skip to main content
PATCH
/
api
/
checkout
/
{checkoutId}
/
items
/
{itemId}
/
personalization
cURL
curl --request PATCH \
  --url https://api.pricenow.dev/api/checkout/{checkoutId}/items/{itemId}/personalization \
  --header 'Content-Type: application/json' \
  --header 'pratiq-client-id: <pratiq-client-id>' \
  --data '
{
  "keycardId": 123,
  "personId": 123,
  "mediumType": {}
}
'
{
  "data": {
    "id": 123,
    "parentItemId": 123,
    "status": "RESERVED",
    "productVariant": {
      "productId": 123,
      "id": 123,
      "attributes": [
        {
          "name": "<string>",
          "identifier": "<string>",
          "value": "<string>",
          "sortOrder": 123,
          "metaInformation": {}
        }
      ],
      "name": "<string>",
      "vatRate": 123,
      "product": {
        "id": 123,
        "sortOrder": 123,
        "name": "<string>",
        "identifier": "<string>",
        "type": "TICKET",
        "isSubscription": true,
        "standalone": true,
        "hasValidity": true,
        "imageUrl": "<string>"
      },
      "availableMedia": [
        {
          "type": "SKIDATA",
          "id": 123,
          "priceComponents": [
            "<any>"
          ]
        }
      ]
    },
    "validity": {
      "from": "<string>",
      "to": "<string>"
    },
    "parentItem": {
      "id": 123,
      "parentItemId": 123,
      "status": "RESERVED",
      "productVariant": {
        "productId": 123,
        "id": 123,
        "attributes": [
          {
            "name": "<string>",
            "identifier": "<string>",
            "value": "<string>",
            "sortOrder": 123,
            "metaInformation": {}
          }
        ],
        "name": "<string>",
        "vatRate": 123,
        "product": {
          "id": 123,
          "sortOrder": 123,
          "name": "<string>",
          "identifier": "<string>",
          "type": "TICKET",
          "isSubscription": true,
          "standalone": true,
          "hasValidity": true,
          "imageUrl": "<string>"
        },
        "availableMedia": [
          {
            "type": "SKIDATA",
            "id": 123,
            "priceComponents": [
              "<any>"
            ]
          }
        ]
      },
      "validity": {
        "from": "<string>",
        "to": "<string>"
      },
      "parentItem": {},
      "childItems": [
        {}
      ],
      "listPriceGross": 123,
      "listPriceNet": 123,
      "promoCodeDiscount": 123,
      "autoDiscount": {
        "id": 123,
        "displayName": "<string>",
        "description": "<string>",
        "discountType": "ABSOLUTE",
        "discount": 123
      },
      "autoDiscountAmount": 123,
      "totalDiscountGross": 123,
      "totalDiscountNet": 123,
      "totalGross": 123,
      "totalNet": 123,
      "vatRate": 123,
      "displayPrice": true,
      "requiresPersonalization": true,
      "requiresValidation": true,
      "requiresMedium": true,
      "isConfirmationRequired": true,
      "isFlexTicket": true,
      "isMaxOneTicketPerPerson": true,
      "isUniqueItem": true
    },
    "childItems": [
      {
        "id": 123,
        "parentItemId": 123,
        "status": "RESERVED",
        "productVariant": {
          "productId": 123,
          "id": 123,
          "attributes": [
            {
              "name": "<string>",
              "identifier": "<string>",
              "value": "<string>",
              "sortOrder": 123,
              "metaInformation": {}
            }
          ],
          "name": "<string>",
          "vatRate": 123,
          "product": {
            "id": 123,
            "sortOrder": 123,
            "name": "<string>",
            "identifier": "<string>",
            "type": "TICKET",
            "isSubscription": true,
            "standalone": true,
            "hasValidity": true,
            "imageUrl": "<string>"
          },
          "availableMedia": [
            {
              "type": "SKIDATA",
              "id": 123,
              "priceComponents": [
                "<any>"
              ]
            }
          ]
        },
        "validity": {
          "from": "<string>",
          "to": "<string>"
        },
        "parentItem": {},
        "childItems": [
          {}
        ],
        "listPriceGross": 123,
        "listPriceNet": 123,
        "promoCodeDiscount": 123,
        "autoDiscount": {
          "id": 123,
          "displayName": "<string>",
          "description": "<string>",
          "discountType": "ABSOLUTE",
          "discount": 123
        },
        "autoDiscountAmount": 123,
        "totalDiscountGross": 123,
        "totalDiscountNet": 123,
        "totalGross": 123,
        "totalNet": 123,
        "vatRate": 123,
        "displayPrice": true,
        "requiresPersonalization": true,
        "requiresValidation": true,
        "requiresMedium": true,
        "isConfirmationRequired": true,
        "isFlexTicket": true,
        "isMaxOneTicketPerPerson": true,
        "isUniqueItem": true
      }
    ],
    "listPriceGross": 123,
    "listPriceNet": 123,
    "promoCodeDiscount": 123,
    "autoDiscount": {
      "id": 123,
      "displayName": "<string>",
      "description": "<string>",
      "discountType": "ABSOLUTE",
      "discount": 123
    },
    "autoDiscountAmount": 123,
    "totalDiscountGross": 123,
    "totalDiscountNet": 123,
    "totalGross": 123,
    "totalNet": 123,
    "vatRate": 123,
    "displayPrice": true,
    "requiresPersonalization": true,
    "requiresValidation": true,
    "requiresMedium": true,
    "isConfirmationRequired": true,
    "isFlexTicket": true,
    "isMaxOneTicketPerPerson": true,
    "isUniqueItem": true,
    "person": {
      "id": 123,
      "fields": {},
      "createdAt": "<string>",
      "lastUpdateAt": "<string>",
      "isOwner": true
    },
    "medium": "<any>",
    "compatiblePersons": [
      {
        "id": 123,
        "fields": {},
        "createdAt": "<string>",
        "lastUpdateAt": "<string>",
        "isOwner": true
      }
    ],
    "incompatiblePersons": [
      {
        "reasons": [
          {
            "type": "MISSING_REQUIRED_PERSONAL_DATA",
            "metaData": {
              "missingFields": [
                "<string>"
              ]
            }
          }
        ],
        "person": {
          "id": 123,
          "fields": {},
          "createdAt": "<string>",
          "lastUpdateAt": "<string>",
          "isOwner": true
        }
      }
    ],
    "availableMedia": [
      {
        "type": "SKIDATA",
        "id": 123,
        "priceComponents": [
          {
            "price": 123,
            "productVariant": {
              "id": 123,
              "name": "<string>",
              "vatRate": 123,
              "productId": 123,
              "attributes": [
                {
                  "name": "<string>",
                  "identifier": "<string>",
                  "value": "<string>",
                  "sortOrder": 123,
                  "metaInformation": {}
                }
              ]
            },
            "intent": "SENDING_FEE"
          }
        ],
        "requiresKeycard": true,
        "compatibleKeycards": [
          {
            "id": 123,
            "dataCarrierId": "<string>",
            "personId": 123,
            "metaInformation": {},
            "type": "SKIDATA"
          }
        ],
        "incompatibleKeycards": [
          {
            "reasons": [
              "INCOMPATIBLE_KEYCARD_TYPE"
            ],
            "keycard": {
              "id": 123,
              "dataCarrierId": "<string>",
              "personId": 123,
              "metaInformation": {},
              "type": "SKIDATA"
            }
          }
        ]
      }
    ]
  }
}

Headers

pratiq-client-id
required

Global Webshop Client Id

pratiq-channel-uuid
string

UUID of the sales channel

Path Parameters

checkoutId
string
required
itemId
number
required

Body

application/json
keycardId
number
personId
number
mediumType

Response

200 - application/json

Successful response

data
object
required