This s a documentation page for our shiny new REST API - you weren't meant to find it. This API isn't ready for public use yet. We're chopping and changing it a LOT as we grow it. So if you build something that uses it then it's very likely to break in a future update. Don't say you weren't warned!
URL: | https://api.kashflow.com/v2/internal/customers/archive |
Method(s): | put |
Response Formats: | JSON or XML |
Description: | This method allows you to archive multiple customers at one go.The request body should consist of List ( array ) of customer codes to be archived. |
PUT Operation
Archives customers specified in the list of customer codes. If any of the specified customer is invalid, api will respond with 400 status including invalid codes in the message and none of the customers, will be archived.
URL : /internal/customers/archive
Example request for PUT
[ "Code1", "Code2", "Code3", "Code4" ]