diff --git a/source/_integrations/seventeentrack.markdown b/source/_integrations/seventeentrack.markdown index c8308a9ee8e..d53ee73c906 100644 --- a/source/_integrations/seventeentrack.markdown +++ b/source/_integrations/seventeentrack.markdown @@ -79,7 +79,6 @@ content: > The `seventeentrack.get_packages` action allows you to query the 17track API for the latest package data. - | Data attribute | Optional | Description | |------------------------|----------|---------------------------------------------| | `config_entry_id` | No | The ID of the 17Track service config entry. | @@ -92,3 +91,20 @@ The `seventeentrack.get_packages` action allows you to query the 17track API for config_entry_id: 2b4be47a1fa7c3764f14cf756dc98991 package_state: ["Delivered", "In transit"] ``` + +### Action `seventeentrack.archive_package` + +The `seventeentrack.archive_package` action allows you to archive a package using the 17track API. + +| Data attribute | Optional | Description | +|---------------------------|----------|---------------------------------------------| +| `config_entry_id` | No | The ID of the 17Track service config entry. | +| `package_tracking_number` | No | The package tracking number. | + +```yaml +# Example automation action to archive a package with a tracking number +- action: seventeentrack.archive_package + data: + config_entry_id: 2b4be47a1fa7c3764f14cf756dc98991 + package_tracking_number: RU0103445624A +```