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": "2023-01-11T16:08:00Z",
"Date": "2023-01-11T16:08:00Z",
"DateShipped": "2023-01-11T16:08:00Z",
"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": ""
},
"Other1": "",
"Other2": "",
"ID": "",
"SubLines": [{
"Item": {
"ID": "",
"FullName": ""
},
"Quantity": 0.0,
"Amount": 0.0,
"SalesTaxCode": {
"ID": "",
"FullName": ""
},
"Desc": "",
"ID": "",
"Rate": 0.0
}],
"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": "2023-01-11T16:08:00Z",
"DeletedDate": "2023-01-11T16:08:00Z",
"LinkedTransactions": [{
"ID": "",
"Type": "",
"Date": "2023-01-11T16:08:00Z",
"Number": "",
"Amount": 0.0
}],
"CreatedDate": "2023-01-11T16:08:00Z",
"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.
Updated almost 2 years ago