Vérification de la Disponibilité via l'API Yoplanning
/api/v3.1/teams/[teamId]/order-validationcurl -H "Content-Type: application/json" -X POST -d '{
"external_reference" : "956",
"items" : [{
"session_group" : "53071a97-0c2d-4973-89f5-cafd10665b3b",
"price" : {"amount" : 51.25},
"client" : {
"id" : "71ea849f-226c-4302-a433-528179634aa7",
"first_name" : "John",
"last_name" : "Doe",
"email" : "[email protected]"
}
}],
"payments" : [{
"amount" : 51.25,
"client" : {
"first_name" : "Framold",
"last_name" : "Doe",
"email" : "[email protected]"
}
}]
}' https://yoplanning.pro/api/v3.1/teams/5a90332e-568f-4980-9859-88a984844a4d/order-validation -H 'Authorization: Token 4504c2cb0d87a93106d4de029f407c86149f2ada'Mis à jour

