Skip to content

Customer accept quote

Creates and returns an agreement after a quote has been accepted by an existing customer.

Authentication required

Requires account user level access.

Arguments

Returns

mutation customerAcceptQuote($input:CustomerAcceptQuoteInput!){
    customerAcceptQuote(input:$input){
        agreement{
            id
            validFrom
            validTo
            agreedAt
            terminatedAt
            autoTopUpAmountSelectedByUser
            product {
              id
              marketName
              code
              notes
              fullName
              displayName
              description
              availableFrom
              availableTo
              term
              endsAt
              availabilityStatus
              termsContractType
            }
            activeProductRates {
              tdspRates {
                standingRates {
                  taxable
                  taxCode
                  loadZone
                  description
                  serviceProvider
                  unitType
                  currency
                  pricePerUnit
                  bandCategory
                  bandSubcategory
                  band
                }
                consumptionRates {
                  taxable
                  taxCode
                  loadZone
                  description
                  serviceProvider
                  unitType
                  currency
                  pricePerUnit
                  bandCategory
                  bandSubcategory
                  band
                }
              }
              loadZoneRates {
                consumptionRates {
                  taxable
                  taxCode
                  loadZone
                  description
                  serviceProvider
                  unitType
                  currency
                  pricePerUnit
                  bandCategory
                  bandSubcategory
                  band
                }
              }
            }
            efls{
              id
              serviceProvider
              language
              url
            }
            totalApplicableRate
        }
    }
}
1
2
3
4
5
6
7
8
9
# Input variables
{
    "input": {
        "accountNumber": STRING,
        "code": STRING,
        "productId": STRING,
        "effectiveFrom": DATETIME_IN_IS0_FORMAT.
    }
}

Example

Info

If you do not provide an effectiveFrom input to CustomerAcceptQuoteInput, the new agreement will be applicable from the current CST time.

Note: effectiveFrom should always be in UTC and follow the iso8601 standard.

