update_document_tracking
Update carrier and tracking number for a Holded sales order or waybill using its document ID; other document types return an unsupported error.
Instructions
Update tracking information for a document (Holded API v2). Supported docTypes: salesorder (PUT /sales-orders/{id}/tracking) and waybill (PUT /waybills/{id}/tracking). All other types have NO EQUIVALENT in v2 and will throw an unsupported error. NOTE: this is a discrepancy with the task brief (which stated "all types unsupported") — the normative annex tables show salesorder and waybill do have tracking in v2.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| carrier | No | Carrier name | |
| docType | Yes | Type of document | |
| documentId | Yes | Document ID | |
| trackingNumber | No | Tracking number |