Mike Casey
09/06/2024, 5:19 PMCeligo AI
09/06/2024, 5:19 PMAI generated answer (using internal Slack threads):Based on the conversations, it seems like you are trying to transform a returnAuthorization to an itemReceipt using the REST API and you want to include inventory details for the components of a kit item. Here is an example of how you might structure your payload:
json
{
"shipStatus": "B",
"item": {
"items": [
{
"orderLine": 1,
"quantity": 1,
"location": 10,
"itemReceive": true,
"inventoryDetail": {
"inventoryAssignment": {
"items": [
{
"issueInventoryNumber": 10189,
"quantity": 1,
"binNumber": 2211
}
]
},
"quantity": 1
}
},
{
"orderLine": 2,
"quantity": 1,
"location": 10,
"itemReceive": true,
"inventoryDetail": {
"inventoryAssignment": {
"items": [
{
"issueInventoryNumber": 10190,
"quantity": 1,
"binNumber": 2212
}
]
},
"quantity": 1
}
}
]
}
}
In this example, the orderLine
corresponds to the line number of the item in the returnAuthorization. The quantity
is the quantity of the item you are receiving. The location
is the location ID where the item is being received. The itemReceive
should be set to true to indicate that the item is being received.
The inventoryDetail
object contains the details of the inventory for the item. The inventoryAssignment
object contains an array of items, each with an issueInventoryNumber
, quantity
, and binNumber
. The issueInventoryNumber
is the internal ID of the inventory number. The quantity
is the quantity of the item in the specific bin. The binNumber
is the internal ID of the bin where the item is located.
Please note that you need to include the inventoryDetail
object for each component of the kit item.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
09/06/2024, 5:20 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.826792479
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.824266076
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.823991179
Celigo AI
09/06/2024, 5:20 PM