Hi,
I use SalesOrdersHeadersV2 and use the needed fields in my postman request. You can exclude/include a few of the below fields if not needed for your requirement.
{
"dataAreaId": "USMF",
"SalesUnitId": "",
"SalesOrderName": "TestingSalesORder",
"MultilineDiscountCustomerGroupCode": "",
"DeliveryAddressLocationId": "",
"DeliveryAddressCountyId": "",
"DeliveryAddressCountryRegionISOCode": "ABS",
"TransportationRoutePlanId": "",
"CustomerPaymentFineCode": "",
"SalesOrderPromisingMethod": "SalesLeadTime",
"ConfirmedShippingDate": "1900-01-01T12:00:00Z",
"FiscalOperationPresenceType": "DoesNotApply",
"BankConstantSymbol": "",
"RequestedReceiptDate": "2021-03-20T12:00:00Z",
"CustomerPaymentMethodName": "CC",
"DeliveryAddressDistrictName": "",
"DeliveryAddressDunsNumber": "",
"ServiceFiscalInformationCode": "",
"PaymentScheduleName": "",
"IntrastatTransactionCode": "10",
"PaymentTermsName": "N30",
"OrderingCustomerAccountNumber": "ABC1234",
"QuotationNumber": "",
"CurrencyCode": "USD",
"DirectDebitMandateId": "",
"DeliveryAddressCity": "XXXX",
"DeliveryAddressStreet": "Business park",
"DeliveryAddressZipCode": "7777"
}
Similarly I used SalesOrderLines to create lines and pass the SalesId created from the earlier request
{
"dataAreaId": "USMF",
"SalesOrderNumber": "000116",
"ItemNumber": "106",
"ShippingSiteId": "1",
"OrderedSalesQuantity": 2,
"DeliveryModeCode": "USD",
"RequestedShippingDate": "2020-10-20T00:00:00Z",
"SalesUnitSymbol": "ea",
"SalesPrice": 30
}
Note, the names you pass in the request should be same as the field names in the entity. Otherwise, the request would throw error.