Parcels

Update a parcel

modify an existing parcel's details.

patch/v1/parcels/{id}

Path parameters

idstring required

Request body

weightnumber double

The parcel's weight

widthnumber double nullable

The parcel's width

heightnumber double nullable

The parcel's height

lengthnumber double nullable

The parcel's length

packaging_typestring nullable

The parcel's packaging type.<br/> Note that the packaging is optional when using a package preset.<br/> values: <br/> envelope pak tube pallet small_box medium_box your_packaging<br/> For carrier specific packaging types, please consult the reference.

package_presetstring nullable

The parcel's package preset.<br/> For carrier specific package presets, please consult the reference.

descriptionstring nullable

The parcel's description

contentstring nullable

The parcel's content description

is_documentboolean nullable

Indicates if the parcel is composed of documents only

weight_unit'KG' | 'LB' | 'OZ' | 'G'

The parcel's weight unit

dimension_unit'CM' | 'IN' | 'null' nullable

The parcel's dimension unit

reference_numberstring nullable

The parcel reference number.<br/> (can be used as tracking number for custom carriers)

freight_classstring nullable

The parcel's freight class for pallet and freight shipments.

optionsobject
<details> <summary>Parcel specific options.</summary>
    {
        "insurance": "100.00",
        "insured_by": "carrier",
    }
    </details>
    

Response

idstring

A unique identifier

weightnumber double required

The parcel's weight

widthnumber double nullable

The parcel's width

heightnumber double nullable

The parcel's height

lengthnumber double nullable

The parcel's length

packaging_typestring nullable

The parcel's packaging type.<br/> Note that the packaging is optional when using a package preset.<br/> values: <br/> envelope pak tube pallet small_box medium_box your_packaging<br/> For carrier specific packaging types, please consult the reference.

package_presetstring nullable

The parcel's package preset.<br/> For carrier specific package presets, please consult the reference.

descriptionstring nullable

The parcel's description

contentstring nullable

The parcel's content description

is_documentboolean nullable

Indicates if the parcel is composed of documents only

weight_unit'KG' | 'LB' | 'OZ' | 'G' required

The parcel's weight unit

dimension_unit'CM' | 'IN' | 'null' nullable

The parcel's dimension unit

reference_numberstring nullable

The parcel reference number.<br/> (can be used as tracking number for custom carriers)

freight_classstring nullable

The parcel's freight class for pallet and freight shipments.

optionsobject
<details> <summary>Parcel specific options.</summary>
    {
        "insurance": "100.00",
        "insured_by": "carrier",
    }
    </details>
    
object_typestring

Specifies the object type

Changes