Getting Started

Catalog Update

Order Management

Total Sales

Suppliers Details

Buyers Details

Order management

Get delivery documents by Id

Retrieves document details based on their IDs

Request:

				
					Method: GET
URL: /api/v1/supplierApi/deliveryDocumentsByIds?ids=id1,id2,id3
headers :
Authorization: bearer {token}
				
			

The “id” value is required 

To generate the document id, call Get Delivery Document

Export_status list:

Field Name status number
NotExported 0
Approved 1
Exported 2
Pending 3

Response:

				
					{
    "status": "200",
    "documents": [
        {
            "id": "2323198",
            "supplierId": 53227,
            "buyerId": 75264,
            "supplierName": "לחם לחם - מאפיית העיר שם ממש ערוך מייגע",
            "buyerName": "המבורגרי באר שבע",
            "status": 1,
            "type": 5,
            "number": "45654",
            "date_sent": "2024-12-24",
            "customer_number": null,
            "date_delivery": "2024-12-24",
            "description": null,
            "totalNoVATAfterDiscount": 6556.0000,
            "totalWithVATAfterDiscount": 7670.5200,
            "items": null,
            "related_documents": [
                {
                    "id": "2322798",
                    "status": 5,
                    "type": 3,
                    "number": "578",
                    "date_sent": "2024-09-19",
                    "date_delivery": "2024-09-20",
                    "totalNoVATAfterDiscount": 100.0000,
                    "totalWithVATAfterDiscount": 117.0000
                },
                {
                    "id": "2322800",
                    "status": 5,
                    "type": 3,
                    "number": "2145",
                    "date_sent": "2024-09-22",
                    "date_delivery": "2024-09-20",
                    "totalNoVATAfterDiscount": 245.0000,
                    "totalWithVATAfterDiscount": 286.6500
                }
            ],
            "attached_files": null,
            "procurement_type": null,
            "export_status": 1
        }
    ]
}

				
			

Status: 200