Right now, this library only supports new fulfillment creation via shopify.fulfillment.create(orderId, params), which calls POST /admin/api/2020-10/orders/{order_id}/fulfillments.json.
It needs to add shopify.fulfillment.create(params) (without specifying order id) and then call POST /admin/api/2020-10/fulfillments.json. This is the new and recommended way of creating new fulfillments.
Right now, this library only supports new fulfillment creation via
shopify.fulfillment.create(orderId, params)
, which callsPOST /admin/api/2020-10/orders/{order_id}/fulfillments.json
.It needs to add
shopify.fulfillment.create(params)
(without specifying order id) and then callPOST /admin/api/2020-10/fulfillments.json
. This is the new and recommended way of creating new fulfillments.Docs: https://shopify.dev/docs/admin-api/rest/reference/shipping-and-fulfillment/fulfillment#createV2-2020-10