-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no relationship between fulfillments and fulfillment line items #81
Comments
This issue is something that's been affecting us for some time as well. This is available from Shopify's API, so it seems like a bug in the tap. I'd like to contribute, but I think this is something that needs a decision by the product team before any code is written, to consider historical context and backwards incompatibilities. If it's something Stitch would be willing to merge in, let me know if it'd be helpful for us to make a PR. My main hesitation is building something backwards incompatible and not knowing the internal processes around that. There seem to be two ways to address this: Method 1
This has great implications:
This would be in-line with the standardized setup of most of this tap, however bears heavy risk. Method 2
This is safer, and while not the intended way to approach it, we can see a case made for it with refund order adjustments, which have these:
@singer-io if method 2 something that would be accepted if a pull request was made? I've also reached out to Stitch support and on the Slack workspace, but haven't made definitive progress through those channels. I'd be happy to help here if it's something that would be accepted and used in Stitch. |
i believe this affects refunds and refunds__line_items as well gl getting a response from stitch about this LOL we "fixed" this by writing our own etl for an index table. but if you end up forking the repo to fix this lmk |
Yep, we ended up doing something similar, using the Shopify APIs and building a table of created_at from the fulfillment with fulfillment_line_item_id (that's mainly what we needed) as the second column, but it would be awesome to move away from that. I'll definitely keep you posted if I hear anything! |
there is no relationship created between fulfillments and fulfillment line items (orders__fulfillments and orders__fulfillments__line_items). consequently it is impossible to know which line item belongs to which fulfillment.
The text was updated successfully, but these errors were encountered: