post https://api.evy.eu/v1/orders_intents
Sends a new unpaid order to Evy for checkout URL retrieval
Request
{
"id": "intent-id-GHS524",
"customer": {
"email": "[email protected]",
"first_name": "Jane",
"last_name": "Doe",
"phone": "+33712457843"
},
"billing": {
"city": "Paris",
"country": "FR",
"line1": "12 rue de la poste",
"name": "Jane Doe",
"phone": "+33712457843",
"postal_code": "75002",
"state": "Ile de France"
},
"physical_store": {
"id": "00001",
"name": "Magasin Paris 00001"
},
"currency": "EUR",
"orders": [
{
"id": "order-id-45",
"products": [
{
"id": "product-1-vaccum-cleaner",
"title": "Dyson vacuum cleaner",
"category_id": "1",
"amount": 13999,
"serial_number": "123456789",
"condition": "refurbished",
"refurbished_grade": "A"
},
{
"id": "product-2-phone",
"title": "Phone model 10 Pro",
"category_id": "2",
"amount": 79999,
"imei": "537937692990109",
"condition": "new",
}
],
"offer": {
"id": "8455a9e1-2e0e-49be-b263-f4f4923e8f66",
"amount": 1000
},
}
],
"language": "fr-FR"
}
Returns
An orders intent object is returned if the orders intent creation succeeded. This call will return an error if something goes wrong.