Represents an upsert request for an order custom attribute.
Upsert Order Custom Attribute Request
Name | Type | Tags | Description |
---|---|---|---|
custom_attribute |
Custom Attribute |
Required | A custom attribute value. Each custom attribute value has a correspondingCustomAttributeDefinition object. |
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": {
"key": "key2",
"value": {
"key1": "val1",
"key2": "val2"
},
"version": 102,
"visibility": "VISIBILITY_READ_ONLY",
"definition": {
"key": "key0",
"schema": {
"key1": "val1",
"key2": "val2"
},
"name": "name0",
"description": "description0",
"visibility": "VISIBILITY_HIDDEN"
}
},
"idempotency_key": "idempotency_key4"
}