For the complete documentation index, see llms.txt. This page is also available as Markdown.

Action: Add Line Item to Order

Shopify Operation

The Add Line Item to Order action adds a new product or service (line item) to an existing order.

Example User Story

I want to add a free gift to a customer's order after they've already checked out, so I can surprise and delight them.

Fields

Field Name
Field Type
Required

orderId

String

Yes

variantId

String

Yes

quantity

Integer

Yes

customAttributes

Map

No

Shopify

Example link

Code (Apache v2.0): Operation

Last updated