Skip to main content
PATCH
/
public
/
v1
/
vendors
/
{vendor_id}
Update vendor (partial)
curl --request PATCH \
  --url https://api.dualentry.com/public/v1/vendors/{vendor_id}/ \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
{
  "custom_fields": [
    {}
  ],
  "is_active": true,
  "name": "<string>",
  "unique_id": "<string>",
  "email": "<string>",
  "phone": "<string>",
  "website": "<string>",
  "single_address": "<string>",
  "country": "<string>",
  "is_1099_eligible": true,
  "address": {
    "street": "<string>",
    "city": "<string>",
    "postal_code": "<string>",
    "state": "",
    "country": "",
    "second_line": "",
    "name": "<string>"
  },
  "tin": "<string>",
  "attachments": [
    {
      "id": 123,
      "file_name": "<string>",
      "file_size": 123,
      "download_url": "<string>",
      "upload_url": "<string>",
      "category": "default"
    }
  ],
  "term_id": 123,
  "customer_account_number": "<string>",
  "name_on_check": "<string>",
  "preferred_payment_method_id": 123,
  "bank_account_number": "<string>",
  "bank_routing_number": "<string>",
  "bank_account_type": "<string>"
}
'
{
  "term_id": 123,
  "term_name": "<string>",
  "preferred_payment_method_id": 123,
  "preferred_payment_method_name": "<string>",
  "id": 123,
  "address": {
    "street": "<string>",
    "city": "<string>",
    "postal_code": "<string>",
    "state": "",
    "country": "",
    "second_line": "",
    "name": "<string>"
  },
  "vendor_type": "<string>",
  "name": "<string>",
  "custom_fields": [],
  "attachments": [],
  "created_by": {
    "actor_type": "<string>",
    "email": "<string>",
    "first_name": "<string>",
    "last_name": "<string>",
    "timestamp": "2023-11-07T05:31:56Z"
  },
  "updated_by": {
    "actor_type": "<string>",
    "email": "<string>",
    "first_name": "<string>",
    "last_name": "<string>",
    "timestamp": "2023-11-07T05:31:56Z"
  },
  "approval_status": "<string>",
  "next_approvers": [
    {
      "id": 123,
      "first_name": "<string>",
      "last_name": "<string>",
      "email": "<string>",
      "full_name": "<string>",
      "avatar_url": "<string>"
    }
  ],
  "rejected_by": {
    "id": 123,
    "first_name": "<string>",
    "last_name": "<string>",
    "email": "<string>",
    "full_name": "<string>",
    "rejection_reason": "<string>"
  },
  "company_id": 123,
  "company_name": "<string>",
  "customer_account_number": "",
  "name_on_check": "",
  "bank_account_number": "",
  "bank_routing_number": "",
  "bank_account_type": "",
  "single_address": "<string>",
  "country": "",
  "unique_id": "<string>",
  "website": "<string>",
  "email": "<string>",
  "is_active": true,
  "phone": "<string>",
  "is_1099_eligible": false,
  "tin": "<string>",
  "tin_type": "",
  "record_status": "posted"
}

Documentation Index

Fetch the complete documentation index at: https://docs.dualentry.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-KEY
string
header
required

Path Parameters

vendor_id
integer
required

Body

application/json

Partial update payload for PATCH /public/vendors/{id}/.

Every field is optional: send only the fields you want to change. Unset fields are left untouched on the existing record.

custom_fields
Custom Fields · object[] | null
is_active
boolean | null
vendor_type
enum<string> | null
Available options:
individual,
company,
intercompany,
tax_agency
name
string | null
Required string length: 2 - 255
unique_id
string | null
Required string length: 1 - 64
email
string | null
Maximum string length: 128
phone
string | null
Maximum string length: 32
Pattern: ^[0-9\s\+\-\.\(\)]*$
website
string | null
Maximum string length: 128
single_address
string | null
Maximum string length: 2048
country
Allowed value: ""
is_1099_eligible
boolean | null
address
AddressSchemaIn · object
tin
string | null
Maximum string length: 11
tin_type
enum<string> | null
Available options:
ein,
ssn,
utr
Maximum string length: 3
attachments
AttachmentSchemaOut · object[] | null
record_status
enum<string> | null
Available options:
draft,
posted,
archived
term_id
integer | null
customer_account_number
string | null
Maximum string length: 128
name_on_check
string | null
Maximum string length: 255
preferred_payment_method_id
integer | null
bank_account_number
string | null
Maximum string length: 34
bank_routing_number
string | null
Maximum string length: 9
bank_account_type
Allowed value: ""

