item_group_id
Optional Field
This field is optional, but omitting it may leave out functionality on Prisjakt for your offers
Description
This attribute is strongly recommended for fashion and beauty segment. It helps us group variant offers and present relevant offers to the users.
Effects When Used
- With this attribute we're able to present the user a list of available
Validation Rules
- Length must be between
1-50
characters
Best Practices
Do
- Make sure the combination of
item_group_id
and other variant specific attributes likecolor
,size
andpattern
are consistent
Don't
- Be extra careful and don't mix up
id
anditem_group_id
Example Values
Here are examples of how a valid item_group_id value should look like in XML and CSV (with header) respectively.
- XML
- CSV
Valid Value
<g:item_group_id>AAA111</g:item_group_id>
Click to show more valid XML examples
<g:item_group_id>AAA111</g:item_group_id>
<g:item_group_id>aaa111</g:item_group_id>
Valid Value
item_group_id
AAA111
Click to show more valid CSV examples
item_group_id
AAA111
item_group_id
aaa111
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:item_group_id>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa (more than 50 characters value)</g:item_group_id>
danger
validation_invalid_length
item_group_id
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa (more than 50 characters value)
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-03-30
Added
Initial definition