Hello Team,
While inserting a line to an existing PO in the response we are not getting the messages info. We need this information which is critical to our development.
Also we have noticed that "Confirmations" response key is different in change order and new order. For change order we are getting the data within "Confirmations" and for new order we get it as "confirmations". Similarly for "shiptoAccountNumber" and "shipToAccountNumber". Can we make it consistent.
Below is the request and response for change order to insert a line.
Request:
{
"order": {
"customerPurchaseOrderNumber": "425953",
"purchaseOrderDate": "",
"shipToAccountNumber": "183974",
"endCustomerCompanyName": "EXTRON",
"orderNumber": "",
"lineItems": [
{
"customerLineItemNumber": "003",
"tiPartNumber": "CD4013BPW",
"customerPartNumber": "19-2904-01LF",
"customerAnticipatedUnitPrice": 0.127,
"customerCurrencyCode": "USD",
"lineItemChangeIndicator": "I",
"schedules": [
{
"requestedQuantity": 1080,
"requestedDeliveryDate": "2023-11-02"
}
]
}
]
}
}
Response:
{
"orders": [
{
"orderNumber": "1019693774",
"orderDate": "2023-07-31",
"customerPurchaseOrderNumber": "425953",
"orderStatus": "BEING PROCESSED",
"shipToAccountNumber": "183974",
"endCustomerCompanyName": "EXTRON",
"lineItems": [
{
"tiLineItemNumber": "000030",
"tiPartNumber": "CD4013BPW",
"customerLineItemNumber": "003",
"customerPartNumber": "19-2904-01LF",
"itemShipToAccountNumber": "183974",
"status": "Not Delivered",
"tiTotalOrderItemQuantity": 1080,
"customerAnticipatedUnitPrice": 0.127,
"customerCurrencyCode": "USD",
"tiUnitPrice": 0.127,
"tiCurrencyCode": "USD",
"schedules": [
{
"requestedQuantity": 1080,
"requestedDeliveryDate": "2023-11-02",
"Confirmations": [
{
"tiScheduleLineNumber": "0002",
"scheduledQuantity": 1080,
"estimatedShipDate": "2023-10-27",
"estimatedDeliveryDate": "2023-11-02",
"shippedQuantity": 0
}
]
}
]
}
]
}
]
}