Description

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

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

Requirements

  • optional

Specification Details

  • Use accepted units systems

Allowed Values

  • 11 cm

  • 15.2 in

  • 10.12 cm

  • 0 cm

  • 0.0 in

  • 0 lb

Format

  • Type: String

  • Encoding: UTF-8

  • Repeatable: no

  • Length: up to 50 characters

Validation Error Codes

  • validation_invalid_format

  • validation_invalid_length_unit

  • validation_invalid_value

  • validation_missing_value


Valid XML Examples

Valid example

<g:shipping_length>11 cm</g:shipping_length>
<g:shipping_length>15.2 in</g:shipping_length>
<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></g:shipping_length>

Valid CSV Examples

Valid example

shipping_length 11 cm
shipping_length 15.2 in
shipping_length 10.12 cm
shipping_length 0 cm
shipping_length 0.0 in
shipping_length

Invalid XML Examples

Invalid example

Resulting error code

<g:shipping_length>123cm</g:shipping_length>
validation_invalid_format
<g:shipping_length>2 m</g:shipping_length>
validation_invalid_length_unit
<g:shipping_length>unkn own</g:shipping_length>
validation_invalid_value
<g:shipping_length>111.222.333 in</g:shipping_length>
validation_invalid_value
<g:shipping_length> in</g:shipping_length>
validation_missing_value

Invalid CSV Examples

Invalid example

Resulting error code

shipping_length 123cm
validation_invalid_format
shipping_length 2 m
validation_invalid_length_unit
shipping_length unknown
validation_invalid_value
shipping_length 111.222.333 in
validation_invalid_value
shipping_length in
validation_missing_value

References

Did this answer your question?