Update aftership.markdown (#9313)

Replace https://github.com/home-assistant/home-assistant.io/pull/9001 as it is now current
This commit is contained in:
Ian Richardson 2019-04-26 07:35:05 -05:00 committed by Klaas Schoute
parent be282d68a9
commit b0fec8c73a

View File

@ -49,6 +49,25 @@ api_key:
type: string type: string
{% endconfiguration %} {% endconfiguration %}
## {% linkable_title Service `add_tracking` %}
You can use the service `aftership.add_tracking` to add trackings to Aftership.
| Service data attribute | Required | Description |
| ---------------------- | -------- | ----------- |
| `tracking_number` | `True` | Tracking number
| `slug` | `False` | Carrier e.g. `fedex`
| `title` | `False` | Friendly name of package
## {% linkable_title Service `remove_tracking` %}
You can use the service `aftership.remove_tracking` to remove trackings from Aftership.
| Service data attribute | Required | Description |
| ---------------------- | -------- | ----------- |
| `tracking_number` | `True` | Tracking number
| `slug` | `True` | Carrier e.g. `fedex`
<p class='note info'> <p class='note info'>
This component retrieves data from AfterShip public REST API, but the component is not affiliated with AfterShip. This component retrieves data from AfterShip public REST API, but the component is not affiliated with AfterShip.
</p> </p>