Request
Actions
Below are the supported actions which can be processed using Breadwinner for NetSuite Global API.
- readCustomer: Reads the Customer data from NetSuite.
- createCustomer: Creates a NetSuite Customer.
- updateCustomer: Updates a NetSuite Customer.
- createVendor: Creates a NetSuite Vendor.
- updateVendor: Updates a NetSuite Vendor.
- createContact: Creates a NetSuite Contact.
- updateContact: Updates a NetSuite Contact.
- createItem: Creates an Item in NetSuite.
- createEstimate: Creates an Estimate in NetSuite.
- updateEstimate: Updates in Estimate in NetSuite.
- createSalesOrder: Creates a Sales Order in NetSuite.
- createPurchaseOrder: Creates a Purchase Order (PO) in NetSuite.
- readCustomerSubsidiaryRelationship: Reads a Customer Subsidiary Realtionship data from NetSuite. In case of MultiSubsidiary Feature.
- createCustomerSubsidiaryRelationship: Creates a Customer Subsidiary Realtionship in NetSuite. In case of MultiSubsidiary Feature.
As of now, Breadwinner supports only the above mentioned actions. More actions will be included in upcoming releases.
Request
As mentioned earlier, Breadwinner accepts the Request data in the form of a Map<String, Object>.
These are the supported keys:
Key (String) | Value (Object) | Required |
---|---|---|
version | ‘1.0’ | True |
action | See the list of available actions. | True |
skipDML | Defaults to FALSE if not provided. When set to true, the record will not be saved in Salesforce in that transaction, only get saved to NetSuite. | False |
requestJSON | Pass the data as a JSON string, based on the specified action. | True |