TI-API: Only 1 schedule line per line item (customer request date) is supported at this time?

Part Number: TI-API

Tool/software:

I've founded the following details in the documentation

"You may receive multiple schedule lines with estimated ship dates in the order create/retrieve response depending on the availability of the product. Estimated ship dates will be included in the order create response and may be different than the customer requested delivery date. Note: Only 1 schedule line per line item (customer request date) is supported at this time"

Is it mean that I can send only one row in the schedules array?

schedules": [
 {
 "requestedQuantity": 2000,
 "requestedDeliveryDate": "2025-05-01"
 }

Or something has changed now and I can do it like this?

schedules": [
 {
 "requestedQuantity": 1000,
 "requestedDeliveryDate": "2025-01-01"
 },
  {
 "requestedQuantity": 1000,
 "requestedDeliveryDate": "2025-05-01"
 }
 ]

  • Hello Anna,

    Thanks for addressing it

    Actually, it changed and you can send different requested delivery dates within one schedule array.

    So your second example should work.

    Best regards,

    Tobias Huber

  • Thank you for your aswer.

    I have a one question more - is it acceptable the following request: I mean 2 lines with the same 'tiPartNumber', different 'customerLineItemNumber' and two different 'requestedDeliveryDate' and 'requestedQuantity'?

    {
      "order": {
        "customerPurchaseOrderNumber": "INSERT PO NUMBER HERE",
        "checkoutProfileId": "INSERT CHECKOUT PROFILE ID HERE",
        "lineItems": [
          {
            "customerLineItemNumber": "1111",
            "tiPartNumber": "SN74LS00N",
            "customerAnticipatedUnitPrice": 0.202,
            "quoteNumber": "12345678",
            "customerCurrencyCode": "USD",
            "schedules": [
              {
                "requestedQuantity": 2000,
                "requestedDeliveryDate": "2024-12-01"
              }
            ]
          },
    	  
    	  {
            "customerLineItemNumber": "2222",
            "tiPartNumber": "SN74LS00N",
            "customerAnticipatedUnitPrice": 0.202,
            "quoteNumber": "12345678",
            "customerCurrencyCode": "USD",
            "schedules": [
              {
                "requestedQuantity": 1000,
                "requestedDeliveryDate": "2025-01-01"
              }
            ]
          }
        ]
      }
    }


    I'm asking because from my perspective instead of creating 2 'schedules' items with different requesteddeliveryDate and one 'tipartnumber' it will be easier for me to create 2 separate 'lineItems' like in the example I shared

  • Hello Anna,

    Yes, you can create an order with two lines with the same 'tiPartNumber'.

    As you said please make sure that the values of 'customerLineItemNumber' and the 'requestedDeliveryDate' are different. 

    Thank you!

    Best regards,

    Tobias

  • As you said please make sure that the values of 'customerLineItemNumber' and the 'requestedDeliveryDate' are different. 

    What about if I send different 'customerLineItemNumber' and the same 'requestedDeliveryDate' in 2  separate 'lineItems'?

  • Hello Anna,

    Within an order you are not able to send two different "lineItems".

    You can use different "customerLineItemNumber" values within an order but if it's the same material with the same "requestedDeliveryDate" you can just increase the "requestedQuantity".

    Thank you and best regards,

    Tobias Huber

**Attention** This is a public forum