create_fulfillment
Fulfill an order by creating a fulfillment record, marking specified line items as fulfilled, and optionally adding tracking info for customer notification.
Instructions
Create a fulfillment for an order, optionally specifying line items and tracking info. Side effect: creates a Fulfillment record and marks specified line_items as fulfilled.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | Order ID to fulfill. Required. | |
| line_items | No | Specific line items to fulfill. If omitted, fulfills all unfulfilled items. | |
| tracking_url | No | Full tracking URL. | |
| notify_customer | No | Whether to send fulfillment notification to customer. | |
| tracking_number | No | Tracking number from carrier. | |
| tracking_company | No | Shipping carrier name e.g. "Giao Hàng Nhanh", "GHTK". |