Trickle Docs
  • Trickle
  • Getting started
  • Frequently asked questions
  • Triggers
    • Scheduled trigger ready
    • Customer tags changed
    • Product tags changed
    • Order cancelled (deprecated)
  • Actions
    • Schedule trigger
    • Add order line item
    • Send advanced HTTP request (deprecated)
  • Extras
    • Hooks
  • Privacy Policy
Powered by GitBook
On this page
  • Action properties
  • Notes
  • Example
  1. Actions

Add order line item

Add a new line item to an existing order.

PreviousSchedule triggerNextSend advanced HTTP request (deprecated)

Last updated 3 years ago

You can use this action to add a line item to an existing order. The line item could be a product variant that exists on your store, or a completely custom line item.

Action properties

Name
Description

Order ID

The ID of the Shopify order to add a line item to.

Variant ID

Optional. The ID of the variant to add. If left blank, a custom line item will be added instead.

Quantity

Optional. The quantity to add. If left blank, will default to 1.

Price

The price of the custom line item to add as a decimal, eg 12.99. Ignored if a variant ID is provided.

Title

The title of the custom line item to add. Ignored if a variant ID is provided.

Requires shipping

Whether the custom line item to add requires shipping. Ignored if a variant ID is provided.

Taxable

Whether the custom line item to add is taxable. Ignored if a variant ID is provided.

Notify customer

Whether to notify the customer with an email once editing is complete.

Notes

This action uses Shopify's under the hood, and is subject to the same restrictions as that API - for example, orders older than 60 days can't be edited, and you're not able to set a custom price for a line item being added with an existing variant ID.

Example

Order Editing API
When an order is placed for a product representing a 20% deposit, add a separate product for the 80% balance to the order, triggering an email to the customer.