Fulfiment Api

Topic summary

A developer is encountering a 404 error when calling the Shopify Fulfillment API endpoint (/admin/api/2024-01/fulfillments.json) from their Node.js code, despite using what appears to be a valid request ID.

Key Issue:

  • The API call fails with a 404 error in the application code
  • When the same request body is tested in Postman or Thunder Client, it returns a successful 201 status message

Current Status:
The discrepancy between the API testing tools (which work) and the actual code implementation (which fails) suggests a potential issue with how the request is being constructed or authenticated in the Node.js environment. The discussion remains open with no resolution provided yet.

Summarized with AI on November 11. AI used: claude-sonnet-4-5-20250929.

Please tell me what the error is with the API: https://xxxxx.myshopify.com/admin/api/2024-01/fulfillments.json where xxxxx is my store url. I am getting a 404 error whenever I hit this with my code. When i pass the same body from the code to the Postman or Thunder client, it gives a success message of 201.

Request ID I got from NodeJS code:
x-request-id: 33eb93e4-0473-4a30-8b75-29223394f26c-1709705517