TI-API: SN74LS00N

Part Number: TI-API

Tool/software:

I hope that you are well.

 

We are busy integrating the Backlog API for Sabertek. However, we have run into an issue and need your assistance. When we post to create an order as follows:

 

{

  "order": {

    "customerPurchaseOrderNumber": "PO54229",

    "checkoutProfileId": "1F92EA49E9AE02CBE063DE21BB8BE901",

    "lineItems": [

      {

        "customerLineItemNumber": "1",

        "tiPartNumber": "SN74LS00N",

        "customerAnticipatedUnitPrice": 0.202,

        "quoteNumber": "12345678",

        "customerCurrencyCode": "USD",

        "schedules": [

          {

            "requestedQuantity": 2000,

            "requestedDeliveryDate": "2025-05-01"

          }

        ]

      }

    ]

  }

}

 

We get the following issue:

 

{

  "orders": [

    {

      "messages": [

        {

          "code": "TI-TXT-025",

          "type": "ERROR",

          "reason": "Invalid Customer",

          "message": "Customer is not valid. If you are still having issues, contact TI customer support https://support.ti.com/csm"

        }

      ],

      "customerPurchaseOrderNumber": "PO54229",

      "orderStatus": "REJECT",

      "customerPurchaseOrderDate": "2024-09-06",

      "lineItems": [

        {

          "tiPartNumber": "SN74LS00N",

          "customerLineItemNumber": "1",

          "itemCheckoutProfileId": "1F92EA49E9AE02CBE063DE21BB8BE901",

          "status": "Rejected",

          "tiTotalOrderItemQuantity": 0,

          "customerAnticipatedUnitPrice": 0.202,

          "customerCurrencyCode": "USD",

          "quoteNumber": "12345678",

          "schedules": [

            {

              "requestedQuantity": 2000,

              "requestedDeliveryDate": "2025-05-01"

            }

          ]

        }

      ]

    }

  ]

}

 

Your assistance with this issue is much appreciated.

 

