Purchase Intents

Endpoints

The Purchase Intent object

Attributes

_id
Required
string
status
Required
string
newcompletecanceled
approvalStatus
Required
string
awaitingapprovedrejected
sellerId
Required
string
eventId
Required
string
regularPrice
Required
number float
realPrice
Required
number float
currency
Required
string
EURUSDGBPAUDCHFTHBILSCOPMXNDKKNOKSEKQARCADISKGTQINRDOPSGDPLNSARTTDZARKYDHKDCZKKRWJPYNZDAEDMADTWD
innerCharge
Required
number float
outerCharge
Required
number float
tickets
Required
array
tickets[].amount
Required
integer

The amount of the cart item.

tickets[].price
Required
number float

The single piece price of the cart item.

tickets[].ticketTypeId
Required
string

The ID of the ticket type of the cart item.

Optional Attributes

Collapse all
secret
Required
string
createdAt
Required
string date-time
updatedAt
Required
string date-time

Optional Attributes

Collapse all
rejectionReason
Optional
string
company
Optional
string
firstname
Optional
string
lastname
Optional
string
name
Optional
string
email
Optional
string email
customerId
Optional
string
shopId
Optional
string
strategyId
Optional
string
vouchers
Optional
array<string>
extraFields
Optional
object
expiresAt
Optional
string date-time
transactionId
Optional
string
seatingReservationToken
Optional
string
salesChannelId
Optional
string
__v
Optional
integer
Was this section helpful?
YesNo
Example
{
"_id": "string",
"status": "new",
"approvalStatus": "awaiting",
"rejectionReason": "string",
"company": "string",
"firstname": "string",
"lastname": "string",
"name": "string",
"email": "[email protected]",
"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

eventId
Required
string
tickets
Required
array
tickets[].amount
Required
integer

The amount of the cart item.

tickets[].price
Required
number float

The single piece price of the cart item.

tickets[].ticketTypeId
Required
string

The ID of the ticket type of the cart item.

Optional Attributes

Collapse all

Optional Attributes

Collapse all
customerId
Optional
string
shopId
Optional
string
extraFields
Optional
object
seatingReservationToken
Optional
string
strategyId
Optional
string
salesChannelId
Optional
string
coupons
Optional
array<string>
sendMail
Optional
boolean
Responses
201
Created
400
Bad Request
401
Unauthorized

Was this section helpful?

YesNo
post
/api/purchaseintents
{
"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
}
Response
application/json
{
"_id": "string",
"status": "new",
"approvalStatus": "awaiting",
"rejectionReason": "string",
"company": "string",
"firstname": "string",
"lastname": "string",
"name": "string",
"email": "[email protected]",
"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 a PurchaseIntent

Query

No supported query parameters
Responses
200
OK
400
Bad Request
401
Unauthorized

Was this section helpful?

YesNo
get
/api/purchaseintents/{id}
Response
application/json
{
"_id": "string",
"status": "new",
"approvalStatus": "awaiting",
"rejectionReason": "string",
"company": "string",
"firstname": "string",
"lastname": "string",
"name": "string",
"email": "[email protected]",
"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

customerId
Optional
string

The customer id to filter for

status
Optional
string

The status to filter for

approvalStatus
Optional
string

The approval status to filter for

name
Optional
string

The name to filter for

eventId
Optional
string

The event id to filter for

shopId
Optional
string

The secret shop id to filter for

createdAtStart
Optional
string

An ISO timestamp from which to filter for

createdAtEnd
Optional
string

An ISO timestamp until which to filter for

top
Optional
integer

A limit on the number of objects to be returned. Can range between 1 and 1000.

skip
Optional
integer

The number of objects to skip for the requested result

Responses
200
OK
400
Bad Request
401
Unauthorized

Was this section helpful?

YesNo
get
/api/purchaseintents
Response
application/json
{
"rows": [
{
"_id": "string",
"status": "new",
"approvalStatus": "awaiting",
"rejectionReason": "string",
"company": "string",
"firstname": "string",
"lastname": "string",
"name": "string",
"email": "[email protected]",
"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
rejectionReason
Optional
string
Responses
200
OK
400
Bad Request
401
Unauthorized

Was this section helpful?

YesNo
post
/api/purchaseintents/{id}/approval
{
"approvalStatus": "awaiting",
"rejectionReason": "string"
}
Response
application/json
{
"_id": "string",
"status": "new",
"approvalStatus": "awaiting",
"rejectionReason": "string",
"company": "string",
"firstname": "string",
"lastname": "string",
"name": "string",
"email": "[email protected]",
"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

No supported query parameters
Responses
200
OK
400
Bad Request
401
Unauthorized

Was this section helpful?

YesNo
post
/api/purchaseintents/{id}/cancel
Response
application/json
{
"_id": "string",
"status": "new",
"approvalStatus": "awaiting",
"rejectionReason": "string",
"company": "string",
"firstname": "string",
"lastname": "string",
"name": "string",
"email": "[email protected]",
"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
Required
string

Name of the strategy

availabilityStrategy
Required
One of
Only one of the following types
availabilityStrategy.createTickets
Required
boolean
availabilityStrategy.checkAvailability
Required
boolean

Whether the availability of the requested tickets should be checked when creating a purchase intent

availabilityStrategy.withoutSeats
Required
boolean
availabilityStrategy.createValidTickets
Required
boolean
expirationStrategy
Required
object

Optional Attributes

Collapse all
needsApproval
Required
boolean

Purchase intent needs approval of the seller before considered valid

sellerId
Required
string

The ID of the seller of the strategy

Optional Attributes

Collapse all
Was this section helpful?
YesNo
Example
{
"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
Required
string

Name of the strategy

availabilityStrategy
Required
One of
Only one of the following types
availabilityStrategy.createTickets
Required
boolean
availabilityStrategy.checkAvailability
Required
boolean

Whether the availability of the requested tickets should be checked when creating a purchase intent

availabilityStrategy.withoutSeats
Required
boolean
availabilityStrategy.createValidTickets
Required
boolean
expirationStrategy
Required
object

Optional Attributes

Collapse all
needsApproval
Required
boolean

Purchase intent needs approval of the seller before considered valid

Optional Attributes

Collapse all
Responses
201
Created
400
Bad Request
401
Unauthorized

Was this section helpful?

YesNo
post
/api/purchaseintents/strategies
{
"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"
}
Response
application/json
{
"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

No supported query parameters
Responses
200
OK
400
Bad Request
401
Unauthorized

Was this section helpful?

YesNo
get
/api/purchaseintents/strategies/{id}
Response
application/json
{
"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
Responses
200
OK
400
Bad Request
401
Unauthorized

Was this section helpful?

YesNo
put
/api/purchaseintents/strategies/{id}
{
"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"
}
Response
application/json
{
"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"
}