Salta ai contenuti

Get commerce session with items

GET
/v2/commerce/sessions/{sessionId}
curl --request GET \
--url https://api-crm-staging.divinea.com/api/v2/commerce/sessions/example \
--header 'APIKey: <APIKey>'
sessionId
required
string format: uuid

SessionId

OK

Media type*/*
CommerceSessionDTO
object
cartMode
string
channel
string
contacts
Array<object>
Map«string,object»
object
key
additional properties
object
createdAt
string format: date-time
customName
string
discounts
object
guests
integer format: int32
id
string format: uuid
items
Array<object>
CommerceSessionItemDTO
object
attributes
object
bookingCompId
string
component
string
editable
boolean
experienceId
string format: uuid
id
string format: uuid
itemType
string
lineIndex
integer format: int32
locked
boolean
name
string
productId
string
qty
integer format: int32
reservationId
string format: uuid
unitPriceCents
integer format: int64
vatPercent
integer format: int32
metadata
object
pointOfSaleId
string format: uuid
roomId
string format: uuid
sourceExperienceId
string format: uuid
sourceReservationId
string format: uuid
status
string
tableId
string format: uuid
updatedAt
string format: date-time
version
integer format: int32
wineryId
string format: uuid