v1

latestOpenAPI 3.1.02026-07-2481742657.4 KB
Supply Chain Intelligence

Add suppliers to a supply chain

Add suppliers to the given supply chain. Use the search suppliers endpoint to find the IDs of suppliers to add.<br><br>This endpoint does not cost credits to execute.

post/v1/supplychains/{supply_chain_id}/suppliers

Path parameters

supply_chain_idstring uuid required

The ID of a Censys supply chain. Obtain the supply chain ID using the list supply chains endpoint to find the IDs of your organization's supply chains.

Example:11111111-2222-3333-4444-555555555555

The ID of a Censys supply chain. Obtain the supply chain ID using the list supply chains endpoint to find the IDs of your organization's supply chains.

Query parameters

organization_idstring uuid required

The ID of a Censys organization to associate the request with. See the Getting Started docs for more information.

Example:11111111-2222-3333-4444-555555555555

The ID of a Censys organization to associate the request with. See the Getting Started docs for more information.

Headers

X-Organization-IDstring uuid

The ID of a Censys organization to associate the request with. See the Getting Started docs for more information. Note: The header parameter is supported for atypical use cases; we recommend always providing this field via the query parameter.

Example:11111111-2222-3333-4444-555555555555

The ID of a Censys organization to associate the request with. See the Getting Started docs for more information. Note: The header parameter is supported for atypical use cases; we recommend always providing this field via the query parameter.

Request body

supplier_idsstring[] nullable required

The IDs of the Censys suppliers to add to the supply chain, each as a unique UUID string. Use the Search suppliers endpoint to find supplier IDs.

Example request

{
  "supplier_ids": [
    "11111111-2222-3333-4444-555555555555"
  ]
}

Response

Suppliers added to the supply chain successfully