Subject: payload
From: Mohammad Musaed <[email-masked]>
To: Mohammad Musaed <[email-masked]>
Date: Mon, 4 Jan 2021 06:23:24 -0700 (MST)

{"status":400,"reference_id":"1000336657","timestamp":1607865263650,"execution_time":1905,"errors":["Pickup.ExistingShipments[0].Number - Shipment is already associated with another pickup"]} 

Request Payload: 

{ 
"reference_id": "1000336657", 
"order_number": "1000336657", 
"carrier_code": "ARAMEX", 
"tracking_number": "46390422245", 
"shipper_code": "132127", 
"merchant_code": "", 
"type_of_order": "Reverse", 
"type_of_service": "", 
"origin_title": "", 
"origin_code": "", 
"origin_name": "Zuhair Jaasim Alhalal", 
"origin_address_line1": "7267،", 
"origin_address_line2": "32452", 
"origin_landmark": "7267،", 
"origin_city": "SEIHAT", 
"origin_state_province": "", 
"origin_country": "SA", 
"origin_postal_code": "", 
"origin_contact_number": "+966540204778", 
"origin_contact_number2": "+966540204778", 
"origin_email": "[email-masked]", 
"origin_company_name": "", 
"origin_latitude": "50.0360861", 
"origin_longitude": "26.4909318", 
"origin_preferred_start_time": "", 
"origin_preferred_end_time": "", 
"destination_title": "MR", 
"destination_code": "", 
"destination_name": "ABHISHEK", 
"destination_address_line1": "Landmark Riyadh warehouse", 
"destination_address_line2": "Riyadh warehouse", 
"destination_landmark": "", 
"destination_city": "Riyadh", 
"destination_state_province": "", 
"destination_country": "SA", 
"destination_postal_code": "11", 
"destination_contact_number": "966112049555", 
"destination_contact_number2": "966112049555", 
"destination_email": "[email-masked]", 
"destination_company_name": "", 
"destination_preferred_start_time": "", 
"destination_preferred_end_time": "", 
"destination_latitude": "", 
"destination_longitude": "", 
"return_title": "", 
"return_code": "DHA", 
"return_name": "Zuhair Jaasim Alhalal", 
"return_address_line1": "7267،", 
"return_address_line2": "32452", 
"return_landmark": "7267،", 
"return_city": "SEIHAT", 
"return_state_province": "", 
"return_country": "SA", 
"return_postal_code": "", 
"return_contact_number": "+966540204778", 
"return_contact_number2": "+966540204778", 
"return_email": "[email-masked]", 
"return_preferred_start_time": "2020-12-14 13:00:00", 
"return_preferred_end_time": "2020-12-14 17:00:00", 
"return_latitude": "50.0360861", 
"return_longitude": "26.4909318", 
"number_of_shipments": 1, 
"total_weight": 1, 
"uom_total_weight": "KG", 
"product_code": "DOM", 
"product_type": "CDS", 
"payment_mode": "CC", 
"invoice_value": 0, 
"amount_to_be_collected": 0, 
"currency_code": "SAR", 
"custom_value": 0, 
"product_description": "test test", 
"shipping_date_time": "2020-12-14 09:00:00", 
"item_list": [ 
{ 
"item_reference_number": "161179913", 
"item_name": "name1", 
"item_code": "code", 
"item_status": "Status", 
"item_length": 1, 
"item_width": 1, 
"item_height": 1, 
"item_weight": 1, 
"item_uom": "CM", 
"item_value": 12, 
"item_delivery_service_time": 11, 
"item_special_instruction": "Office address", 
"harmonized_code": "", 
"item_quantity": 1 
}, 
{ 
"item_reference_number": "162372186", 
"item_name": "name1", 
"item_code": "code", 
"item_status": "Status", 
"item_length": 1, 
"item_width": 1, 
"item_height": 1, 
"item_weight": 1, 
"item_uom": "CM", 
"item_value": 12, 
"item_delivery_service_time": 11, 
"item_special_instruction": "Office address", 
"harmonized_code": "", 
"item_quantity": 1 
}, 
{ 
"item_reference_number": "162442771", 
"item_name": "name1", 
"item_code": "code", 
"item_status": "Status", 
"item_length": 1, 
"item_width": 1, 
"item_height": 1, 
"item_weight": 1, 
"item_uom": "CM", 
"item_value": 12, 
"item_delivery_service_time": 11, 
"item_special_instruction": "Office address", 
"harmonized_code": "", 
"item_quantity": 1 
}, 
{ 
"item_reference_number": "162629156", 
"item_name": "name1", 
"item_code": "code", 
"item_status": "Status", 
"item_length": 1, 
"item_width": 1, 
"item_height": 1, 
"item_weight": 1, 
"item_uom": "CM", 
"item_value": 12, 
"item_delivery_service_time": 11, 
"item_special_instruction": "Office address", 
"harmonized_code": "", 
"item_quantity": 1 
}, 
{ 
"item_reference_number": "162629162", 
"item_name": "name1", 
"item_code": "code", 
"item_status": "Status", 
"item_length": 1, 
"item_width": 1, 
"item_height": 1, 
"item_weight": 1, 
"item_uom": "CM", 
"item_value": 12, 
"item_delivery_service_time": 11, 
"item_special_instruction": "Office address", 
"harmonized_code": "", 
"item_quantity": 1 
}, 
{ 
"item_reference_number": "162781093", 
"item_name": "name1", 
"item_code": "code", 
"item_status": "Status", 
"item_length": 1, 
"item_width": 1, 
"item_height": 1, 
"item_weight": 1, 
"item_uom": "CM", 
"item_value": 12, 
"item_delivery_service_time": 11, 
"item_special_instruction": "Office address", 
"harmonized_code": "", 
"item_quantity": 1 
}, 
{ 
"item_reference_number": "162789057", 
"item_name": "name1", 
"item_code": "code", 
"item_status": "Status", 
"item_length": 1, 
"item_width": 1, 
"item_height": 1, 
"item_weight": 1, 
"item_uom": "CM", 
"item_value": 12, 
"item_delivery_service_time": 11, 
"item_special_instruction": "Office address", 
"harmonized_code": "", 
"item_quantity": 1 
} 
], 
"sku_list": null, 
"qc_fail_array": null, 
"additional_field": "2020-12-14 09:00:00", 
"additional_field2": "2020-12-14 17:00:00", 
"additional_field3": "+0300", 
"additional_field4": "Ready", 
"additional_field5": "DOM", 
"additional_field6": "+0400", 
"credentials": { 
"source": 24, 
"accountCountryCode": "SA", 
"accountEntity": "RUH", 
"accountPin": "442543", 
"accountNumber": "132127", 
"userName": "[email-masked]", 
"password": "Hotjunk451@", 
"version": "v1.0" 
} 
}