Skip to main content

Updates a specific MetaData from a Product

POST 

/order/:guid/ticket/:order_ticket_guid/product/:order_ticket_product_guid/bymetadataid/:order_metadata_guid

deprecated

One can use this to update an existing MetaData value, or create a new MetaData (linked to the Product).

Request

Path Parameters

    guid stringrequired

    The guid of the Order.

    order_ticket_guid stringrequired

    The guid of the Ticket.

    order_ticket_product_guid stringrequired

    The guid of the Product of the Ticket.

    order_metadata_guid uuidrequired

    The guid of the OrderMetaData of the Order.

Body

Input data

    value string

    The value of the OrderMetaData.

Responses

Return the full updated Order.

Schema

    guid uuid

    The guid of the Order.

    purchase_channel string

    The channel through which the Order is purchased.

    finn_original_price integer

    The original price, i.e. the price of the Order before any CouponCodes have been applied.

    finn_value integer

    The value of the Order used when deriving the service fees. This is the price that is paid for the Order, i.e. the sum of the values of the Tickets of the Order.

    finn_service_fee integer

    The service fees of the Order. This is calculated upon the value.

    finn_price integer

    The total price of the Order. This is the sum of the value, and service fees.

    shop_id uuid

    The guid of the Shop associated with the Order.

    is_seated boolean

    Whether any of the Tickets of the Order is seated.

    email email

    The email address of the Receiver.

    send_email boolean

    Whether to send the PDF to the visitor.

    is_complete boolean

    Whether the Order is complete, i.e. whether all required OrderMetaData is filled in.

    has_receipt boolean

    Whether the Order has a receipt.

    pdf_rendered boolean

    Whether the PDF has been rendered.

    status string

    The status of the Order.

    amount integerdeprecated

    Replaced by the finn values.

    transaction_fee integerdeprecated

    Replaced by the finn values.

    invalidated_since ISO 8601

    The date at which this Order was invalidated.

    invalidated_reason string

    The reason why this Order was invalidated.

    firstName string

    The first name of the Receiver.

    lastName string

    The last name of the Receiver.

    locale IETF BCP 47

    The locale of the Receiver.

    fullname string

    The full name of the Receiver

    download_link url

    The link where the Order can be downloaded.

    download_ready boolean

    Whether the Order can be downloaded.

    receipt_link url

    The link to the receipt of the Order.

    created_at ISO 8601

    The time it was created.

    updated_at ISO 8601

    The time it was last updated.

    created_at_int integer

    The time it was created at as a unix timestamp.

    shop

    object

    guid uuidrequired

    The guid of the Shop.

    name stringrequired

    Possible values: <= 255 characters

    The name of the Shop.

    description string

    Possible values: <= 65536 characters

    The description of the Shop.

    event_selection string

    Possible values: [auto, enabled, disabled]

    Default value: auto

    Whether to show the Event selection as first step in the Shop. On default this will be enabled if there are 5 or more Events available.

    google_tag string

    Possible values: >= 8 characters and <= 15 characters

    A Google Tag code from Google Tag Manager to include in the Shop.

    company_terms url

    The terms of the Company of the Shop. This is a url.

    css string

    Any custom css the Shop has.

    facebook_auto_attend boolean

    Whether people should be auto-attended or not, when they are logging in with Facebook.

    facebook_page_url url

    The full url to the Facebook Page. This will be shown in shop as header.

    seats_allow_orphan boolean

    Whether for seats, orphan seats are allowed.

    greedy_date_selection boolean

    Whether a date should be preselected. When set to true, the shop always falls back to date-selection mode.

    email_validation_rule string

    Extra rules which can be enforced on the emails when placing Orders, i.e. Laraval validation rules.

    email_must_be_unique boolean

    Whether all emails should be unique, i.e. only 1 Order can be placed with the same email address.

    auto_prune boolean

    Whether to allow auto pruning.

    global_terms url

    Calculated property, the Whitelabel terms a visitor has to accept.

    currency ISO 4217

    Default value: EUR

    Currency for the Orders, currently ignored.

    reservation_time integer

    Possible values: <= 3600

    How long reserved Tickets and/or Products remain reserved. The time is in minutes.

    seats_public_key string

    The public key to use with Seats.io.

    metaData

    object[]

  • Array [

  • guid uuid

    The guid of the OrderMetadata.

    metadata_id uuid

    The guid of the Metadata this OrderMetadata belongs to.

    order_id uuid

    The guid of the Order this OrderMetadata belongs to.

    value string

    The value of the OrderMetaData.

    is_required boolean

    Whether the OrderMetaData is required to be filled in.

    is_complete boolean

    Whether the OrderMetaData has been filled in.

    metadata

    object

    guid uuidrequired

    The guid of the MetaData.

    name stringrequired

    Possible values: <= 255 characters

    The human readable name for the MetaData.

    shop_description string

    Additional info for the MetaData, i.e. the description of the MetaData.

    type stringrequired

    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.

    extra string

    Possible values: <= 60000 characters

    Extra information which is required for the type, i.e. this is Laravel validation rules.

    copy_on_swap boolean

    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.

    auto_fill_facebook string

    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.

    translate_name string

    The translated name. This property is calculated.

    translatable boolean

    Whether the MetaData is translatable or not.

    created_at ISO 8601

    The time it was created.

    updated_at ISO 8601

    The time it was last updated.

    created_at_int integer

    The time it was created at as a unix timestamp.

  • ]

  • tickets

    object[]

  • Array [

  • guid uuid

    The guid of the Ticket.

    finn_original_price integer

    The original price, i.e. the minimum price of the Ticket Type.

    finn_value integer

    The value of the Ticket used when deriving the service fees. This is the price that is paid for the Ticket, i.e. the sum of the inner values of the Products minus its own inner value.

    finn_inner_value integer

    The actual value of the Ticket, i.e. the sum of the values of the Products of this Ticket.

    finn_service_fee integer

    The service fees of the Ticket. This is calculated based upon the value.

    finn_price integer

    The total price of the Ticket, i.e. the sum of the value, inner value, and service fees.

    ticket_number string

    The barcode of the Ticket.

    is_complete boolean

    Whether the Order is complete, i.e. whether all required OrderMetaData is filled in.

    retrievable_after integer

    After this unix timestamp the Ticket is downloadable by the visitor.

    price integerdeprecated

    Replaced by the finn values.

    service_fee integerdeprecated

    Replaced by the finn values.

    download_link string

    The link where the PDF of the Ticket can be downloaded.

    created_at ISO 8601

    The time it was created.

    updated_at ISO 8601

    The time it was last updated.

    invalidated_since ISO 8601

    The date at which this was invalidated.

    invalidated_reason string

    The reason why this was invalidated.

    created_at_int integer

    The time it was created at as a unix timestamp.

    ticket

    object

    guid uuidrequired

    The guid of the the Ticket Type.

    company_id uuid

    The guid of the Company associated with the Ticket Type.

    event_id uuidrequired

    The guid of the Event associated with the Ticket Type.

    name stringrequired

    Possible values: <= 255 characters

    The name of the Ticket Type.

    description string

    Possible values: <= 65536 characters

    The description for the Ticket Type.

    min_price integer

    Possible values: <= 999999

    The minimum price of this Ticket Type in cents, overwrites the mandatory Product Type prices.

    vat_percentage float

    Possible values: <= 100

    The VAT percentage which applies to this Ticket Type. This is a float with at most 2 decimals, because VAT percentages in some countries have fractions of a percent.

    late_personalization boolean

    Whether the Metadata within the Ticket Type can be LatePersonalized. When true MetaData is not asked in Shop but before download.

    status_overrule string

    Possible values: [auto, sold_out]

    One can overwrite the status for a Ticket Type here.

    class string

    Possible values: [EventProtect, RefundProtect, RandomNumberGenerator, PlayPass, Co2Compensate, Giro555]

    Which class the Ticket Type needs to trigger after for example a Payment.

    increment integerrequired

    Possible values: >= 1

    Default value: 1

    The Ticket Type can only be ordered in groups of this size, i.e. the count of ordered Ticket Types needs to be exactly divisible by this number. This should be less or equal to min_orderable_amount_per_order.

    available_from ISO 8601

    The start of the availability range for this Ticket Type. Has to be set when available_until is set.

    available_until ISO 8601

    The end of the availability range for this Ticket Type. Has to be set when available_from is set.

    availability_margin integer

    Possible values: <= 999999999

    The margin for which the Ticket Type will show-up (with countdown for example) in the Shop.

    min_orderable_amount_per_order integer

    Possible values: >= 1

    Default value: 1

    Specifies the minimum number of Ticket Types a visitor can select within one Order. This should be less or equal to max_orderable_amount_per_order.

    max_orderable_amount_per_order integer

    Possible values: <= 250

    Default value: 20

    Specifies the maximum number of Ticket Types a visitor can select within one Order. This should be greater or equal to min_orderable_amount_per_order.

    percentage_service_costs_in_ticket integerdeprecated

    Possible values: <= 100

    How many fees will be in the Ticket Type.

    seats_category_key integer

    Possible values: <= 255

    The category key from the Chart where the Ticket Type should be applied to (see Seats.io).

    hide_without_coupon boolean

    Default value: false

    Whether to hide this Ticket Type when no Coupon is used.

    combines_products boolean

    Default value: true

    Whether to combine the Products into the Ticket Type price or not. If false, Products show up separately on the receipt/invoices.

    swappable boolean

    Default value: true

    Whether it is possible to swap the Ticket Type.

    available_in_cashr booleandeprecated

    Default value: false

    Whether a Ticket Type is available in Cashr.

    status string

    Possible values: [sold_out, not_sold_right_now, available]

    The sale status of the Ticket Type.

    seated boolean

    Whether a Ticket Type is seated or not.

    include_service_cost_in_price booleandeprecated

    Whether to include the service costs into the price.

    products

    object[]

  • Array [

  • guid uuidrequired

    The guid of the Product Type.

    event_id uuidrequired

    The guid of the Event associated with the Product Type.

    name stringrequired

    Possible values: <= 255 characters

    The name of the Product Type.

    description string

    Possible values: <= 65536 characters

    The description of the Product Type.

    vat_percentage floatrequired

    Possible values: <= 100

    The VAT percentage which applies to this Product Type. This is a float with at most 2 decimals, because VAT percentages in some countries have fractions of a percent.

    price integer

    The price of this Product Type in cents.

    pricing_method string

    Possible values: [own, container]

    The type of pricing method. Whether the container value or its own value is used for varying kickback calculations.

    class string

    Possible values: [EventProtect, RefundProtect, RandomNumberGenerator, PlayPass, Co2Compensate, Giro555]

    The class which get called on order Events.

    origin_type string

    Possible values: [date, ticket, product]

    The type of Product Type. This is either date, ticket, or product. This is auto-generated.

    status string

    Possible values: [auto, sold_out]

    The sale status of the Product Type.

    extra_data array

    Extra class data.

  • ]

  • metaData

    object[]

  • Array [

  • guid uuid

    The guid of the OrderMetadata.

    metadata_id uuid

    The guid of the Metadata this OrderMetadata belongs to.

    order_id uuid

    The guid of the Order this OrderMetadata belongs to.

    value string

    The value of the OrderMetaData.

    is_required boolean

    Whether the OrderMetaData is required to be filled in.

    is_complete boolean

    Whether the OrderMetaData has been filled in.

    metadata

    object

    guid uuidrequired

    The guid of the MetaData.

    name stringrequired

    Possible values: <= 255 characters

    The human readable name for the MetaData.

    shop_description string

    Additional info for the MetaData, i.e. the description of the MetaData.

    type stringrequired

    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.

    extra string

    Possible values: <= 60000 characters

    Extra information which is required for the type, i.e. this is Laravel validation rules.

    copy_on_swap boolean

    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.

    auto_fill_facebook string

    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.

    translate_name string

    The translated name. This property is calculated.

    translatable boolean

    Whether the MetaData is translatable or not.

    created_at ISO 8601

    The time it was created.

    updated_at ISO 8601

    The time it was last updated.

    created_at_int integer

    The time it was created at as a unix timestamp.

  • ]

  • products

    object[]

  • Array [

  • guid uuid

    The guid of the Product.

    finn_original_price integer

    The original price, i.e. the price of the Product.

    finn_value integer

    The value of the Product used when deriving the service fees. This is the price that is paid for the Product. Only used for optional Products.

    finn_inner_value integer

    The actual value of the Product, i.e.

    • If the Ticket Type of the Ticket has a min price, then this is the original price of the Ticket divided by the number of force products;
    • Otherwise, this is the original price of the Product.
    In all cases, the discount applied to the Product is subtracted.

    finn_service_fee integer

    The service fees of the Product.

    finn_price integer

    The total price of the Product. This is the sum of the value, inner value, and service fees.

    is_optional boolean

    Whether this Product is an optional Product.

    is_complete boolean

    Whether the Order is complete, i.e. whether all required OrderMetaData is filled in.

    coupon_code string

    The code of the CouponCode this Product belongs to.

    coupon_code_id uuid

    The guid of the CouponCode this Product belongs to.

    price integerdeprecated

    Replaced by the finn values.

    vat float

    The VAT percentage which applies to this Product. This is a float with at most 2 decimals, because VAT percentages in some countries have fractions of a percent.

    created_at ISO 8601

    The time it was created.

    updated_at ISO 8601

    The time it was last updated.

    invalidated_since ISO 8601

    The date at which this was invalidated.

    invalidated_reason string

    The reason why this was invalidated.

    created_at_int integer

    The time it was created at as a unix timestamp.

    metaData

    object[]

  • Array [

  • guid uuid

    The guid of the OrderMetadata.

    metadata_id uuid

    The guid of the Metadata this OrderMetadata belongs to.

    order_id uuid

    The guid of the Order this OrderMetadata belongs to.

    value string

    The value of the OrderMetaData.

    is_required boolean

    Whether the OrderMetaData is required to be filled in.

    is_complete boolean

    Whether the OrderMetaData has been filled in.

    metadata

    object

    guid uuidrequired

    The guid of the MetaData.

    name stringrequired

    Possible values: <= 255 characters

    The human readable name for the MetaData.

    shop_description string

    Additional info for the MetaData, i.e. the description of the MetaData.

    type stringrequired

    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.

    extra string

    Possible values: <= 60000 characters

    Extra information which is required for the type, i.e. this is Laravel validation rules.

    copy_on_swap boolean

    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.

    auto_fill_facebook string

    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.

    translate_name string

    The translated name. This property is calculated.

    translatable boolean

    Whether the MetaData is translatable or not.

    created_at ISO 8601

    The time it was created.

    updated_at ISO 8601

    The time it was last updated.

    created_at_int integer

    The time it was created at as a unix timestamp.

  • ]

  • couponCode

    object

    guid uuidrequired

    The guid of the CouponCode.

    company_id uuid

    The guid of the Company associated with the CouponCode.

    coupon_guid uuidrequired

    The guid of the Coupon (Campaign) the CouponCode belongs to.

    code stringrequired

    Possible values: >= 4 characters

    The actual code.

    applies_to_count integer

    Possible values: >= 1 and <= 9999999999

    Default value: 1

    The maximum number of times this CouponCode can be applied within a single Order.

    used_amount float

    The amount of monetary value for which this CouponCode is used.

    Product

    object

    guid uuidrequired

    The guid of the Product Type.

    event_id uuidrequired

    The guid of the Event associated with the Product Type.

    name stringrequired

    Possible values: <= 255 characters

    The name of the Product Type.

    description string

    Possible values: <= 65536 characters

    The description of the Product Type.

    vat_percentage floatrequired

    Possible values: <= 100

    The VAT percentage which applies to this Product Type. This is a float with at most 2 decimals, because VAT percentages in some countries have fractions of a percent.

    price integer

    The price of this Product Type in cents.

    pricing_method string

    Possible values: [own, container]

    The type of pricing method. Whether the container value or its own value is used for varying kickback calculations.

    class string

    Possible values: [EventProtect, RefundProtect, RandomNumberGenerator, PlayPass, Co2Compensate, Giro555]

    The class which get called on order Events.

    origin_type string

    Possible values: [date, ticket, product]

    The type of Product Type. This is either date, ticket, or product. This is auto-generated.

    status string

    Possible values: [auto, sold_out]

    The sale status of the Product Type.

    extra_data array

    Extra class data.

  • ]

  • ]

  • payments

    object[]

  • Array [

  • guid uuid

    The guid of the Payment.

    finn_value integer

    The monetary value of the Payment in cents.

    finn_service_fee integer

    The service fees of the Payment in cents.

    finn_price integer

    The total price of the Payment, this is finn_value + finn_service_fee.

    status string

    The current status of the Payment.

    payment_method_id uuidrequired

    The guid of the PaymentMethod used to execute the Payment.

    payment_id uuid

    The id of the payment (transaction) provided by the external Payment Provider.

    amount integer

    The amount of money (to be) paid in cents.

    currency ISO 4217required

    The currency in which the Payment will be paid.

    description string

    A description of the Payment.

    statii

    object[]

    A list of all the statii that the Payment has had.

  • Array [

  • status stringrequired

    The status of the Payment.

    reason string

    Possible values: <= 255 characters

    The reason for the status.

    created_at ISO 8601

    The time it was created.

    updated_at ISO 8601

    The time it was last updated.

    created_at_int integer

    The time it was created at as a unix timestamp.

  • ]

  • created_at ISO 8601

    The time it was created.

    updated_at ISO 8601

    The time it was last updated.

  • ]

Loading...