Skip to content
GET

Get resolved analytics configuration for a merchant and country

https://api.kustom.co/config/checkout/v1/config/country/{country}/analytics

Returns the most-specific active value for the scope, falling back to the definition default.

Parameters2 fields
  • X-merchant-idstringrequiredin header

    Merchant identifier

  • countrystringrequiredin path

    ISO 3166-1 alpha-2 country code

200
Response6 fields

OK

  • merchantIdstringoptional

    Merchant identifier.

  • countrystringoptional

    ISO 3166-1 alpha-2 country code, or null for the merchant-level default.

  • enableAnalyticsbooleanoptional

    Whether analytics is enabled at checkout.

  • revisioninteger · int64optional

    Monotonically increasing revision of this configuration value.

  • updatedBystringoptional

    Identifier of the user or system that last updated the value.

  • updatedAtstring · date-timeoptional

    Timestamp of the last update.

404
Response6 fields

Key not defined

  • merchantIdstringoptional

    Merchant identifier.

  • countrystringoptional

    ISO 3166-1 alpha-2 country code, or null for the merchant-level default.

  • enableAnalyticsbooleanoptional

    Whether analytics is enabled at checkout.

  • revisioninteger · int64optional

    Monotonically increasing revision of this configuration value.

  • updatedBystringoptional

    Identifier of the user or system that last updated the value.

  • updatedAtstring · date-timeoptional

    Timestamp of the last update.

This page is also available as Markdown — append .md to its URL — and is indexed in llms.txt.