Skip to main content

store_code

Required Field

This field is required and must not be omitted

Description

Identifier to specify which local shop this local offer belongs to. NOTE Google uses the terminology of store and the field in the offer feed but uses the terminology shop in the store feed. Prisjakt uses the terminology of shop everywhere but must follow googles example in the files here for compatability reasons.

Validation Rules

  • Length must be between 1-64
  • Must be unique
  • Must match the shop_code you have specified in your local shop feed.
  • Case sensitive

Example Values

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

Valid Value
<g:store_code>StoreAngelholm</g:store_code>
Click to show more valid XML examples
<g:store_code>StoreAngelholm</g:store_code>
<g:store_code>aBCd1123</g:store_code>
<g:store_code>09az</g:store_code>

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:store_code><![CDATA[!+@#$%^&*]]></g:store_code>
<g:store_code>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa</g:store_code>
<g:store_code> </g:store_code>
<g:store_code></g:store_code>
<g:store_code>ąśπœę©</g:store_code>
<g:store_code>a </g:store_code>
<g:store_code> a</g:store_code>

Properties

PropertyValueDescription
Data TypestringClosest data type in code
NestedFalseDefines if this field consists of one or more sub-fields
Case SensitiveTrueIf 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

📅 2025-02-24

Added

Initial definition

References