I am posting this JSON Payload:
{“fulfillment”:{“notify_customer”:false,“tracking_info”:{“number”:“9400111206207344492193”,“url”:“http://www.usps.com”,“company”:“USPS”},“line_items_by_fulfillment_order”:[{“fulfillment_order_id”:6225260871908}]}}
And I am getting this response:
Response Body: {“errors”:{“fulfillment”:“Required parameter missing or invalid”}}
The fulfillment_order_id is correct and does belong to the store I am trying to connect to. To make sure I got the syntax in the POST payload correct, I copied it directly from the API documentation and updated the parameter values only. Because of this I am unsure what would be missing or invalid.
Please note that the payload I have provided skips providing fulfillment_order_line_id data because the documentation states that if you want to fulfill ALL lines you can leave that data out and only provide the fulfillment_order_id to update fulfillment for all lines. Regardless, I have tried it both ways and still get the same response.