Skip to content


  Less than to read


If you need to delete a item from the data, such as a customer, supplier, sales order, etc then you would use a method called apiDelete.

The apiDelete method allows you to delete a specific item from the backend. Exercise caution when using this method, as it permanently removes the record from the system, and deleted data cannot be recovered. This method is used to ensure data cleanup and removal when necessary, such as deleting obsolete records or managing data retention policies.

apiDelete Parameters

Parameters Description
endpoint The URL for Sage 200 API endpoint that you require (e.g. v1/departments or v1/customers)
id (Optional) The ID of the item to be deleted.
prefix (Optional) A prefix to separate the data in the Redux store.

apiDelete Example

"apiDelete": {
  "endpoint": "v1/departments",
  "prefix": "prefix",
  "id": {
    "get": {
      "state": "department_id"