Suivi de commande
Cycle de vie d'une commande
flowchart LR
A[<a href='/api-prise-commande/#confirmation-de-la-session-de-commande'>Création \nde la commande</a>] --> B(acknowledged)
A -->C(held_adv_validation)
A -->D(in_progress)
B -->C
C -->O{Validation \nADV ?}
O -->|oui| D
O -->|non| I[rejected_adv]
D -->E(Annulation \npar le client)
E -->F(pending_cancellation)
F -->G{Acceptée ?}
G -->|oui| H[cancelled]
G -->|non| D
D -->J{Production \nOK ?}
J -->|oui|K[completed]
J -->|non|L[rejected_provider]
Récupération d'une liste de commandes
GET /api/v1/order/
Réponse
Nom |
Type |
Description |
modification_date |
string |
Date de modification de la commande |
order_reference |
string |
Référence de la commande |
id |
string |
Identifiant de la commande |
order_date |
string |
Date de la prise de commande |
cancellation_date |
string |
Date d'annulation de la commande |
cancellation_reason |
string |
Raison de l'annulation |
completion_date |
string |
Date de complétion de la commande |
state |
string |
Statut |
project_id |
string |
Projet associé à la commande |
offer_technology |
string |
Technologie associée à la commande |
commitment |
number |
Durée d'engagement |
Exemple
{
"modification_date": "2025-04-23T10:00:58Z",
"order_reference": "CMD_X_00009444",
"id": "PO_DC173_20250423_003366",
"order_date": "2025-04-23",
"cancellation_date": null,
"cancellation_reason": "",
"completion_date": null,
"state": "in_progress",
"project_id": "",
"offer_technology": "FIBDE",
"commitment": 12
}
Récupération d'une commande
GET /api/v1/order/{order_reference}/
Paramètres de la requête
Nom |
Type |
Description |
Obligatoire |
order_reference |
string |
Référence de la commande |
Oui |
Réponse
Nom |
Type |
Description |
id |
string |
Identifiant de la commande |
order_reference |
string |
Référence de la commande |
external_id |
string |
Identifiant externe pour la demande |
order_date |
string |
Date de la commande |
cancellation_date |
string |
Date d'annulation de la commande |
cancellation_reason |
string |
Raison de l'annulation |
completion_date |
string |
Date de complétion de la commande |
note |
string |
Note associée à la commande |
technical_note |
string |
Note technique associée à la commande |
product_offering_id |
string |
Identifiant de l'offre de produit |
product_offering_qualification_item_id |
string |
Identifiant de l'élément de qualification de l'offre de produit |
project_id |
string |
Identifiant du projet associé |
quote_item_id |
string |
Identifiant de l'élément de devis |
delivery_mode |
string |
Mode de livraison |
enni |
string |
Identifiant ENNI |
enni2 |
string |
Identifiant second ENNI |
vlan_reference |
number |
Référence VLAN |
customer_order_name |
string |
Nom de la commande client |
securing |
number |
Identifiant de la sécurisation |
securing_label |
string |
Sécurisation |
service_reference |
string |
Référence de service |
commitment_start_date |
string |
Date de début d'engagement |
minimum_commitment_duration |
number |
Durée minimale d'engagement |
commitment_end_date |
string |
Date de fin d'engagement |
notice_period |
number |
Période échue |
estimated_delivery_date |
string |
Date de livraison prévisionnelle |
billing_site_ref |
string |
Référence du site de facturation |
billing_site_name |
string |
Nom du site de facturation |
state |
string |
État actuel de la commande |
state_change |
array |
Historique des changements d'état |
termination_error |
array |
Erreurs de terminaison associées |
option_ids |
array |
Liste des identifiants d'options |
product |
array |
Informations sur le produit |
related_contact_information |
array |
Informations des contacts associés |
Exemple
{
"id": "PO_DC173_20250423_003366",
"order_reference": "CMD_X_00009444",
"external_id": "",
"order_date": "2025-04-23",
"cancellation_date": null,
"cancellation_reason": "",
"completion_date": null,
"note": "",
"technical_note": "",
"product_offering_id": "1679",
"product_offering_qualification_item_id": "",
"project_id": "",
"quote_item_id": "",
"delivery_mode": "N/A",
"enni": "",
"enni2": "",
"vlan_reference": null,
"customer_order_name": "",
"securing": 1,
"securing_label": "Non sécurisé",
"service_reference": "FR048380",
"commitment_start_date": null,
"minimum_commitment_duration": 12,
"commitment_end_date": null,
"notice_period": 3,
"estimated_delivery_date": "2025-04-30",
"billing_site_ref": "AUX00",
"billing_site_name": "COVAGE INFRA",
"state": "in_progress",
"state_change": [...],
"termination_error": [...],
"option_ids": [
"1615",
"1620",
"237"
],
"product": {...},
"related_contact_information": [...]
}
Détail des changements d'état
Nom |
Type |
Description |
Obligatoire |
change_reason |
string |
Raison du changement d'état |
Oui |
change_date |
string |
Date du changement d'état |
Oui |
state |
string |
Nouvel état |
Oui |
Exemple
```json
"state_change": [
{
"change_reason": "",
"change_date": "2025-04-04T10:07:24.276+02:00",
"state": "acknowledged"
},
{
"change_reason": "",
"change_date": "2025-04-04T10:07:24.678+02:00",
"state": "in_progress.elig"
},
{
"change_reason": "",
"change_date": "2025-04-04T10:07:24.791+02:00",
"state": "in_progress.offer"
},
{
"change_reason": "",
"change_date": "2025-04-04T10:07:26.332+02:00",
"state": "done.ready"
}]
#### Détail des erreurs de terminaison
| Nom | Type | Description | Obligatoire |
| --- | --- | --- | --- |
| code | string | Code de l'erreur | Oui |
| property_path | string | Chemin de la propriété concernée | Oui |
| value | string | Valeur associée à l'erreur | Oui |
#### Détail des Informations des contacts associés
| Nom | Type | Description | Obligatoire |
| --- | --- | --- | --- |
| end_customer_name | string | Nom du client final | Oui |
| siret | string | Numéro SIRET | Oui |
| contact1_email_address | string | Adresse e-mail du contact sur site | Oui |
| contact1_name | string | Nom du contact sur site | Oui |
| contact1_phone_number | string | Numéro de téléphone du contact sur site | Oui |
| contact2_email_address | string | Adresse e-mail du contact secondaire | Non |
| contact2_name | string | Nom du contact secondaire | Non |
| contact2_phone_number | string | Numéro de téléphone du contact secondaire | Non |
| city | string | Ville | Oui |
| postcode | string | Code postal | Oui |
| street_name | string | Nom de la rue | Oui |
| street_number | string | Numéro de la rue | Oui |
| street_number_extension | string | Extension du numéro de rue | Non |
| insee_code | string | Code INSEE | Oui |
| building_name | string | Nom du bâtiment | Non |
| level_number | string | Numéro d'étage | Non |
| latitude | number | Latitude de l'adresse | Oui |
| longitude | number | Longitude de l'adresse | Oui |
##### Exemple
```json
{
"related_contact_information": [{
"end_customer_name": "king jouet",
"siret": "",
"contact1_email_address": "toto@gmail.com",
"contact1_name": "toto",
"contact1_phone_number": "215488745",
"contact2_email_address": "",
"contact2_name": "",
"contact2_phone_number": "",
"city": "MONT ST AIGNAN",
"postcode": "76130",
"street_name": "3 RUE ANDREI DIMITRI SAKHAROV",
"street_number": "",
"street_number_extension": "",
"insee_code": "76451",
"building_name": "",
"level_number": "",
"latitude": 49.474174,
"longitude": 1.090847
}]
}
Détail du produit
Nom |
Type |
Description |
id |
string |
Identifiant du produit |
name |
string |
Nom du produit |
description |
string |
Description du produit |
bandwidth_guarantee |
string |
Type de garantie de débit |
commitment |
string |
Durée d'engagement |
tarif_zone |
string |
Zone tarifaire |
offer_family |
string |
Famille d'offre (BPE/BPEA) |
offer_technology |
string |
Technologie de l'offre |
far |
number |
Far |
fas |
number |
Fas |
price |
number |
Prix produit |
recurring |
boolean |
Récurrence ou non du produit |
options |
array |
Liste des options |
Exemple
"product": {
"id": "1679",
"name": "BPE 100M _Zone très dense_12 mois ",
"description": "BPE 100M _Zone très dense_12 mois ",
"bandwidth_guarantee": "G",
"commitment": "12MOIS",
"tarif_zone": "TRESDENSE",
"offer_family": "BPE",
"offer_technology": "FIBDE",
"far": 540.0,
"fas": 360.0,
"price": 145.0,
"recurring": true,
"options": [...]
},
Détail des options
Nom |
Type |
Description |
name |
string |
Nom de l'option |
label |
string |
Nom du produit |
type |
string |
Type de l'option |
option_id |
string |
Identifiant |
price |
number |
Prix |
recurring |
boolean |
Récurrence |
Exemple
"options": [
{
"name": "GTR 4H HO",
"label": "GTR 4H HO",
"type": "SERVI",
"option_id": "194",
"price": 0.0,
"recurring": true
},
{
"name": "Livraison locale",
"label": "Livraison locale",
"type": "SERVI",
"option_id": "2220",
"price": 0.0,
"recurring": true
},
]