Locator + Pages Settings
Scopri come recuperare le impostazioni di un Locator con l'endpoint store-finders/$locatorKey/settings
Ogni Locator ha i propri parametri di impostazione che possono essere configurati e visualizzati nel Front End. Detto questo, è anche possibile visualizzare queste informazioni utilizzando l'API tramite l'endpoint /store-finders/$locatorKey/settings. Ciò può essere molto utile quando esegui il debug o quando desideri avere una panoramica di tutto ciò che è abilitato o configurato per il tuo locator.
Questo endpoint restituisce anche il testo di copia per i componenti statici del locator.
I dati interessanti restituiti da questo endpoint sono: Features, staticLocationPageUrlField, locationPageSecondaryColumn, locationPagePrimaryColumn e enabledFilters
Esempio
GET https://uberall.com/api/store-finders/kUcVg1RmOQSrbSAemoe2dtk3M2NwGS/settings
{"status":"SUCCESS","response":{"messages":{"nav.title":"Store Finder","nav.companyName":"uberall","distance.from.user.position":"from your current location","infowindow.getDirections":"Directions","infowindow.call":"Call","infowindow.showLocationPage":"Detail Page","infowindow.showAll":"Show all","infowindow.hideAll":"Hide all","infowindow.closed":"closed","infowindow.specialOpeningHours":"Special Opening Hours","autocomplete.searchButton":"Search","autocomplete.placeholder":"Search locations","list.emptyMessage":"No results","list.loadMoreLocations":"Load more locations","list.openNow":"Open now","list.nextOpen":"Opens at","list.closed":"Closed now","list.noHours":"Not available","list.inStock":"in stock","list.emptyMessage.paragraph":"Please search for another location","footer.text":"Copyright 2023 uberall","footer.all.locations.link":"Show all locations","storeFinder.list.onlyOpenLocations":"Only open locations","locationPage.back.link":"Back to Map","locationPage.back.link.withoutmap":"Back to sitemap","locationPage.call":"Call","locationPage.title.details":"Information","locationPage.title.description":"Description","locationPage.title.imprint":"Imprint","locationPage.title.keywords":"Keywords","locationPage.title.services":"Services","locationPage.title.brands":"Brands","locationPage.title.categories":"Categories","locationPage.title.languages":"Languages","locationPage.title.paymentMethods":"Payment methods","locationPage.title.socialProfiles":"Social Profiles","locationPage.title.similar.locations":"Similar locations","locationPage.title.products":"Products","locationPage.subtitle.products":"An overview of our current offerings","locationPage.title.events":"Events","locationPage.event.today":"Today","locationPage.subtitle.events":"Information about our upcoming events","locationPage.title.people":"People","locationPage.title.custom.items":"About us","locationPage.title.menu.items":"Menu","locationPage.title.user.reviews":"Customer Feedback","locationPage.subtitle.menu.items":"Menu","locationPage.subtitle.similar.locations":"Similar locations nearby","locationPage.subtitle.payment.methods":"We offer the following payment options","locationPage.distance.from.this.location":"distance from this location","locationPage.rating.label":"Average rating:","locationPage.reviews.label":"Total reviews:","locationPage.reviews.reply.by.owner":"Reply by owner:","locationPage.reviews.reply.on.directory":"on","locationPage.reviews.display.label":"showing last [reviewsCount]","locationPage.reviews.display.label_plural":"showing last [reviewsCount]","locationPage.opening.hours.description":"Opening hours","locationPage.specialOffer.description":"Special offer","locationPage.specialOffer.icon.text":"Special Offer","locationPage.specialOffer.link":"Show website","locationPage.content.item.details.link":"Show details","locationPage.content.list.load.more":"load more","locationPage.photos.show.more":"Show more","locationPage.open.now":"Open now","locationPage.getDirections":"Directions","locationPage.title.attributes":"Attributes","locationPage.attributes.show_less":"Show less","locationPage.attributes.show_more":"Show more","paymentMethod.2CO":"2CO","paymentMethod.ALIPAY":"Alipay","paymentMethod.AMAZON":"Amazon","paymentMethod.AMEX":"American Express","paymentMethod.AMEXDIRECTDEBIT":"American Express Direct Debit","paymentMethod.APPLEPAY":"Apple Pay","paymentMethod.AUPAY":"au PAY","paymentMethod.BITCOIN":"Bitcoin","paymentMethod.CASH":"Cash","paymentMethod.CASHONLY":"CASH ONLY","paymentMethod.CHECK":"Check","paymentMethod.DBSPAYLAH":"DBS PayLah!","paymentMethod.DISCOVER":"Discover","paymentMethod.DPAY":"DPAY","paymentMethod.EBAY":"eBay","paymentMethod.EC":"EC card","paymentMethod.FAVEPAY":"FavePay","paymentMethod.GIROPAY":"Giropay","paymentMethod.GOOGLEPAY":"Google Pay","paymentMethod.GOPAY":"GoPay","paymentMethod.GRABPAY":"GrabPay","paymentMethod.ID":"iD","paymentMethod.INVOICE":"Invoice","paymentMethod.JCB":"JCB","paymentMethod.LINEPAY":"LINE Pay","paymentMethod.MAESTRO":"Maestro","paymentMethod.MASTERCARD":"MasterCard","paymentMethod.MERPAY":"Merpay","paymentMethod.PAYPAL":"PayPal","paymentMethod.PAYPAY":"PayPay","paymentMethod.QUICPAY":"QUICPay","paymentMethod.QUOPAY":"QuoPay","paymentMethod.RABBITLINEPAY":"Rabbit LINE Pay","paymentMethod.REDY":"楽天Edy","paymentMethod.RPAY":"楽天Pay","paymentMethod.SMARTCODE":"Smart Code","paymentMethod.SOFORT":"SOFORT Banking","paymentMethod.SUICA":"Suica","paymentMethod.TRUEMONEY":"TrueMoney","paymentMethod.VISA":"Visa","paymentMethod.VISAELECTRON":"Visa Electron","paymentMethod.WAON":"WAON","paymentMethod.WECHATPAY":"WeChat Pay","paymentMethod.WESTERNUNION":"Western Union","sitemapPage.title":"All locations","attribution.text":"Powered by","locationPage.back.to.top.link":"back to top","geolocation.error":"Sorry, we could not locate you. This can be due to your phone's capabilities or settings.","open.24.hours":"Open 24 hours","storefinder.list.filters.toggle.open":"Show filters","storefinder.list.filters.toggle.close":"Hide Filters","storefinder.list.filters.services.select":"Select filters","storefinder.list.filters.clear":"Clear all filters","storefinder.list.filters.apply":"Apply Filters","storefinder.list.filters.brands":"Brands","storefinder.list.filters.services":"Services","productLocator.header.text":"Check in-store availability ","productLocator.close.button":"Close","widget.reviews.cta":"Leave a review","widget.socialPost.read.less":"Read Less","widget.socialPost.read.more":"Read More","widget.reviews.modal.description.section.header":"Tell us about your experience","widget.reviews.modal.email.section.header":"Email","widget.reviews.modal.name.section.header":"Name","widget.reviews.modal.rating.section.header":"Rate your experience","widget.reviews.modal.error.fieldRequired":"Field is required","widget.reviews.modal.error.invalidEmail":"Email is invalid","widget.reviews.modal.cancel":"Cancel","widget.reviews.modal.submit":"Submit","widget.reviews.modal.placeholder.description":"Please share feedback on your experience","widget.reviews.modal.placeholder.email":"Please enter your valid email","widget.reviews.modal.placeholder.name":"Please share your name","widget.reviews.modal.success.title":"Thank you!","widget.reviews.modal.success.subTitle":"Your review was submitted!","widget.reviews.modal.success.button":"Done","widget.reviews.modal.error.title":"Sorry!","widget.reviews.modal.error.subTitle":"We received an error, please try again!","widget.reviews.modal.error.button":"Try Again","widget.reviews.modal.privacyPolicy.text":"By clicking on submit you agree to the ","widget.reviews.modal.privacyPolicy.link.text":"Privacy Policy","widget.reviews.pagination.prevLabel":"Previous","widget.reviews.pagination.nextLabel":"Next"},"languageNames":{"alb":"Albanian","ara":"Arabic","bah":"Bahasa Indonesia ","bel":"Belarusian","bos":"Bosnian","bul":"Bulgarian","chi":"Chinese","cze":"Czech","dut":"Dutch","eng":"English","est":"Estonian","fin":"Finnish","fre":"French","ger":"German","gle":"Irish","gre":"Greek","heb":"Hebrew","hin":"Hindi","hrv":"Croatian","hun":"Hungarian","ice":"Icelandic","ita":"Italian","jpn":"Japanese","kor":"Korean","lav":"Latvian","lit":"Lithuanian","ltz":"Luxembourgish","mac":"Macedonian","nor":"Norwegian","per":"Persian","pol":"Polish","por":"Portuguese","rum":"Romanian","rus":"Russian","slo":"Slovak","slv":"Slovenian","spa":"Spanish","srp":"Serbian","swe":"Swedish","tur":"Turkish","ukr":"Ukrainian"},"options":{"assetsFolderUrl":"https://locator.uberall.com/locator-assets","bundleUrl":"https://locator.uberall.com/locator-assets/store-finder-widget-bundle-v2.js?b=My4xNjcuMTQ=","bundleUrlModernBrowsers":"https://locator.uberall.com/locator-assets/store-finder-widget-bundle-v2-modern.js?b=My4xNjcuMTQ=","features":["ADVANCED_FILTERS"],"googleAPIKey":"AIzaSyCrpyC3rvHAREIIgl55LPB2Dekz2hqgW-A","googleAPIVersion":"3","staticLocationPageUrlField":"customUrl","baseUrl":"https://locator.uberall.com","locationPageSecondaryColumn":["social-post","services","payment-options","social-profiles","people","languages","categories","brands","keywords","similar-locations","imprint","custom-field"],"locationPagePrimaryColumn":["basic-data","social-post","description","products","menu","custom-content-list","events","reviews","imprint","custom-field"],"enabledFilters":["openNow","temperature"],"language":"en"}}}