Represents a create request for an order custom attribute definition.
Create Order 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: Minimum Length: 1 , Maximum Length: 45 |
{
"custom_attribute_definition": {
"description": "The number of people seated at a table",
"key": "cover-count",
"name": "Cover count",
"schema": {
"key1": "val1",
"key2": "val2"
},
"visibility": "VISIBILITY_READ_WRITE_VALUES"
},
"idempotency_key": "IDEMPOTENCY_KEY"
}