Add suppliers to a supply chain
Changed onAdd suppliers to your supply chain. Use the search suppliers endpoint to find the IDs of suppliers to add. Use default as the supply chain ID to target your organization's primary supply chain.<br><br>This endpoint does not cost credits to execute.
Request
- Base URLhttps://api.platform.censys.io
- URLhttps://api.platform.censys.io/v1/supplychains/{supply_chain_id}/suppliers
- AuthHTTP bearer
Path parameters
The ID of a Censys supply chain, or the literal 'default' for your organization's primary supply chain. Obtain the supply chain ID using the list supply chains endpoint or from the Supplier Risk URL in the web console.
Query parameters
The ID of a Censys organization to associate the request with. See the Getting Started docs for more information.
Headers
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
Example request
{
"supplier_ids": [
"11111111-2222-3333-4444-555555555555"
]
}Response
Suppliers added to the supply chain successfully
Changes
- info
api tag
Supplier Riskadded - info
api tag
Supply Chain Intelligenceremoved - info
for the
pathrequest parametersupply_chain_id, the format was generalized fromuuidto no format - info
added the non-success response with the status
- info