go-shopify icon indicating copy to clipboard operation
go-shopify copied to clipboard

The required line_items_by_fulfillment_order field is missing error.

Open mbobrovskyi opened this issue 1 year ago • 1 comments

When I'm trying to create fulfillment I got error The required line_items_by_fulfillment_order field is missing error. with status 400.

As I can see on documentation it was change Fulfillment model for create (https://shopify.dev/docs/api/admin-rest/2023-01/resources/fulfillment#post-fulfillments-fulfillment-id-update-tracking).

mbobrovskyi avatar Jul 13 '23 13:07 mbobrovskyi

You're right, this is currently missing and needs some updating. I'm a bit tight with time but I can review a PR if you (or anyone else!) sends one over.

oliver006 avatar Jul 15 '23 01:07 oliver006

I think this was fixed by https://github.com/bold-commerce/go-shopify/pull/241

oliver006 avatar May 26 '24 04:05 oliver006

https://github.com/bold-commerce/go-shopify/blob/master/fulfillment.go#L63

oliver006 avatar May 26 '24 04:05 oliver006