Orgs
Update an Org by ID
Endpoints
- Welcome
- Bank Accounts
- Bids
- EOIs
- EOI Responses
- Invoices
- Jobs
- Milestones
- Offers
- Orgs
- Purchase Orders
- Sales Invoices
- Sales Milestones
- Skill Categories
- Skill Taxonomies
- Skills
- Suppliers
- Supplier Lists
- Users
- Variation Orders
Orgs
Update an Org by ID
PATCH
/
orgs
/
{id}
curl --request PATCH \
--url https://api.zivio.net/api/v3/orgs/{id} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--header 'zivio-tenant-id: <api-key>' \
--data '{
"org": {
"org": {
"name": "My New Organistation",
"is_external_client": true,
"url": "https://www.example.com"
}
}
}'
{
"id": "23",
"name": "Demonstration Inc.",
"is_external_client": "false",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-12-25",
"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"
},
"custom_fields": {
"key": "value"
},
"settings": {
"default_fee_methodology": "markup",
"cis_contractor": "true",
"payment_terms_in_days": "30"
}
}
Path Parameters
Body
application/json
Response
200
*/*
ok
Example:
"23"
Example:
"Demonstration Inc."
Example:
"false"
Example:
"326"
Example:
"326"
Example:
"Westbourne Grove"
Example:
"Brighton"
Example:
"East Sussex"
Example:
"BN99 9XX"
Example:
"GB"
Example:
"326, Westbourne Grove, Brighton, East Sussex, BN99 9XX, United Kingdom"
Example:
"326"
Example:
"326"
Example:
"Westbourne Grove"
Example:
"Brighton"
Example:
"East Sussex"
Example:
"BN99 9XX"
Example:
"GB"
Example:
"326, Westbourne Grove, Brighton, East Sussex, BN99 9XX, United Kingdom"
curl --request PATCH \
--url https://api.zivio.net/api/v3/orgs/{id} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--header 'zivio-tenant-id: <api-key>' \
--data '{
"org": {
"org": {
"name": "My New Organistation",
"is_external_client": true,
"url": "https://www.example.com"
}
}
}'
{
"id": "23",
"name": "Demonstration Inc.",
"is_external_client": "false",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-12-25",
"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"
},
"custom_fields": {
"key": "value"
},
"settings": {
"default_fee_methodology": "markup",
"cis_contractor": "true",
"payment_terms_in_days": "30"
}
}