@getoccasion/sdk
Version:
An SDK library that enables access to Occasion's application, providing a rich DSL for creating and managing bookings.
41 lines (40 loc) • 981 B
JSON
{
"data": {
"id": "1kbsdf",
"type": "products",
"attributes": {
"attendee_questions": [],
"title": "A product title",
"description": "A product description",
"requires_time_slot_selection": false,
"sells_sessions": true
},
"relationships": {
"questions": {
"links": {
"self": "https://example.com/api/v1/products/1/relationships/questions/",
"related": "https://example.com/api/v1/products/1/questions/"
}
},
"orders": {
"data": [
{
"id": 1,
"type": "orders"
},
{
"id": 2,
"type": "orders"
}
],
"links": {
"self": "https://example.com/api/v1/products/1/relationships/orders/",
"related": "https://example.com/api/v1/products/1/orders/"
}
}
},
"links": {
"self": "https://example.com/api/v1/products/1/"
}
}
}