Description

This attribute is optional. It is recommended to add this attribute if delivery costs are based on weight.

Note - You need to send us all three dimension attributes (Height, Width, and Length)

Requirements

  • optional

Specification Details

  • Use accepted units systems

Allowed Values

  • 0 lb

  • 0.0 oz

  • 0 g

  • 10.12 g

  • 11 kg

  • 15.2 kg

Format

  • Type: String

  • Encoding: UTF-8

  • Repeatable: no

  • Length: up to 50 characters

Validation Error Codes

  • validation_invalid_format

  • validation_invalid_value

  • validation_invalid_weight_unit

  • validation_missing_value

Valid XML Examples

Valid example

<g:shipping_weight>11 kg</g:shipping_weight>
<g:shipping_weight>15.2 kg</g:shipping_weight>
<g:shipping_weight>10.12 g</g:shipping_weight>
<g:shipping_weight>0 g</g:shipping_weight>
<g:shipping_weight>0.0 oz</g:shipping_weight>
<g:shipping_weight>0 lb</g:shipping_weight>
<g:shipping_weight></g:shipping_weight>

Valid CSV Examples

Valid example

shipping_weight 11 kg
shipping_weight 15.2 kg
shipping_weight 10.12 g
shipping_weight 0 g
shipping_weight 0.0 oz
shipping_weight 0 lb
shipping_weight

Invalid XML Examples

Invalid example

Resulting error code

<g:shipping_weight>11.,.,.,111</g:shipping_weight>
validation_invalid_format
<g:shipping_weight>11 kilo</g:shipping_weight>
validation_invalid_weight_unit
<g:shipping_weight>unkn-own</g:shipping_weight>
validation_invalid_format
<g:shipping_weight>emtpy value</g:shipping_weight>
validation_invalid_value
<g:shipping_weight>11 </g:shipping_weight>
validation_missing_value
<g:shipping_weight>111.222.333 kg</g:shipping_weight>
validation_invalid_value

Invalid CSV Examples

Invalid example

Resulting error code

shipping_weight 11.,.,.,111
validation_invalid_format
shipping_weight 11 kilo
validation_invalid_weight_unit
shipping_weight unkn-own
validation_invalid_format
shipping_weight emtpy value
validation_invalid_value
shipping_weight 11
validation_missing_value
shipping_weight 111.222.333 kg
validation_invalid_value

References

Did this answer your question?