Skip to main content

Import Part Compatibilities

POST 

/api/repairs/part-compatibilities/import

Upserts part compatibility from a CSV file. Headers: part_sku (required), product_sku, category (a category path or ID), issue_type (an ID or a "Parent › Child" path), default_quantity (default 1). Each row needs a product SKU, category or issue type. Rows are matched on part + product + category + issue type, so re-importing updates quantities instead of duplicating rows.

Required scope: repairs:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Body (multipart/form-data):

  • file (file, required) — CSV or TXT, max 20 MB, up to 50,000 rows.

Files up to 1,000 rows import immediately and return created, updated and errors (row, message per skipped row). Larger files run in the background: queued is true and tracked_job_log_id identifies the job.

Authentication: Bearer token with the repairs:write scope.

Request​

Responses​

OK

Response Headers
    Content-Type