NodiRef LogoNodiRef

/partners

This endpoint allows you to create a new 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 201 HTTP Code

POST/partners

Authorization

AuthorizationRequiredBearer <token>

In: header

Request Body

application/jsonOptional

Response Body

Created

TypeScript Definitions

Use the response body type in TypeScript.

curl -X POST "https://api.nodiref.com/partners" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "external_id": "EXTERNAL_ID",
    "name": "PARTNER NAME",
    "project_id": "UUID_PROJECT_ID"
  }'
[]