condition
Required Field
This field is required and must not be omitted
Description
State the condition of the product you are selling for your customers.
Effects When Used
- Will improve filtering capabilities for customers
Allowed Enum Values
damaged packaging
demo
new
refurbished
used
almost new
Validation Rules
- Value must be one of the allowed enum values
Best Practices
Do
- Make sure the attributes reflects actual product condition
Example Values
Here are examples of how a valid condition value should look like in XML and CSV (with header) respectively.
- XML
- CSV
Valid Value
<g:condition>almost new</g:condition>
Click to show more valid XML examples
<g:condition>almost new</g:condition>
<g:condition>damaged packaging</g:condition>
<g:condition>demo</g:condition>
<g:condition>new</g:condition>
<g:condition>refurbished</g:condition>
<g:condition>used</g:condition>
Valid Value
condition
almost new
Click to show more valid CSV examples
condition
almost new
condition
damaged packaging
condition
demo
condition
new
condition
refurbished
condition
used
Error Codes
Below you will find possible error codes generated when validating this field alongside with an example in XML and CSV that would trigger the code. Please refer to the validation rules to understand the cause.
- XML
- CSV
<g:condition>unknown</g:condition>
<g:condition></g:condition>
danger
danger
Properties
Property | Value | Description |
---|---|---|
Data Type | string | Closest data type in code |
Nested | False | Defines if this field consists of one or more sub-fields |
Case Sensitive | False | If small or large letters matter for this field |
Repeatable | False | If you can supply multiple items of this field (it´s a list) |
Repeatable limit | 0 | If a list, this specifices the max number of items |
Changelog
📅 2023-09-20
Added
New enum value new_used
📅 2022-12-07
Added
Initial definition