Shopify Replace Item

Get line item inventory

Inputs

NameTypeDescription
Shopify TokenSensitiveStringShopify API token
Shopify DomainStringShopify domain
Order IDStringOrder ID
Line ItemObjectOrder Line Item
Variant IDOptional NumberProduct variant to replace with
Final Sale TagOptional StringFinal Sale tag to check against the product tags, if this tag is present on the product in the order line item then order considered not editable
Substitute Location IDOptional NumberLocation ID different from the one from where the initial item should have been shipped

Outputs

NameTypeDescription
SuccessBooleanWhether successfully replaced the item
Order dataObjectUpdated order data