Products
Stay-to-Play Confirm Event
Confirm event details for a stay-to-play event
Authorization
basic auth AuthorizationBasic <token>
Authorization header with value of Basic <auth string> where the auth string value
is a base64 encoded string of <client id>:<client secret>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
*RoomBlockEvent
name*string
Length
1 <= lengthtype*StayToPlayEventType
Value in
- "INDOOR"
- "OUTDOOR"
address*string
Length
1 <= lengthcity*string
Length
1 <= lengthstate*string
2-digit state code
Length
1 <= lengthpostal_code*string
Length
1 <= lengthcountry*Country
Value in
- "US"
- "CA"
- "AU"
start_date*string
Format
dateend_date*string
Format
datepartner_id?string
enabled?boolean
Response Body
application/json
curl -X POST "https://example.com/v1/products/stay-to-play/events" \ -H "Content-Type: application/json" \ -d '{ "event": { "name": "string", "type": "INDOOR", "address": "string", "city": "string", "state": "MN", "postal_code": "string", "country": "US", "start_date": "2019-08-24", "end_date": "2019-08-24" } }'{ "event_id": "a7a26ff2-e851-45b6-9634-d595f45458b7", "enabled": true, "rate": 0.1}