Skip to main content

shop_code

Required Field

This field is required and must not be omitted

Description

A unique code identifying the shop. Use this code to attache local offers to your store when uploading local offer inventory. NOTE Google uses the terminology of store and the field is named accordingly due to compatibility reasons, but Prisjakt uses the terminology of shop for all other uses.

Validation Rules

  • Must be unique
  • Length must be between 1-64
  • Only ascii characters
  • Trailing whitespace characters are not allowed
  • Disallowed characters are ! + @ # $ % ^ & * < > ; :

Best Practices

Do

  • Create memorable codes (eg. ShopHbg, ShopAngelholm, ShopStockholm)
  • If a shop move to a new location, create a new code for it

Example Values

Here are examples of how a valid shop_code value should look like in CSV (with header).

Valid CSV Value
shop_code
StoreAngelholm
Click to show more valid CSV examples
shop_code
StoreAngelholm
shop_code
aBCd1123
shop_code
09az

Error Codes

Below you will find possible error codes generated when validating this field alongside with an example in CSV that would trigger the code. Please refer to the validation rules to understand the cause.

danger
validation_invalid_length
shop_code
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
danger
danger
validation_non_ascii_character
shop_code
ąśπœę©
danger
validation_trailing_whitespace
shop_code
a
shop_code
a

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