age_group
Optional Field
This field is optional, but omitting it may leave out functionality on Prisjakt for your offers
Description
Sets the demographic age your product is designed for.
Related Fields
Allowed Enum Values
adult
infant
kids
newborn
toddler
Validation Rules
- Value must be one of the allowed enum values
Best Practices
Do
- It is recommended to add this attribute for fashion products to improve results and listing
- Use to indicate demographic, not an
adult
audience
Example Values
Here are examples of how a valid age_group value should look like in XML and CSV (with header) respectively.
- XML
- CSV
Valid Value
<g:age_group>adult</g:age_group>
Click to show more valid XML examples
<g:age_group>adult</g:age_group>
<g:age_group>infant</g:age_group>
<g:age_group>kids</g:age_group>
<g:age_group>newborn</g:age_group>
<g:age_group>toddler</g:age_group>
Valid Value
age_group
adult
Click to show more valid CSV examples
age_group
adult
age_group
infant
age_group
kids
age_group
newborn
age_group
toddler
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:age_group>unknown</g:age_group>
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
📅 2022-12-07
Added
Initial definition