Merchant Level Settings
In Slerp most settings are managed at a store level to allow for maximum configurability. However some key settings are kept at a merchant level.
Finding Merchant Level Settings:
Run this query:
query MyQuery {
merchants(where: {id: {_eq: "YOUR-SLERP-MERCHANT-ID"}}) {
id
name
description
avatar
slug
currency
website: setting(path: "website")
welcome_message: setting(path: "welcome_message")
promotional_banner: setting(path: "promotional_banner")
closed_store_message: setting(path: "closed_store_message")
order_note_placeholder: setting(path: "order_note_placeholder")
same_day_pickup: setting(path: "same_day_pickup")
same_day_delivery: setting(path: "same_day_delivery")
signup_promo_message: setting(path: "signup_promo_message")
redirect_link: setting(path: "redirect_link")
tag_manager_id: setting(path: "tag_manager_id")
analytics_id: setting(path: "analytics_id")
google_analytics_4_id: setting(path: "google_analytics_4_id")
pixel_id: setting(path: "pixel_id")
pre_order_pickup: setting(path: "pre_order_pickup")
pre_order_delivery: setting(path: "pre_order_delivery")
pickup_address_enabled: setting(path: "pickup_address_enabled")
customer_account_enabled: setting(path: "customer_accounts_enabled")
google_ads_id: setting(path: "google_ads_id")
google_conversion_id: setting(path: "google_conversion_id")
}
}
What do they mean:
ID:
This is your Slerp Merchant ID, it is unique and is often used to make API queries and mutations
slug:
This is your Slerp Slug, it is also unique and can be used to make API queries
name:
This is the name of the merchant, a string. It can be changed by the user in Slerp's controls dashboard.
Example Response:
{
"id": "3a7014ee-e248-47a2-a730-67d4ee4e4c66",
"name": "Origin Coffee",
"description": null,
"avatar": "Origin logo - black.jpg?63802142747",
"slug": "origincoffee",
"currency": "GBP",
"website": " https://www.origincoffee.co.uk/", // This can be used as a redirect if store closed
"welcome_message": "Specialty Coffee since 2004.\n\n<h6>We are an independently owned speciality coffee roaster that is bound by one central ethos; to source exceptional coffee through a sustainable, triple bottom line approach.</h6>", // A HTML welcome message set by the user for the landing page of app or website.
"promotional_banner": "An independently owned speciality coffee roaster.",
"closed_store_message": "All stores are currently closed and will start accepting orders upon opening...", // message for if all stores are closed.
"order_note_placeholder": "E.g. Extra hot please!", // set placeholder text for order notes field
"same_day_pickup": true,
"dispatch_enabled": true,
"same_day_delivery": true,
"signup_promo_message": "",
"redirect_link": "https://www.origincoffee.co.uk/", // This can be used as a redirect if store closed
"tag_manager_id": null,
"analytics_id": null,
"google_analytics_4_id": null,
"pixel_id": null,
"pre_order_pickup": null,
"pre_order_delivery": null,
"pickup_address_enabled": false,
"customer_account_enabled": true,
"google_ads_id": null,
"google_conversion_id": null,
"segment_write_key": null,
"segment_tracker_logging_enabled": false,
"segment_tracking_enabled": false,
}