在API不能下单

  • 您好,请问您不能下单得到的是什么错误提示?谢谢。

  • 你好,在API中”“库存和定价 API” 查询物料显示错误(在E2E这个界面我不能截图上传),以下是复制的界面

    Name Description
    currency
    string
    (query)

    Specific currency for pricing information. Specify the currency using ISO 4217 alphabetic codes. If not specified, pricing in USD will be provided.

    Default value : USD

    exclude-evms
    boolean
    (query)

    Flag to exclude EVM (Evaluation Module) products from the result. If not specified, EVMs are included.

    Default value : false

    --truefalse
    tiPartNumber *
    string
    (path)

    A URL encoded unique identifier for the product (Orderable Part Number). Note: Part numbers that include /NOPB must be encoded prior to making the API call or the response will be a “not found” error. For example, LP2982AIM5-3.3/NOPB must be encoded as LP2982AIM5-3.3%2FNOPB. Make sure the encoding process does not have linefeed or new line breaks, such as LP2989IM-2.5%2FNOPB%0A%0A as this too will result in a product “not found” error.

    Responses

    Curl

    curl -X 'GET' \
      'transact.ti.com/.../TPS62671 \
      -H 'accept: application/json'

    Request URL

    transact.ti.com/.../TPS62671

    Server response

    Code Details
    401

    Error: Unauthorized

    Response body
    Download
    {
      "errors": [
        {
          "errorCode": "TI-API-0401",
          "type": "Security",
          "reason": "Invalid Credentials",
          "message": "Invalid bearer token. Please contact your local IT support to verify authentication information. Once resolved, please resubmit request."
        }
      ]
    }
    
    Response headers
     cache-control: no-store  content-length: 381  content-type: application/json  pragma: no-cache 

    Responses

    Code Description
    200

    OK

    Media type

  • 您好,根据错误提示您在连接API 时候验证失败。请您确保使用的是您最新的Credentials (包含Consumer Key & Consumer Secret) 在您授权的API PRODUCT 下单。我也加了您为好友,您通过后可以私信发给我您使用的Consumer Key & Consumer Secret以及您的出错截图。谢谢。 

  • 您好,根据您的留言您会根据我们的指南继续测试。我们会先关闭这个问题。 谢谢。