We use request: POST /admin/api/2022-01/orders/xxxxxxxx/fulfillments.json
We want to go to request: POST /admin/api/2022-01/fulfillments.json
We have some trouble with a new request.
When ordering with one unit of goods, in our service this product can be changed to several others, and when sent it is packed in different boxes, in this case for each box we need to get several tracking_info → number and tracking_info → url BUT in the shopify the goods are single
Request example:
POST /admin/api/2022-01/fulfillments.json
{ "fulfillment": { "message": "The package was shipped this morning.", "notify_customer": false, "tracking_info": { "number": xxxxxx, "url": "https:/xxxx.xxxx", "company": "xxxxx" }, "line_items_by_fulfillment_order": [ { "fulfillment_order_id": xxxxxx, "fulfillment_order_line_items": [ { "id": xxxxxxx, "quantity": 1 } ] } ] } }
If I try to send a few tracking/numbers/URLs for one order position (send few requests with different tracking_info). I receive error response:
{ “errors”: [ “Invalid fulfillment order line item quantity requested.” ] }
how can we be in such situation?