condition_grade
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.
- XML
- CSV
<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>
condition_grade,condition
a,used
Click to show more valid CSV examples
condition_grade,condition
a,used
condition_grade,condition
c,used
condition_grade,condition
d,used
condition_grade,condition
e,used
condition_grade,condition
f,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
<pj:condition_grade>x</pj:condition_grade>
<g:condition>used</g:condition>
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-11-25
Initial definition