Skip to content

Stock Location

Return stock locations

Released
Updated
URLSupports
{URI}/stocklocation
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.

Attribute Details

AttributeTypeNotes
codestring,null
namestring,null
isactiveboolean
excludefromvaluationboolean
excludefromfreestockboolean
excludefromsalesboolean
relstring,null
titlestring,null
idintegerRequired on PUT
hrefstring,null

Example json GET response

Example

json
{
  "code": "AK",
  "name": "Auckland",
  "isactive": true,
  "excludefromvaluation": false,
  "excludefromfreestock": false,
  "excludefromsales": false,
  "id": 1,
  "href": "{URI}/stocklocation/1"
}

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