Skip to main content

condition_grade

Optional Field

This field is optional, but omitting it may leave out functionality on Prisjakt for your offers

Description

Use this attribute to provide a grade for the condition of the product.

Allowed Enum Values

a

Product is in excellent condition, no visible scratches or marks

b

Product is in good condition, minor scratches or marks

c

Product is in fair condition, visible scratches or marks

d

Product is in fair condition, visible scratches or marks

e

Product is in poor condition, heavy scratches or marks

f

Product is in poor condition, heavy scratches or marks

Validation Rules

  • One of enums listed below.

Best Practices

Do

  • Make sure the attributes reflects actual product condition grading

Don´t

  • Don't use any other values than the ones listed

Example Values

Here are examples of how a valid condition_grade value should look like in XML and CSV (with header) respectively.

Valid Value
<pj:condition_grade>a</pj:condition_grade>
<g:condition>used</g:condition>
Click to show more valid XML examples
<pj:condition_grade>a</pj:condition_grade>
<g:condition>used</g:condition>
<pj:condition_grade>c</pj:condition_grade>
<g:condition>used</g:condition>
<pj:condition_grade>d</pj:condition_grade>
<g:condition>used</g:condition>
<pj:condition_grade>e</pj:condition_grade>
<g:condition>used</g:condition>
<pj:condition_grade>f</pj:condition_grade>
<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.

<pj:condition_grade>x</pj:condition_grade>
<g:condition>used</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

📅 2024-11-25

Added

Initial definition