Discussions
Label Generation Issue - shipment.shipmentOptions[2].value: must not be null
Hello ,
The below request for V2 returned an error at first but the same request got successful response as tracking number is "9205590221582759381225"
Error message was at first try is:
"shipment.shipmentOptions[2].value: must not be null"
There is no "shipmentOptions" parameters belogs to the shipment object on api documentation.
Please help me on this issue.
Regards,
{
"origin_address": {
"line_1": "1777 Yosemite Ave #335",
"line_2": "",
"state": "CA",
"city": "San Francisco",
"postal_code": "94124",
"country_alpha2": "US",
"company_name": "APLAT",
"contact_name": "APLAT",
"contact_phone": "8185776706",
"contact_email": "[email protected]"
},
"sender_address": null,
"return_address": null,
"destination_address": {
"line_1": "5125 CLINTON ST",
"line_2": "",
"state": "CA",
"city": "Los Angeles",
"postal_code": "90004-1603",
"country_alpha2": "US",
"company_name": "MIN KIM",
"contact_name": "MIN KIM",
"contact_phone": "9999999999",
"contact_email": "[email protected]"
},
"incoterms": "DDP",
"insurance": {
"is_insured": false,
"insured_amount": null,
"insured_currency": "USD"
},
"courier_selection": {
"allow_courier_fallback": false,
"apply_shipping_rules": true,
"selected_courier_id": "75b17e50-b554-4272-8dd6-8f43e44d1925"
},
"shipping_settings": {
"units": {
"weight": "lb",
"dimensions": "in"
},
"buy_label": true,
"buy_label_synchronous": true,
"printing_options": {
"format": "PDF",
"label": "4x6",
"commercial_invoice": "A4",
"packing_slip": null
}
},
"parcels": [
{
"total_actual_weight": 1.5,
"box": {
"slug": "",
"length": 9.0,
"width": 9.0,
"height": 9.0
},
"items": [
{
"quantity": 1,
"category": "Documents",
"description": "Jardin Flower Tote | Olive",
"sku": "JARDIN-OLI",
"actual_weight": 0.75,
"declared_currency": "USD",
"declared_customs_value": 54.0
},
{
"quantity": 1,
"category": "Documents",
"description": "Plat Cookware Tote | Olive",
"sku": "PLAT-M-COOK-OLI",
"actual_weight": 0.75,
"declared_currency": "USD",
"declared_customs_value": 64.0
}
]
}
],
"metadata": null,
"set_as_residential": false,
"consignee_tax_id": null,
"eei_reference": null
}