GET
View a pickup cost
Company space For: Buyer, Stock keeper · Permission: purchase_reception_costs.retrieve Part of Receive purchased goods.

Authorizations

Authorization
string
header
required

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

Path Parameters

purchase_pickup
string
required

Identifier of the purchase pickup (27-character KSUID).

cost
string
required

Identifier of the route leg cost, which must belong to the leg.

Query Parameters

response
enum<string>
default:resource

Response mode. Default resource; none answers 204 No Content.

Available options:
resource
fields
string

Comma-separated JSON keys of the root resource (id is always rendered). Available: id, reception_id, purchase_id, key, value, created_at, updated_at.

include
string

Comma-separated include paths, each optionally followed by its fields in parentheses: units(id,sku),units.uomUnit(id,name). Max depth 6, max 40 paths. Available: .

Response

200 - application/json

Resource.

id

Identifier of the extra cost (27-character KSUID).

reception_id

Identifier of the delivery or pickup the cost belongs to.

purchase_id

Identifier of the purchase of that reception.

key

Label of the cost, for example freight or handling.

value
number

Amount of the cost in major units. It is spread over the lines when the reception is confirmed.

created_at

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

updated_at

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