Skip to main content

Get Last Purchase Price

GET 

/api/products/:product/last-purchase-price

Get the most recent purchase price for a product from non-draft purchase orders.

Required scope: products:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Authentication: Requires Bearer token.

Returns null in data if no purchase order lines exist with a positive amount.

Request

Responses

OK

Response Headers
    Content-Type