Przejdź do głównej zawartości

Zaktualizuj ilości skompletowane i spakowane

PUT
/api/v5/Orders/{orderId}/LineItems/UpdatePickedPacked
curl --request PUT \
--url https://twoja-instancja-smerp-api.enterprise.sellrocket.pl/api/v5/Orders/1/LineItems/UpdatePickedPacked \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '[ { "id": 1, "quantityPicked": 1, "quantityPacked": 1 } ]'

Ustawia stan kompletacji (picking) i pakowania (packing) pozycji zamówienia.

orderId
wymagane
integer format: int64
Typ treściapplication/json
Array<object>
object
id
integer format: int64
quantityPicked
number format: double
nullable
quantityPacked
number format: double
nullable
Examplegenerated
[
{
"id": 1,
"quantityPicked": 1,
"quantityPacked": 1
}
]

Success

Typ treściapplication/json
object
id
integer format: int64
createdAt
string format: date-time
updatedAt
string format: date-time
payload
nullable
result
nullable
status
string
Dozwolone wartości: New InProgress Completed Failed
command
string
nullable
scope
string
nullable
scopeValue
string
nullable
silentMode
boolean
ajsChainId
string
nullable
ajsChainVisits
string
nullable
Example
{
"status": "New"
}