Global API
Requests
Purchase Order
4min
when requesting a purchase order, use the requestjson to pass the purchase order data the response that is returned will contain a responsejson section which has the purchase order response returned by breadwinner for netsuite the purchase order object has the following parameters purchaseorder field name data type description salesforceid id read only field, provides the salesforce record id upon successful creation or updation in salesforce classification common data types docid\ lgkoy7mdxhvjzkl2nr9ql internal id of the class createddate long read only field, the date will be returned as a unix timestamp in seconds createdfrom common data types docid\ lgkoy7mdxhvjzkl2nr9ql internal id of the salesorder currencyname string read only field, returns the currency name currencyrecord common data types docid\ lgkoy7mdxhvjzkl2nr9ql internal id of the currency customfieldlist common data types docid\ lgkoy7mdxhvjzkl2nr9ql custom fields and their values customform common data types docid\ lgkoy7mdxhvjzkl2nr9ql internal id of the custom form department common data types docid\ lgkoy7mdxhvjzkl2nr9ql internal id of the department duedate long date is accepted and returned as a unix timestamp in seconds email string employee common data types docid\ lgkoy7mdxhvjzkl2nr9ql entity common data types docid\ lgkoy7mdxhvjzkl2nr9ql internal id of the entity (vendor) exchangerate double supported only while creating, holds the value of the exchange rate externalid string fax string internalid string unique id that netsuite holds it is required during the update of a record itemlist purchase order docid 8aljk2kh41ujg328klgjy holds the line items lastmodifieddate long read only field and the date is returned as a unix timestamp in seconds location common data types docid\ lgkoy7mdxhvjzkl2nr9ql internal id of the location memo string otherrefnum string shipdate long shippingaddress purchase order docid 8aljk2kh41ujg328klgjy address of the vendor or company shipmethod common data types docid\ lgkoy7mdxhvjzkl2nr9ql internal id of the shipping method shipto common data types docid\ lgkoy7mdxhvjzkl2nr9ql internal id of the customer source string status string read only field, returns the status of the purchase order subtotal double read only field, returns the sub total subsidiary common data types docid\ lgkoy7mdxhvjzkl2nr9ql internal id of the subsidiary by default, netsuite considers the subsidiary of the vendor if not provided taxtotal double read only field, returns the total tax amount terms common data types docid\ lgkoy7mdxhvjzkl2nr9ql internal id of the terms total double read only field, returns the total amount trackingnumbers string trandate long date is accepted and returned as a unix timestamp in seconds tranid string provide order # (number) or auto generated by netsuite lineitems field name data type description item purchase order docid 8aljk2kh41ujg328klgjy \[] list of lineitem records replaceall boolean the default value for the replaceall attribute is true if true,netsuite will replace all the lineitems with the new ones lineitemrecord field name data type description amount double classification common data types docid\ lgkoy7mdxhvjzkl2nr9ql internal id of the class customfieldlist common data types docid\ lgkoy7mdxhvjzkl2nr9ql list of custom fields with their values department common data types docid\ lgkoy7mdxhvjzkl2nr9ql internal id of the department description string item description grossamt double item common data types docid\ lgkoy7mdxhvjzkl2nr9ql internal id of the item line integer specifies the line number, which should be unique across the lines location common data types docid\ lgkoy7mdxhvjzkl2nr9ql internal id of the location quantity double rate string tax1amt double taxcode common data types docid\ lgkoy7mdxhvjzkl2nr9ql internal id of the tax code taxrate1 double addressdetail field name data type description addr1 string address line 1 addr2 string address line 2 addr3 string address line 3 addrphone string phone number addressee string attention string city string country string internalid string internal id of existing address state string state/province zip string