Get Sales Pop Config

Retrieves the configuration details of the Sales notification feature for a specific store.

🔒

Requires write_shop_navigation access scope. More access scope

The Get Sales Pop Config Retrieve the configuration details of the Sales notification feature for a specific store..

This API is especially useful for:

  1. Viewing the current sales pop notification settings for a store.
  2. Checking the template configuration and display rules.
  3. Understanding the timing and frequency settings for sales popups.
  4. Reviewing the pages where sales popups are configured to appear.

Request Parameters

Public Request Parameters

📘

Response Explanation

Public Response Parameters

📘

Successful Response

ParameterTypeExampleDescription
codestring"200"The status code of the response
messagestring"success"The message describing the response status
data.sales_pop.idstring"pop_12345"The unique identifier of the sales pop configuration
data.sales_pop.store_idstring"store_67890"The ID of the store this configuration belongs to
data.sales_pop. template_config. anonymity_switchbooleantrueWhether anonymity is enabled for the sales pop
data.sales_pop. template_config.titlestring"Special Offer!"The title text of the sales pop
data.sales_pop. template_config. templatestring"template_1"The template used for the sales pop
data.sales_pop. template_config. replace_switchbooleantrueWhether text replacement is enabled
data.sales_pop. template_config. default_timestring"5s"The default display time for the sales pop
data.sales_pop. template_config. time_textstring"Just now"The text displayed for the time indicator
data.sales_pop. template_config. anonymity_namearray of string["Anonymous", "Guest"]List of anonymity names to display
data.sales_pop. template_config. anonymity_addressarray of string["Unknown", "Hidden"]List of anonymity addresses to display
data.sales_pop. template_config. background_colorstring"#FFFFFF"The background color of the sales pop
data.sales_pop. template_config. title_colorstring"#000000"The color of the title text
data.sales_pop. template_config. product_colorstring"#333333"The color of product text
data.sales_pop. template_config. time_colorstring"#666666"The color of time text
data.sales_pop. template_config. icon_colorstring"#FF0000"The color of the icon
data.sales_pop. template_config. m_background_colorstring"#EEEEEE"The mobile background color
data.sales_pop. first_delaystring"1s"The delay before first display
data.sales_pop. durationstring"30s"The total duration the sales pop will be active
data.sales_pop. intervalstring"5s"The interval between popups
data.sales_pop. times_switchstring"unlimited"The switch for popup times (limited/unlimited)
data.sales_pop. max_timesstring"5"The maximum number of times the popup will show
data.sales_pop. loop_switchstring"on"Whether to loop the popup display
data.sales_pop. locatestring"bottom_right"The location where the popup appears
data.sales_pop.pagesstring"all"The pages where the popup appears (all/specific)
data.sales_pop.specify_pagesarray of object[{"match_string": "product", "match_condition": "contains"}]Specific pages where the popup appears
data.sales_pop.order_statusstring"all"The order statuses that trigger the popup
data.sales_pop.timestring"10:00"The time when the popup appears
data.sales_pop.time_unitstring"hour"The time unit for popup scheduling
data.sales_pop.statusstring"active"The current status of the configuration
data.sales_pop.created_atstring"2025-06-01T12:00:00Z"The creation timestamp
data.sales_pop.updated_atstring"2025-06-02T14:30:00Z"The last update timestamp
data.sales_pop.pages_listarray of object[{"id": 1, "name": "Home", "script": "script_1"}]List of pages where the popup is configured

Error Response

FieldTypeExampleDescription
codestringInvalidParameterError http message
messagestring``Error message
Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!