Mark Fulfilled order after making unfulfilled

Topic summary

A developer is encountering an API error when attempting to re-fulfill a Shopify order after previously marking it as unfulfilled.

Technical Details:

  • Successfully unfulfilling orders using: https://${storeUrl}.myshopify.com/admin/api/2023-07/orders/${orderId}/fulfillments.json
  • Error occurs when trying to fulfill again using: https://7fd4c3.myshopify.com/admin/api/2023-07/fulfillments.json
  • Receiving HTTP status code 422 (Unprocessable Entity)

Current Status:

  • The issue remains unresolved with no responses yet
  • The developer needs guidance on the correct API endpoint or request format for re-fulfilling previously unfulfilled orders
Summarized with AI on October 31. AI used: claude-sonnet-4-5-20250929.

I need help related to order fulfilment after marking as unfulfilled through api.

https://${storeUrl}.myshopify.com/admin/api/2023-07/orders/${orderId}/fulfillments.json

But When I am trying to again mark order as fulfilled it gives of
Request url :https://7fd4c3.myshopify.com/admin/api/2023-07/fulfillments.json
Response : Request failed with status code 422