Update Metadata of Ticket
PUT/order/:guid/tickets/:order_ticket_guid/metadata/:order_metadata_guid
Update an existing OrderMetadata value of the Ticket.
Request
Path Parameters
The guid of the Order.
The guid of the Ticket.
The guid of the OrderMetadata of the Order.
- application/json
Body
Input data
The value of the OrderMetadata.
Responses
- 200
- 403
- 404
- 406
OrderMetadata updated.
- application/json
- Schema
- Example (from schema)
Schema
The guid of the OrderMetadata.
The guid of the Metadata this OrderMetadata belongs to.
The guid of the Order this OrderMetadata belongs to.
The value of the OrderMetadata.
Whether the OrderMetadata is required to be filled in.
Whether the OrderMetadata has been filled in.
metadata
object
The guid of the Metadata.
Possible values: <= 255 characters
The human readable name for the Metadata.
Additional info for the Metadata, i.e. the description of the Metadata.
Possible values: [integer
, string
, date
, enum
, enumOther
, boolean
, values
, seatSelect
, phone
]
The type of the Metadata is related to UI that needs to be presented. The "seatSelect" type can only be set by an admin.
Possible values: <= 60000 characters
Extra information which is required for the type, i.e. this is Laravel validation rules.
When a ticket swap creates a new Ticket Type, whether the value of this Metadata should be copied to the new Ticket Type. If you are unsure, leave this false; incorrect usage could leak personal information.
Possible values: [none
, first_name
, last_name
, email
, gender
, date_of_birth
, age
, city
, country
]
The Facebook input type to auto fill the Metadata. This has been disabled by Facebook.
The translated name. This property is calculated.
Whether the Metadata is translatable or not.
The time it was created.
The time it was last updated.
The time it was created at as a unix timestamp.
{
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"metadata_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"order_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"value": "string",
"is_required": true,
"is_complete": true,
"metadata": {
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"shop_description": "string",
"type": "integer",
"extra": "string",
"copy_on_swap": true,
"auto_fill_facebook": "none",
"translate_name": "string",
"translatable": true
},
"created_at": "2023-08-01T14:40:24+00:00",
"updated_at": "2023-08-01T14:40:24+00:00",
"created_at_int": 0
}
Unauthorized. You do not have permission to manage the Order or read the Metadata.
- application/json
- Schema
- Example (from schema)
Schema
The general error code.
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}
Order, Ticket, OrderMetadata of the Ticket, or Metadata not found.
- application/json
- Schema
- Example (from schema)
Schema
The general error code.
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}
Request is invalid, see error context for validation errors.
- application/json
- Schema
- Example (from schema)
Schema
The general error code.
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}