-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Description
Describe the event source. What app is this for, and what event does the trigger correspond to?
This issue is for the Shopify Draft Order Updated event source/trigger in Pipedream. This trigger should fire whenever a draft order is updated in Shopify, including when line items (products) are added to or removed from the draft order.
Issue:
The trigger is currently not firing webhook events when:
- A product/line item is added to an existing draft order
- A product/line item is removed from an existing draft order
The trigger only seems to fire for other types of draft order updates (such as customer changes, shipping address updates, etc.), but not for line item modifications, which are critical for draft order management workflows.
Expected Behavior:
The trigger should fire whenever any aspect of a draft order is updated, including line item changes, consistent with Shopify's draft_orders/update webhook behavior.
Please provide a link to the relevant API docs for the specific service / operation this trigger is tied to:
https://shopify.dev/docs/api/admin-rest/2024-10/resources/webhook#event-topics-draft_orders-update
According to Shopify's documentation, the draft_orders/update webhook should be triggered whenever a draft order is updated, which includes modifications to line items.