shipping_label
This field is optional, but omitting it may leave out functionality on Prisjakt for your offers
Description
Shipping label allows mapping your inventory to a specific shipping service that you have configured in Business Center. It is only used when the shipping of an offer is built from Business Center, that is when the offer itself carries no valid shipping entry from the feed. Please see our documentation for shipping services for details.
Related Fields
Validation Rules
- A maximum of 10 labels is allowed
- Each label can be at most 1024 characters and cannot be empty
- Matching against Business Center. If the offer has one or more labels, a Business Center shipping service applies only when at least one of its labels is also on the offer. If the offer has no labels at all, only shipping services without labels apply to it
- Labels have no effect on
shippingentries that you send in the feed, those are used as they are
Best Practices
Do
- Choose your own values for shipping labels based on your inventory
- Suggested types of products that should get own shipping_label: oversized products (i.e. white goods), perishable products (i.e. groceries)
- Use exactly the same label values here as on the shipping services in Business Center, a label that matches nothing means the offer can end up without any shipping information.
Don´t
- Don't put a label on an offer just in case. An offer with a label can no longer be served by a Business Center shipping service that has no labels, so a stray label can silently remove the shipping information of the offer
Example Values
Here are examples of how a valid shipping_label value should look like in XML and CSV (with header) respectively.
- XML
- CSV
<g:shipping_label>bulky</g:shipping_label>
Click to show more valid XML examples
<g:shipping_label>bulky</g:shipping_label>
<g:shipping_label>dhl/free</g:shipping_label>
shipping_label
bulky
Click to show more valid CSV examples
shipping_label
bulky
shipping_label
dhl/free
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_label>a/b/c/d/e/f/g/h/i/j/k</g:shipping_label>
Properties
| Property | Value | Description |
|---|---|---|
| Data Type | List[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 | True | If you can supply multiple items of this field (it´s a list) |
| Repeatable limit | 10 | If a list, this specifices the max number of items |
Changelog
📅 2026-08-17
Documented how labels are matched against shipping services in Business Center, and that labels only apply when shipping is not supplied in the feed.
📅 2022-12-07
Initial definition