curl --request PATCH \
--url https://api.zivio.net/api/v3/suppliers/{id} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--header 'zivio-tenant-id: <api-key>' \
--data '
{
"supplier": {
"supplier": {
"name": "My New Supplier",
"description": "Specialist in Construction",
"headline": "Nice people to do business with",
"tax_number": "1234568983",
"vetting_status": "PASSED"
}
}
}
'{
"id": "77",
"name": "Company Inc",
"description": "A detailed biography of the supplier.",
"headline": "Proven track record in medical procurement",
"email": "[email protected]",
"active": "true",
"vetting_status": "PASSED",
"tax_number": "9876543234",
"tax_registered": "true",
"cis_contractor": "true",
"payment_terms_in_days": "30",
"duns_number": "12345678910",
"linkedin_url": "https://www.linkedin.com/2342342",
"onboarding_template_name": "Sole Trader Onboarding",
"invited_by": {
"id": "66",
"first_name": "Lorna",
"last_name": "Lawless",
"email": "[email protected]",
"org_name": "Example Org",
"org_id": "186",
"business_unit": "Resident Services",
"division": "Environment & Streetscene",
"department": "Housing",
"vetting_status": "PASSED",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"custom_fields": {
"key": "value"
},
"has_oversight": "true"
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"archived_at": "2023-11-07T05:31:56Z",
"custom_fields": {
"key": "value"
},
"badges": [
{
"id": "1",
"name": "Badge 1"
}
],
"primary_address": {
"id": "326",
"line1": "326",
"line2": "Westbourne Grove",
"city": "Brighton",
"region": "East Sussex",
"postcode": "BN99 9XX",
"country_code": "GB",
"formatted": "326, Westbourne Grove, Brighton, East Sussex, BN99 9XX, United Kingdom"
},
"invoice_address": {
"id": "326",
"line1": "326",
"line2": "Westbourne Grove",
"city": "Brighton",
"region": "East Sussex",
"postcode": "BN99 9XX",
"country_code": "GB",
"formatted": "326, Westbourne Grove, Brighton, East Sussex, BN99 9XX, United Kingdom"
},
"admin_custom_fields": {
"key": "value"
},
"custom_field_detailed": {
"key": "key",
"value": "value"
},
"skills": [
{
"skill_id": 123,
"skill_slug": "computer-acquisitions",
"skill_name": "Computer Acquisitions",
"why": "10 years experience",
"precedence": 1
}
],
"company_registration_number": "123456789",
"website": "https://www.companyinc.com",
"supplier_risk_factors": [
{
"risk_factor_name": "Insurance Risk",
"risk_level_name": "RED",
"dated": "YYYY-MM-DD",
"effective_at": "2023-11-07T05:31:56Z",
"comments": "Please upload Professional Indemnity Insurance (minimum £1million) document. (26/07/2024)"
}
],
"bank_accounts": [
{
"id": "132",
"currency": "GBP",
"country_code": "GB",
"account_holder_name": "Organistation Ltd",
"account_holder_type": "Business",
"account_number": "****1234",
"sort_code": "123456",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"cis_rate": {
"id": "3",
"label": "Construction Industry Scheme Gross Payment",
"tax_reference": "sales",
"key": "cis_registered_contractors_deduction",
"rate": "20.0",
"country_code": "GB",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"archived": "false",
"custom_fields": {
"key": "value"
}
}
}curl --request PATCH \
--url https://api.zivio.net/api/v3/suppliers/{id} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--header 'zivio-tenant-id: <api-key>' \
--data '
{
"supplier": {
"supplier": {
"name": "My New Supplier",
"description": "Specialist in Construction",
"headline": "Nice people to do business with",
"tax_number": "1234568983",
"vetting_status": "PASSED"
}
}
}
'{
"id": "77",
"name": "Company Inc",
"description": "A detailed biography of the supplier.",
"headline": "Proven track record in medical procurement",
"email": "[email protected]",
"active": "true",
"vetting_status": "PASSED",
"tax_number": "9876543234",
"tax_registered": "true",
"cis_contractor": "true",
"payment_terms_in_days": "30",
"duns_number": "12345678910",
"linkedin_url": "https://www.linkedin.com/2342342",
"onboarding_template_name": "Sole Trader Onboarding",
"invited_by": {
"id": "66",
"first_name": "Lorna",
"last_name": "Lawless",
"email": "[email protected]",
"org_name": "Example Org",
"org_id": "186",
"business_unit": "Resident Services",
"division": "Environment & Streetscene",
"department": "Housing",
"vetting_status": "PASSED",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"custom_fields": {
"key": "value"
},
"has_oversight": "true"
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"archived_at": "2023-11-07T05:31:56Z",
"custom_fields": {
"key": "value"
},
"badges": [
{
"id": "1",
"name": "Badge 1"
}
],
"primary_address": {
"id": "326",
"line1": "326",
"line2": "Westbourne Grove",
"city": "Brighton",
"region": "East Sussex",
"postcode": "BN99 9XX",
"country_code": "GB",
"formatted": "326, Westbourne Grove, Brighton, East Sussex, BN99 9XX, United Kingdom"
},
"invoice_address": {
"id": "326",
"line1": "326",
"line2": "Westbourne Grove",
"city": "Brighton",
"region": "East Sussex",
"postcode": "BN99 9XX",
"country_code": "GB",
"formatted": "326, Westbourne Grove, Brighton, East Sussex, BN99 9XX, United Kingdom"
},
"admin_custom_fields": {
"key": "value"
},
"custom_field_detailed": {
"key": "key",
"value": "value"
},
"skills": [
{
"skill_id": 123,
"skill_slug": "computer-acquisitions",
"skill_name": "Computer Acquisitions",
"why": "10 years experience",
"precedence": 1
}
],
"company_registration_number": "123456789",
"website": "https://www.companyinc.com",
"supplier_risk_factors": [
{
"risk_factor_name": "Insurance Risk",
"risk_level_name": "RED",
"dated": "YYYY-MM-DD",
"effective_at": "2023-11-07T05:31:56Z",
"comments": "Please upload Professional Indemnity Insurance (minimum £1million) document. (26/07/2024)"
}
],
"bank_accounts": [
{
"id": "132",
"currency": "GBP",
"country_code": "GB",
"account_holder_name": "Organistation Ltd",
"account_holder_type": "Business",
"account_number": "****1234",
"sort_code": "123456",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"cis_rate": {
"id": "3",
"label": "Construction Industry Scheme Gross Payment",
"tax_reference": "sales",
"key": "cis_registered_contractors_deduction",
"rate": "20.0",
"country_code": "GB",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"archived": "false",
"custom_fields": {
"key": "value"
}
}
}Show child attributes
Show child attributes
"My New Supplier"
"Specialist in Construction"
"Nice people to do business with"
"1234568983"
PASSED, FAILED, PENDING ok
"77"
"Company Inc"
"A detailed biography of the supplier."
"Proven track record in medical procurement"
"true"
"PASSED"
"9876543234"
"true"
"true"
"30"
"12345678910"
"https://www.linkedin.com/2342342"
"Sole Trader Onboarding"
Show child attributes
"66"
"Lorna"
"Lawless"
"Example Org"
"186"
"Resident Services"
"Environment & Streetscene"
"Housing"
"PASSED"
"true"
Show child attributes
"326"
"326"
"Westbourne Grove"
"Brighton"
"East Sussex"
"BN99 9XX"
"GB"
"326, Westbourne Grove, Brighton, East Sussex, BN99 9XX, United Kingdom"
Show child attributes
"326"
"326"
"Westbourne Grove"
"Brighton"
"East Sussex"
"BN99 9XX"
"GB"
"326, Westbourne Grove, Brighton, East Sussex, BN99 9XX, United Kingdom"
"123456789"
"https://www.companyinc.com"
Show child attributes
"Insurance Risk"
"RED"
"YYYY-MM-DD"
"Please upload Professional Indemnity Insurance (minimum £1million) document. (26/07/2024)"
Show child attributes
"132"
"GBP"
"GB"
"Organistation Ltd"
"Business"
"****1234"
"123456"
Show child attributes
"3"
"Construction Industry Scheme Gross Payment"
sales, cis "cis_registered_contractors_deduction"
"20.0"
"GB"
"false"