PurchaseOrder

Supported MethodsSupported Parameters
GET, POST, PATCHId, number, page, pageSize, modTimeStart, modTimeEnd, isDeleted
{
    "ID": "",
    "Number": "",
    "DueDate": "2021-05-17T14:21:15Z",
    "Date": "2021-05-17T14:21:15Z",
    "Amount": 0.0,
    "ShippingAddress": {
        "Line1": "",
        "Line2": "",
        "Line3": "",
        "Line4": "",
        "Line5": "",
        "City": "",
        "State": "",
        "PostalCode": "",
        "Country": ""
    },
    "Vendor": {
        "ID": "",
        "FullName": ""
    },
    "ItemLines": [{
        "Customer": {
            "ID": "",
            "FullName": ""
        },
        "Item": {
            "ID": "",
            "FullName": ""
        },
        "Quantity": 0.0,
        "Rate": 0.0,
        "Description": "",
        "Amount": 0.0,
        "Class": {
            "FullName": "",
            "ID": ""
        },
        "CustomFields": [{
            "FullName": "",
            "Value": ""
        }],
        "IsManuallyClosed": true,
        "ID": "",
        "ReceivedQuantity": 0.0,
        "Account": {
            "ID": ""
        }
    }],
    "Memo": "",
    "FOB": "",
    "Template": {
        "ID": "",
        "FullName": ""
    },
    "CustomFields": [{
        "FullName": "",
        "Value": ""
    }],
    "ExpectedDate": "2021-05-17T14:21:15Z",
    "ExchangeRate": 0.0,
    "IsManuallyClosed": true,
    "IsFullyReceived": true,
    "LastModifiedDate": "2021-05-17T14:21:15Z",
    "DeletedDate": "2021-05-17T14:21:15Z",
    "TotalAmountInHomeCurrency": 0.0,
    "CreatedDate": "2021-05-17T14:21:15Z",
    "Currency": {
        "ID": "",
        "FullName": ""
    },
    "IsOpen": true,
    "Account": {
        "ID": "",
        "FullName": ""
    },
    "TotalAmount": 0.0,
    "Terms": {
        "FullName": ""
    },
    "Address": {
        "Line1": "",
        "Line2": "",
        "City": "",
        "State": "",
        "PostalCode": "",
        "Country": ""
    }
}

Important Notes

  • If IsManuallyClosed is set to true (or false) on the header level of a Purchase Order, then all line items will be set to the same value.
  • If wanting to set the value on individual line items, do not pass IsManuallyClosed on the header level.
  • If IsManuallyClosed is set to true (or false) on all line items, the header level IsManallyClosed field will be set to the same value.

Did this page help you?