Information about an Event or Course created in Shopify Bookings is available via the bookings.metafields
object on the corresponding Shopify Product's Variant object.
Copy {
"bookable_id":"4d4d9b8f-18fa-43a1-b132-dfefe9202adc",
"bookable_type":"Course",
"sessions":[
{
"starts_at":"2021-05-20T22:30:00.000Z",
"ends_at":"2021-05-21T01:30:00.000Z",
"resources":[
{
"given_name":"Nina",
"family_name":"Simone",
"formatted_name":"Nina Simone",
"avatar":"https://via.placeholder.com/150"
}
]
},
{
"starts_at":"2021-05-13T22:30:00.000Z",
"ends_at":"2021-05-14T01:30:00.000Z",
"resources":[
{
"given_name":"Nina",
"family_name":"Simone",
"formatted_name":"Nina Simone",
"avatar":"https://via.placeholder.com/150"
}
]
},
{
"starts_at":"2021-05-06T22:30:00.000Z",
"ends_at":"2021-05-07T01:30:00.000Z",
"resources":[
{
"given_name":"Nina",
"family_name":"Simone",
"formatted_name":"Nina Simone",
"avatar":"https://via.placeholder.com/150"
}
]
},
]
}
Copy {
"bookable_id":"4d4d9b8f-18fa-43a1-b132-dfefe9202adc",
"bookable_type":"Event",
"ends_at":"2021-05-27T17:15:00.000Z",
"resources":[
{
"given_name":"Carly",
"family_name":"Simon",
"formatted_name":"Carly Simon",
"avatar":"https://via.placeholder.com/150"
},
],
"starts_at":"2021-05-27T16:15:00.000Z"
}