Best Regards

  • Hello, 

    thanks for reaching out, we are checking internally and I will come back to you 

    Thanks!

    Regards,

    Patrick

  • ***as per another thread - 

    Invalid Customer "Customer is not valid. If you are still having issues, contact TI customer support"

    Dear Team,

    This issue should be solved now. We made sure to have a customer profile set up in our test environment correctly for you.

    Could you try the API again please?

    Thanks a lot.

    Regards,

    Patrick

  • Hi Patrick.

    I think the previous has been resolved but now I'm getting a different error when I POST for Backlog order create.

    The following is the sequence of steps how I go about trying  to create an order, please have a look at them kindly advise if something is missing.

    //Backlog quote create POST :

    {
      "quote": {
        "endCustomerCompanyName": "Sabertek",
        "checkoutProfileId": "1F92EA49E9AE02CBE063DE21BB8BE901",
        "requestedUnitPriceCurrencyCode": "USD",
        "lineItems": [
          {
            "tiPartNumber": "OPA455IDDAR",
            "quantity": 2500,
            "requestedUnitPrice": 1.2
          }
        ]
      }
    }

       
    //Backlog quote create POST Response body:

    {
      "quotes": [
        {
          "customerQuoteNumber": "1726126781138",
          "checkoutProfileId": "1F92EA49E9AE02CBE063DE21BB8BE901",
          "quoteNumber": "26931099",
          "quoteReason": "NO",
          "endCustomerCompanyName": "Sabertek",
          "quoteStatus": "Accept",
          "quoteStartDate": "2024-09-12",
          "quoteEndDate": "2025-03-11",
          "lineItems": [
            {
              "tiLineItemNumber": 10,
              "tiPartNumber": "OPA455IDDAR",
              "quantity": 2500,
              "requestedUnitPrice": 1.2,
              "requestedUnitPriceCurrencyCode": "USD",
              "status": "Pending"
            }
          ]
        }
      ]
    }

    //Backlog quote retrieve

    {
      "quotes": [
        {
          "customerQuoteNumber": "1726126781138",
          "quoteNumber": "26931099",
          "checkoutProfileId": "1F92EA49E9AE02CBE063DE21BB8BE901",
          "endCustomerCompanyName": "Sabertek",
          "quoteStartDate": "2024-09-12",
          "quoteEndDate": "2025-03-11",
          "lineItems": [
            {
              "tiLineItemNumber": "000010",
              "tiUnitPrice": 0,
              "tiUnitPriceCurrencyCode": "USD",
              "tiPartNumber": "OPA455IDDAR",
              "quantity": 2500,
              "requestedUnitPrice": 1.2,
              "requestedUnitPriceCurrencyCode": "USD",
              "status": "Pending",
              "orderLeadTime": 0,
              "minimumOrderQuantity": 0,
              "nextOrderQuantityIncrement": 0,
              "boxQuantity": 0,
              "packageQuantity": 0,
              "packageType": "",
              "restrictionOfHazardousSubstancesCompliant": "",
              "cancellationWindowWeeks": null,
              "rescheduleWindowWeeks": null,
              "nonCancellableNonReturnable": false,
              "productType": "",
              "moistureLevel": "",
              "exportControlClassificationNumber": "",
              "paymentTerms": "Per Negotiated Terms",
              "incotermDescription": ""
            }
          ]
        }
      ],
      "quoteTerms": "IMPORTANT: Prices are confidential Customer Direct Prices (“CDPs”) that TI offers for your direct purchases. TI’s Terms of Sale apply (ti.com/termsofsale); if TI extends your CDPs to TI’s authorized distributors and/or your authorized manufacturing partners, you must separately negotiate resale prices and terms with such third parties. CDPs are in U.S. Dollars, exclusive of duties and taxes (e.g. VAT). Prior to shipment, prices may change; TI’s final price on the date of shipment applies.  Forecasts provided in connection with pricing discussions are non-binding on TI.  CDPs are conditioned on adherence to forecast volumes and committed share percentage. CDPs contingent on Start of Production (“SOP”) will begin on the actual SOP date."
    }


    //Backlog order create request

    {
      "order": {
        "customerPurchaseOrderNumber": "PO54229",
        "checkoutProfileId": "1F92EA49E9AE02CBE063DE21BB8BE901",
        "lineItems": [
          {
            "customerLineItemNumber": "1",
            "tiPartNumber": "OPA455IDDAR",
            "customerAnticipatedUnitPrice": 0.202,
            "quoteNumber": "26931099",
            "customerCurrencyCode": "USD",
            "schedules": [
              {
                "requestedQuantity": 2000,
                "requestedDeliveryDate": "2025-05-01"
              }
            ]
          }
        ]
      }
    }

    //Backlog order create request Response body
    {
      "orders": [
        {
          "customerPurchaseOrderNumber": "PO54229",
          "orderStatus": "REJECT",
          "customerPurchaseOrderDate": "2024-09-12",
          "lineItems": [
            {
              "tiPartNumber": "OPA455IDDAR",
              "customerLineItemNumber": "1",
              "itemCheckoutProfileId": "1F92EA49E9AE02CBE063DE21BB8BE901",
              "status": "Rejected",
              "tiTotalOrderItemQuantity": 2000,
              "customerAnticipatedUnitPrice": 0.202,
              "customerCurrencyCode": "USD",
              "quoteNumber": "26931099",
              "messages": [
                {
                  "code": "TI-TXT-100",
                  "type": "ERROR",
                  "reason": "End Customer is required",
                  "message": "End Customer or endCustomerCompanyName on the order request does not match the value on the quote"
                }
              ],
              "schedules": [
                {
                  "requestedQuantity": 2000,
                  "requestedDeliveryDate": "2025-05-01"
                }
              ]
            }
          ]
        }
      ]
    }
       

    Your assistance with this issue is much appreciated. 

    Best Regards

     

  • Hi Team,

    Could you help with including the endCustomerCompanyName in the order create, matching quote request as well?

    Thanks!

    {
      "order": {
        "customerPurchaseOrderNumber": "PO54229",
        "checkoutProfileId": "1F92EA49E9AE02CBE063DE21BB8BE901",
        "endCustomerCompanyName": "Sabertek",
        "lineItems": [
          {
            "customerLineItemNumber": "1",
            "tiPartNumber": "OPA455IDDAR",
            "customerAnticipatedUnitPrice": 0.202,
            "quoteNumber": "26931099",
            "customerCurrencyCode": "USD",
            "schedules": [
              {
                "requestedQuantity": 2000,
                "requestedDeliveryDate": "2025-05-01"
              }
            ]
          }
        ]
      }
    }

    Regards,

    Patrick

  • Hi Guys

    I hope that you are well.

    {
      "quotes": [
        {
          "customerQuoteNumber": "1726640867610",
          "quoteNumber": "26931335",
          "checkoutProfileId": "1F92EA49E9AE02CBE063DE21BB8BE901",
          "endCustomerCompanyName": "Sabertek",
          "quoteStartDate": "2024-09-18",
          "quoteEndDate": "2025-03-17",
          "lineItems": [
            {
              "tiLineItemNumber": "000010",
              "tiUnitPrice": 0,
              "tiUnitPriceCurrencyCode": "USD",
              "tiPartNumber": "5962-7700801VCA",
              "quantity": 2500,
              "requestedUnitPrice": 1.2,
              "requestedUnitPriceCurrencyCode": "USD",
              "status": "Pending",
              "orderLeadTime": 0,
              "minimumOrderQuantity": 0,
              "nextOrderQuantityIncrement": 0,
              "boxQuantity": 0,
              "packageQuantity": 0,
              "packageType": "",
              "restrictionOfHazardousSubstancesCompliant": "",
              "cancellationWindowWeeks": null,
              "rescheduleWindowWeeks": null,
              "nonCancellableNonReturnable": false,
              "productType": "",
              "moistureLevel": "",
              "exportControlClassificationNumber": "",
              "paymentTerms": "Per Negotiated Terms",
              "incotermDescription": ""
            }
          ]
        }
      ],
      "quoteTerms": "IMPORTANT: Prices are confidential Customer Direct Prices (“CDPs”) that TI offers for your direct purchases. TI’s Terms of Sale apply (ti.com/termsofsale); if TI extends your CDPs to TI’s authorized distributors and/or your authorized manufacturing partners, you must separately negotiate resale prices and terms with such third parties. CDPs are in U.S. Dollars, exclusive of duties and taxes (e.g. VAT). Prior to shipment, prices may change; TI’s final price on the date of shipment applies.  Forecasts provided in connection with pricing discussions are non-binding on TI.  CDPs are conditioned on adherence to forecast volumes and committed share percentage. CDPs contingent on Start of Production (“SOP”) will begin on the actual SOP date."
    }


    { "orders": [ { "customerPurchaseOrderNumber": "PO54229", "orderStatus": "REJECT", "endCustomerCompanyName": "Sabertek", "customerPurchaseOrderDate": "2024-09-18", "lineItems": [ { "tiPartNumber": "1726640651601", "customerLineItemNumber": "1", "itemCheckoutProfileId": "1F92EA49E9AE02CBE063DE21BB8BE901", "status": "Rejected", "tiTotalOrderItemQuantity": 2000, "customerAnticipatedUnitPrice": 1.2, "customerCurrencyCode": "USD", "quoteNumber": "26931335", "messages": [ { "code": "TI-TXT-096", "type": "ERROR", "reason": "Quote is invalid, has expired, or being processed", "message": "Correct the quote number or create a new quote and resubmit. If this is a new quote, allow two hours for processing before resubmitting your order. For help, contact TI API Support https://api-portal.ti.com/support" }, { "code": "TI-TXT-076", "type": "ERROR", "reason": "Duplicate customerLineItemNumber on existing order.", "message": "customerPurchaseOrderNumber with this same customerLineItemNumber currently exists on an orderNumber. Enter a unique customerLineItemNumber. For help, contact TI API Support https://api-portal.ti.com/support" }, { "code": "TI-TXT-033034", "type": "ERROR", "reason": "Invalid tiPartNumber", "message": "tiPartNumber request is not valid. Enter a valid tiPartNumber and resubmit the request. For help: tiPartNumber search https://www.ti.com/material-attributes-search/ or API support https://api-portal.ti.com/support" } ], "schedules": [ { "requestedQuantity": 2000, "requestedDeliveryDate": "2025-05-01" } ] } ] } ] }

  • Hello team,

    we are checking this thread and will reply there TI-API: Request error : Respone status code does not indicate success : 422 ( Error)

    Looking into this and will let you know soon.

    Will be closing this thread.

    Thanks,

    Patrick

**Attention** This is a public forum