Tech Blog

How to create and populate an itemized set via an API in 5 easy steps

In this blog post we will create an itemized set and add items to it using an API.

Note that in order to create and populate the itemized set you will need an API key for read write in the configuration area.


Create the itemized set using this API with POST

Here is the sample input (payload) to create the itemized set.  In the situation below it is a physical item set (content value = ITEM).  The process is similar for other types of sets.

<?xml version="1.0" encoding="UTF-8"?>
<set link="string">
  <name>Yoel's Koeln Set of Items</name>
  <description>Items from the holy city of Koeln</description>


Receive response that the set is created.  In the response we see that the set ID is 5979124090000121


See in Alma that the set is created.

Note also that the set ID is also present in the Alma user interface:


Add members to the itemized set which has ID 5979124090000121.

Do a POST like this

The input (payload) appears as follows with list of items (barcodes) to add.

<?xml version="1.0" encoding="UTF-8"?>
<set link="string">

Receive response with number of members added:


See in Alma that the records have been added to the set

Leave a Reply