@getoccasion/sdk
Version:
An SDK library that enables access to Occasion's application, providing a rich DSL for creating and managing bookings.
34 lines (33 loc) • 672 B
JSON
{
"data": {
"id": "1",
"type": "products",
"attributes": {
"attendee_questions": [],
"title": "A product title",
"description": "A product description",
"first_time_slot_starts_at": "2018-05-01T15:00:00.000-06:00",
"requires_time_slot_selection": true
},
"relationships": {
"merchant": {
"data": {
"id": "1",
"type": "merchants"
}
}
},
"links": {
"self": "https://example.com/api/v1/products/1/"
}
},
"included": [
{
"id": "1",
"type": "merchants",
"attributes": {
"time_zone": "America/Los_Angeles"
}
}
]
}