Add Shipment

Creates a new shipment.

URLs

Environment Method URL
Sandbox https://api-sandbox.fndev.net/api/rest/v2/workorders/work_order_id/shipments
Production https://api.fieldnation.com/api/rest/v2/workorders/work_order_id/shipments

Path Parameters

Parameter Type Example Notes
work_order_id integer 1753 Work Order ID.

Query Parameters

Parameter Type Example Notes
access_token string abc123defg459hijk786lmn45 Required.

Body Parameters

Refer to Shipments for a complete list of parameters.

Examples


{
   "name":"Alarm Wiring",
   "direction":"to site",
   "carrier":{
      "name":"other",
      "other":"ABC Shipping",
      "tracking":"10025A45"
   },
   "task_id":0
}

Response

Returns the Work Order Response. Refer to Work Orders for parameter details and examples.

Errors

Standard HTTP and OAuth error codes.

Examples

400 Bad Request, Missing Parameter
400 Bad Request, Invalid Tracking Number