Skip to main content
PATCH
Set Primary Person

Path Parameters

workspaceId
string
required
companyId
string
required

Body

application/json
personId
string | null
Minimum string length: 1

Response

200 - application/json
categories
object[]
required
id
string
required
name
string
required
domain
string | null
required
tags
string[]
required
serviceRegions
string[]
required
status
enum<string>
required
Available options:
preferred,
approved,
pending_approval,
inactive
notes
string | null
required
ratingQuality
number | null
required
ratingLeadTime
number | null
required
ratingPricing
number | null
required
website
string | null
required
accountNumber
string | null
required
vatTaxId
string | null
required
registrationNumber
string | null
required
portalUrl
string | null
required
portalLogin
string | null
required
portalPasswordSet
boolean
required
paymentTerms
enum<string> | null
required
Available options:
net_30,
net_60,
due_on_receipt,
deposit_50,
null
creditLimit
string | null
required
minOrderAmount
string | null
required
currency
enum<string> | null
required
Available options:
USD,
CAD,
GBP,
EUR,
CNY,
JPY,
MXN,
AFN,
ALL,
DZD,
AOA,
ARS,
AMD,
AWG,
AUD,
AZN,
BSD,
BHD,
BDT,
BYN,
BZD,
BMD,
BTN,
BOB,
BAM,
BWP,
BRL,
BND,
BGN,
MMK,
BIF,
KHR,
CVE,
KYD,
XAF,
XPF,
CLP,
COP,
KMF,
CDF,
CRC,
HRK,
CUP,
CZK,
DKK,
DJF,
DOP,
XCD,
EGP,
ERN,
ETB,
FKP,
FJD,
GMD,
GEL,
GHS,
GIP,
GTQ,
GNF,
GYD,
HTG,
HNL,
HKD,
HUF,
ISK,
INR,
IDR,
IRR,
IQD,
ILS,
JMD,
JOD,
KZT,
KES,
KWD,
KGS,
LAK,
LBP,
LSL,
LRD,
LYD,
MOP,
MGA,
MWK,
MYR,
MVR,
MRU,
MUR,
MDL,
MNT,
MAD,
MZN,
NAD,
NPR,
ANG,
TWD,
NZD,
NIO,
NGN,
MKD,
NOK,
OMR,
PKR,
PAB,
PGK,
PYG,
PEN,
PHP,
PLN,
QAR,
RON,
RUB,
RWF,
SHP,
WST,
SAR,
RSD,
SCR,
SLE,
SGD,
SBD,
SOS,
ZAR,
KRW,
SSP,
LKR,
SDG,
SRD,
SZL,
SEK,
CHF,
SYP,
STN,
TJS,
TZS,
THB,
TOP,
TTD,
TND,
TRY,
TMT,
UGX,
UAH,
AED,
UYU,
UZS,
VUV,
VES,
VND,
XOF,
YER,
ZMW,
null
defaultLeadTimeDays
number | null
required
primaryPerson
object | null
required
archivedAt
string | null
required
createdAt
string
required
updatedAt
string
required
logoAssetId
string | null
identity
object
standardDiscountPct
string | null