Skip to content

Validation

ValidationMessage object

Property Type Description
level string Info, Warning, ValidationError, Error
message string message in the current language

existing order validation messages

This is a list of validation messages which can occur when an order gets validated:

message description solution
ordered_item_absent orderedItem list does not exist or is empty add order items
orderitem_product_incorrect product absent or product's fields Sku or(and) SupplierAcronym are empty setup correct product
orderitem_quantity_incorrect orderQuantity not equal to count(orderedItem.traveler) set correct value to orderQuantity or correct count of travelers
person_family_name_absent familyName of person/customer is absent add a family name to the person in the profile
person_given_name_absent givenName of person/customer is absent add a given name to the person in the profile
person_email_absent e-mail is missing
person_gender_incorrect Gender is not one of the follwing values "Female", "Male", "Diverse" schema.org/gender set correct value or null
traveler_family_name_absent familyName of traveler is absent add a family name to all travelers
traveler_given_name_absent givenName of traveler is absent add a given name to all travelers
traveler_incorrect_birthdate birthDate of traveler is empty or newer then today add a correct birth date to all travelers
initPaymentDataRequest_not_valid the data sent to initialize the payment process is not valid see "initialize payment" on How to work with the marketplace
order-not-in-state-to-use-move-to can not apply a "put" in the current state of the order  check the order state and may create a new order. Most likely it's a bug on the client side process (timing).
order-not-in-state-to-initPayment can not apply a "initPayment" in the current state of the order  check the order state and may create a new order. Most likely it's a bug on the client side process (timing).
order-not-in-state-to-delete can not delete the order in the current state of the order check the order state and may create a new order. Most likely it's a bug on the client side process (timing).
error_in_fulfillment Error while ordering the ticket from the supplier (e.g. Nova) call support
productconfiguration_valid_from _date_too_far_in_future Item ordered for a date so far in the future it is not yet supported by the provider book earlier date or wait with booking till tickets become available
productconfiguration_traveler _has_min_age_for_ticket traveler is so young that he/she doesn't need a ticket order no ticket for this traveler

Last update: July 14, 2020 08:46:34