Represents a CreateLocationCustomAttributeDefinition request.
Create Location Custom Attribute Definition Request
Name | Type | Tags | Description |
---|---|---|---|
custom_attribute_definition |
Custom Attribute Definition |
Required | Represents a definition for custom attribute values. A custom attribute definition specifies the key, visibility, schema, and other properties for a custom attribute. |
idempotency_key |
str |
Optional | A unique identifier for this request, used to ensure idempotency. For more information, see Idempotency. Constraints: Maximum Length: 45 |
{
"custom_attribute_definition": {
"description": "Bestselling item at location",
"key": "bestseller",
"name": "Bestseller",
"schema": {
"key1": "val1",
"key2": "val2"
},
"visibility": "VISIBILITY_READ_WRITE_VALUES"
},
"idempotency_key": "idempotency_key6"
}