Récupère les informations détaillées d'un bon de livraison par son identifiant.
Les informations retournées incluent :
- Les informations client (nom, adresse, email, etc.)
- Les lignes du bon (produits, quantités, poids)
- L'état actuel du bon (brouillon, en attente, expédié, livré, etc.)
- Les dates importantes (création, expédition)
- Les liens vers le PDF et la version HTML
GET
/delivery-receipt/{uid}
curl \
--request GET 'https://wuro.pro/api/v3.2/delivery-receipt/{uid}' \
--header "X-APP-ID: $API_KEY" \
--header "X-APP-SECRET: $API_KEY"
Response examples (200)
{
"receipt": {
"_id": "string",
"client": "string",
"client_name": "string",
"client_contact": "string",
"client_email": "string",
"client_mobile": "string",
"comment": "string",
"company": "string",
"company_name": "string",
"date": "2025-05-04T09:42:00Z",
"delivery_address": "string",
"delivery_city": "string",
"delivery_country": "string",
"delivery_zip_code": "string",
"delivery_date": "string",
"fromInvoice": "string",
"fromQuote": "string",
"lines": [
{
"description": "string",
"quantity": 1,
"reference": "string",
"title": "string",
"type": "product",
"weight": 42.0
}
],
"number": "string",
"numberOrder": "string",
"notes": "string",
"shipping_date": "2025-05-04T09:42:00Z",
"shipping_method": "string",
"shippingNbPackages": 42.0,
"state": "draft",
"title": "string",
"totalWeight": 42.0,
"totalQuantity": 0,
"type": "delivery"
}
}