Back to Customer

PUT Method Details for Update.

Update existing customer

Definition

https://app[x].timelog.com/[account name]/api/v{version}/customer/update

Parameters

  • customer object Update customer information
    • Address string Gets or sets the customer address
    • Address2 string Gets or sets the customer address line 2
    • Address3 string Gets or sets the customer address line 3
    • City string Gets or sets the customer address city
    • CountryID integer Gets or sets the customer address country
    • CreditorID string Gets or sets the creditor ID
    • CurrencyID integer Gets or sets the Currency ID
    • CustomerID integer Gets or sets the customer identifier (required for update)
    • CustomerNo string Gets or sets the Customer no.
    • CustomerSince string Gets or sets the date the customer started
    • CustomerStatusID integer Gets or sets the Customer status ID
    • Email string Gets or sets the email
    • Fax string Gets or sets the fax number
    • IndustryID integer Gets or sets the Industry ID
    • InvoicingAddress string Gets or sets the customer invoicing address
    • InvoicingAddress2 string Gets or sets the customer invoicing address line 2
    • InvoicingAddress3 string Gets or sets the customer invoicing address line 3
    • InvoicingAddressCity string Gets or sets the customer invoicing address city
    • InvoicingAddressCountryID integer Gets or sets the customer invoicing address country
    • InvoicingAddressState string Gets or sets the customer invoicing address state
    • InvoicingAddressZipCode string Gets or sets the customer invoicing address zip code
    • InvoicingName string Gets or sets the customer invoicing name
    • Name string Gets or sets the Name
    • NickName string Gets or sets the Nick name
    • OrganizationNo string Gets or sets the organization no
    • Phone string Gets or sets the phone number
    • PrimaryKAMID integer Gets or sets the user name of the Primary KAM
    • SecondaryKAMID integer Gets or sets the ID of the Secondary KAM
    • State string Gets or sets the customer address state
    • UseInvoicingAddress boolean Gets or sets if customer have separate invoicing address
    • VatNo string Gets or sets the VAT no
    • Website string Gets or sets the customers website
    • ZipCode string Gets or sets the customer address zip code
    {
      "Address": "",
      "Address2": "",
      "Address3": "",
      "City": "",
      "CountryID": 0,
      "CreditorID": "",
      "CurrencyID": 0,
      "CustomerID": 0,
      "CustomerNo": "",
      "CustomerSince": "2025-09-15T00:00:00+00:00",
      "CustomerStatusID": 0,
      "Email": "",
      "Fax": "",
      "IndustryID": 0,
      "InvoicingAddress": "",
      "InvoicingAddress2": "",
      "InvoicingAddress3": "",
      "InvoicingAddressCity": "",
      "InvoicingAddressCountryID": 0,
      "InvoicingAddressState": "",
      "InvoicingAddressZipCode": "",
      "InvoicingName": "",
      "Name": "",
      "NickName": "",
      "OrganizationNo": "",
      "Phone": "",
      "PrimaryKAMID": 0,
      "SecondaryKAMID": 0,
      "State": "",
      "UseInvoicingAddress": false,
      "VatNo": "",
      "Website": "",
      "ZipCode": ""
    }
  • version string The requested API version

Returns

  • [200] Customer updated successfully
    • CustomerID integer Gets or sets the customer identifier.
    • CustomerStatusID integer Gets or sets the customer status ID
    • DefaultMileageDistance integer Gets or sets the default mileage
    • ID string Gets or sets the identifier.
    • Name string Gets or sets the name.
    • No string Gets or sets the no.
    • OrganizationNo string Gets or sets the organization no.
    • VATNo string Gets or sets the VAT No.
    {
      "CustomerID": 0,
      "CustomerStatusID": 0,
      "DefaultMileageDistance": 0,
      "ID": "00000000-0000-0000-0000-000000000000",
      "Name": "",
      "No": "",
      "OrganizationNo": "",
      "VATNo": ""
    }
  • [401] Invalid authentication token
  • [500] Customer could not be updated
    • Code integer Gets the code.
    • Details array Gets the details.
    • DeveloperNote object
    • Message string Gets the message.
    • Parameters string Gets the parameters.
    • Url string Gets the URL.
    {
      "Code": 0,
      "Details": "",
      "Message": "",
      "Parameters": "",
      "Url": ""
    }