Create return receipt lines

POST

https://api.pack.cloud/v1/warehouses/{warehouseId}/return-receipts/{returnReceiptId}/lines

This endpoint updates the existing receipt by adding the quantity to the existing line when there is already a line with the given condition and remarks

Request

Path parameters

warehouseIdstring
returnReceiptIdstring

Payload

conditionstringrequired
Condition of the receipt line
Allowed values:saleableunsalable
quantity_receivedintegerrequired
Quantity received of the receipt line
remarksstring
Remarks of the receipt line (required if condition = unsalable)
return_request_line_idstringrequired
Return Request Line Id of the received good
Stock information for restock
locatable_idstringnullrequired
ID of the locatable
locatable_typestringnullrequired
Type of the locatable
Allowed values:binstock_location
expiry_datestringnull
Expire date of perishable products
lot_numberstringnull
Lot number perishable products
Serial numbers

Response

OK

Body

idstring
ID of the return receipt line
return_request_line_idstring
ID of the return request line
quantity_receivedinteger
Quantity that is received back
conditionstring
Condition of the received items
remarksstring
Remarks of the received items
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource

Meld je aan voor onze nieuwsbrief

Blijf op de hoogte van de laatste ontwikkelingen en trends op het gebied van logistiek en ecommerce.