curl --request POST \
--url 'https://actionkit.useparagon.com/projects/{project_id}/actions/#NETSUITE_CREATE_VENDOR' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"action": "NETSUITE_CREATE_VENDOR",
"parameters": {
"companyName": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"subsidiary": "<string>",
"isPerson": "company",
"email": "<string>",
"altEmail": "<string>",
"defaultTaxReg": "<string>",
"expenseAccount": "<string>",
"terms": "<string>",
"addr1": "<string>",
"addr2": "<string>",
"city": "<string>",
"state": "<string>",
"zip": "<string>",
"country": "<string>",
"vendorAdditionalFields": "<string>"
}
}
'curl --request POST \
--url 'https://actionkit.useparagon.com/projects/{project_id}/actions/#NETSUITE_CREATE_VENDOR' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"action": "NETSUITE_CREATE_VENDOR",
"parameters": {
"companyName": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"subsidiary": "<string>",
"isPerson": "company",
"email": "<string>",
"altEmail": "<string>",
"defaultTaxReg": "<string>",
"expenseAccount": "<string>",
"terms": "<string>",
"addr1": "<string>",
"addr2": "<string>",
"city": "<string>",
"state": "<string>",
"zip": "<string>",
"country": "<string>",
"vendorAdditionalFields": "<string>"
}
}
'Your Paragon User Token (JWT), which you can generate using your project's signing keys.
Your Paragon Project ID. You can copy your Project ID from your dashboard URL or by clicking Copy Project ID under the Environment switcher.
Show child attributes
Company Name
First Name This field appears only when 'isPerson' = 'individual')
Last Name This field appears only when 'isPerson' = 'individual')
Primary Subsidiary
Type
company, individual Email (example: "[email protected]")
Alternative Email (example: "[email protected]")
Default Tax Registration Number
Expense Account : Specify an account associated with this vendor.
Term : The ID of the payment term for this vendor.
Address Line 1
Address Line 2
City
State : Use state or province.
Zip : Use ZIP or postal code, if applicable.
Country : Accepts ISO-3166 country codes. (example: "US")
Additional Fields : Specify additional fields to include on this vendor as JSON. For example, you may specify a different billing address here. See the docs (https://system.netsuite.com/help/helpcenter/en_US/APIs/REST_API_Browser/record/v1/2021.2/index.html#/definitions/vendor) for available fields. (example: "[ { "addressBookAddress": { "addr1": "2500 Durant Ave", "addr2": "Unit A", "addrPhone": "5101112222", "addrText": "2500 Durant Ave Unit A, Berkeley, CA, 94704", "addressee": "John Appleseed", "city": "Berkeley", "state": "CA", "defaultBilling": true, "defaultShipping": true } }, ]")
Success
Was this page helpful?