PurchaseOrder

Usage

This endpoints allows retrieveal, creation, modification and deletion of PurchaseOrders in Warehouze.

Get

Call requires at least one property name, blank query is allowed.

PurchaseOrder Properties
NameTypeDescriptionUpdatable
CompanyId Int32 False
CurrencyCode String False
Date DateTime False
EmailBody String False
EmailSubject String False
Id Int32 False
InvoicedStatus PoInvoiceStatus 0 None, 1 Partial, 2 Invoiced False
Log String False
Notes String False
Number Int32 False
PoAmount Decimal False
PoAmountBaseCurrency Decimal False
Selected Boolean False
Status PoStatus 0 None, 1 Partial, 2 Full, 3 Archived False
SupplierId Int32 False
Sample Get call
        var request = {
            Token: "Insert your token here",
            Query: [
              "Id=1",
            ],
            Properties: [
              Id,
              Number,
              Date
            ],
        };
        $.ajax({
            url: "https://api.warehouze.io/PurchaseOrder",
            data: request,
            dataType: 'text',
            type: "GET",
            traditional: true,
            success: function (data) {
                console.log(data);
            },
            error: function (data, xHr) {
                console.log(data);
                console.log(xHr);
            }
        });