Skip to main content

shipping_length

Optional Field

This field is optional, but omitting it may leave out functionality on Prisjakt for your offers

Description

It is recommended to add this attribute if delivery costs based on dimensions.

Validation Rules

  • Length must be between 1-50 characters
  • Unit must be one of cm or in

Example Values

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

Valid Value
<g:shipping_length>10.12 cm</g:shipping_length>
Click to show more valid XML examples
<g:shipping_length>10.12 cm</g:shipping_length>
<g:shipping_length>0 cm</g:shipping_length>
<g:shipping_length>0.0 in</g:shipping_length>
<g:shipping_length>11 cm</g:shipping_length>
<g:shipping_length>15.2 in</g:shipping_length>

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:shipping_length>123cm</g:shipping_length>
<g:shipping_length> in</g:shipping_length>
<g:shipping_length>2 m</g:shipping_length>
<g:shipping_length>unkn own</g:shipping_length>
<g:shipping_length>111.222.333 in</g:shipping_length>

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