Supplier

Usage

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

Get

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

Supplier Properties
NameTypeDescriptionUpdatable
CompanyId Int32 False
CurrencyCode String False
Email String False
GroupId Int32 False
Id Int32 False
Name String False
Notes String False
Number String False
PoMinimumAmount Decimal False
PoMinimumQty Decimal False
Sample Get call
        var request = {
            Token: "Insert your token here",
            Query: [
              "Id=1",
            ],
            Properties: [
              Id,
              Number,
              Name
            ],
        };
        $.ajax({
            url: "https://api.warehouze.io/Supplier",
            data: request,
            dataType: 'text',
            type: "GET",
            traditional: true,
            success: function (data) {
                console.log(data);
            },
            error: function (data, xHr) {
                console.log(data);
                console.log(xHr);
            }
        });