Create Warranty Registration
POST/api/repairs/registrations
Create Warranty Registration.
repairs:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Request fields:
customer_id(optional): integer, exists:customers,idcustomer(optional): arraycustomer.name(optional): string, max:255customer.email(required): email, max:190customer.phone(optional): string, max:40product_id(required): integer, exists:products,idwarranty_policy_id(optional): integer, exists:warranty_policies,idsales_order_line_id(optional): integer, exists:sales_order_lines,idserial_number_id(optional): integer, exists:serial_numbers,idlot_number(optional): string, max:100quantity(optional): integer, min:1, max:100000purchase_source(optional): Enum:in:"order","shopify","amazon","retail_store","wholesale_partner","gift","other"retailer_name(optional): string, max:120receipt(optional): file, mimes:jpg,jpeg,png,webp,heic,pdf, max:10240purchased_on(optional): date_format:Y-m-d, before_or_equal:todaystarts_on(optional): date_format:Y-m-dexpires_on(optional): date_format:Y-m-d, after_or_equal:starts_onstatus(optional): In:in:"active","pending_verification"registration_number(optional): string, max:40, Unique:unique:warranty_registrations,registration_number,NULL,id
Permission: repairs.create.
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.