Attach file to a specific supplier.

Endpoint URL

https://{{base_url}}/api/v2/supplier_attachment

Authentication and rate limits

ItemDetails
Authentication methodOAuth 2.0 Bearer token
Rate limitRate Limit

Requests Example

curl --request POST \
  --url 'https://{{base_url}}/api/v2/supplier_attachment \
  --header 'Authorization: Bearer $BEARER_TOKEN' \
  --header 'Content-Type: application/json' \
  --data-raw '$JSON'

Request Syntax

{
    "company":integer,
    "supplier_id":integer,
    "file_type":"nda_attach"|"msa_attach"|"additional_attachments"|"financial_attachments",
    "file_id": integer
}

Body Parameters

  • company (integer) --

    [REQUIRED]
    The ID of the specific company your API is calling. For accounts with only one company, the default value is 1.
    To lookup a specific company ID, see the List Company API.

  • supplier_id (integer) --

    [REQUIRED]
    The ID of the supplier. <
    To lookup a specific supplier ID, see the List Supplier API.

  • file_type (string) --

    [REQUIRED]
    Specify the type of attachment to be added to the supplier.
    Options: nda_attach | msa_attach | additional_attachments | financial_attachments

  • file_id (integer) --

    [REQUIRED]
    The ID of the file that was uploaded. <
    To lookup a specific file ID, see the List File API.

Response Syntax

{
    "details": {
        "status": "linked successfully",
        "file_uuid": "string",
        "supplier_id": integer,
        "file_id": integer,
        "file_type": "nda_attach"|"msa_attach"|"additional_attachments"|"financial_attachments"
    }
}