Skip to main content
POST
/
partners
/
{sellerId}
/
buyers
/
{buyerId}
/
contacts
Add a contact person to the buyer.
curl --request POST \
  --url https://api.novatrade24.com/v1/partners/{sellerId}/buyers/{buyerId}/contacts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'Idempotency-Key: <idempotency-key>' \
  --data '
{
  "firstName": "<string>",
  "lastName": "<string>",
  "email": "[email protected]",
  "phone": "<string>"
}
'
{
  "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "firstName": "<string>",
  "lastName": "<string>",
  "email": "[email protected]",
  "phone": "<string>",
  "createdAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

OAuth 2.0 client_credentials grant via Keycloak service account. Clients are provisioned per IntegrationOrganization in the nt24-idp realm.

Headers

Idempotency-Key
string
required

Client-generated unique key (UUID recommended) for this write operation. Identical key + identical body within 24h returns the cached response. Identical key + different body returns 422.

Required string length: 1 - 255
X-Purpose
string

Optional purpose justification for PII-bearing endpoints (Phase 3+ may become mandatory for sensitive data).

Path Parameters

sellerId
string<uuid>
required

UUID of the seller trade partner (must be in caller's authorized list).

buyerId
string<uuid>
required

UUID of the buyer trade partner.

Body

application/json
firstName
string
required
lastName
string
required
email
string<email>
required
phone
string

Response

Created

uuid
string<uuid>
required
firstName
string
required
lastName
string
required
email
string<email>
required
phone
string
createdAt
string<date-time>