{ "operationId": "updateContact", "method": "POST", "path": "/Contacts/{ContactID}", "summary": "Updates a specific contact in a Xero organisation", "requestExamples": [ { "contentType": "application/json", "example": { "Contacts": [ { "ContactID": "00000000-0000-0000-0000-000000000000", "Name": "Thanos" } ] } } ], "responseExamples": [ { "status": "200", "contentType": "application/json", "example": { "Id": "4166b727-c3f0-4881-acd0-d4f7c0e8fcda", "Status": "OK", "ProviderName": "Xero API Partner", "DateTimeUTC": "/Date(1551400031795)/", "Contacts": [ { "ContactID": "d5be01fb-b09f-4c3a-9c67-e10c2a03412c", "ContactStatus": "ACTIVE", "Name": "FooBar", "EmailAddress": "sid30680@blah.com", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "City": "", "Region": "", "PostalCode": "", "Country": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "555-1212", "PhoneAreaCode": "415", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "/Date(1551400031763+0000)/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": false, "SalesDefaultLineAmountType": "INCLUSIVE", "PurchasesDefaultLineAmountType": "INCLUSIVE", "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "PaymentTerms": { "Bills": { "Day": 15, "Type": "OFCURRENTMONTH" }, "Sales": { "Day": 10, "Type": "DAYSAFTERBILLMONTH" } }, "ContactPersons": [], "HasValidationErrors": false } ] } } ] }