Skip to main content

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.

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>

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.

<g:condition>unknown</g:condition>
<g:condition></g:condition>

Properties

PropertyValueDescription
Data TypestringClosest data type in code
NestedFalseDefines if this field consists of one or more sub-fields
Case SensitiveFalseIf small or large letters matter for this field
RepeatableFalseIf you can supply multiple items of this field (it´s a list)
Repeatable limit0If 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

References