SalesOrder

Supported Methods

Supported Parameters

GET, POST, PATCH

Id, number, page, pageSize, modTimeStart, modTimeEnd, isDeleted

{
    "ID": "",
    "Number": "",
    "PONumber": "",
    "SubTotal": 0.0,
    "SalesTaxAmount": 0.0,
    "DueDate": "2021-04-05T19:50:43Z",
    "Date": "2021-04-05T19:50:43Z",
    "DateShipped": "2021-04-05T19:50:43Z",
    "ToBePrinted": true,
    "ToBeEmailed": true,
    "ShippingMethod": {
        "ID": "",
        "FullName": ""
    },
    "ItemLines": [{
        "Item": {
            "ID": "",
            "FullName": ""
        },
        "SalesTaxCode": {
            "ID": "",
            "FullName": ""
        },
        "Amount": 0.0,
        "Quantity": 0.0,
        "Rate": 0.0,
        "RatePercent": 0.0,
        "Description": "",
        "FromInventorySite": {
            "ID": "",
            "FullName": ""
        },
        "FromInventorySiteLocation": {
            "ID": "",
            "FullName": ""
        },
        "CustomFields": [{
            "FullName": "",
            "Value": ""
        }],
        "SerialNumber": "",
        "LotNumber": "",
        "Class": {
            "ID": "",
            "FullName": ""
        },
        "IsManuallyClosed": true,
        "UnitOfMeasure": {
            "FullName": ""
        },
        "ID": "",
        "Account": {
            "ID": ""
        }
    }],
    "Terms": {
        "ID": "",
        "FullName": ""
    },
    "Other": "",
    "Memo": "",
    "Class": {
        "FullName": "",
        "ID": ""
    },
    "SalesRep": {
        "ID": "",
        "FullName": ""
    },
    "ItemSalesTax": {
        "ID": "",
        "FullName": ""
    },
    "Customer": {
        "ID": "",
        "FullName": ""
    },
    "CustomFields": [{
        "FullName": "",
        "Value": ""
    }],
    "BillingAddress": {
        "Line1": "",
        "Line2": "",
        "Line3": "",
        "Line4": "",
        "Line5": "",
        "City": "",
        "State": "",
        "PostalCode": "",
        "Country": "",
        "Notes": ""
    },
    "ShippingAddress": {
        "Line1": "",
        "Line2": "",
        "Line3": "",
        "Line4": "",
        "Line5": "",
        "City": "",
        "State": "",
        "PostalCode": "",
        "Country": "",
        "Notes": ""
    },
    "FOB": "",
    "Currency": {
        "FullName": "",
        "ID": ""
    },
    "Template": {
        "ID": "",
        "FullName": ""
    },
    "Message": {
        "ID": "",
        "FullName": ""
    },
    "ExchangeRate": 0.0,
    "IsManuallyClosed": true,
    "Amount": 0.0,
    "LastModifiedDate": "2021-04-05T19:50:43Z",
    "DeletedDate": "2021-04-05T19:50:43Z",
    "LinkedTransactions": [{
        "ID": "",
        "Type": "",
        "Date": "2021-04-05T19:50:43Z",
        "Number": "",
        "Amount": 0.0
    }],
    "CreatedDate": "2021-04-05T19:50:43Z",
    "IsFullyInvoiced": true,
    "TotalAmountInHomeCurrency": 0.0
}

Important Notes

  • If IsManuallyClosed is set to true (or false) on the header level of a Sales 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?