PartnerCreateCompleteOrderModelErrorsResponseWrapper

  • errorResponse
    Type: object · ErrorsResponse nullable
    • errors
      Type: array object[] | null · ErrorResponse[]
  • response
    Type: object · PartnerCreateCompleteOrderModel nullable

    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.

    • payment
      Type: object · CreatePaymentModel
      required

      Payment information for creating an order. Contains credit/debit card details and payment terms.

    • searchResultPlanIds
      Type: array integer[]
      required

      Array 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.

    • userDetails
      Type: object · PartnersUserDetailsMainModel
      required

      Partner-specific customer information for order creation. Extends UserDetailsMainModel with an optional external ID for partner tracking.

    • device
      Type: string | null

      Optional. Device type for analytics tracking. Common values: "Desktop", "Mobile", "Tablet"

    • partner
      Type: string | null

      Your unique partner identifier provided during onboarding. Optional — if omitted, resolved automatically from your authentication token.

    • selectedAddonIds
      Type: array integer[] | null

      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.