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

Response:

				
					{
    "status": "200",
    "documents": [
        {
            "id": "1860020",
            "supplierId": 72223,
            "buyerId": 64819,
            "supplierName": "מאפייה אחת עשרה",
            "buyerName": "המבורגרי חיפה",
            "status": 1,
            "type": 4,
            "number": "334234234",
            "date_sent": "2023-09-10",
            "customer_number": null,
            "date_delivery": "2023-09-11",
            "description": null,
            "totalNoVATAfterDiscount": 57.9000,
            "totalWithVATAfterDiscount": 67.7400,
            "items": [
                {
                    "cat_number": "300",
                    "name": "בייבי ג'בטה לבן",
                    "unitQuantity": 1.00,
                    "unitQuantityType": 1,
                    "quantity": 1.000,
                    "price": 3.5000,
                    "totalQuantity": 1.00000,
                    "totalPrice": 3.5000000,
                    "withoutVAT": false,
                    "orderId": 1859772,
                    "expenseAccount": null
                },
                {
                    "cat_number": "200",
                    "name": "ביס עגול לבן",
                    "unitQuantity": 1.00,
                    "unitQuantityType": 0,
                    "quantity": 20.000,
                    "price": 0.7000,
                    "totalQuantity": 20.00000,
                    "totalPrice": 14.0000000,
                    "withoutVAT": false,
                    "orderId": 1859772,
                    "expenseAccount": null
                },
                {
                    "cat_number": "220",
                    "name": "ביס עגול לבן - מיני",
                    "unitQuantity": 1.00,
                    "unitQuantityType": 0,
                    "quantity": 20.000,
                    "price": 0.7000,
                    "totalQuantity": 20.00000,
                    "totalPrice": 14.0000000,
                    "withoutVAT": false,
                    "orderId": 1859772,
                    "expenseAccount": null
                },
                {
                    "cat_number": "1360",
                    "name": "גבטה לבנה שאור",
                    "unitQuantity": 1.00,
                    "unitQuantityType": 0,
                    "quantity": 12.000,
                    "price": 2.2000,
                    "totalQuantity": 12.00000,
                    "totalPrice": 26.4000000,
                    "withoutVAT": false,
                    "orderId": 1859772,
                    "expenseAccount": null
                }
            ],
            "related_documents": [
                {
                    "id": "1859772",
                    "status": 7,
                    "type": 2,
                    "number": "64819-37",
                    "date_sent": "2023-09-10",
                    "date_delivery": "2023-09-11",
                    "totalNoVATAfterDiscount": 57.9000,
                    "totalWithVATAfterDiscount": 67.7430
                }
            ]
        }
    ]
}
				
			

Status: 200