This endpoints allows retrieveal, creation, modification and deletion of PurchaseOrders in Warehouze.
Call requires at least one property name, blank query is allowed.
| Name | Type | Description | Updatable |
|---|---|---|---|
| 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, 4 Draft | False |
| SupplierId | Int32 | False |
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); } });