MageSmith
QueryCheckoutAgreements · Magento 2.4.9

checkoutAgreements

checkoutAgreements is a Magento 2 GraphQL query in the CheckoutAgreements module. Return Terms and Conditions configuration information. It returns [CheckoutAgreement] and is callable anonymously.

Last verified: against Magento 2.4.9.

Returns

[CheckoutAgreement]

Resolver class

Magento\CheckoutAgreementsGraphQl\Model\Resolver\CheckoutAgreements

Example request

Auto-generated from the SDL — paste-ready against your store's /graphql endpoint. Replace the host, store code, and any required values before running.

Headers

Content-Type
application/json
Store
default store view code; use 'default' for the single-store baseline

Query

query {
  checkoutAgreements {
    agreement_id
    name
    content
    content_height
    checkbox_text
    is_html
    mode
  }
}

Variables

{}

Every Magento dev tool, in one hosted workspace.

Free to sign up. Nothing to install. Drafts, audits, and projects saved across every tool.