Represents an UpdateCustomerCustomAttributeDefinition response.
Either custom_attribute_definition
or errors
is present in the response.
UpdateCustomerCustomAttributeDefinitionResponse
Name | Type | Tags | Description | Getter | Setter |
---|---|---|---|---|---|
customAttributeDefinition |
?CustomAttributeDefinition |
Optional | Represents a definition for custom attribute values. A custom attribute definition specifies the key, visibility, schema, and other properties for a custom attribute. |
getCustomAttributeDefinition(): ?CustomAttributeDefinition | setCustomAttributeDefinition(?CustomAttributeDefinition customAttributeDefinition): void |
errors |
?(Error[]) |
Optional | Any errors that occurred during the request. | getErrors(): ?array | setErrors(?array errors): void |
{
"custom_attribute_definition": {
"created_at": "2022-04-26T15:27:30Z",
"description": "Update the description as desired.",
"key": "favoritemovie",
"name": "Favorite Movie",
"schema": {
"key1": "val1",
"key2": "val2"
},
"updated_at": "2022-04-26T15:39:38Z",
"version": 2,
"visibility": "VISIBILITY_READ_ONLY"
},
"errors": [
{
"category": "MERCHANT_SUBSCRIPTION_ERROR",
"code": "INVALID_EXPIRATION",
"detail": "detail6",
"field": "field4"
},
{
"category": "MERCHANT_SUBSCRIPTION_ERROR",
"code": "INVALID_EXPIRATION",
"detail": "detail6",
"field": "field4"
},
{
"category": "MERCHANT_SUBSCRIPTION_ERROR",
"code": "INVALID_EXPIRATION",
"detail": "detail6",
"field": "field4"
}
]
}