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/suppliers/archive |
Method(s): | put |
Response Formats: | JSON or XML |
Description: | This method allows you to archive multiple suppliers at one go.The request body should consist of List ( array ) of supplier codes to be archived. |
PUT Operation
Archives suppliers specified in the list of supplier codes. If any of the specified supplier is invalid, api will respond with 400 status including invalid codes in the message and none of the suppliers, will be archived.
URL : /internal/suppliers/archive
Example request for PUT
[ "Code1", "Code2", "Code3", "Code4" ]