These docs are for v1.0. Click to read the latest docs for v2024.09.

Discussions

Ask a Question
Back to All

Create a shipment sandbox account access token

{#3520 ▼
+"shipment": {#3345 ▼
+"easyship_shipment_id": "ESHK10131608"
+"consignee_tax_id": null
+"courier": {#3347 ▼
+"id": "64b5d8b2-4c60-4faf-bf1b-9f7b1b7ca1c8"
+"name": "SF Express - Domestic"
}
+"created_at": "2023-10-20T10:05:09Z"
+"currency": "INR"
+"delivery_state": "not_created"
+"destination_address": {#3499 ▼
+"city": "Kowloon City"
+"company_name": null
+"contact_email": "[email protected]"
+"contact_name": "Nikunj Buyer"
+"contact_phone": "+85230085678"
+"country_alpha2": "HK"
+"line_1": "Kennedy Town"
+"line_2": null
+"postal_code": "0000"
+"state": "Kowloon Region"
}
+"eei_reference": null
+"incoterms": "DDU"
+"insurance": {#3319 ▶}
+"label_generated_at": null
+"label_paid_at": null
+"label_state": "not_created"
+"last_failure_http_response_messages": []
+"metadata": {#3511}
+"order_created_at": null
+"order_data": {#3504 ▶}
+"origin_address": {#3500 ▼
+"city": "Hong Kong"
+"company_name": "Threeniti"
+"contact_email": "[email protected]"
+"contact_name": "Threeniti"
+"contact_phone": "+852-3008-5678"
+"country_alpha2": "HK"
+"line_1": "Kennedy Town"
+"line_2": ""
+"postal_code": "0000"
+"state": "Yuen Long"
}
+"parcels": array:1 [▼
0 => {#3344 ▼
+"box": {#3346 ▼
+"id": null
+"name": null
+"outer_dimensions": {#3507 ▼
+"length": 18.0
+"width": 30.0
+"height": 20.0
}
+"slug": null
+"type": "box"
+"weight": 0.0
}
+"items": array:1 [▼
0 => {#3343 ▼
+"actual_weight": 1.0
+"category": "Home Appliances"
+"contains_battery_pi966": null
+"contains_battery_pi967": null
+"contains_liquids": null
+"declared_currency": "HKD"
+"declared_customs_value": 50.0
+"description": "Stainless Steel Vacuum With Straw Handle Cup"
+"dimensions": {#3377 ▶}
+"hs_code": "40000000"
+"origin_country_alpha2": "HK"
+"origin_currency": "INR"
+"origin_customs_value": 436.6812227
+"quantity": 1
+"sku": null
}
]
+"total_actual_weight": 1.0
}
]
+"pickup_state": "not_requested"
+"rates": array:1 [▼
0 => {#3514 ▼
+"additional_services_surcharge": 0.0
+"available_handover_options": array:2 [▶]
+"cost_rank": 1.0
+"courier_id": "64b5d8b2-4c60-4faf-bf1b-9f7b1b7ca1c8"
+"courier_logo_url": null
+"courier_name": "SF Express - Domestic"
+"courier_remarks": null
+"currency": "INR"
+"ddp_handling_fee": 0.0
+"delivery_time_rank": 1.0
+"description": null
+"discount": {#3515 ▶}
+"easyship_rating": null
+"estimated_import_duty": 0
+"estimated_import_tax": 0
+"fuel_surcharge": 0.0
+"full_description": null
+"import_duty_charge": 0.0
+"import_tax_charge": 0.0
+"import_tax_non_chargeable": 0.0
+"incoterms": "DDU"
+"insurance_fee": 0.0
+"is_above_threshold": false
+"max_delivery_time": 3
+"min_delivery_time": 2
+"minimum_pickup_fee": 0.0
+"other_surcharges": null
+"oversized_surcharge": 0.0
+"payment_recipient": "Easyship"
+"provincial_sales_tax": 0.0
+"rates_in_origin_currency": {#3516 ▶}
+"remote_area_surcharge": 0.0
+"remote_area_surcharges": null
+"residential_discounted_fee": null
+"residential_full_fee": null
+"sales_tax": 0.0
+"shipment_charge": 238.3
+"shipment_charge_total": 238.3
+"total_charge": 238.3
+"tracking_rating": 3.0
+"value_for_money_rank": 1.0
+"warehouse_handling_fee": 0.0
}
]
+"regulatory_identifiers": {#3517 ▼
+"eori": null
+"ioss": null
+"vat_number": null
}
+"return": false
+"return_address": {#3518 ▼
+"city": "Hong Kong"
+"company_name": "Threeniti"
+"contact_email": "[email protected]"
+"contact_name": "Threeniti"
+"contact_phone": "+852-3008-5678"
+"country_alpha2": "HK"
+"line_1": "Kennedy Town"
+"line_2": ""
+"postal_code": "0000"
+"state": "Yuen Long"
}
+"sender_address": {#3519 ▼
+"city": "Hong Kong"
+"company_name": "Threeniti"
+"contact_email": "[email protected]"
+"contact_name": "Threeniti"
+"contact_phone": "+852-3008-5678"
+"country_alpha2": "HK"
+"line_1": "Kennedy Town"
+"line_2": ""
+"postal_code": "0000"
+"state": "Yuen Long"
}
+"set_as_residential": false
+"shipment_state": "created"
+"shipping_documents": []
+"tracking_page_url": "https://www.trackmyshipment.co/shipment-tracking/ESHK10131608"
+"trackings": []
+"updated_at": "2023-10-20T10:05:10Z"
+"warehouse_state": "none"
}
+"meta": {#3521 ▼
+"unavailable_couriers": []
}
}

Get Create a shipment 201 status shipment is create with "shipment_state": "created" but not showing the shipment detail easyship dashboard.

I am using sandbox account access token with the create a shipment API