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
new
Product is new.
refurbished
Product is reconditioned/renovated.
used
Product has been previously used.
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>new</g:condition>
Click to show more valid XML examples
<g:condition>new</g:condition>
<g:condition>used</g:condition>
<g:condition>refurbished</g:condition>
Valid Value
condition
new
Click to show more valid CSV examples
condition
new
condition
used
condition
refurbished
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>demo</g:condition>
<g:condition>damaged packaging</g:condition>
<g:condition>almost new</g:condition>
<g:condition>unknown</g:condition>
<g:condition></g:condition>
danger
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
📅 2024-12-18
Added
Deprecate and remove values damaged packaging
, demo
and almost new
📅 2023-09-20
Added
New enum value new_used
📅 2022-12-07
Added
Initial definition