Docs
Management API
Storefront Search

Storefront Search

Get Storefront Search Settings

GET /settings/storefront/search

Request

Returns search settings.

  • Channel ID can be used as a query parameter for getting channel-specific settings. If omitted, you will interact with the global settings only.

  • null indicates that a particular field has not been overridden on a channel level when channel level settings are requested and values are inherited from global level.

Authentication

  • X-Auth-Token in header
    required

Parameters

  • store_hash in path - string

example

Response

OK, null indicates that a particular field has not been overridden on a channel level when channel level settings are requested

Body

object | application/json
  • data
    object

  • meta
    object

    Response metadata.

example-1

Update Storefront Search Settings

PUT /settings/storefront/search

Request

Updates search settings.

  • Channel ID can be used as a query parameter for updating channel-specific settings. If omitted, you will interact with the global settings only.

  • null should be supplied to delete overrides per given channel and to inherit values from global level. Partial updates are not supported and all settings should be supplied with null value in order to delete overrides per channel.

Authentication

  • X-Auth-Token in header
    required

Parameters

  • store_hash in path - string

Body

object | application/json
  • content_product_sort
    string
    required

    Allowed: relevance | alphaasc | alphadesc

    Default: relevance

  • default_product_sort
    string
    required

    The available sorts for PLP pages.

    Allowed: featured | bestselling | newest | alphaasc | alphadesc | pricedesc | priceasc | avgcustomerreview | relevance

    Default: bestselling

  • product_filtering_enabled
    boolean
    required

    Controls whether Product Filtering feature is active on the storefront. Only supports manipulation on a global level.

  • search_suggest
    boolean
    required

example-1

Response

OK

Body

object | application/json
  • data
    object

  • meta
    object

    Response metadata.

example-1

Did you find what you were looking for?