PartnerCreateCompleteOrderModel
Creates a vehicle service contract order with complete customer and payment information. Before calling this endpoint, you must perform a plan search to obtain searchResultPlanId values.
- paymentType: object · CreatePaymentModelrequired
Payment details including card information and payment option. Required.
- paymentType: string · PaymentOptionenum
Option requiredThe payment term, which also selects the price. Always required. Values: 0 = monthly installments, 2 = pay in full.
The enum member names do not read the way you would expect, so use the numbers above. Which options are available depends on your account and on the plan's duration; a value your account does not allow is rejected.
values- Default
- Half
- Full
- accountType: string | null
Number min length:13max length:16Format: credit-cardCard number, 13 to 16 digits, no spaces or dashes. In UAT use
4111111111111111(the standard Visa test number). - creditType: string | null
Card Expiration Date String Card expiration date as
MM/YYYY. Note the four-digit year. Must be a valid future date. - cvcType: string | nullmin length:3max length:5
Pattern: ^\d+$Card security code (CVV/CVC), 3 to 5 digits.
- methodType: string · PaymentMethodTypeenum
Type Possible values: None (0) - None, VISA (1) - Visa, MASTERCARD (2) - Master Card, AmericanExpress (3) - American Express, Discover (4) - Discover, ACHSavings (5) - ACH Savings, ACHChecking (6) - ACH Checking
values- None
- V
I S A - M
A S T E R C A R D - American
Express - Discover
- A
C H Savings - A
C H Checking
- searchType: array integer[] Format: int32
Result Plan Ids requiredArray of searchResultPlanId values from a previous plan search. Required. These IDs identify which specific plans the customer wants to purchase. Typically contains a single plan ID, but can include multiple for bundled purchases.
- userType: object · PartnersUserDetailsMainModel
Details requiredCustomer billing and contact information. Required. Includes name, email, phone, and address details.
- addressType: string
Pattern: ^(?=.*[a-zA-Z])(?!.*@).*$requiredCustomer's street address. Required. 5-60 characters, must include street name.
- cityType: string
Pattern: ^[A-Za-z\u00C0-\u024F''.\-]+(?:[\s\-][A-Za-z\u00C0-\u024F''.\-]+)*$requiredCustomer's city. Required. 3-32 characters.
- emailType: string
Pattern: ^[^\s@]+@[^\s@]+\.[^\s@]+$Format: emailrequiredCustomer's email address. Required. Must be a valid email format.
- firstType: string
Name Pattern: ^[a-zA-Z' .-]+$requiredCustomer's first name. Required. 2-32 characters, letters only (including dot, whitespace, dash, apostrophe).
- lastType: string
Name Pattern: ^[a-zA-Z' .-]+$requiredCustomer's last name. Required. 2-32 characters, letters only (including dot, whitespace, dash, apostrophe).
- stateType: string
Pattern: ^[a-zA-Z]+$requiredTwo-letter US state code. Required. Must match the state derived from the ZIP code.
- zipType: string Format: postal-coderequired
5-digit US ZIP code. Required. Must be a valid ZIP code that matches the state.
- addressType: string | null
Apartment Optional. Apartment, suite, or unit number. Maximum 4 characters.
- externalType: string | null
Id Optional. Your internal customer/user ID for tracking purposes. This ID will be stored with the order and included in webhook notifications.
- phoneType: string | null
Number Customer's phone number. Optional but recommended. 10-digit US phone number.
- deviceType: string | null
Optional. Device type for analytics tracking. Common values: "Desktop", "Mobile", "Tablet"
- partnerType: string | null
Your unique partner identifier provided during onboarding. Optional — if omitted, resolved automatically from your authentication token.
- selectedType: array integer[] | null Format: int32
Addon Ids Optional. Array of add-on IDs to include with the order. Add-on IDs are returned in the plan search results under each plan's addons array.