Sales Order Creation Rest API : Bill and Ship To sections
Summary
How to pouplate Bill and Ship To data in Payload ?Content
Hello,
In order to collect all data needed to build a rest API sales order creation payload, I need to know how could be derived the specific information related to bill to and ship to adresses...
As example, a sales order is created for "<MY_CUSTOMER>" customer and "<MY_SITE_NUMBER>" (see Customer_Example.png attached doc for a sample) for both bill and ship to addresses :
Payload shipto and billto data must be set in Json format like :
"billToCustomer": [
{
"PartyName": "MY_CUSTOMER",
"SiteUseId": "100000175405408"
}
],
"shipToCustomer": [
{
"PartyName": "MY_CUSTOMER",
Tagged:
1