Home Forums Support API for contacs

This topic contains 4 replies, has 2 voices, and was last updated by  roman_at_swissix 3 years, 6 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1917

    roman_at_swissix
    Participant

    I am creating clients in InvoiceNinja via API already from another system. Now the customers can access the other system and update their contact and/or informations which I would have to feed that back into InvoiceNinja. Is there any plans to ammend the API to be able to create/update the client and contact data?

    Technically it would not be that hard to mess directly with the database of InvoiceNinja, but I much rather like to have a proper, supported way to interface with InvoiceNinja.

    #1918

    Hillel Coren
    Keymaster

    Our API support updating clients, you need to set the public_id field.

    It’s a bit confusing, in the future we’ll change it to ‘id’.

    #1921

    roman_at_swissix
    Participant

    That worked, thank you.

    Is there any way to delete a customer via API as well? From what I can see in the source HTTP DELETE requests are not handled and setting deleted_at/is_deleted seems to be simply ignored.

    #1922

    Hillel Coren
    Keymaster

    Our API doesn’t yet support deletion but it’s planned for a future release, I’d guess around 1 to 2 months.

    #1923

    roman_at_swissix
    Participant

    Looking forward to it. Thank you for your support.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

Posted in: