Post Sales Generatetrackingid
hgr_post_sales_generatetrackingidDedicated HGRApi tool for POST api/Sales/GenerateTrackingId. This is an explicit tool with a fixed endpoint; it is not a generic endpoint caller. HGRApi functional documentation: Purpose: Generates an HGR/VelociPacker tracking number for exact existing order lines that have already been processed or marked as purchased. ownerAgent: orders-autoordering. Domain: orders. Entity: order_line. Operation: generate_tracking. Scope: current_store. Use when: Use it when the user explicitly asks HGR to generate tracking for an existing order. A manually purchased supplier order must first be marked as purchased in HGR; in HGRWeb the user then clicks Generate it in Orders. Input: [FromBody] rq: LoadAddressesFromOrderLineRequest. Main fields: OrderLineIds: int[]. Required Header channel: current ChannelOAuthId. Output: Queues HGR/VelociPacker tracking generation for each supplied order line and returns refreshed order data on success or the processing result when generation cannot start. Search terms: sales generatetrackingid. Send the exact request payload in body. Requires confirmed=true before execution. Requires HGRApi Header channel / ChannelOAuthId resolved internally.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | HGRApi POST /api/Sales/GenerateTrackingId request body. | |
| confirmed | Yes | Must be true after the user explicitly requested or confirmed the exact action. | |
| channelOAuthId | Yes | ChannelOAuthId returned by hgr_list_channels for the selected visible store. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||