improved
Added deleted data query parameters and attributes
almost 3 years ago by Rainer Loopere
We've upgraded our existing endpoints to allow access to soft deleted data.
- Added
include_deleted=true
query parameter when querying resources to include deleted data in the ResultSet. You can query deleted data from the following endpoints:
- /sales_orders
- /purchase_orders
- /products
- /materials
- /variants
- /suppliers
- /customers
- /stock_transfers
- /stock_adjustments
- /locations
- /manufacturing_orders
- /manufacturing_order_recipe_rows
- /manufacturing_order_operation_rows
- We've also added a
deleted_at
attribute to responses. If something is deleted in Katana, bothupdated_at
anddeleted_at
will be updated with the deletion timestamp.
Deleted data is hidden from the results by default. This is not a breaking change for any endpoint that is already being used.