Skip to main content

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.

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.

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>

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:age_group>unknown</g:age_group>

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

📅 2022-12-07

Added

Initial definition

References