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 details including card information and payment option. Required.

      Payment information for creating an order. Contains credit/debit card details and payment terms. For Finco-shaped orders, card fields (Chaiz.API.Models.CreatePaymentModel.AccountNumber, Chaiz.API.Models.CreatePaymentModel.CreditCardExpirationDateString, Chaiz.API.Models.CreatePaymentModel.CVC, Chaiz.API.Models.CreatePaymentModel.MethodType) may be omitted — the embedded Shift widget collects them on the frontend and the backend never sees them. Chaiz.API.Models.CreatePaymentModel.PaymentOption stays required because it drives plan-side pricing on both paths. Whole-model validation is enforced by !:CreateNewOrderModel.Validate.

    • 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

      Customer billing and contact information. Required. Includes name, email, phone, and address details.

      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.