From c92ccdf5ea2fb5ea7610b332369b3d9476b88073 Mon Sep 17 00:00:00 2001 From: Shai Ungar Date: Thu, 5 Sep 2024 10:04:00 +0300 Subject: [PATCH] Add docs for the new action archive_package (#34372) * add docs for the new action archive_package * lint --- source/_integrations/seventeentrack.markdown | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) 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 +```