Skip to content

Stock Item Price

Return best price details on a stock item for a debtor.

Released
Updated
URLSupports
{URI}/stockitem/{id}/bestprice?debtorid={debtorid}&date={date}&dateformat={dateformat}&quantity={quantity}
GET
{URI} is exo.api.myob.com when connecting to the cloud or the address of the machine hosting the API when connecting on premise.

Example json GET response

Example

json
{
  "minimumorderquantity": 1,
  "orderquantities": "1 +",
  "unitprice": 54.592,
  "discount": 0,
  "unitpriceafterdiscount": 54.592,
  "pricedate": "2013-10-30T22:14:25.3783944+00:00"
}

{URI} is defined as: http://exo.api.myob.com/