---
title: "Create and store an order."
method: POST
path: "/sales/v2/individual/travel/orders"
---

# Create and store an order.

`POST /sales/v2/individual/travel/orders`

## Request

- Base URL: `https://sandbox.api.axapartners.com`
- URL: `https://sandbox.api.axapartners.com/sales/v2/individual/travel/orders`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://sandbox.auth.api.axapartners.com/oauth/token` scopes: `urn:axa.partners.sales.individual.travel.orders.write`

Cf. summary

## Headers

- `accept-language` string

## Request body

- object
  - `quote_code` string: Quote code, partner can use a default value if provided by AXA or got it with quoting API. **N.B. Required when `global_quote_code` is not defined.**
  - `global_quote_code` string: Quote code to return all matching products. Use this code to retrieve the previous quote request results for all products matching with same criteria used. **N.B. Required when `quote_code` is not defined.**
  - `product_codes` string[]: List of selected product codes. ** Should be fulfilled only if global_quote_code is not null **
  - `original_policy_id` string: This field used in renewal context. The original policy identifier.
  - `related_policy_id` string: This field used in renewal context. The related policy identifier.
  - `agent` object: The agent information.
    - `agent_scope` string: The scope of the agent that create the order.
    - `agent_reference` string: The agent reference.
    - `agency_reference` string: The agency reference.
  - `addons` string[]: List of additional option codes that the customer can subscribe in addition to the product. Note: There is here only the list of add-ons codes. The contents of each add-on is described in TravelQuotesResponse.Addons section.
  - `policy_holder` object: Policy holder
    - `title` 'MR' | 'MS' | 'MISS' | 'DR' | 'PR': Civility (Mr, Ms, Miss, Doctor, Professor).
    - `first_name` string: First name.
    - `middle_name` string: Middle name.
    - `last_name` string: Last name.
    - `birth_date` string, date: Birth date - ISO 8601 format (YYYY-MM-DD).
    - `age` integer: Age of the person. Only required if needed for the quote and no birth_date is provided.
    - `additional_information` object[]: Additional information filled by the partner if needed (example : Passport number, Hotel room number...).
      - `code` string, required: Information code.
      - `value` string, required: Information value.
    - `spoken_language` string: Spoken language, IANA language codification.
    - `phone` object: Phone number. ** Required if preferred_communication_channel contain _SMS_ **
      - `international_prefix` string: Prefix to be added to be called from abroad.
      - `number` string, required: Phone number. Can be local or international.
    - `address` object: Postal address
      - `street_address` string: Street address.
      - `postal_code` string: Postal code or zip code.
      - `city` string: City.
      - `country` string: Country ISO-3166-1 alpha-2 format (2 letter codes).
    - `is_policy_beneficiary` boolean: Indicates if the policy holder is also a policy beneficiary.
    - `email` string, email: Email address. ** Required if preferred_communication_channel contain _EMAIL_ **
    - `preferred_communication_channel` string[], required: Communication channel on which the person preferred to be contacted.
    - `registrations` object[]: List of customer registrations.
      - `registration_type` 'ID_CARD' | 'TAX_REGISTRATION': Type of person registration.
      - `value` string, required: Value of the registration.
  - `beneficiaries` object[]: Beneficiaries list (other than the policy holder if he is also a beneficiary).
    - `title` 'MR' | 'MS' | 'MISS' | 'DR' | 'PR': Civility (Mr, Ms, Miss, Doctor, Professor).
    - `first_name` string: First name.
    - `middle_name` string: Middle name.
    - `last_name` string: Last name.
    - `birth_date` string, date: Birth date - ISO 8601 format (YYYY-MM-DD).
    - `age` integer: Age of the person. Only required if needed for the quote and no birth_date is provided.
    - `additional_information` object[]: Additional information filled by the partner if needed (example : Passport number, Hotel room number...).
      - `code` string, required: Information code.
      - `value` string, required: Information value.
    - `age_segment` 'ADULT' | 'CHILD' | 'INFANT' | 'SENIOR': Age Segment. - ADULT: Adult - CHILD: Child - INFANT: Infant or baby - SENIOR: Senior Citizen or Elderly Person
  - `consents` object[]: List of consents displayed to the customer.
    - `code` string, required: Code of the consent.
    - `is_confirmed` boolean, required: Indicates if the consent has been confirmed by the customer or not.
  - `periodicity` string: Selected periodicity for the payment. ISO 8601 format (R[n]/P18Y9M4DT11H9M8S).
  - `formula` string: Formula selected by the customer.

## Response `201`

Order created.

