PartnerCreateCompleteOrderModelErrorsResponseWrapper

  • errorResponse
    Type: object · ErrorsResponsenullable

    The problems, when the call failed. null on success.

    Check this before reading response. Note that a 2xx status does not guarantee this is null: order creation returns 200 with this populated when the order was not created.

    • errors
      Type: array object[] | null · ErrorResponse[]

      Every problem found with the request. A single call can report several at once, so read the whole array rather than only the first entry.

      A single problem with a request. Errors arrive as an array under errorResponse.errors.

  • response
    Type: object · PartnerCreateCompleteOrderModelnullable

    The payload, when the call succeeded. null when errorResponse is populated.

    • payment
      Type: object · CreatePaymentModel
      required

      Payment details including card information and payment option. Required.

    • searchResultPlanIds
      Type: array integer[] Format: int32
      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.

    • 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 Format: int32

      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.