Skip to main content

Backfill Shipment Trackings

POST 

/api/shipment-trackings/backfill

Kick off a background job that scans recent rows of the selected entity types and registers any that have a tracking_number but no shipment_trackings row yet.

Authorization

Any valid API token can call this endpoint — no specific scope required. Manage tokens.

Returns the tracked_job_log_id which can be polled for progress via the tracked job log endpoints.

Optional Fields:

  • entity_types — array of strings. Defaults to all five. Each value must be one of: sales_order_fulfillments, inbound_shipments, warehouse_transfer_shipments, rmas, vendor_credit_shipments.
  • since_days — integer, 1–365. Defaults to 30. Look-back window in days.

Responses:

  • 200 OK — backfill dispatched; payload contains tracked_job_log_id
  • 422 Unprocessable Entity with code: not_connected — no active 17TRACK instance

Request

Responses

OK

Response Headers
    Content-Type