Customer PUT 500 error

Hi guys,

I am trying to update a customer through the API and i keep getting this error:

```
500 - [{"$severity":"error","$dataCode":"UnexpectedError","$message":"An unexpected error occurred.","$source":""}]
```

This is my request (sensible Data was exchanges wird "string"

{ "url":"">api.accounting.sage.com/.../8a9231432cc34c968f8bfc9df9ea5f96", "headers":{ "Host":"api.accounting.sage.com", "Authorization":"Bearer String", "Content-Type":"application/json", "Accept":"application/json" }, "body":{ "contact":{ "id":"String", "displayed_as":"String", "$path":"/contacts/String", "created_at":"2019-06-25T13:33:27Z", "updated_at":"2019-08-06T08:41:02Z", "links":[ { "href":"https://accounting.eu.sageone.com/contacts/customers/String", "rel":"alternate", "type":"text/html" } ], "contact_types":[ { "id":"CUSTOMER", "displayed_as":"Kunde", "$path":"/contact_types/CUSTOMER" } ], "name":"String", "reference":"String", "default_sales_ledger_account":{ "id":"String", "displayed_as":"String", "$path":"/ledger_accounts/String" }, "default_sales_tax_rate":{ "id":"String", "displayed_as":"String", "$path":"/tax_rates/String" }, "tax_number":"String", "notes":null, "locale":"de", "main_address":{ "name":"String", "address_line_1":"String", "city":"String", "postal_code":"String" }, "delivery_address":null, "main_contact_person":{ "contact_person_type_ids":[ "ACCOUNTS" ], "name":"String", "job_title":"String", "mobile":"String", "email":"String", "is_main_contact":true, "is_preferred_contact":true }, "bank_account_details":{ "account_name":"String", "bic":"String", "iban":"String" }, "credit_limit":null, "credit_days":null, "credit_terms_and_conditions":null, "product_sales_price_type":{ "id":"String", "displayed_as":"String", "$path":"/product_sales_price_types/String" }, "source_guid":null, "currency":{ "id":"EUR", "displayed_as":"Euro (EUR)", "$path":"/currencies/EUR" }, "aux_reference":"String", "registered_number":null, "deletable":false, "tax_treatment":{ "home_tax":true, "eu_tax_registered":false, "eu_not_tax_registered":false, "rest_of_world_tax":false, "is_importer":null }, "email":"String", "gdpr_obfuscated":false, "system":false, "contact_type_ids":[ "VENDOR" ] } }, "json":true }

Parents Reply Children