- eventticketclass
- eventticketobject
- /walletobjects/v1/eventTicketObjectGET
- /walletobjects/v1/eventTicketObjectPOST
- /walletobjects/v1/eventTicketObject/{resourceId}GET
- /walletobjects/v1/eventTicketObject/{resourceId}PATCH
- /walletobjects/v1/eventTicketObject/{resourceId}PUT
- /walletobjects/v1/eventTicketObject/{resourceId}/addMessagePOST
- /walletobjects/v1/eventTicketObject/{resourceId}/modifyLinkedOfferObjectsPOST
- flightclass
- flightobject
- giftcardclass
- giftcardobject
- issuer
- jwt
- loyaltyclass
- loyaltyobject
- /walletobjects/v1/loyaltyObject
- /walletobjects/v1/loyaltyObject
- /walletobjects/v1/loyaltyObject/{resourceId}
- /walletobjects/v1/loyaltyObject/{resourceId}
- /walletobjects/v1/loyaltyObject/{resourceId}
- /walletobjects/v1/loyaltyObject/{resourceId}/addMessage
- /walletobjects/v1/loyaltyObject/{resourceId}/modifyLinkedOfferObjects
- offerclass
- offerobject
- permissions
- smarttap
- transitclass
- transitobject
- valuablesclasses
- walletobjects
/walletobjects/v1/flightObject/{resourceId}
PUT
/walletobjects/v1/flightObject/{resourceId}
flightobject
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://walletobjects.googleapis.com//walletobjects/v1/flightObject/' \
--header 'Content-Type: application/json' \
--data-raw ''
Response Response Example
Request
Path Params
resourceId
string
required
Body Params application/json
appLinkData
object (AppLinkData)
optional
androidAppLinkInfo
object (AppLinkDataAppLinkInfo)
optional
iosAppLinkInfo
object (AppLinkDataAppLinkInfo)
optional
webAppLinkInfo
object (AppLinkDataAppLinkInfo)
optional
barcode
object (Barcode)
optional
alternateText
string
optional
kind
string
optional
"walletobjects#barcode"
.renderEncoding
enum<string>
optional
Allowed values:
RENDER_ENCODING_UNSPECIFIEDUTF_8
showCodeText
object (LocalizedString)
optional
type
enum<string>
optional
Allowed values:
BARCODE_TYPE_UNSPECIFIEDAZTECaztecCODE_39code39CODE_128code128CODABARcodabarDATA_MATRIXdataMatrixEAN_8ean8EAN_13ean13EAN13ITF_14itf14PDF_417pdf417PDF417QR_CODEqrCodeqrcodeUPC_AupcATEXT_ONLYtextOnly
value
string
optional
boardingAndSeatingInfo
object (BoardingAndSeatingInfo)
optional
boardingDoor
enum<string>
optional
seatClass
. In those cases boardingDoor
should not be set.Allowed values:
BOARDING_DOOR_UNSPECIFIEDFRONTfrontBACKback
boardingGroup
string
optional
boardingPolicy
field in the flightClass
referenced by this object.boardingPosition
string
optional
boardingPrivilegeImage
object (Image)
optional
kind
string
optional
"walletobjects#boardingAndSeatingInfo"
.seatAssignment
object (LocalizedString)
optional
seatNumber
. eg: "assigned at gate"seatClass
string
optional
seatNumber
string
optional
seatAssignment
instead. eg: "25A"sequenceNumber
string
optional
classId
string
optional
classReference
object (FlightClass)
optional
allowMultipleUsersPerObject
boolean
optional
multipleDevicesAndHoldersAllowedStatus
instead.boardingAndSeatingPolicy
object (BoardingAndSeatingPolicy)
optional
callbackOptions
object (CallbackOptions)
optional
classTemplateInfo
object (ClassTemplateInfo)
optional
countryCode
string
optional
destination
object (AirportInfo)
optional
enableSmartTap
boolean
optional
flightHeader
object (FlightHeader)
optional
flightStatus
enum<string>
optional
Allowed values:
FLIGHT_STATUS_UNSPECIFIEDSCHEDULEDscheduledACTIVEactiveLANDEDlandedCANCELLEDcancelledREDIRECTEDredirectedDIVERTEDdiverted
heroImage
object (Image)
optional
hexBackgroundColor
string
optional
#ffcc00
. You can also use the shorthand version of the RGB triplet which is #rgb, such as #fc0
.homepageUri
object (Uri)
optional
id
string
optional
imageModulesData
array[object (ImageModuleData) {2}]
optional
infoModuleData
object (InfoModuleData)
optional
issuerName
string
optional
kind
string
optional
"walletobjects#flightClass"
.languageOverride
string
optional
linksModuleData
object (LinksModuleData)
optional
localBoardingDateTime
string
optional
2027-03-05T06:30:00
This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources.localEstimatedOrActualArrivalDateTime
string
optional
2027-03-05T06:30:00
This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources.localEstimatedOrActualDepartureDateTime
string
optional
2027-03-05T06:30:00
This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources.localGateClosingDateTime
string
optional
2027-03-05T06:30:00
This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport.localScheduledArrivalDateTime
string
optional
localEstimatedOrActualArrivalDateTime
. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: 2027-03-05T06:30:00
This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources.localScheduledDepartureDateTime
string
optional
localEstimatedOrActualDepartureDateTime
. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: 2027-03-05T06:30:00
This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport.localizedIssuerName
object (LocalizedString)
optional
locations
array[object (LatLongPoint) {3}]
optional
messages
array[object (Message) {8}]
optional
multipleDevicesAndHoldersAllowedStatus
enum<string>
optional
Allowed values:
STATUS_UNSPECIFIEDMULTIPLE_HOLDERSmultipleHoldersONE_USER_ALL_DEVICESoneUserAllDevicesONE_USER_ONE_DEVICEoneUserOneDevice
origin
object (AirportInfo)
optional
redemptionIssuers
array[string <int64>]
optional
review
object (Review)
optional
approved
or rejected
.reviewStatus
enum<string>
optional
draft
or underReview
using the insert, patch, or update API calls. Once the review state is changed from draft
it may not be changed back to draft
. You should keep this field to draft
when the class is under development. A draft
class cannot be used to create any object. You should set this field to underReview
when you believe the class is ready for use. The platform will automatically set this field to approved
and it can be immediately used to create or migrate objects. When updating an already approved
class you should keep setting this field to underReview
.Allowed values:
REVIEW_STATUS_UNSPECIFIEDUNDER_REVIEWunderReviewAPPROVEDapprovedREJECTEDrejectedDRAFTdraft
textModulesData
array[object (TextModuleData) {5}]
optional
version
string <int64>
optional
wordMark
object (Image)
optional
disableExpirationNotification
boolean
optional
messages
field, expiration notifications to the user will be suppressed. By default, this field is set to false. Currently, this can only be set for Flights.hasLinkedDevice
boolean
optional
hasUsers
boolean
optional
heroImage
object (Image)
optional
hexBackgroundColor
string
optional
#ffcc00
. You can also use the shorthand version of the RGB triplet which is #rgb, such as #fc0
.id
string
optional
imageModulesData
array[object (ImageModuleData) {2}]
optional
id
string
optional
mainImage
object (Image)
optional
infoModuleData
object (InfoModuleData)
optional
kind
string
optional
"walletobjects#flightObject"
.linksModuleData
object (LinksModuleData)
optional
locations
array[object (LatLongPoint) {3}]
optional
kind
string
optional
"walletobjects#latLongPoint"
.latitude
number <double>
optional
longitude
number <double>
optional
messages
array[object (Message) {8}]
optional
body
string
optional
displayInterval
object (TimeInterval)
optional
startTime
and endTime
for each message. A message is displayed immediately after a Wallet Object is inserted unless a startTime
is set. The message will appear in a list of messages indefinitely if endTime
is not provided.header
string
optional
id
string
optional
kind
string
optional
"walletobjects#walletObjectMessage"
.localizedBody
object (LocalizedString)
optional
localizedHeader
object (LocalizedString)
optional
messageType
enum<string>
optional
Allowed values:
MESSAGE_TYPE_UNSPECIFIEDTEXTtextEXPIRATION_NOTIFICATIONexpirationNotification
passengerName
string
optional
reservationInfo
object (ReservationInfo)
optional
confirmationCode
string
optional
eticketNumber
string
optional
frequentFlyerInfo
object (FrequentFlyerInfo)
optional
kind
string
optional
"walletobjects#reservationInfo"
.securityProgramLogo
object (Image)
optional
smartTapRedemptionValue
string
optional
state
enum<string>
optional
inactive
object is moved to the "Expired passes" section.Allowed values:
STATE_UNSPECIFIEDACTIVEactiveCOMPLETEDcompletedEXPIREDexpiredINACTIVEinactive
textModulesData
array[object (TextModuleData) {5}]
optional
body
string
optional
header
string
optional
id
string
optional
localizedBody
object (LocalizedString)
optional
localizedHeader
object (LocalizedString)
optional
validTimeInterval
object (TimeInterval)
optional
active
and object can be used. An object's state will be changed to expired
when this time period has passed.version
string <int64>
optional
Examples
Responses
🟢200Successful response
application/json
Body
appLinkData
object (AppLinkData)
optional
androidAppLinkInfo
object (AppLinkDataAppLinkInfo)
optional
iosAppLinkInfo
object (AppLinkDataAppLinkInfo)
optional
webAppLinkInfo
object (AppLinkDataAppLinkInfo)
optional
barcode
object (Barcode)
optional
alternateText
string
optional
kind
string
optional
"walletobjects#barcode"
.renderEncoding
enum<string>
optional
Allowed values:
RENDER_ENCODING_UNSPECIFIEDUTF_8
showCodeText
object (LocalizedString)
optional
type
enum<string>
optional
Allowed values:
BARCODE_TYPE_UNSPECIFIEDAZTECaztecCODE_39code39CODE_128code128CODABARcodabarDATA_MATRIXdataMatrixEAN_8ean8EAN_13ean13EAN13ITF_14itf14PDF_417pdf417PDF417QR_CODEqrCodeqrcodeUPC_AupcATEXT_ONLYtextOnly
value
string
optional
boardingAndSeatingInfo
object (BoardingAndSeatingInfo)
optional
boardingDoor
enum<string>
optional
seatClass
. In those cases boardingDoor
should not be set.Allowed values:
BOARDING_DOOR_UNSPECIFIEDFRONTfrontBACKback
boardingGroup
string
optional
boardingPolicy
field in the flightClass
referenced by this object.boardingPosition
string
optional
boardingPrivilegeImage
object (Image)
optional
kind
string
optional
"walletobjects#boardingAndSeatingInfo"
.seatAssignment
object (LocalizedString)
optional
seatNumber
. eg: "assigned at gate"seatClass
string
optional
seatNumber
string
optional
seatAssignment
instead. eg: "25A"sequenceNumber
string
optional
classId
string
optional
classReference
object (FlightClass)
optional
allowMultipleUsersPerObject
boolean
optional
multipleDevicesAndHoldersAllowedStatus
instead.boardingAndSeatingPolicy
object (BoardingAndSeatingPolicy)
optional
callbackOptions
object (CallbackOptions)
optional
classTemplateInfo
object (ClassTemplateInfo)
optional
countryCode
string
optional
destination
object (AirportInfo)
optional
enableSmartTap
boolean
optional
flightHeader
object (FlightHeader)
optional
flightStatus
enum<string>
optional
Allowed values:
FLIGHT_STATUS_UNSPECIFIEDSCHEDULEDscheduledACTIVEactiveLANDEDlandedCANCELLEDcancelledREDIRECTEDredirectedDIVERTEDdiverted
heroImage
object (Image)
optional
hexBackgroundColor
string
optional
#ffcc00
. You can also use the shorthand version of the RGB triplet which is #rgb, such as #fc0
.homepageUri
object (Uri)
optional
id
string
optional
imageModulesData
array[object (ImageModuleData) {2}]
optional
infoModuleData
object (InfoModuleData)
optional
issuerName
string
optional
kind
string
optional
"walletobjects#flightClass"
.languageOverride
string
optional
linksModuleData
object (LinksModuleData)
optional
localBoardingDateTime
string
optional
2027-03-05T06:30:00
This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources.localEstimatedOrActualArrivalDateTime
string
optional
2027-03-05T06:30:00
This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources.localEstimatedOrActualDepartureDateTime
string
optional
2027-03-05T06:30:00
This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport. If this is not set, Google will set it based on data from other sources.localGateClosingDateTime
string
optional
2027-03-05T06:30:00
This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport.localScheduledArrivalDateTime
string
optional
localEstimatedOrActualArrivalDateTime
. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: 2027-03-05T06:30:00
This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on arrival airport. If this is not set, Google will set it based on data from other sources.localScheduledDepartureDateTime
string
optional
localEstimatedOrActualDepartureDateTime
. This is an ISO 8601 extended format date/time without an offset. Time may be specified up to millisecond precision. eg: 2027-03-05T06:30:00
This should be the local date/time at the airport (not a UTC time). Google will reject the request if UTC offset is provided. Time zones will be calculated by Google based on departure airport.localizedIssuerName
object (LocalizedString)
optional
locations
array[object (LatLongPoint) {3}]
optional
messages
array[object (Message) {8}]
optional
multipleDevicesAndHoldersAllowedStatus
enum<string>
optional
Allowed values:
STATUS_UNSPECIFIEDMULTIPLE_HOLDERSmultipleHoldersONE_USER_ALL_DEVICESoneUserAllDevicesONE_USER_ONE_DEVICEoneUserOneDevice
origin
object (AirportInfo)
optional
redemptionIssuers
array[string <int64>]
optional
review
object (Review)
optional
approved
or rejected
.reviewStatus
enum<string>
optional
draft
or underReview
using the insert, patch, or update API calls. Once the review state is changed from draft
it may not be changed back to draft
. You should keep this field to draft
when the class is under development. A draft
class cannot be used to create any object. You should set this field to underReview
when you believe the class is ready for use. The platform will automatically set this field to approved
and it can be immediately used to create or migrate objects. When updating an already approved
class you should keep setting this field to underReview
.Allowed values:
REVIEW_STATUS_UNSPECIFIEDUNDER_REVIEWunderReviewAPPROVEDapprovedREJECTEDrejectedDRAFTdraft
textModulesData
array[object (TextModuleData) {5}]
optional
version
string <int64>
optional
wordMark
object (Image)
optional
disableExpirationNotification
boolean
optional
messages
field, expiration notifications to the user will be suppressed. By default, this field is set to false. Currently, this can only be set for Flights.hasLinkedDevice
boolean
optional
hasUsers
boolean
optional
heroImage
object (Image)
optional
hexBackgroundColor
string
optional
#ffcc00
. You can also use the shorthand version of the RGB triplet which is #rgb, such as #fc0
.id
string
optional
imageModulesData
array[object (ImageModuleData) {2}]
optional
id
string
optional
mainImage
object (Image)
optional
infoModuleData
object (InfoModuleData)
optional
kind
string
optional
"walletobjects#flightObject"
.linksModuleData
object (LinksModuleData)
optional
locations
array[object (LatLongPoint) {3}]
optional
kind
string
optional
"walletobjects#latLongPoint"
.latitude
number <double>
optional
longitude
number <double>
optional
messages
array[object (Message) {8}]
optional
body
string
optional
displayInterval
object (TimeInterval)
optional
startTime
and endTime
for each message. A message is displayed immediately after a Wallet Object is inserted unless a startTime
is set. The message will appear in a list of messages indefinitely if endTime
is not provided.header
string
optional
id
string
optional
kind
string
optional
"walletobjects#walletObjectMessage"
.localizedBody
object (LocalizedString)
optional
localizedHeader
object (LocalizedString)
optional
messageType
enum<string>
optional
Allowed values:
MESSAGE_TYPE_UNSPECIFIEDTEXTtextEXPIRATION_NOTIFICATIONexpirationNotification
passengerName
string
optional
reservationInfo
object (ReservationInfo)
optional
confirmationCode
string
optional
eticketNumber
string
optional
frequentFlyerInfo
object (FrequentFlyerInfo)
optional
kind
string
optional
"walletobjects#reservationInfo"
.securityProgramLogo
object (Image)
optional
smartTapRedemptionValue
string
optional
state
enum<string>
optional
inactive
object is moved to the "Expired passes" section.Allowed values:
STATE_UNSPECIFIEDACTIVEactiveCOMPLETEDcompletedEXPIREDexpiredINACTIVEinactive
textModulesData
array[object (TextModuleData) {5}]
optional
body
string
optional
header
string
optional
id
string
optional
localizedBody
object (LocalizedString)
optional
localizedHeader
object (LocalizedString)
optional
validTimeInterval
object (TimeInterval)
optional
active
and object can be used. An object's state will be changed to expired
when this time period has passed.version
string <int64>
optional
Modified at 2022-09-10 16:56:46