Shopify Replace Item

Get line item inventory


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


SuccessBooleanWhether successfully replaced the item
Order dataObjectUpdated order data