Successfully returned a PurchaseOrder
Default error response
{- "actual_delivery_datetime": "2019-08-24T14:15:22Z",
- "actual_pickup_datetime": "2019-08-24T14:15:22Z",
- "archived": true,
- "company": "87340f10-f684-4b06-8427-5981380bd9a9",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by_user": {
- "email": "string",
- "first_name": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "last_name": "string",
- "phone_number": "string"
}, - "custom_data": {
- "property1": null,
- "property2": null
}, - "customer_external_id": "string",
- "customer_name": "string",
- "description": "string",
- "destination_address": {
- "address_1": "string",
- "address_2": "string",
- "city": "string",
- "country": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "formatted_address": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "latitude": 0.1,
- "longitude": 0.1,
- "phone_number": "string",
- "postal_code": "string",
- "state_province": "string",
- "timezone": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "destination_address_book_entry": "ec679ff9-f6ca-40cd-9240-fc673371afec",
- "destination_dock_external_id": "string",
- "destination_stop": "9f2c2b22-33f4-4d9a-8d9e-5bae44ad8c1e",
- "destination_stop_alerts": [
- {
- "alert_type": "AT_RISK",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by_driver": "4b7764ea-906e-4a4e-9227-7c0083c9979c",
- "created_by_user": "27517bc4-bc7e-445c-b9ea-ea9612f4fa59",
- "description": "string",
- "expiration": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": {
- "address_1": "string",
- "address_2": "string",
- "city": "string",
- "country": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "formatted_address": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "latitude": 0.1,
- "longitude": 0.1,
- "phone_number": "string",
- "postal_code": "string",
- "state_province": "string",
- "timezone": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "occurred_at": "2019-08-24T14:15:22Z",
- "reason_code": "ACCIDENT",
- "stop": "0bfa2243-0f07-4994-a5a2-d14bef007f26",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "invoice_external_id": "string",
- "line_items": [
- {
- "country_of_manufacture": "US",
- "description": "string",
- "freight_class": "50",
- "hazmat_hazard_class": "string",
- "hazmat_identification_number": "string",
- "hazmat_packing_group": "I",
- "hazmat_proper_shipping_name": "string",
- "height": 0.1,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "length": 0.1,
- "length_unit": "CM",
- "nmfc_item_code": "string",
- "nmfc_sub_code": "string",
- "package_weight": 0.1,
- "piece_type": "BAG",
- "product_category": "string",
- "product_ref": "string",
- "provider_specific_packaging": "string",
- "refrigeration_max_temp": 0.1,
- "refrigeration_min_temp": 0.1,
- "refrigeration_required": true,
- "stackable": true,
- "temp_unit": "F",
- "value_per_piece": 0.1,
- "value_per_piece_currency": "CAD",
- "weight_unit": "KG",
- "width": 0.1,
- "custom_data": {
- "property1": null,
- "property2": null
}, - "package_type": "BAG",
- "purchase_order": "94a9570d-82e2-4a81-b165-8cff67d9c735",
- "total_line_item_weight": 0.1,
- "total_packages": 0,
- "total_pieces": 0
}
], - "name": "string",
- "order_number": "string",
- "origin_address": {
- "address_1": "string",
- "address_2": "string",
- "city": "string",
- "country": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "formatted_address": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "latitude": 0.1,
- "longitude": 0.1,
- "phone_number": "string",
- "postal_code": "string",
- "state_province": "string",
- "timezone": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "origin_address_book_entry": "a3c225dc-c7d7-4c94-b9ff-16919e5a505f",
- "origin_dock_external_id": "string",
- "origin_stop": "ef4efbd8-cdf3-4968-b2ef-9780904c11d1",
- "origin_stop_alerts": [
- {
- "alert_type": "AT_RISK",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by_driver": "4b7764ea-906e-4a4e-9227-7c0083c9979c",
- "created_by_user": "27517bc4-bc7e-445c-b9ea-ea9612f4fa59",
- "description": "string",
- "expiration": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": {
- "address_1": "string",
- "address_2": "string",
- "city": "string",
- "country": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "formatted_address": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "latitude": 0.1,
- "longitude": 0.1,
- "phone_number": "string",
- "postal_code": "string",
- "state_province": "string",
- "timezone": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "occurred_at": "2019-08-24T14:15:22Z",
- "reason_code": "ACCIDENT",
- "stop": "0bfa2243-0f07-4994-a5a2-d14bef007f26",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "overall_status": "ASSIGNED",
- "planned_delivery_end_datetime": "2019-08-24T14:15:22Z",
- "planned_delivery_start_datetime": "2019-08-24T14:15:22Z",
- "planned_pickup_end_datetime": "2019-08-24T14:15:22Z",
- "planned_pickup_start_datetime": "2019-08-24T14:15:22Z",
- "purchase_order_number": "string",
- "shipment": "040451d7-03ba-4b1e-94f7-5cacc36efb36",
- "source": "SHIPWELL_WEB",
- "source_system_id": "string",
- "status": "string",
- "subtotal_amount": 0,
- "subtotal_amount_currency": "CAD",
- "supplier_external_id": "string",
- "supplier_name": "string",
- "tax_amount": 0,
- "tax_amount_currency": "CAD",
- "transit_status": "PICKED_UP",
- "transit_status_reason_code": "ACCIDENT",
- "updated_at": "2019-08-24T14:15:22Z"
}