How to "Assign" inventory items to customers via Splynx API

I am trying to assign inventory to customers using the API. Current method is to use the PUT “Update Inventory Item” endpoint and update the customer_id field. That doesn’t seem to be working as anticipated as it’s returning a 202 and is not assigning the device. I’m wondering If I am headed in the right direction here or if I am missing something. Thanks!

payload = json.dumps({

"customer_id": 32900450

})

conn.request("PUT", "/api/2.0/admin/inventory/items/496", payload, headers)

res = conn.getresponse()

data = res.read()

print(res.status)

Splynx Support helped me out here.

payload = json.dumps({
            "status": "assigned",
            "mark": "used",
            "customer_id": "1",
            'barcode': "barcode"
})

conn.request("PUT", "/api/2.0/admin/inventory/items/496", payload, headers)

res = conn.getresponse()

data = res.read()

print(res.status)