shipping_weight
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 weight. This attribute is required if any of your shipping services in Business Center has a weight condition, since the shipping of an offer can only be built from such a service when the weight of the offer is known and falls inside the configured range.
Effects When Omitted
- An offer without a weight can never be matched by a Business Center shipping service that has a weight condition. If all your services have weight conditions, such an offer is published without shipping information.
Related Fields
Validation Rules
- Length must be between
1-50characters - Unit must be one of
g,kg,lboroz - Value and unit must be separated by a single space, for example
11.2 kg - Matching against Business Center. Weights are compared after conversion to grams, so you can use any supported unit. A minimum in a weight condition is inclusive and a maximum is exclusive
Example Values
Here are examples of how a valid shipping_weight value should look like in XML and CSV (with header) respectively.
- XML
- CSV
<g:shipping_weight>11.2 kg</g:shipping_weight>
Click to show more valid XML examples
<g:shipping_weight>11.2 kg</g:shipping_weight>
<g:shipping_weight>11 kg</g:shipping_weight>
<g:shipping_weight>11 g</g:shipping_weight>
<g:shipping_weight>11.2 g</g:shipping_weight>
<g:shipping_weight>11 oz</g:shipping_weight>
<g:shipping_weight>11 lb</g:shipping_weight>
shipping_weight
11.2 kg
Click to show more valid CSV examples
shipping_weight
11.2 kg
shipping_weight
11 kg
shipping_weight
11 g
shipping_weight
11.2 g
shipping_weight
11 oz
shipping_weight
11 lb
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:shipping_weight>11.,.,.,111</g:shipping_weight>
<g:shipping_weight>unkn-own</g:shipping_weight>
<g:shipping_weight>11 </g:shipping_weight>
<g:shipping_weight>empty value</g:shipping_weight>
<g:shipping_weight>111.222.333 kg</g:shipping_weight>
<g:shipping_weight>11 kilo</g:shipping_weight>
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
📅 2026-08-17
Documented that this attribute is needed to match shipping services with a weight condition in Business Center.
📅 2022-12-07
Initial definition