# Add SKIDs

Endpoint: PATCH /api/webhooks/jobs/{job_id_for_add_skids}/
Version: 1.0
Security: key

## Security:

  - `key` (unknown)
    apiKey in query key

## Path parameters:

  - `job_id_for_add_skids` (string, required)
    Job ID which is required for lookup (Radaro Job ID or external job id depending on the lookup field).

## Query parameters:

  - `lookup_field` (string)
    Field name for job lookup, "order_ID" or "external_id".

## Request fields (application/json):

  - `cargoes` (object)

  - `cargoes.skids` (array)

  - `cargoes.skids.id` (integer)
    ID of an existing SKID of this job

  - `cargoes.skids.name` (string)

  - `cargoes.skids.quantity` (integer)

  - `cargoes.skids.weight` (object)

  - `cargoes.skids.weight.value` (number)

  - `cargoes.skids.weight.unit` (string)
    Enum: "kg", "lb"

  - `cargoes.skids.sizes` (object)

  - `cargoes.skids.sizes.width` (number)

  - `cargoes.skids.sizes.height` (number)

  - `cargoes.skids.sizes.length` (number)

  - `cargoes.skids.sizes.unit` (string)
    Enum: "cm", "in"

## Response 200:

  - `200` (unknown)
    200

## Response 200 fields (application/json):

  - `deliver_after` (string)
    Example: 2020-11-15T13:54:14.748154Z

  - `deliver_before` (string)
    Example: 2020-11-15T13:54:14.748154Z

  - `manager` (object)

  - `manager.member_id` (integer)
    Example: 123127

  - `manager.email` (string)
    Example: johndoe@gmail.com

  - `manager.first_name` (string)

  - `manager.last_name` (string)

  - `manager.avatar` (any)

  - `manager.is_online` (boolean)
    Example: true

  - `manager.phone` (string)
    Example: +61400000000

  - `manager.thumb_avatar_100x100` (string)
    Example: http://example.com/media/

  - `manager.can_make_payment` (boolean)
    Example: true

  - `manager.merchant_position` (string)
    Example: Admin Manager

  - `manager.full_name` (string)

  - `manager.work_status` (string)
    Example: not_working

  - `manager.role` (string)
    Example: Manager

  - `customer` (object)

  - `customer.id` (integer)
    Example: 1

  - `customer.email` (string)

  - `customer.name` (string)
    Example: John Doe

  - `customer.phone` (string)
    Example: +61400000000

  - `deliver_address` (object)

  - `deliver_address.id` (integer)
    Example: 1

  - `deliver_address.address` (string)

  - `deliver_address.raw_address` (string)

  - `deliver_address.location` (string)
    Example: -37.813600,144.963100

  - `deliver_address.post_code` (string)
    Example: 001234

  - `deliver_address.description` (string)

  - `deliver_address.secondary_address` (string)

  - `deliver_address.quality` (object)

  - `deliver_address.quality.fieldScore` (object)

  - `deliver_address.quality.fieldScore.streets` (integer)
    Example: 1

  - `deliver_address.quality.fieldScore.houseNumber` (integer)
    Example: 1

  - `deliver_address.quality.fieldScore.building` (integer)
    Example: 1

  - `deliver_address.quality.fieldScore.subblock` (integer)
    Example: 1

  - `deliver_address.quality.fieldScore.block` (integer)
    Example: 1

  - `deliver_address.quality.fieldScore.subdistrict` (integer)
    Example: 1

  - `deliver_address.quality.fieldScore.district` (integer)
    Example: 1

  - `deliver_address.quality.fieldScore.city` (integer)
    Example: 1

  - `deliver_address.quality.fieldScore.county` (integer)
    Example: 1

  - `deliver_address.quality.fieldScore.state` (integer)
    Example: 1

  - `deliver_address.quality.fieldScore.country` (integer)
    Example: 1

  - `deliver_address.quality.fieldScore.postalCode` (integer)
    Example: 1

  - `deliver_address.quality.fieldScore.countryCode` (integer)
    Example: 1

  - `deliver_address.quality.fieldScore.stateCode` (integer)
    Example: 1

  - `deliver_address.quality.fieldScore.countyCode` (integer)
    Example: 1

  - `deliver_address.quality.fieldScore.unit` (integer)
    Example: 1

  - `deliver_address.quality.fieldScore.placeName` (integer)
    Example: 1

  - `deliver_address.quality.fieldScore.ontologyName` (integer)
    Example: 1

  - `deliver_address.quality.queryScore` (integer)
    Example: 1

  - `deliver_address_2` (string)
    Example: 2nd floor, apartment 12

  - `delivery_zone` (integer)
    Example: 123

  - `pickup_after` (string)
    Example: 2020-11-15T13:54:14.748154Z

  - `pickup_before` (string)
    Example: 2020-11-15T13:54:14.748154Z

  - `pickup_address` (object)

  - `pickup_address.address` (string)
    Example: 1 Example St, Melbourne VIC 3000, Australia

  - `pickup_address.location` (string)
    Example: -37.813600,144.963100

  - `pickup_address.description` (string)
    Example: Here is pickup

  - `pickup_address.post_code` (string)
    Example: 80-111

  - `pickup_address_2` (string)
    Example: 2nd floor, apartment 12

  - `pickup` (any)

  - `delivery_interval` (object)

  - `delivery_interval.upper` (string)
    Example: 2025-10-18T03:00:00+11:00

  - `delivery_interval.lower` (string)
    Example: 2025-10-18T01:00:00+11:00

  - `delivery_interval.bounds` (string)
    Example: [)

  - `starting_point` (any)

  - `confirmation_signature` (string)
    Example: /path/to/confirmation/signature

  - `geofence_entered_at` (string)
    Example: 2020-02-06T010:00:00Z

  - `geofence_exited_at` (string)
    Example: 2020-02-06T011:00:00Z

  - `title` (string)
    Example: PO1298371

  - `title_2` (string)

  - `title_3` (string)

  - `comment` (string)
    Example: 37
