Preview Warranty Coverage
POST/api/repairs/coverage/preview
Preview Warranty Coverage.
repairs:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Request fields:
product_id(required): integer, exists:products,idsales_order_line_id(optional): integer, exists:sales_order_lines,idserial_number_id(optional): integer, exists:serial_numbers,idwarranty_registration_id(optional): integer, exists:warranty_registrations,idpurchase_date(optional): date_format:Y-m-dissue_type_id(optional): integer, exists:repair_issue_types,idissue_type_ids(optional): arrayissue_type_ids.*(optional): integer, exists:repair_issue_types,idroot_cause(optional): Enum:in:"manufacturing_defect","wear_and_tear","accidental_damage","misuse","shipping_damage","no_fault_found","unknown"customer_id(optional): integer, exists:customers,idsales_channel_id(optional): integer, exists:sales_channels,idexclude_repair_order_line_id(optional): integer, exists:repair_order_lines,idclaim_date(optional): date_format:Y-m-dhas_receipt(optional): boolean
Permission: repairs.view.
Authentication: Bearer token with the repairs:read / write scope.
Request
Responses
- 200
- 401
- 403
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Unprocessable Content
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.