Arborescence des pages

Comparaison des versions

Légende

  • Ces lignes ont été ajoutées. Ce mot a été ajouté.
  • Ces lignes ont été supprimées. Ce mot a été supprimé.
  • La mise en forme a été modifiée.
Commentaire: valeurs order.origin

...

Extrait


Values for deliveryTime

Field

Description

Mandatory

Type

Example

Condition

ref

Order reference. 
This reference must be unique because since it is used for control in duplicate request check.
The \ character back slash character ("\") is forbidden.

Yes

AN50

12345678


origin

Order origin. If you have subscribed to the Mail Order and Telephone Order option then the values ​​are MO or TO

No

AN50

Type of order with the values : 

  • E-commerce (default)
  • MO for mail order
  • TO for telephon order
  • In-Store for Proximity (For Monext internal use Only)

No

ANSVI_#12



country

Code of the country in which the order was is done, see the list

YesNo

AN2

FR


taxes

The amount of tax added to the order in the smallest currency unit.
An amount of 1 € corresponds to 100.

No

N12

100


amount

The amount of order in smallest unit of currency. Usually the same amount as payment.amount
An amount of 60 € corresponds to 6006000.

Yes

N12

6000

(avertissement)  From version 28  of the API, this field must contain the amount to be authenticated  (3DSV2)

currency

Currency code used for order. The ISO code :

978: euros 
840: US dollars

See complete list in  List of currencies

Yes

N3

978

date

The merchant order date.  Format : dd/mm/yyyy HH24:MI

Yes

AN16

07/04/2016 11:00

details

Information about the ordered itemsThe order details is limited to 100 items.

No

Object List of Objects 'OrderDetails'



deliveryTime

Delivery time :

1 = express 
2 = standard

 Values for deliveryTime

No

N

1


deliveryMode

Delivery method :1: Withdrawal of goods from the merchant 
2 : Use of network of points-withdrawal third (type kiala, alveol, etc.) 
3: Withdrawal in airport, station or travel agency 
4: Carrier (La Poste , Colissimo, UPS, DHL ... or any private carrier) 
5: Issuing an electronic ticket, downloads Values for deliveryMode

No

N

4

Values for deliveryMode
deliveryChargeAmount of delivery charges in smallest unit of currency, example 250 for 2.50 eurosNoN
version 18 ou supérieureou higher 
deliveryExpectedDate

Expected delivery date must be greater than the current date. Format: dd/mm/yyyy

NoAN18datetime07/04/2016Posted to Limonetik
deliveryExpectedDelayExpected delivery time (in days)NoN210Posted to Limonetik
discountAmountAmount of the discount for this order (in the same currency than the order)NoN12

version 21 or higher RELEASE 4.58

OTAPackageTypeType of package (flight only, journey+accomodation, …). See the table of values Codes - OTAPackageTypeNoN2

version 21 or higher 

RELEASE 4.58

OTADestinationCountryCountry code of the destination, in ISO 3166-1 format. See the table of values Codes - countryNoAN2

version 21 or higher RELEASE 4.58

bookingReferenceBooking reference or Id of the travel fileNoAN100

version 21 or higher RELEASE 4.58

orderDetailObject - orderDetailUsed only for origin = MO or TO. NoAN4

version 21 or higher (3DSV2)

RELEASE 4.58

orderExtendedObject - OrderExtended

higher 

orderExtended

Additionnal information about the order.

In JSON format

No

AN in JSON format


Développer
titleExemple..


{
"deliveryProvider": "deliveryProvider",
"riskLevel": "3",
"giftCardAmount": "4000",
"giftCardCurrency": "978",
"giftCardCount": "2",
"reorderIndicator": "01"
}
No



version 21 or higher (3DSV2)

RELEASE 4.58

orderOTAObject - orderOTA
orderOTA

Online Travel Agency information.


No

AN in JSON format

See Object OrderOTA


Développer
titleExemple..
{
  "bookingDate": "2018-12-05",
  "agencyCode": "6565",
  "agencyName": "My Agency",
  "travelPurpose": "1",
  "countryDestination": "ANG",
  "transport": {  },
  "carRental": {...},
  "accomodation": {...}
}

transport : 

{
  "transportMode": "1",
  "travelerList": [...],
  "legList": [...]
}

travelersList :

 {
    "lastName": "France",
    "firstName": "Oliver",
    "birthDate": "1970-01-01",
    "legalDocumentType": "1",
    "legalDocument": "passeportId",
    "loyaltyMemberId": "123453453",
    "loyaltyMemberType": "4"
  },
  {
    "lastName": "France",
    "firstName": "Oliver",
    "birthDate": "1970-01-01",
    "legalDocumentType": "1",
    "legalDocument": "passeportId",
    "loyaltyMemberId": "4537884",
    "loyaltyMemberType": "4"
  }
legsList : 
  {
    "segment": "O",
    "ticketNumber": "T98374556",
    "ticketClass": "Economy",
    "isTicketRestricted": "N",
    "hasTicketInsurance": "N",
    "airlineCode": "LFT",
    "airlineName": "Lufthansa",
    "departureDate": "2019-01-24",
    "departureAirport": "MRS",
    "arrivalDate": "2019-01-25",
    "arrivalAirport": "SFO"
  },
  {
    "segment": "T1",
    "ticketNumber": "T98774556",
    "ticketClass": "Economy",
    "isTicketRestricted": "N",
    "hasTicketInsurance": "N",
    "airlineCode": "LFT",
    "airlineName": "Lufthansa",
    "departureDate": "2019-01-24",
    "departureAirport": "MRS",
    "arrivalDate": "2019-01-25",
    "arrivalAirport": "SFO"
  }
]
No


version 21 or higher 

RELEASE 4.58