buildEnrollmentPayload
Build the complete EnrollmentInput JSON for an opportunity. Core derives market and switch type from products and funnel fields. Supports single fuel and dual fuel.
Arguments
Input fields for building enrollment payload.
Returns
BuildEnrollmentPayloadExamples
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.
query BuildEnrollmentPayload($input: BuildEnrollmentPayloadInput!) {
buildEnrollmentPayload(input: $input) {
enrollmentInput
}
}
Variables
{
"input": BuildEnrollmentPayloadInput
}
Response
{
"data": {
"buildEnrollmentPayload": {
"enrollmentInput": "abc123" | 1 | 1.0 | true | ["abc123"] | AccountType
}
}
}