No content to show
User Activity
Webhooks are one way to trigger a serverless function, and in this case, probably the best way to do it.The webhook's data will contain the order ID. You could then fetch the order details using the Admin API, followed by a fetch to update the produc...
If I understand correctly, your store sells singles, 6 packs, and 12 packs. When a 6 pack is sold, you want it to deduct 6 singles from inventory.This cannot be accomplished with liquid. You’ll need to use the Shopify Admin API. To use this safely, y...
Are you trying to adjust the inventory by a different amount than what is on the order?
The quantities of the items in the order are automatically deducted when the order is created.Are you trying to adjust the inventory before the checkout is complete?