Memsource Legacy API

Business Unit API v2

Important:

Memsource Legacy API will be deprecated in 2020. It is disabled for all new organization accounts created after May 7th 2019.
Please use Memsource REST API instead.

Create a New Business Unit

action: api/v2/businessUnit/create
    token                       string
    name                        string                         

response: JSON
    {
      "id": 239                 // id of the new business unit
    }

Get a Business Unit

action: api/v2/businessUnit/get
    token                       string
    businessUnit                domain(BusinessUnit)

response: JSON
   {
     "id":4,
     "name":"BU Name"
   }

List Business Units

action: api/v2/businessUnit/list
    token                       string
    page                        integer            O(0)
    name                        string             O

response: JSON
   [
     {
       "id":3,
       "name":"BU Name"
     }
   ]

Edit a Business Unit

action: api/v2/businessUnit/edit
    token                       string
    businessUnit                domain(BusinessUnit)
    name                        string             0

response: empty

Delete a Business Unit

action: api/v2/businessUnit/delete
    token                       string
    businessUnit                domain(BusinessUnit)

response: empty