NodiRef LogoNodiRef

/partners/:id

This endpoint allows you to update an existing partner by providing the necessary details.

Request Body

{
  "external_id": "External_ID", // Required
  "name": "Partner Name", // Required
  "project_id": "PROJECT_UUID" // Optional
}

Response

The response for this request is an empty array with a 200 HTTP Code

PUT/partners/{id}

Authorization

AuthorizationRequiredBearer <token>

In: header

Request Body

application/jsonOptional

Path Parameters

idRequiredstring

Response Body

OK

TypeScript Definitions

Use the response body type in TypeScript.

curl -X PUT "https://api.nodiref.com/partners/9ef54e02-35cc-42cd-a4b3-178c08a59581" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "external_id": "EXTERNAL_ID",
    "name": "PARTNER NAME",
    "project_id": "UUID_PROJECT_ID"
  }'
[]