Skip to main content

CustomerIdNameCollection Schema

Data structure for Customer Id Name Collection objects.

Item Type​

This is a collection (list) of CustomerIdName items.

Usage​

# Example: Working with CustomerIdNameCollection
items = [
{"customer_id":1,"name":"name-value-1","exclude_constellation":true,"is_partner":true},
{"customer_id":2,"name":"name-value-2","exclude_constellation":true,"is_partner":true}
]

# Pass to an action that requires this collection type
resource.some_action(body=items)

JSON Example​

[
{
"customer_id": 1,
"name": "name-value-1",
"exclude_constellation": true,
"is_partner": true
},
{
"customer_id": 2,
"name": "name-value-2",
"exclude_constellation": true,
"is_partner": true
}
]