List definition fields
Creating a list definition
id, you will need it when creating customer lists.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Creating and configuring List Definitions that govern the behaviour of product lists.
| Field | Required | Description |
|---|---|---|
name | Yes | Display name for the list type |
handle | Yes | Unique slug identifier |
type | Yes | Category/type string for grouping |
short_description | No | Brief description shown to customers |
description | No | Full description |
allow_share | No | Whether lists of this type can be shared with others |
allow_quantity | No | Whether items can have a quantity (e.g., “2 of this item”) |
allow_reserve | No | Whether others can reserve items on shared lists |
allow_custom_product | No | Whether custom (non-Omneo-product) items can be added |
is_published | No | Whether the definition is active |
is_active | No | Whether new lists can be created from this definition |
tags | No | Array of tags for filtering |
curl -X POST https://api.[tenant].getomneo.com/api/v3/list-definitions \
-H "Authorization: Bearer ${TOKEN}" \
-H "Content-Type: application/json" \
-d '{
"name": "Wishlist",
"handle": "wishlist",
"type": "wishlist",
"short_description": "Save items you love",
"allow_share": true,
"allow_quantity": false,
"allow_reserve": true,
"allow_custom_product": false,
"is_published": true,
"is_active": true
}'
id, you will need it when creating customer lists.
GET /api/v3/list-definitions/{definitionId}
curl -X PUT https://api.[tenant].getomneo.com/api/v3/list-definitions/{definitionId} \
-H "Authorization: Bearer ${TOKEN}" \
-H "Content-Type: application/json" \
-d '{
"allow_reserve": false
}'
DELETE /api/v3/list-definitions/{definitionId}
| Type | allow_share | allow_reserve | allow_quantity | Use case |
|---|---|---|---|---|
wishlist | true | true | false | Customer-built wishlist for gifting |
gift-registry | true | true | true | Bridal/baby registry with quantities |
hold | false | false | false | In-store hold list visible to staff |
style-edit | false | false | false | Stylist-curated list for a client |