Skip to content

Search Term Detail

Returns a single search term with its full field set — the data behind the admin Marketing → Search & SEO → Search Terms view screen.

TIP

New here? Read the Search Terms overview for what a search term is and how its fields behave.

Endpoint

EndpointMethod
/api/admin/marketing/search-terms/{id}GET

Details

  • Requires an admin Bearer token in the Authorization header.
  • An unknown id returns a 404.

Response fields

FieldTypeNotes
idintNumeric id
termstringThe text shoppers searched for
resultsintNumber of products the search returned — storefront-recorded, read-only
usesintNumber of times the term was searched — storefront-recorded, read-only
redirectUrlstringOptional URL the storefront redirects this query to, or null
channelobjectThe channel the term was recorded on — { id, code, name }. Detail-only (null on list rows)
localestringLocale code the term was recorded on
createdAtstringCreation timestamp
updatedAtstringLast-update timestamp

Released under the MIT License.