StableN/ASyncedN/A

Example of adding licenses to Software License or Subscriptions

Updated Sep 25, 2026105 viewsView on usehalo.com

The below is an example of a POST to the /softwarelicense endpoint to add a License or Subscription.

Client_id is the Customer ID

Name is the name of the license

Type

  • Software License = 1
  • Subscription = 2

Count is the quantity of seats/licenses

SnowID is the unique 3rd party ID for the license

product_sku is the 3rd product ID

[{    
"client_id":2,    
"name":"example software",    
"type":"1",    
"count":"2",    
"snowid": "unique 3rd party licence ID",    
"product_sku": "3rd party product ID",    
"purchase_price":0,    
"price":0
}]

The below is an example of a POST to the /Users endpoint to update/overwrite the software related to the User with ID 283

[

    {

         "id": "283",

         "software": [

            {

                                                                 "count": 1,

                 "licence_id": 62,                

             },

            {

                 "count": 1,

                 "licence_id": 110,

            }

        ]

    }

]