我创建fulfillments接口发货时提示not found

Topic summary

开发者在创建 Shopify 发货应用时遇到技术问题。

问题描述:

  • 订单同步功能正常运行
  • 在执行发货操作时,API 接口返回 “not found” 错误

操作流程:

  1. 第一步:成功调用 /admin/api/2023-01/orders/{order_id}/fulfillment_orders.json 获取 fulfillment_order_id (6050760228948)
  2. 第二步:使用获取的 ID 构建发货请求到 /admin/api/fulfillments.json,包含物流追踪信息(快递单号:EV000010004NC,公司:China EMS)
  3. 执行后显示 “not found” 错误

当前状态:

  • 问题未解决,有其他开发者遇到相同问题
  • 两位用户跟帖询问是否找到解决方案
  • 讨论处于开放状态,等待解决方案或进一步诊断
Summarized with AI on November 4. AI used: claude-sonnet-4-5-20250929.

我做了一个同步订单的应用,在我们网站后台同步订单并发货。现在同步订单没有问题了。就是在发货的时候接口提示not found

第一步、创建fulfillment_order_id接口地址

/admin/api/2023-01/orders/5022154621012/fulfillment_orders.json

{
    "fulfillment_orders": [
        {
            "id": 6050760228948,
            "shop_id": 58084753492,
            "order_id": 5022154621012,
            "assigned_location_id": 64980025428,
            "request_status": "unsubmitted",
            "status": "open",
            "supported_actions": [
                "create_fulfillment",
                "hold"
            ],
            
    ]
}

第二步,拿到fulfillment_orders下的id 6050760228948构建发货api
/admin/api/2023-01/fulfillments.json
构建发货json

{
  "fulfillment": {
    "line_items_by_fulfillment_order": [
      {
        "fulfillment_order_id": 6050760228948
      }
    ],
    "notify_customer": true,
    "tracking_info": {
      "number": "EV000001004CN",
      "company": "China EMS"
    }
  }
}

执行后显示 not found

解决了吗最后 我也是同样的问题

有解决方案吗?一样的问题