How to use FLOW to add a custom item to an order?

Topic summary

Goal: Automatically add a free custom line item (“widget” at $0.00) to an order when SKU 100 is purchased, using Shopify Flow.

What’s suggested:

  • Use Flow’s add-order-line-item action (links provided). Note: there is no remove-order-line-item action, so additions are one-way.
  • If you need more control (e.g., pricing at $0.00) or potential removals, consider an app or call the Shopify API via Flow’s Send HTTP Request action.

Key limitation raised:

  • The built-in add-order-line-item action adds the item with its price; the OP needs the item added at no cost.

API path discussed:

  • Contributors suggest using Send HTTP Request to call the Admin API for order edits. Another participant asks for a concrete API example and notes Shopify’s documentation indicates a two-step order edit process.

Status:

  • No concrete API example or step-by-step solution was shared in-thread.
  • Open/Unresolved: How to implement the API call via Flow to add a $0.00 custom line item remains unanswered.
Summarized with AI on December 18. AI used: gpt-5.

the only problem with that is that it also adds in the price. I want the item to be added at no cost

1 Like