,
3343830956,2021/09/26 00:00

  - `started_at` (string)
    Example: 2020-02-06T009:30:00Z

  - `order_distance` (any)

  - `status` (string)
    Example: pending

  - `order_id` (integer)
    Example: 12109601

  - `confirmation_comment` (string)
    Example: Comment

  - `updated_at` (string)
    Example: 2020-11-15T10:54:15.139140Z

  - `created_at` (string)
    Example: 2020-11-15T10:54:15.139291Z

  - `rating` (any)

  - `customer_comment` (string)
    Example: Comment

  - `pending_comment` (string)
    Example: 2nd floor

  - `duration` (string)
    Example: 00:10:00

  - `deadline_passed` (boolean)
    Example: false

  - `external_id` (string)
    Example: 2345

  - `driver` (integer)
    Example: 342453

  - `merchant` (integer)
    Example: 1

  - `description` (string)
    Example: **One pizza without cheese**

  - `sub_branding` (integer)
    Example: 123

  - `label` (integer)
    Example: 5

  - `labels` (array)

  - `skill_sets` (array)

  - `error_code` (any)

  - `error_comment` (string)
    Example: Error comment

  - `customer_tracking_url` (string)

  - `order_confirmation_photos` (array)

  - `order_confirmation_documents` (array)

  - `order_confirmation_documents.id` (integer)
    Example: 11

  - `order_confirmation_documents.document` (string)
    Example: http://example.com/media/OrderConfirmationDocument/80eece96-fe14-4ec4-bde6-31d62cb9a003.pdf

  - `order_confirmation_documents.name` (string)
    Example: Job-ID-14312344_Custom-document_15-05-2020-16.3

  - `order_confirmation_documents.tags` (array)

  - `order_confirmation_documents.tags.id` (integer)
    Example: 3

  - `order_confirmation_documents.tags.name` (string)
    Example: Proof of Delivery

  - `order_pickup_confirmation_documents` (array)

  - `order_pickup_confirmation_documents.id` (integer)
    Example: 11

  - `order_pickup_confirmation_documents.document` (string)
    Example: http://example.com/media/OrderPickupConfirmationDocument/80eece96-fe14-4ec4-bde6-31d62cb9a003.pdf

  - `order_pickup_confirmation_documents.name` (string)
    Example: Job-ID-14312344_Custom-document_15-05-2020-16.3

  - `order_pickup_confirmation_documents.tags` (array)

  - `order_pickup_confirmation_documents.tags.id` (integer)
    Example: 3

  - `order_pickup_confirmation_documents.tags.name` (string)
    Example: Proof of Delivery

  - `pre_inspection_comment` (any)

  - `pre_inspection_signature` (any)

  - `pre_inspection_photos` (array)

  - `pre_confirmation_comment` (any)

  - `pre_confirmation_signature` (any)

  - `pre_confirmation_photos` (array)

  - `completion_code` (any)

  - `completion_comment` (string)
    Example: Completion comment

  - `pickup_completion_comment` (string)
    Example: Completion comment

  - `driver_checklist` (object)

  - `driver_checklist.is_correct` (any)

  - `driver_checklist.checklist_confirmed` (boolean)
    Example: false

  - `driver_checklist.checklist_passed` (boolean)
    Example: false

  - `driver_pickup_checklist` (object)

  - `driver_pickup_checklist.is_correct` (any)

  - `driver_pickup_checklist.checklist_confirmed` (boolean)
    Example: false

  - `driver_pickup_checklist.checklist_passed` (boolean)
    Example: false

  - `barcodes` (array)

  - `barcodes.id` (integer)
    Example: 249

  - `barcodes.code_data` (string)
    Example: aGVsbG8gd29ybGQh

  - `barcodes.scanned` (boolean)
    Example: false

  - `barcodes.required` (boolean)
    Example: true

  - `barcodes.comment` (string)

  - `barcodes.created_by_driver` (boolean)
    Example: false

  - `barcodes.scanned_upon_delivery` (boolean)
    Example: false

  - `barcodes.scanned_at_the_warehouse` (boolean)
    Example: false

  - `pickup_geofence_entered_at` (string)
    Example: 2020-02-06T010:00:00Z

  - `pickup_geofence_exited_at` (string)
    Example: 2020-02-06T011:00:00Z

  - `pick_up_confirmation_photos` (any)

  - `pick_up_confirmation_signature` (any)

  - `pick_up_confirmation_comment` (any)

  - `capacity` (number)
    Example: 1.13

  - `capacity_2` (number)
    Example: 5.22

  - `capacity_3` (number)
    Example: 6.78

  - `optimisation_id` (any)

  - `enable_rating_reminder` (boolean)
    Example: true

  - `custom_redirect_url` (string)
    Example: https://example.com/

  - `concatenated_order` (object)

  - `concatenated_order.order_id` (integer)
    Example: 173754344

  - `concatenated_order.external_id` (any)

  - `priority` (integer | null)
    Example: 1

  - `territory` (integer)
    Example: 2

  - `delivery_receiver_name` (string)
    Example: John Doe

  - `pickup_receiver_name` (string)
    Example: John Doe

  - `pickup_acknowledgment_passed` (boolean)
    Example: false

  - `delivery_acknowledgment_passed` (boolean)
    Example: false

  - `pre_inspection_videos` (array)

  - `pre_inspection_videos.url` (string, required)

  - `pre_inspection_videos.content_type` (string, required)
    MIME type of the uploaded video

  - `pre_inspection_videos.size_bytes` (integer, required)
    Size of the video file in bytes

  - `pre_inspection_videos.duration_seconds` (string | null, required)
    Video duration in seconds, decimal number with 2 decimal places. `null` if the duration was not provided on upload

  - `pre_inspection_videos.created_at` (string, required)

## Response 400:

  - `400` (unknown)
    400

## Response 403:

  - `403` (unknown)
    403

## Response 200 examples:

  - `Result` (unknown)

## Response 403 examples:

  - `API Key Error` (unknown)

