> ## Documentation Index
> Fetch the complete documentation index at: https://docs.useparagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Vendor



## OpenAPI

````yaml /actionkit/openapi.json POST /projects/{project_id}/tools/#NETSUITE_CREATE_VENDOR
openapi: 3.0.0
info:
  title: ActionKit Tools API
  version: 1.0.0
servers:
  - url: https://actionkit.useparagon.com
    description: US Cloud
security: []
paths:
  /projects/{project_id}/tools/#NETSUITE_CREATE_VENDOR:
    post:
      summary: Create Vendor
      parameters:
        - name: project_id
          in: path
          required: true
          schema:
            type: string
            description: >-
              Your Paragon Project ID. You can copy your Project ID from your
              dashboard URL or by clicking Copy Project ID under the Environment
              switcher.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                tool:
                  type: string
                  default: NETSUITE_CREATE_VENDOR
                parameters:
                  type: object
                  properties:
                    companyName:
                      type: string
                      description: Company Name
                    subsidiary:
                      type: string
                      description: Primary Subsidiary
                    isPerson:
                      type: string
                      description: Type
                      enum:
                        - company
                        - individual
                    firstName:
                      type: string
                      description: |-
                        First Name 
                        This field appears only when 'isPerson' = 'individual')
                    lastName:
                      type: string
                      description: |-
                        Last Name 
                        This field appears only when 'isPerson' = 'individual')
                    email:
                      type: string
                      description: 'Email (example: "primary@vendor.com")'
                    altEmail:
                      type: string
                      description: 'Alternative Email (example: "secondary@vendor.com")'
                    defaultTaxReg:
                      type: string
                      description: Default Tax Registration Number
                    expenseAccount:
                      type: string
                      description: >-
                        Expense Account : Specify an account associated with
                        this vendor.
                    terms:
                      type: string
                      description: 'Term : The ID of the payment term for this vendor.'
                    addr1:
                      type: string
                      description: Address Line 1
                    addr2:
                      type: string
                      description: Address Line 2
                    city:
                      type: string
                      description: City
                    state:
                      type: string
                      description: 'State : Use state or province.'
                    zip:
                      type: string
                      description: 'Zip : Use ZIP or postal code, if applicable.'
                    country:
                      type: string
                      description: >-
                        Country : Accepts ISO-3166 country codes. (example:
                        "US")
                    vendorAdditionalFields:
                      type: string
                      description: >-
                        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
                              }
                            },
                          ]")
                  required:
                    - companyName
                    - firstName
                    - lastName
                  x-integration: netsuite
              required:
                - tool
                - parameters
      responses:
        '200':
          description: Success
      security:
        - BearerAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Your [Paragon User
        Token](/getting-started/installing-the-connect-sdk#setup) (JWT), which
        you can generate using your project's signing keys.

````