Insert committed quantities
Changed onReserves inventory for a web order before the sale is finalized. Negative commit values can reverse individual committed quantities.
Request
- Base URL: https://api.myposconnect.com/api/v2
- URL: https://api.myposconnect.com/api/v2/CommitQty
- Auth: HTTP bearer
Request body
Example request
{
"OrderedQuantities": [
{
"StoreCode": "STORE-001",
"OrderNumber": "ORDER-EXAMPLE-004",
"Items": [
{
"ProductCode": "SKU-EXAMPLE-001",
"Quantity": "1",
"LineNumber": "1"
},
{
"ProductCode": "SKU-EXAMPLE-001",
"Quantity": "2",
"LineNumber": "2"
}
]
},
{
"StoreCode": "STORE-001",
"OrderNumber": "ORDER-EXAMPLE-005",
"Items": [
{
"ProductCode": "SKU-EXAMPLE-002",
"Quantity": "1",
"LineNumber": "1"
}
]
}
]
}Response
Committed quantities inserted.
Changes
- breaking
added the new required request property
- breaking
the response's body type changed from
objectto no type for status - breaking
the response's body type changed from
objectto no type for status - breaking
the response's body type changed from
objectto no type for status - warning
removed the request property
- warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status
- breaking
- info
api operation id
inventoryCommitmentsCreatewas added - info
api tag
Inventoryadded - info
api tag
Salesremoved
- info