Response

OK

term_id
integer | null
required
term_name
string
required
preferred_payment_method_id
integer | null
required
preferred_payment_method_name
string
required
id
integer
required
address
AddressSchemaIn · object
required
vendor_type
string
required
name
string
required
Maximum string length: 255
custom_fields
CustomFieldValuePairOutputSchema · object[]
attachments
PublicAttachmentSchemaOut · object[]
created_by
AuditActorSchemaOut · object

Schema for audit actor information.

updated_by
AuditActorSchemaOut · object

Schema for audit actor information.

approval_status
string | null
next_approvers
ApproverDictSchema · object[] | null
rejected_by
RejectedBySchema · object

Schema for rejector information including rejection reason.

company_id
integer | null
company_name
string | null
customer_account_number
string
default:""
name_on_check
string
default:""
bank_account_number
string
default:""
bank_routing_number
string
default:""
bank_account_type
default:""
Allowed value: ""
single_address
string | null
Maximum string length: 2048
country
default:""
Available options:
AA,
AB,
AC,
AD,
AE,
AF,
AG,
AH,
AI,
AJ,
AK,
AL,
AM,
AN,
AO,
AP,
AQ,
AR,
AS,
AT,
AU,
AV,
AW,
AX,
AY,
AZ,
BA,
BB,
BC,
BD,
BE,
BF,
BG,
BH,
BI,
BJ,
BK,
BL,
BM,
BN,
BO,
BP,
BQ,
BR,
BS,
BT,
BU,
BV,
BW,
BX,
BY,
BZ,
CA,
CB,
CC,
CD,
CE,
CF,
CG,
CH,
CI,
CJ,
CK,
CL,
CM,
CN,
CO,
CP,
CQ,
CR,
CS,
CT,
CU,
CV,
CW,
CX,
CY,
CZ,
DA,
DB,
DC,
DD,
DE,
DF,
DG,
DH,
DI,
DJ,
DK,
DL,
DM,
DN,
DO,
DP,
DQ,
DR,
DS,
DT,
DU,
DV,
DW,
DX,
DY,
DZ,
EA,
EB,
EC,
ED,
EE,
EF,
EG,
EH,
EI,
EJ,
EK,
EL,
EM,
EN,
EO,
EP,
EQ,
ER,
ES,
ET,
EU,
EV,
EW,
EX,
EY,
EZ,
FA,
FB,
FC,
FD,
FE,
FF,
FG,
FH,
FI,
FJ,
FK,
FL,
FM,
FN,
FO,
FP,
FQ,
FR,
FS,
FT,
FU,
FV,
FW,
FX,
FY,
FZ,
GA,
GB,
GC,
GD,
GE,
GF,
GG,
GH,
GI,
GJ,
GK,
GL,
GM,
GN,
GO,
GP,
GQ,
GR,
GS,
GT,
GU,
GV,
GW,
GX,
GY,
GZ,
HA,
HB,
HC,
HD,
HE,
HF,
HG,
H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ifier supplied by the user to disambiguate vendors that share a display name (e.g. an ID from another system).

Maximum string length: 64
website
string | null
Maximum string length: 128
email
string | null
Maximum string length: 128
is_active
boolean
default:true
phone
string | null
Maximum string length: 32
is_1099_eligible
boolean
default:false
tin
string | null
tin_type
string | null
default:""
record_status
enum<string>
default:posted
Available options:
draft,
posted,
archived
Last modified on May 28, 2026