Nash Batch Job API

Batch Job

Operations 4

POST /v1/batch_job Create Batch Job #
PATCH /v1/jobs/{id}/{jobConfigurationId} Update Job by JobID/ExternalIdentifier and Job Configuration ID #
POST /v1/jobs/{jobId}/batch/{batchId}/refresh_quotes Refresh Quotes by Job ID and Batch ID #
POST /v1/jobs/{jobId}/{objectId}/cancel Cancel Job by Job ID and Task or Job Configuration ID #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/nash-batch-job-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

nash-batch-job-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Nash AI Functions Batch Job API
  version: 1.0.0
  description: LLM-backed domain tools
servers:
- url: https://api.sandbox.usenash.com
  description: Sandbox API
- url: https://api.sandbox.ap-southeast-2.usenash.com
  description: Sandbox API (Australia)
- url: https://api.usenash.com
  description: Production API
- url: https://api.ap-southeast-2.usenash.com
  description: Production API (Australia)
tags:
- name: Batch Job
  description: Batch Job
  x-nash-topic: wismo
paths:
  /v1/batch_job:
    post:
      tags:
      - Batch Job
      summary: Create Batch Job
      description: Create a batch job containing multiple packages for multi-stop delivery. Each package has its own pickup and dropoff locations within a single job.
      operationId: create_batch_job_v1_batch_job_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateBatchJobInputSerializer'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReturnedBatchJobMixin'
        '422':
          description: Unprocessable Content
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/NashValidationError'
  /v1/jobs/{id}/{jobConfigurationId}:
    patch:
      tags:
      - Batch Job
      summary: Update Job by JobID/ExternalIdentifier and Job Configuration ID
      description: Update a specific package within a batch job. Use the job configuration ID to target a particular package's details.
      operationId: update_job_v1_jobs__string_id___string_jobConfigurationId__patch
      parameters:
      - name: id
        in: path
        description: Job ID or External Identifier
        required: true
        schema:
          title: Id
          anyOf:
          - type: string
          - type: 'null'
          description: Job ID or External Identifier
      - name: jobConfigurationId
        in: path
        description: Job Configuration ID (for updating a package in a batch job)
        required: true
        schema:
          title: Jobconfigurationid
          anyOf:
          - type: string
          - type: 'null'
          description: Job Configuration ID (for updating a package in a batch job)
          default: null
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateJobInputSerializer'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReturnedBatchJobMixin'
        '422':
          description: Unprocessable Content
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/NashValidationError'
  /v1/jobs/{jobId}/batch/{batchId}/refresh_quotes:
    post:
      tags:
      - Batch Job
      summary: Refresh Quotes by Job ID and Batch ID
      description: Request fresh price quotes from delivery providers for all tasks in a batch. Replaces existing quotes with updated pricing for the entire batch.
      operationId: refresh_quotes_batch_v1_jobs__string_jobId__batch__string_batchId__refresh_quotes_post
      parameters:
      - name: jobId
        in: path
        description: job id
        required: true
        schema:
          title: Jobid
          type: string
          description: job id
      - name: batchId
        in: path
        description: batch id
        required: true
        schema:
          title: Batchid
          type: string
          description: batch id
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RefreshBatchQuotesOutputSerializer'
        '422':
          description: Unprocessable Content
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/NashValidationError'
  /v1/jobs/{jobId}/{objectId}/cancel:
    post:
      tags:
      - Batch Job
      summary: Cancel Job by Job ID and Task or Job Configuration ID
      description: Cancel a specific task or job configuration within a batch job. The objectId can be a task ID (tsk_ prefix) or job configuration ID (cfg_ prefix).
      operationId: cancel_job_v1_jobs__string_jobId___string_objectId__cancel_post
      parameters:
      - name: jobId
        in: path
        description: job id
        required: true
        schema:
          title: Jobid
          type: string
          description: job id
      - name: objectId
        in: path
        description: Task ID or Job Configuration ID
        required: true
        schema:
          title: Objectid
          anyOf:
          - type: string
          - type: 'null'
          description: Task ID or Job Configuration ID
          default: null
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FullJobPayload'
        '422':
          description: Unprocessable Content
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/NashValidationError'
components:
  schemas:
    NashValidationError:
      title: NashValidationError
      required:
      - error
      - response_status
      - RequestID
      type: object
      properties:
        error:
          $ref: '#/components/schemas/NashErrorDetails'
        response_status:
          title: Response Status
          type: string
        RequestID:
          title: Requestid
          type: string
    RouteSerializer:
      title: RouteSerializer
      required:
      - id
      - portalUrl
      - type
      - stops
      type: object
      properties:
        id:
          title: Id
          type: string
          description: Unique identifier for the route.
          example: rte_JphRWDiEosGpXuxwgaYfY3
        externalId:
          title: Externalid
          anyOf:
          - type: string
          - type: 'null'
          description: External Route ID.
          default: null
          example: rte_JphRWDiEosGpXuxwgaYfY3
        portalUrl:
          title: Portalurl
          type: string
          description: Portal URL of the route.
          example: https://portal.usenash.com/routes/rte_JphRWDiEosGpXuxwgaYfY3
        name:
          title: Name
          anyOf:
          - type: string
          - type: 'null'
          description: Name of the route.
          default: null
          example: Route 1
        type:
          title: Type
          type: string
          description: Type of the route, indicating the pickup/dropoff structure.
          example: SINGLE_PICKUP_MULTIPLE_DROPOFFS
        courierId:
          title: Courierid
          anyOf:
          - type: string
          - type: 'null'
          description: Courier ID of the driver assigned to the route.
          default: null
          example: cor_9dK2mNp7xVt3RfWzY8sLbQ
        vehicleId:
          title: Vehicleid
          anyOf:
          - type: string
          - type: 'null'
          description: Vehicle ID of the vehicle assigned to the route.
          default: null
          example: veh_4hL8pXq2sVn6RtY3wCbD9M
        courier:
          anyOf:
          - $ref: '#/components/schemas/CourierSerializer'
          - type: 'null'
          description: Courier/driver details for the route.
          default: null
        driverGroup:
          anyOf:
          - $ref: '#/components/schemas/DriverGroupSerializer'
          - type: 'null'
          description: Driver group assigned to the route.
          default: null
        courierPosition:
          anyOf:
          - $ref: '#/components/schemas/CourierPositionSerializer'
          - type: 'null'
          description: Current GPS position of the assigned courier.
          default: null
        vehicle:
          anyOf:
          - $ref: '#/components/schemas/VehicleSerializer'
          - type: 'null'
          description: Vehicle details for the route.
          default: null
        providerName:
          title: Providername
          anyOf:
          - type: string
          - type: 'null'
          description: Name of the delivery provider assigned to this route.
          default: null
        shiftId:
          title: Shiftid
          anyOf:
          - type: string
          - type: 'null'
          description: Shift ID of the shift assigned to the route.
          default: null
          example: shf_1234567890abcdef12345678
        stops:
          title: Stops
          type: array
          items:
            $ref: '#/components/schemas/RouteStopSerializer'
          description: Ordered list of stops included in the route.
        isDispatched:
          title: Isdispatched
          type: boolean
          description: Whether the route is dispatched.
          default: false
        jobId:
          title: Jobid
          anyOf:
          - type: string
          - type: 'null'
          description: Dispatched Job ID of this route
          default: null
          example: job_1234567890abcdef12345678
        routeMetadata:
          title: Routemetadata
          anyOf:
          - type: object
            additionalProperties: true
          - type: 'null'
          description: Additional metadata for the route.
          default: null
          example:
            priority: high
            source: optimization_engine
        validationErrors:
          title: Validationerrors
          anyOf:
          - type: object
            additionalProperties:
              type: string
          - type: 'null'
          description: Validation errors for the route.
          default: null
          example:
            order_123: Order 123 has pickup but no dropoff
        encodedPolyline:
          title: Encodedpolyline
          anyOf:
          - type: string
          - type: 'null'
          description: Encoded polyline representing the route geometry.
          default: null
        status:
          title: Status
          anyOf:
          - type: string
          - type: 'null'
          description: Current status of the route.
          default: null
          example: CREATED
        statusHistory:
          title: Statushistory
          anyOf:
          - type: array
            items:
              type: object
              additionalProperties:
                type: string
          - type: 'null'
          description: History of status changes for the route.
          default: null
          example:
          - created_at: '2025-04-25T03:00:00Z'
            status: CREATED
          - created_at: '2025-04-25T03:10:00Z'
            status: ASSIGNED
          - created_at: '2025-04-25T03:15:00Z'
            status: STARTED
      description: Represents a planned sequence of stops for a delivery or batch.
    JobConfigurationsSerializer:
      title: JobConfigurationsSerializer
      required:
      - id
      - package
      - tasks
      type: object
      properties:
        id:
          title: Id
          type: string
          description: Job Configuration ID
          example: cfg_01234567890
        package:
          $ref: '#/components/schemas/PackageSerializer'
          description: Package
        tasks:
          title: Tasks
          type: array
          items:
            $ref: '#/components/schemas/TaskSerializer'
          description: Tasks
        advancedTask:
          title: Advancedtask
          anyOf:
          - $ref: '#/components/schemas/TaskSerializer'
          - $ref: '#/components/schemas/CompressedAdvancedTaskSerializer'
          - type: 'null'
          description: Advanced task
          default: null
        delivery:
          anyOf:
          - $ref: '#/components/schemas/DeliverySerializer'
          - type: 'null'
          description: Delivery
          default: null
        publicTrackingUrl:
          title: Publictrackingurl
          anyOf:
          - type: string
          - type: 'null'
          description: Public tracking URL
          default: null
          example: https://usenash.com/tracking/job_abc123
      description: Generic serializer for jbo configurations used in many endpoints.
    RouteStopSerializer:
      title: RouteStopSerializer
      required:
      - stopType
      - objectIds
      - location
      type: object
      properties:
        stopType:
          title: Stoptype
          type: string
          description: Type of the stop.
          example: PICKUP
        objectIds:
          title: Objectids
          type: array
          items:
            type: string
          description: List of object IDs (e.g., order IDs, store location IDs) associated with this stop.
          example:
          - ord_Qr5bVt8WiByGh66z2g7xEu
          - ord_WJFuooSiRvFCaceGZjpbqs
        arrivalTime:
          title: Arrivaltime
          anyOf:
          - type: string
          - type: 'null'
          description: Estimated arrival time at the stop (UTC).
          default: null
          example: '2025-04-25T03:27:00'
        departTime:
          title: Departtime
          anyOf:
          - type: string
          - type: 'null'
          description: Estimated departure time from the stop (UTC).
          default: null
          example: '2025-04-25T03:30:00'
        plannedArrivalTime:
          title: Plannedarrivaltime
          anyOf:
          - type: string
          - type: 'null'
          description: Snapshot of arrival_time captured pre-dispatch (UTC). Mirrors arrival_time while the route is undispatched, then freezes at dispatch — gives consumers the planned ETA at dispatch even after real-time tracking updates arrival_time.
          default: null
          example: '2025-04-25T03:27:00'
        serviceTime:
          title: Servicetime
          anyOf:
          - type: number
          - type: 'null'
          description: Estimated service time spent at the stop (in seconds).
          default: null
          example: 360.0
        distanceFromPrevious:
          title: Distancefromprevious
          anyOf:
          - type: number
          - type: 'null'
          description: Distance traveled from the previous stop (in meters).
          default: null
          example: 3376.0
        durationFromPrevious:
          title: Durationfromprevious
          anyOf:
          - type: number
          - type: 'null'
          description: Travel duration from the previous stop (in seconds).
          default: null
          example: 420.0
        location:
          anyOf:
          - $ref: '#/components/schemas/LatLngSerializer'
          - type: 'null'
          description: Geographic location of the stop. Can be null for non-location based stops like breaks.
        status:
          title: Status
          anyOf:
          - type: string
          - type: 'null'
          description: Current status of the stop.
          default: null
          example: PENDING
        statusDescription:
          title: Statusdescription
          anyOf:
          - type: string
          - type: 'null'
          description: Detailed description of the current status of the stop.
          default: null
          example: leave_unattended
        statusHistory:
          title: Statushistory
          anyOf:
          - type: array
            items:
              type: object
              additionalProperties:
                anyOf:
                - type: string
                - type: 'null'
          - type: 'null'
          description: History of status changes for the stop.
          default: null
          example:
          - created_at: '2025-04-25T03:00:00Z'
            status: PENDING
          - created_at: '2025-04-25T03:15:00Z'
            status: ENROUTE
          - created_at: '2025-04-25T03:20:00Z'
            status: COMPLETED
            status_description: leave_unattended
        metadata:
          title: Metadata
          anyOf:
          - type: object
            additionalProperties: true
          - type: 'null'
          description: Additional metadata for this stop.
          default: null
        startedAt:
          title: Startedat
          anyOf:
          - type: string
          - type: 'null'
          description: Timestamp when the stop entered IN_PROGRESS status (UTC).
          default: null
          example: '2025-04-25T03:27:00Z'
        breakDuration:
          title: Breakduration
          anyOf:
          - type: integer
          - type: 'null'
          description: Duration in seconds of the break at this stop (for DRIVER_BREAK stops).
          default: null
        orders:
          title: Orders
          anyOf:
          - type: array
            items:
              $ref: '#/components/schemas/StopOrderSerializer'
          - type: 'null'
          description: Orders associated with this stop, including tracking URLs and delivery details.
          default: null
      description: Represents a single stop within a planned route.
    QuoteSerializer:
      title: QuoteSerializer
      required:
      - id
      - providerId
      - providerName
      - createdTime
      - priceCents
      type: object
      properties:
        id:
          title: Id
          type: string
          description: Quote ID
          example: qot_01234567890
        type:
          title: Type
          anyOf:
          - type: string
          - type: 'null'
          description: Quote type
          default: null
        providerId:
          title: Providerid
          type: string
          description: Provider ID
          example: uber_standard_mini_mart
        providerName:
          title: Providername
          type: string
          description: Provider name
          example: Nash
        providerLogo:
          title: Providerlogo
          anyOf:
          - type: string
          - type: 'null'
          description: Provider logo
          default: null
          example: https://nash.com/logo.png
        providerIsInternal:
          title: Providerisinternal
          anyOf:
          - type: boolean
          - type: 'null'
          description: Is the provider internal
          default: null
        createdTime:
          title: Createdtime
          type: string
          description: Created time
          example: '2021-01-01T00:00:00Z'
        expireTime:
          title: Expiretime
          anyOf:
          - type: string
          - type: 'null'
          description: Expire time
          default: null
          example: '2021-01-01T00:00:00Z'
        priceCents:
          title: Pricecents
          type: integer
          description: Price in cents
          example: 1000
        taxAmountCents:
          title: Taxamountcents
          anyOf:
          - type: integer
          - type: 'null'
          description: Tax amount in cents
          default: null
          example: 100
        tollFeeCents:
          title: Tollfeecents
          anyOf:
          - type: integer
          - type: 'null'
          description: Toll fee in cents
          default: null
          example: 100
        nashFeeCents:
          title: Nashfeecents
          anyOf:
          - type: integer
          - type: 'null'
          description: Nash fee in cents
          default: null
          example: 100
        insuranceFeeCents:
          title: Insurancefeecents
          anyOf:
          - type: integer
          - type: 'null'
          description: Insurance fee in cents
          default: null
          example: 100
        currency:
          title: Currency
          anyOf:
          - type: string
          - type: 'null'
          description: Currency
          default: null
          example: USD
        pickupWindow:
          title: Pickupwindow
          anyOf:
          - type: string
          - type: 'null'
          description: Pickup window
          default: null
          example: '2021-01-01T00:00:00Z'
        dropoffEta:
          title: Dropoffeta
          anyOf:
          - type: string
          - type: 'null'
          description: Dropoff ETA
          default: null
          example: '2021-01-01T00:00:00Z'
        tags:
          title: Tags
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          description: Tags
          default: null
          example:
          - tag1
          - tag2
          - autodispatch_preferred_quote
        costSplitCustomerCents:
          title: Costsplitcustomercents
          anyOf:
          - type: integer
          - type: 'null'
          description: Cost split customer in cents
          default: null
          example: 100
        costSplitBusinessCents:
          title: Costsplitbusinesscents
          anyOf:
          - type: integer
          - type: 'null'
          description: Cost split business in cents
          default: null
          example: 100
        totalPriceBreakdown:
          title: Totalpricebreakdown
          anyOf:
          - type: object
            additionalProperties: true
          - type: 'null'
          description: Total price breakdown
          default: null
          example:
            subtotal: 1000
            tax: 100
            total: 1100
        totalPriceCents:
          title: Totalpricecents
          anyOf:
          - type: integer
          - type: 'null'
          description: Total price in cents
          default: null
          example: 1000
        rank:
          title: Rank
          anyOf:
          - type: integer
          - type: 'null'
          description: Quote rank for preferred provider ordering
          default: null
          example: 1
        price:
          title: Price
          anyOf:
          - type: number
          - type: 'null'
          description: Price
          default: null
          example: 1000
        isSuccessful:
          title: Issuccessful
          anyOf:
          - type: boolean
          - type: 'null'
          description: Is successful
          default: null
          example: true
        errorMessage:
          title: Errormessage
          anyOf:
          - type: string
          - type: 'null'
          description: Error message
          default: null
          example: Error message
      description: Generic serializer for quotes used in many endpoints.
    UpdateJobInputSerializer:
      title: UpdateJobInputSerializer
      type: object
      properties:
        pickupAddress:
          title: Pickupaddress
          anyOf:
          - type: string
          - type: 'null'
          description: Pickup address
          default: null
        pickupAddressComponents:
          anyOf:
          - $ref: '#/components/schemas/ParsedAddressInputSerializer'
          - type: 'null'
          default: null
        pickupPhoneNumber:
          title: Pickupphonenumber
          anyOf:
          - type: string
          - type: 'null'
          description: Pickup phone number
          default: null
        pickupBusinessName:
          title: Pickupbusinessname
          anyOf:
          - type: string
          - type: 'null'
          description: Pickup business name
          default: null
        pickupFirstName:
          title: Pickupfirstname
          anyOf:
          - type: string
          - type: 'null'
          description: Pickup first name
          default: null
        pickupLastName:
          title: Pickuplastname
          anyOf:
          - type: string
          - type: 'null'
          description: Pickup last name
          default: null
        pickupEmail:
          title: Pickupemail
          anyOf:
          - type: string
          - type: 'null'
          description: Pickup email
          default: null
        pickupInstructions:
          title: Pickupinstructions
          anyOf:
          - type: string
          - type: 'null'
          description: Pickup instructions
          default: null
        pickupStoreLocationId:
          title: Pickupstorelocationid
          anyOf:
          - type: string
          - type: 'null'
          description: Pickup store location ID
          default: null
        pickupBarcodes:
          title: Pickupbarcodes
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          default: null
        dropoffAddress:
          title: Dropoffaddress
          anyOf:
          - type: string
          - type: 'null'
          description: Dropoff address
          default: null
        dropoffAddressComponents:
          anyOf:
          - $ref: '#/components/schemas/ParsedAddressInputSerializer'
          - type: 'null'
          default: null
        dropoffPhoneNumber:
          title: Dropoffphonenumber
          anyOf:
          - type: string
          - type: 'null'
          description: Dropoff phone number
          default: null
        dropoffBusinessName:
          title: Dropoffbusinessname
          anyOf:
          - type: string
          - type: 'null'
          description: Dropoff business name
          default: null
        dropoffFirstName:
          title: Dropofffirstname
          anyOf:
          - type: string
          - type: 'null'
          description: Dropoff first name
          default: null
        dropoffLastName:
          title: Dropofflastname
          anyOf:
          - type: string
          - type: 'null'
          description: Dropoff last name
          default: null
        dropoffEmail:
          title: Dropoffemail
          anyOf:
          - type: string
          - type: 'null'
          description: Dropoff email
          default: null
        dropoffStoreLocationId:
          title: Dropoffstorelocationid
          anyOf:
          - type: string
          - type: 'null'
          description: Dropoff store location ID
          default: null
        dropoffInstructions:
          title: Dropoffinstructions
          anyOf:
          - type: string
          - type: 'null'
          description: Dropoff instructions
          default: null
        dropoffBarcodes:
          title: Dropoffbarcodes
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          default: null
        packageDeliveryMode:
          title: Packagedeliverymode
          anyOf:
          - type: string
          - type: 'null'
          description: Package delivery mode
          default: null
        packagePickupStartTime:
          title: Packagepickupstarttime
          anyOf:
          - pattern: (\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2}).?(\d)*Z?
            type: string
          - type: 'null'
          description: Package pickup start time
          default: null
        packagePickupEndTime:
          title: Packagepickupendtime
          anyOf:
          - pattern: (\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2}).?(\d)*Z?
            type: string
          - type: 'null'
          description: Package pickup end time
          default: null
        packageDropoffStartTime:
          title: Packagedropoffstarttime
          anyOf:
          - pattern: (\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2}).?(\d)*Z?
            type: string
          - type: 'null'
          description: Package dropoff start time
          default: null
        packageDropoffEndTime:
          title: Packagedropoffendtime
          anyOf:
          - pattern: (\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2}).?(\d)*Z?
            type: string
          - type: 'null'
          description: Package dropoff end time
          default: null
        packageDescription:
          title: Packagedescription
          anyOf:
          - type: string
          - type: 'null'
          description: Package description
          default: null
        packageRequirements:
          title: Packagerequirements
          anyOf:
          - type: array
            items:
              anyOf:
              - $ref: '#/components/schemas/PackageRequirements'
              - pattern: ^(custom|preferred):.*
                type: string
          - type: 'null'
          description: Package requirements.
          default: null
          example:
          - photo_proof_of_delivery
          - age_verification_on_delivery
        packageMinimumVehicleSize:
          title: Packageminimumvehiclesize
          enum:
          - any
          - bike
          - motorbike
          - cargobike
          - sedan
          - car
          - suv
          - pickup_truck
          - pickup
          - van
          - large_van
          - extra_large_van
          - truck
          anyOf:
          - type: string
          - type: 'null'
          description: 'Minimum vehicle size required for the package. Allowed values: [''any'', ''bike'', ''motorbike'', ''cargobike'', ''sedan'', ''car'', ''suv'', ''pickup_truck'', ''pickup'', ''van'', ''large_van'', ''extra_large_van'', ''truck'']'
          default: null
          example: car
        packageValue:
          title: Packagevalue
          anyOf:
          - type: number
          - type: 'null'
          description: Package value
          default: null
        packageTax:
          title: Packagetax
          anyOf:
          - type: number
          - type: 'null'
          description: Package tax
          default: null
        tipAmount:
          title: Tipamount
          anyOf:
          - type: number
          - type: 'null'
          description: Tip amount
          default: null
        currency:
          title: Currency
          anyOf:
          - type: string
          - type: 'null'
          description: Currency
          default: null
        packageItems:
          title: Packageitems
          anyOf:
          - type: array
            items:
              type: object
              additionalProperties: true
          - type: 'null'
          description: List of items in the package
          default: null
        referenceId:
          title: Referenceid
          anyOf:
          - type: string
          - type: 'null'
          description: Reference ID
          default: null
        itemsCount:
          title: Itemscount
          anyOf:
          - type: integer
          - type: 'null'
          description: Items count
          default: null
        weight:
          title: Weight
          anyOf:
          - type: integer
          - type: number
          - type: 'null'
          description: Package weight
          default: null
        externalIdentifier:
          title: Externalidentifier
          anyOf:
          - type: string
          - type: 'null'
          description: External identifier for the job
          default: null
        jobMetadata:
          title: Jobmetadata
          anyOf:
          - type: object
            additionalProperties: true
          - type: 'null'
          description: Job metadata
          default: null
        packageMetadata:
          title: Packagemetadata
          anyOf:
          - type: object
            additionalProperties: true
          - type: 'null'
          description: Package metadata
          default: null
      description: Expected input for update job endpoint.
    BarcodeInfoSerializer:
      title: BarcodeInfoSerializer
      type: object
      properties:
        weight:
          title: Weight
          anyOf:
          - type: number
          - type: 'null'
          default: null
        priceCents:
          title: Pricecents
          anyOf:
          - type: integer
          - type: 'null'
          default: null
        weightUnit:
          title: Weightunit
          anyOf:
          - type: string
          - type: 'null'
          default: null
        productCode:
          title: Productcode
          anyOf:
          - type: string
          - type: 'null'
          default: null
        isVariableWeight:
          title: Isvariableweight
          anyOf:
          - type: boolean
          - type: 'null'
          default: null
        barcode:
          title: Barcode
          anyOf:
          - type: str

# --- truncated at 32 KB (105 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/nash/refs/heads/main/openapi/nash-batch-job-api-openapi.yml