BigCommerce创建发货 - 没有回应

时间:2018-06-18 01:28:26

标签: api bigcommerce

我正在编写API以在Big Commerce上创建货件。 我收到了“获取”网址的回复 - 我似乎无法让API响应'PUT'

我启动了一个'Web Responder'并返回以下内容: 为了安全起见,移动了令牌等。

部首:

{
  "VERSION": "HTTP/1.1",
  "CONNECTION": "close",
  "ACCEPT-ENCODING": "gzip",
  "CONTENT-TYPE": "application/json",
  "AUTHORIZATION": "Bearer ---------------------",
  "X-AUTH-CLIENT": "======================",
  "X-AUTH-TOKEN": "=========================",
  "ACCEPT": "application/json;",
  "ACCEPT-CHARSET": "UTF-8;",
  "USER-AGENT": "West Wind Internet Protocols 5.56",
  "CACHE-CONTROL": "no-cache",
  "COOKIE": "__cfduid=dfebfa0729eeaf50601b1fe187807c6fc1529278210; owner_token=cdc79c402c05c15d01ce0996dcc40654e3a0fe75a256eae3",
  "CONTENT-LENGTH": "171"
}

'PUT'有:

PUT /b7ezoY2bqq2DKg0soyMy
{
  "tracking_number": "PBT0000124",
  "comments": "Shipped by PBT",
  "order_address_id": 392,
  "shipping_provider": "",
  "items": [
    {
      "order_product_id": 1540,
      "quantity": 1
    }
  ]
}

据我所知,所有细节都是正确的。我没有得到回应。请注意,这不是“桌面”应用程序 - 不是网站。

任何线索?

0 个答案:

没有答案