GET
View a vendor return item
Company space For: Buyer, Stock keeper · Permission: vendor_return_items.retrieve Part of Return goods to suppliers.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

vendor_return
string
required

Identifier of the vendor return (27-character KSUID string).

item
string
required

Identifier of the supplier return item (27-character KSUID string).

Response

200 - application/json

VendorReturnItemResource

id
string
required

Identifier of the return line (27-character KSUID string).

return_id
string
required

Identifier of the supplier return the line belongs to.

stockable_id
string
required

Identifier of the item returned.

stockable_unit_id
string | null
required

Identifier of the unit the quantity is expressed in; null when the base unit is used.

stock_sources
array
required

Where the goods are taken from: a list of {quantity, asset_id} or {quantity, group_id}. Empty for a item that is not stock-tracked.

quantity
integer
required

Quantity returned, in the line's unit.

cost_total
number
required

Inventory cost of the stock that left when the return was confirmed in major units (the minor-unit amount divided by 10 to the power currency_exponent). 0 while the return is a draft and for untracked lines.

created_at
string<date-time>
required

Date and time the record was created (ISO 8601, UTC).

updated_at
string<date-time>
required

Date and time the record was last changed (ISO 8601, UTC).