- object
  - `order_id` string: Unique final order identifier.
  - `original_policy_id` string: This field used in renewal context. The original policy identifier.
  - `related_policy_id` string: This field used in renewal context. The related policy identifier.
  - `quote_code` string, required: Quote code, partner can use a default value if provided by AXA or got it with quoting API.
  - `product_codes` string[]: List of selected product codes.
  - `agent` object: The agent information.
    - `agent_scope` string: The scope of the agent that create the order.
    - `agent_reference` string: The agent reference.
    - `agency_reference` string: The agency reference.
  - `addons` string[]: List of additional option codes that the customer can subscribe in addition to the product. Note: There is here only the list of add-ons codes. The contents of each add-on is described in TravelQuotesResponse.Addons section.
  - `policy_holder` object: Policy holder
    - `title` 'MR' | 'MS' | 'MISS' | 'DR' | 'PR': Civility (Mr, Ms, Miss, Doctor, Professor).
    - `first_name` string: First name.
    - `middle_name` string: Middle name.
    - `last_name` string: Last name.
    - `birth_date` string, date: Birth date - ISO 8601 format (YYYY-MM-DD).
    - `age` integer: Age of the person. Only required if needed for the quote and no birth_date is provided.
    - `additional_information` object[]: Additional information filled by the partner if needed (example : Passport number, Hotel room number...).
      - `code` string, required: Information code.
      - `value` string, required: Information value.
    - `spoken_language` string: Spoken language, IANA language codification.
    - `phone` object: Phone number. ** Required if preferred_communication_channel contain _SMS_ **
      - `international_prefix` string: Prefix to be added to be called from abroad.
      - `number` string, required: Phone number. Can be local or international.
    - `address` object: Postal address
      - `street_address` string: Street address.
      - `postal_code` string: Postal code or zip code.
      - `city` string: City.
      - `country` string: Country ISO-3166-1 alpha-2 format (2 letter codes).
    - `is_policy_beneficiary` boolean: Indicates if the policy holder is also a policy beneficiary.
    - `email` string, email: Email address. ** Required if preferred_communication_channel contain _EMAIL_ **
    - `preferred_communication_channel` string[], required: Communication channel on which the person preferred to be contacted.
    - `registrations` object[]: List of customer registrations.
      - `registration_type` 'ID_CARD' | 'TAX_REGISTRATION': Type of person registration.
      - `value` string, required: Value of the registration.
  - `beneficiaries` object[]: Beneficiaries list (other than the policy holder if he is also a beneficiary).
    - `title` 'MR' | 'MS' | 'MISS' | 'DR' | 'PR': Civility (Mr, Ms, Miss, Doctor, Professor).
    - `first_name` string: First name.
    - `middle_name` string: Middle name.
    - `last_name` string: Last name.
    - `birth_date` string, date: Birth date - ISO 8601 format (YYYY-MM-DD).
    - `age` integer: Age of the person. Only required if needed for the quote and no birth_date is provided.
    - `additional_information` object[]: Additional information filled by the partner if needed (example : Passport number, Hotel room number...).
      - `code` string, required: Information code.
      - `value` string, required: Information value.
    - `age_segment` 'ADULT' | 'CHILD' | 'INFANT' | 'SENIOR': Age Segment. - ADULT: Adult - CHILD: Child - INFANT: Infant or baby - SENIOR: Senior Citizen or Elderly Person
  - `consents` object[]: List of consents displayed to the customer.
    - `code` string, required: Code of the consent.
    - `is_confirmed` boolean, required: Indicates if the consent has been confirmed by the customer or not.
  - `price` object: Set of prices.
    - `formula` string, required: Price formula reference.
    - `total_taxes` number: Total amount of taxes, numeric with 2 decimals.
    - `total_discount` number: Total amount of discount, numeric with 2 decimals.
    - `premium_after_discount_excl_tax` number: Premium discounted excluding taxes, numeric with 2 decimals.
    - `price_before_discount_incl_tax` number: Price not discounted including taxes, numeric with 2 decimals.
    - `price_after_discount_incl_tax` number, required: Price discounted including taxes (Final price), numeric with 2 decimals.
    - `payment_periodicities` object[]: List of payment periodicities.
      - `periodicity` string, required: Selected periodicity for the payment. ISO 8601 format (R[n]/P18Y9M4DT11H9M8S).
      - `description` string, required: Periodicity label.
      - `amount_per_period` number, required: The amount of the payment period.
      - `amount_first_payment` number, required: The amount of the first payment.

## Other responses

- `400`: Bad Request.
- `401`: Unauthorized. The identity of the caller has not been definitely confirmed (invalid issuer, expired token, ...)
- `403`: Forbidden. The identity of the caller is confirmed, however the required access grants are not met (missing scope, unknown client_id, ...)
- `default`: Default response format.

---

[API](https://skmtc.dev/axa-assistance/apis/axa-assistance-travel-api.md) - [All operations](https://skmtc.dev/axa-assistance/apis/axa-assistance-travel-api/llms.txt) - [OpenAPI document](https://skmtc.dev/axa-assistance/apis/axa-assistance-travel-api/revisions/700f7054c1d2?raw)
