Fulfillments API request runs as expected but customers complain that orders are not "fulfilled"

karlbauer
New Member
1 0 0

We transfer the data from the warehouse via the Shopify API. The API does not report any errors. However, customers complain that there is no shipment data and the order is not in the "fulfilled" status.

We always getting 201 Created back from the API. The problems have existed for about 2 months and have arisen by themselves. The API has not been changed in the program logic for a longer time. Not all orders are affected, but sporadically individual orders without a recognizable pattern.

Does anyone have any idea how to narrow down the problem?

POST https://[redacted].myshopify.com/admin/api/2021-07/orders/[redacted]/fulfillments.json HTTP/1.1
X-Shopify-Access-Token: [redacted]
Accept: application/json
Content-Type: application/json
Host: [redacted].myshopify.com
Content-Length: 207
Expect: 100-continue

{
  "fulfillment": {
    "line_items": [
      {
        "quantity": 1,
        "id": [redacted]
      }
    ],
    "order_id": [redacted],
    "location_id": [redacted],
    "notify_customer": true,
    "tracking_company": "DHL",
    "tracking_number": "[redacted]"
  }
}

 

HTTP/1.1 201 Created
{
"fulfillment": {

 [shortened]

}

Replies 0 (0)