Hey everyone, I have been trying to get fulfillments to work.
I have the all the scopes mentioned by Shopify write_merchant_managed_fulfillment_orders,write_third_party_fulfillment_orders,write_assigned_fulfillment_orders,write_fulfillments.
How Do i fulfill items as complete using REST ? I have tried both Fulfillment API and FulfillmentOrders API
The APIs that I have tried and the responses I have receieved
POST request /admin/api/2021-10/fulfillments.json
Bad Request 400
POST request admin/api/2021-10/orders/450789469/fulfillments.json
Bad Request 400
POST request /admin/api/2021-10/orders/450789469/fulfillments/255858046/complete.json
Bad Request 400
POST request admin/api/2021-10/fulfillment_orders/1046000782/close.json
Bad Request 400
POST request /admin/api/2021-10/fulfillment_orders/1046000785/open.json
Bad Request 400
The parameters I am sending is in accordance with the cUrl request as mentioned in https://shopify.dev/api/admin-rest/2022-07/resources/fulfillmentorder
After checking all of this I went to the shopify community forum to find the method, but I could see similar questions which had discussions going and people still trying to figure the solution.
Thread 1: https://community.shopify.com/c/shopify-apis-and-sdks/struggling-with-fulfillment-orders/m-p/1235175
Thread 2: https://community.shopify.com/c/shopify-apis-and-sdks/create-fulfillment-order-problem/m-p/1670182
Thread 3: https://community.shopify.com/c/shopify-apis-and-sdks/create-fulfillment-order-problem/m-p/1670182
Please let me know if there’s any way I can improve