mutation customerAcceptQuote($input:CustomerAcceptQuoteInput!){
    customerAcceptQuote(input:$input){
        agreement{
            id
            validFrom
            validTo
            agreedAt
            terminatedAt
            autoTopUpAmountSelectedByUser
            product {
              id
              marketName
              code
              notes
              fullName
              displayName
              description
              availableFrom
              availableTo
              term
              endsAt
              availabilityStatus
              termsContractType
            }
            activeProductRates {
              tdspRates {
                standingRates {
                  taxable
                  taxCode
                  loadZone
                  description
                  serviceProvider
                  unitType
                  currency
                  pricePerUnit
                  bandCategory
                  bandSubcategory
                  band
                }
                consumptionRates {
                  taxable
                  taxCode
                  loadZone
                  description
                  serviceProvider
                  unitType
                  currency
                  pricePerUnit
                  bandCategory
                  bandSubcategory
                  band
                }
              }
              loadZoneRates {
                consumptionRates {
                  taxable
                  taxCode
                  loadZone
                  description
                  serviceProvider
                  unitType
                  currency
                  pricePerUnit
                  bandCategory
                  bandSubcategory
                  band
                }
              }
            }
            efls{
              id
              serviceProvider
              language
              url
            }
            totalApplicableRate
        }
    }
}
# Input variables
{
    "input": {
        "accountNumber": "A-12345",
        "code":"d7qwe0e729-4261-4177-9c06-b92f552134b935",
        "productId":"40"
        # Optional
        "effectiveFrom": "2022-09-28T21:00:00-05:00"
    }
}
{
    "data": {
        "customerAcceptQuote": {
            "agreement": {
                "id": "2",
                "validFrom": "2022-09-21T00:00:00-05:00",
                "validTo": null,
                "agreedAt": "2022-09-21T16:36:19.373962+00:00",
                "terminatedAt": null,
                "autoTopUpAmountSelectedByUser": null,
                "product": {
                    "id": "40",
                    "marketName": "USA_ERCOT_ELECTRICITY",
                    "code": "OCTOPLUS-12M",
                    "notes": "",
                    "displayName": "Octo 12",
                    "description": "12 Month Fixed Rate with no exit fees.",
                    "fullName": "Octo 12",
                    "id": "38",
                    "term": 12,
                    "availableFrom": "2021-09-21T00:00:00-05:00",
                    "availableTo": null,
                    "term": null,
                    "endsAt": null,
                    "availabilityStatus": "PUBLIC",
                    "termsContractType": "MARKET_RETAIL",
                },
                "activeProductRates": {
                    "tdspRates": {
                        "standingRates": [
                            {
                                "taxable": false,
                                "taxCode": null,
                                "loadZone": null,
                                "description": "TDSP Monthly Fee CENTERPOINT",
                                "serviceProvider": "CENTERPOINT",
                                "unitType": "MONTHS_ON_SUPPLY",
                                "currency": "USA_CENTS",
                                "pricePerUnit": "0.10000",
                                "bandCategory": "STANDING_CHARGE",
                                "bandSubcategory": "FIXED",
                                "band": "STANDING_CHARGE_TDSP_CENTERPOINT",
                            }
                        ],
                        "consumptionRates": [
                            {
                                "taxable": false,
                                "taxCode": null,
                                "loadZone": null,
                                "description": "TDSP Delivery Charge CENTERPOINT",
                                "serviceProvider": "CENTERPOINT",
                                "unitType": "KWH_CONSUMPTION",
                                "currency": "USA_CENTS",
                                "pricePerUnit": "5.00000",
                                "bandCategory": "CONSUMPTION_CHARGE",
                                "bandSubcategory": "TDSP",
                                "band": "CONSUMPTION_CHARGE_TDSP_CENTERPOINT",
                            }
                        ],
                    },
                    "loadZoneRates": {
                        "consumptionRates": [
                            {
                                "taxable": false,
                                "taxCode": null,
                                "loadZone": "LZ_HOUSTON",
                                "description": "Energy Rate LZ Houston",
                                "serviceProvider": null,
                                "unitType": "KWH_CONSUMPTION",
                                "currency": "USA_CENTS",
                                "pricePerUnit": "4.55000",
                                "bandCategory": "CONSUMPTION_CHARGE",
                                "bandSubcategory": "FIXED",
                                "band": "CONSUMPTION_CHARGE_ENERGY_RATE_LZ_HOUSTON",
                            }
                        ]
                    },
                },
                "efls": [
                    {
                        "id": "1",
                        "serviceProvider": "CENTERPOINT",
                        "language": "en",
                        "url": "https://oeus-prod-efl.s3.amazonaws.com/product_efls/2022/09/21/products/efls/ercot-prepay-fixed-30-2021-en-centerpoint-20210531.pdf?AWSAccessKeyId=ASIASNEMEKQH5YVX5M5X&Signature=ful2LwNEigywhyzuI6P0ybEGXQI%3D&x-amz-security-token=IQoJb3JpZ2luX2VjELn%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCXVzLWVhc3QtMSJIMEYCIQDATB0Een8a02z0fOy550TglWBrCYf%2FiayKwDdcxlLmvQIhAOyw9z%2FuHtPEEKoINsbVUI8LBcmFnCZ4XaePIS%2FDJCG8KoMECMH%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEQARoMMTY1NjUwMTI1ODM5Igw91FWj7%2BU1trI0Lykq1wPHzD1j03LTY7UQLOR9x%2FwweLILO%2FlCZjTDACOo69qDAts1gWT6u8lsv80sakWdez0AHlEjxPPk22RzUZwhNRU2Lgjapiw9W0NbMtZxl8Nv0nQDG4mPLwhxhdukXoL7SMuswV2%2FpyYKH6U8lEnc3mh231DsGnnnZ7NpqqGAptE6IsZ9WzHki9ZveA15D1iGbTVkGKRiUzvstaCwHxXXmnoW7S%2FMw1XGi641GQ3GiGf3QwIVfejB%2BM7n5jTXoz3Ybou7WV4U8vBRPwSc3AZvXxRi%2BM3ELUOBopnZgjsG6luIjCGrBJ3U%2BIOoYA0NZRvRX48fARlRk4rHNVTYDSLvWy0mU5mgifhrY2qXw0UgtS25RtSbNjhu7Hit1ASaK1sx0cWRqNJv3wCebyC9laWhFqnHbYyE0rKCEO6bqBM3OfLMtsMiUTiJiXzPVkIOOPe89WKC%2BMQwCtt%2FL47mjC6i%2BBZ18rCjsQ79hzD5g%2FBbuiQTPulKk2pCvRutV9Btvd2yETPF0sk%2FRjjkFHnDC6C%2BBBcg1SmH2%2FyznrgMFXHbrew%2BXRu2D8%2FNaLnmC7eZBqtsVqks%2ByzD6lzO3WWFA%2BEKqy6j0mGYG56GuGGsBV75ixELBndkMYrOfAgwnsrhjgY6pAGpqUCNsTi7kFzfKBfEn%2FyQnfUaDzhQ9RwHee05ZzL0%2BkA7gL2tbXy1%2FekuwM1b5s7Ck18Aoq8Tan1gUV2zw4MnAwCTvFCzyLeI2ukCFVIgFCKKjWKF3Mb1kxGIXIsGK9SViixORKcRqiOT2ZB%2F2fozzjO0fAT1VsrMe5MOxIOdWsUGtnu5LaFgrZaSalEvbESRkBUqhACWulppOMHsxealK7LBRA%3D%3D&Expires=1641576733",
                    }
                ],
                "totalApplicableRate": "9.55010",
            }
        }
    }
}
Back to top