Purchase Intents
Endpoints
The Purchase Intent object
Attributes
new
complete
canceled
awaiting
approved
rejected
EUR
USD
GBP
AUD
CHF
THB
ILS
COP
MXN
DKK
NOK
SEK
QAR
CAD
ISK
GTQ
INR
DOP
SGD
PLN
SAR
TTD
ZAR
KYD
HKD
CZK
KRW
JPY
NZD
AED
MAD
TWD
The amount of the cart item.
The single piece price of the cart item.
The ID of the ticket type of the cart item.
Optional Attributes
Collapse allOptional Attributes
Collapse all{"_id": "string","status": "new","approvalStatus": "awaiting","rejectionReason": "string","company": "string","firstname": "string","lastname": "string","name": "string","customerId": "string","address": {"street": "string","line2": "string","postal": "string","city": "string","country": "string","state": "string"},"deliveryAddress": {"street": "string","line2": "string","postal": "string","city": "string","country": "string","state": "string","name": "string"},"sellerId": "string","eventId": "string","shopId": "string","strategyId": "string","vouchers": ["string"],"appliedCoupons": [[]],"regularPrice": 10.5,"realPrice": 10.5,"currency": "EUR","innerFeeComponents": [],"innerCharge": 10.5,"outerFeeComponents": [],"outerCharge": 10.5,"tickets": [{"type": "ticket","_id": "string","name": "string","amount": 1,"netPrice": 10.5,"price": 10.5,"taxRate": 10.5,"triggeredBy": "string","bundleInfo": {"bundleId": "string","componentId": "string","optionId": "string"},"ticketTypeId": "string","categoryRef": "string","seatingInfo": {"_id": "string","_type": 6,"categoryId": "string","statusId": "string","name": "string","seatType": "handicapped","sectionName": "string","groupName": "string","rowName": "string","seatName": "string","gate": "string"},"asHardTicket": true,"triggeredAutomations": true,"meta": {}}],"products": [{"type": "product","_id": "string","name": "string","amount": 1,"netPrice": 10.5,"price": 10.5,"taxRate": 10.5,"triggeredBy": "string","bundleInfo": {"bundleId": "string","componentId": "string","optionId": "string"},"productVariantId": "string","isFulfillable": true}],"additionalItems": [],"extraFields": {},"expiresAt": "2030-01-23T23:00:00.123Z","secret": "string","transactionId": "string","outcome": {"checkoutId": "string"},"restrictedCompletion": ["POS"],"cancellationStrategy": "cancellationAllowed","seatingReservationToken": "string","salesChannelId": "string","meta": {},"history": [],"deposit": {"amount": 10.5,"paymentId": "string","balanceTransactionId": "string"},"createdAt": "2030-01-23T23:00:00.123Z","updatedAt": "2030-01-23T23:00:00.123Z","__v": 1}
Create a PurchaseIntent
Payload
The amount of the cart item.
The single piece price of the cart item.
The ID of the ticket type of the cart item.
Optional Attributes
Collapse allOptional Attributes
Collapse all{"customerId": "string","eventId": "string","shopId": "string","tickets": [{"type": "ticket","_id": "string","name": "string","amount": 1,"netPrice": 10.5,"price": 10.5,"taxRate": 10.5,"triggeredBy": "string","bundleInfo": {"bundleId": "string","componentId": "string","optionId": "string"},"ticketTypeId": "string","categoryRef": "string","seatingInfo": {"_id": "string","_type": 6,"categoryId": "string","statusId": "string","name": "string","seatType": "handicapped","sectionName": "string","groupName": "string","rowName": "string","seatName": "string","gate": "string"},"asHardTicket": true,"triggeredAutomations": true,"meta": {}}],"products": [{"type": "product","_id": "string","name": "string","amount": 1,"netPrice": 10.5,"price": 10.5,"taxRate": 10.5,"triggeredBy": "string","bundleInfo": {"bundleId": "string","componentId": "string","optionId": "string"},"productVariantId": "string","isFulfillable": true}],"extraFields": {},"seatingReservationToken": "string","meta": {},"strategyId": "string","salesChannelId": "string","coupons": ["string"],"sendMail": true}
{"_id": "string","status": "new","approvalStatus": "awaiting","rejectionReason": "string","company": "string","firstname": "string","lastname": "string","name": "string","customerId": "string","address": {"street": "string","line2": "string","postal": "string","city": "string","country": "string","state": "string"},"deliveryAddress": {"street": "string","line2": "string","postal": "string","city": "string","country": "string","state": "string","name": "string"},"sellerId": "string","eventId": "string","shopId": "string","strategyId": "string","vouchers": ["string"],"appliedCoupons": [[]],"regularPrice": 10.5,"realPrice": 10.5,"currency": "EUR","innerFeeComponents": [],"innerCharge": 10.5,"outerFeeComponents": [],"outerCharge": 10.5,"tickets": [{"type": "ticket","_id": "string","name": "string","amount": 1,"netPrice": 10.5,"price": 10.5,"taxRate": 10.5,"triggeredBy": "string","bundleInfo": {"bundleId": "string","componentId": "string","optionId": "string"},"ticketTypeId": "string","categoryRef": "string","seatingInfo": {"_id": "string","_type": 6,"categoryId": "string","statusId": "string","name": "string","seatType": "handicapped","sectionName": "string","groupName": "string","rowName": "string","seatName": "string","gate": "string"},"asHardTicket": true,"triggeredAutomations": true,"meta": {}}],"products": [{"type": "product","_id": "string","name": "string","amount": 1,"netPrice": 10.5,"price": 10.5,"taxRate": 10.5,"triggeredBy": "string","bundleInfo": {"bundleId": "string","componentId": "string","optionId": "string"},"productVariantId": "string","isFulfillable": true}],"additionalItems": [],"extraFields": {},"expiresAt": "2030-01-23T23:00:00.123Z","secret": "string","transactionId": "string","outcome": {"checkoutId": "string"},"restrictedCompletion": ["POS"],"cancellationStrategy": "cancellationAllowed","seatingReservationToken": "string","salesChannelId": "string","meta": {},"history": [],"deposit": {"amount": 10.5,"paymentId": "string","balanceTransactionId": "string"},"createdAt": "2030-01-23T23:00:00.123Z","updatedAt": "2030-01-23T23:00:00.123Z","__v": 1}
{"_id": "string","status": "new","approvalStatus": "awaiting","rejectionReason": "string","company": "string","firstname": "string","lastname": "string","name": "string","customerId": "string","address": {"street": "string","line2": "string","postal": "string","city": "string","country": "string","state": "string"},"deliveryAddress": {"street": "string","line2": "string","postal": "string","city": "string","country": "string","state": "string","name": "string"},"sellerId": "string","eventId": "string","shopId": "string","strategyId": "string","vouchers": ["string"],"appliedCoupons": [[]],"regularPrice": 10.5,"realPrice": 10.5,"currency": "EUR","innerFeeComponents": [],"innerCharge": 10.5,"outerFeeComponents": [],"outerCharge": 10.5,"tickets": [{"type": "ticket","_id": "string","name": "string","amount": 1,"netPrice": 10.5,"price": 10.5,"taxRate": 10.5,"triggeredBy": "string","bundleInfo": {"bundleId": "string","componentId": "string","optionId": "string"},"ticketTypeId": "string","categoryRef": "string","seatingInfo": {"_id": "string","_type": 6,"categoryId": "string","statusId": "string","name": "string","seatType": "handicapped","sectionName": "string","groupName": "string","rowName": "string","seatName": "string","gate": "string"},"asHardTicket": true,"triggeredAutomations": true,"meta": {}}],"products": [{"type": "product","_id": "string","name": "string","amount": 1,"netPrice": 10.5,"price": 10.5,"taxRate": 10.5,"triggeredBy": "string","bundleInfo": {"bundleId": "string","componentId": "string","optionId": "string"},"productVariantId": "string","isFulfillable": true}],"additionalItems": [],"extraFields": {},"expiresAt": "2030-01-23T23:00:00.123Z","secret": "string","transactionId": "string","outcome": {"checkoutId": "string"},"restrictedCompletion": ["POS"],"cancellationStrategy": "cancellationAllowed","seatingReservationToken": "string","salesChannelId": "string","meta": {},"history": [],"deposit": {"amount": 10.5,"paymentId": "string","balanceTransactionId": "string"},"createdAt": "2030-01-23T23:00:00.123Z","updatedAt": "2030-01-23T23:00:00.123Z","__v": 1}
Get all PurchaseIntents
Query
The customer id to filter for
The status to filter for
The approval status to filter for
The name to filter for
The event id to filter for
The secret shop id to filter for
An ISO timestamp from which to filter for
An ISO timestamp until which to filter for
A limit on the number of objects to be returned. Can range between 1 and 1000.
The number of objects to skip for the requested result
{"rows": [{"_id": "string","status": "new","approvalStatus": "awaiting","rejectionReason": "string","company": "string","firstname": "string","lastname": "string","name": "string","customerId": "string","address": {"street": "string","line2": "string","postal": "string","city": "string","country": "string","state": "string"},"deliveryAddress": {"street": "string","line2": "string","postal": "string","city": "string","country": "string","state": "string","name": "string"},"sellerId": "string","eventId": "string","shopId": "string","strategyId": "string","vouchers": ["string"],"appliedCoupons": [[]],"regularPrice": 10.5,"realPrice": 10.5,"currency": "EUR","innerFeeComponents": [],"innerCharge": 10.5,"outerFeeComponents": [],"outerCharge": 10.5,"tickets": [{"type": "ticket","_id": "string","name": "string","amount": 1,"netPrice": 10.5,"price": 10.5,"taxRate": 10.5,"triggeredBy": "string","bundleInfo": {"bundleId": "string","componentId": "string","optionId": "string"},"ticketTypeId": "string","categoryRef": "string","seatingInfo": {"_id": "string","_type": 6,"categoryId": "string","statusId": "string","name": "string","seatType": "handicapped","sectionName": "string","groupName": "string","rowName": "string","seatName": "string","gate": "string"},"asHardTicket": true,"triggeredAutomations": true,"meta": {}}],"products": [{"type": "product","_id": "string","name": "string","amount": 1,"netPrice": 10.5,"price": 10.5,"taxRate": 10.5,"triggeredBy": "string","bundleInfo": {"bundleId": "string","componentId": "string","optionId": "string"},"productVariantId": "string","isFulfillable": true}],"additionalItems": [],"extraFields": {},"expiresAt": "2030-01-23T23:00:00.123Z","secret": "string","transactionId": "string","outcome": {"checkoutId": "string"},"restrictedCompletion": ["POS"],"cancellationStrategy": "cancellationAllowed","seatingReservationToken": "string","salesChannelId": "string","meta": {},"history": [],"deposit": {"amount": 10.5,"paymentId": "string","balanceTransactionId": "string"},"createdAt": "2030-01-23T23:00:00.123Z","updatedAt": "2030-01-23T23:00:00.123Z","__v": 1}],"total": 1}
Set approval status
Payload
Optional Attributes
Collapse all{"approvalStatus": "awaiting","rejectionReason": "string"}
{"_id": "string","status": "new","approvalStatus": "awaiting","rejectionReason": "string","company": "string","firstname": "string","lastname": "string","name": "string","customerId": "string","address": {"street": "string","line2": "string","postal": "string","city": "string","country": "string","state": "string"},"deliveryAddress": {"street": "string","line2": "string","postal": "string","city": "string","country": "string","state": "string","name": "string"},"sellerId": "string","eventId": "string","shopId": "string","strategyId": "string","vouchers": ["string"],"appliedCoupons": [[]],"regularPrice": 10.5,"realPrice": 10.5,"currency": "EUR","innerFeeComponents": [],"innerCharge": 10.5,"outerFeeComponents": [],"outerCharge": 10.5,"tickets": [{"type": "ticket","_id": "string","name": "string","amount": 1,"netPrice": 10.5,"price": 10.5,"taxRate": 10.5,"triggeredBy": "string","bundleInfo": {"bundleId": "string","componentId": "string","optionId": "string"},"ticketTypeId": "string","categoryRef": "string","seatingInfo": {"_id": "string","_type": 6,"categoryId": "string","statusId": "string","name": "string","seatType": "handicapped","sectionName": "string","groupName": "string","rowName": "string","seatName": "string","gate": "string"},"asHardTicket": true,"triggeredAutomations": true,"meta": {}}],"products": [{"type": "product","_id": "string","name": "string","amount": 1,"netPrice": 10.5,"price": 10.5,"taxRate": 10.5,"triggeredBy": "string","bundleInfo": {"bundleId": "string","componentId": "string","optionId": "string"},"productVariantId": "string","isFulfillable": true}],"additionalItems": [],"extraFields": {},"expiresAt": "2030-01-23T23:00:00.123Z","secret": "string","transactionId": "string","outcome": {"checkoutId": "string"},"restrictedCompletion": ["POS"],"cancellationStrategy": "cancellationAllowed","seatingReservationToken": "string","salesChannelId": "string","meta": {},"history": [],"deposit": {"amount": 10.5,"paymentId": "string","balanceTransactionId": "string"},"createdAt": "2030-01-23T23:00:00.123Z","updatedAt": "2030-01-23T23:00:00.123Z","__v": 1}
Cancel a purchase intent
Query
{"_id": "string","status": "new","approvalStatus": "awaiting","rejectionReason": "string","company": "string","firstname": "string","lastname": "string","name": "string","customerId": "string","address": {"street": "string","line2": "string","postal": "string","city": "string","country": "string","state": "string"},"deliveryAddress": {"street": "string","line2": "string","postal": "string","city": "string","country": "string","state": "string","name": "string"},"sellerId": "string","eventId": "string","shopId": "string","strategyId": "string","vouchers": ["string"],"appliedCoupons": [[]],"regularPrice": 10.5,"realPrice": 10.5,"currency": "EUR","innerFeeComponents": [],"innerCharge": 10.5,"outerFeeComponents": [],"outerCharge": 10.5,"tickets": [{"type": "ticket","_id": "string","name": "string","amount": 1,"netPrice": 10.5,"price": 10.5,"taxRate": 10.5,"triggeredBy": "string","bundleInfo": {"bundleId": "string","componentId": "string","optionId": "string"},"ticketTypeId": "string","categoryRef": "string","seatingInfo": {"_id": "string","_type": 6,"categoryId": "string","statusId": "string","name": "string","seatType": "handicapped","sectionName": "string","groupName": "string","rowName": "string","seatName": "string","gate": "string"},"asHardTicket": true,"triggeredAutomations": true,"meta": {}}],"products": [{"type": "product","_id": "string","name": "string","amount": 1,"netPrice": 10.5,"price": 10.5,"taxRate": 10.5,"triggeredBy": "string","bundleInfo": {"bundleId": "string","componentId": "string","optionId": "string"},"productVariantId": "string","isFulfillable": true}],"additionalItems": [],"extraFields": {},"expiresAt": "2030-01-23T23:00:00.123Z","secret": "string","transactionId": "string","outcome": {"checkoutId": "string"},"restrictedCompletion": ["POS"],"cancellationStrategy": "cancellationAllowed","seatingReservationToken": "string","salesChannelId": "string","meta": {},"history": [],"deposit": {"amount": 10.5,"paymentId": "string","balanceTransactionId": "string"},"createdAt": "2030-01-23T23:00:00.123Z","updatedAt": "2030-01-23T23:00:00.123Z","__v": 1}
The Purchase Intent Strategy object
Attributes
Name of the strategy
Whether the availability of the requested tickets should be checked when creating a purchase intent
Optional Attributes
Collapse allPurchase intent needs approval of the seller before considered valid
The ID of the seller of the strategy
Optional Attributes
Collapse all{"name": "string","availabilityStrategy": {"createTickets": true,"checkAvailability": true,"createValidTickets": true},"expirationStrategy": {"hoursBeforeEvent": 10.5,"hoursAfterCreation": 10.5,"expiresAt": "2030-01-23T23:00:00.123Z"},"deposit": {"method": "string","value": 10.5},"needsApproval": true,"restrictedCompletion": ["POS"],"cancellationStrategy": "cancellationAllowed","sellerId": "string","createdAt": "2030-01-23T23:00:00.123Z","updatedAt": "2030-01-23T23:00:00.123Z"}
Create PurchaseIntent Strategies
Payload
Name of the strategy
Whether the availability of the requested tickets should be checked when creating a purchase intent
Optional Attributes
Collapse allPurchase intent needs approval of the seller before considered valid
Optional Attributes
Collapse all{"name": "string","availabilityStrategy": {"createTickets": true,"checkAvailability": true,"createValidTickets": true},"expirationStrategy": {"hoursBeforeEvent": 10.5,"hoursAfterCreation": 10.5,"expiresAt": "2030-01-23T23:00:00.123Z"},"needsApproval": true,"deposit": {"method": "string","value": 10.5},"restrictedCompletion": ["POS"],"cancellationStrategy": "cancellationAllowed"}
{"name": "string","availabilityStrategy": {"createTickets": true,"checkAvailability": true,"createValidTickets": true},"expirationStrategy": {"hoursBeforeEvent": 10.5,"hoursAfterCreation": 10.5,"expiresAt": "2030-01-23T23:00:00.123Z"},"deposit": {"method": "string","value": 10.5},"needsApproval": true,"restrictedCompletion": ["POS"],"cancellationStrategy": "cancellationAllowed","sellerId": "string","createdAt": "2030-01-23T23:00:00.123Z","updatedAt": "2030-01-23T23:00:00.123Z"}
Get a PurchaseIntent Strategy
Query
{"name": "string","availabilityStrategy": {"createTickets": true,"checkAvailability": true,"createValidTickets": true},"expirationStrategy": {"hoursBeforeEvent": 10.5,"hoursAfterCreation": 10.5,"expiresAt": "2030-01-23T23:00:00.123Z"},"deposit": {"method": "string","value": 10.5},"needsApproval": true,"restrictedCompletion": ["POS"],"cancellationStrategy": "cancellationAllowed","sellerId": "string","createdAt": "2030-01-23T23:00:00.123Z","updatedAt": "2030-01-23T23:00:00.123Z"}
Update a PurchaseIntent Strategy
Payload
Optional Attributes
Collapse all{"name": "string","availabilityStrategy": {"createTickets": true,"checkAvailability": true,"createValidTickets": true},"expirationStrategy": {"hoursBeforeEvent": 10.5,"hoursAfterCreation": 10.5,"expiresAt": "2030-01-23T23:00:00.123Z"},"needsApproval": true,"deposit": {"method": "string","value": 10.5},"restrictedCompletion": ["POS"],"cancellationStrategy": "cancellationAllowed"}
{"name": "string","availabilityStrategy": {"createTickets": true,"checkAvailability": true,"createValidTickets": true},"expirationStrategy": {"hoursBeforeEvent": 10.5,"hoursAfterCreation": 10.5,"expiresAt": "2030-01-23T23:00:00.123Z"},"deposit": {"method": "string","value": 10.5},"needsApproval": true,"restrictedCompletion": ["POS"],"cancellationStrategy": "cancellationAllowed","sellerId": "string","createdAt": "2030-01-23T23:00:00.123Z","updatedAt": "2030-01-23T23:00:00.123Z"}