Sales Order Lines
Get Sales Order Line
Get detailed information for a single sales order line. Includes inventory allocation details with purchase order coverage and release sources.
Delete Sales Order Line
Delete a single sales order line. Recalculates order discounts if any were applied.
Bulk Delete Sales Order Lines
Bulk delete multiple sales order lines. Handles partial success and returns details of each line's outcome.
Map Line to Product
Map a sales order line to an existing product. Used to link unmapped channel order lines to SKU products.
Bulk Map Lines to Product
Map multiple unmapped sales order lines to the same product at once.
Mark Line as Non-Product
Mark an unmapped sales order line as a non-product line (e.g. shipping fee, gift wrapping). Only applicable to lines with no product_id.
Get Matching Unmapped Lines
Find other unmapped sales order lines across all orders that have the same product description as the given line. Useful for bulk mapping suggestions.
Manage Reservations
Reserve or unreserve inventory for specific sales order lines. Returns the updated sales order.
Convert to Financial Line
Convert a sales order line to a specific financial line type (e.g., revenue, adjustment).
Import Lines from CSV
Import stock take lines from a previously uploaded CSV file. The CSV must have columns: sku or id (product identifier), and optionally qty_counted, snapshot_inventory, unit_cost.
Override Edition
Override the subscription edition for a sales order line. Assigns a specific edition instead of the automatically resolved one.
Clear Edition Override
Clear the edition override on a sales order line, reverting to automatic edition resolution.