Redicom Help Center

Templates
Account Templates
API Reference
Introduction
addEGiftToBasket
addPackToBasket
addToBasket
addToComparator
addToWishList
createShippingAddress
editBillingAddress
editShippingAddress
editSubscriptions
getAboutPage
getAccordion
getAccount
getAccountBilling
getAccountOrders
getAccountOrderDetail
getAccountPassword
getAccountReturns
getAccountReturnOrder
getAccountReviews
getAccountShipping
getAccountStockAlert
getAccountSubscribe
getAccountVouchers
getAccountSubscription
getAccountCookies
getAccountDelete
getAccountPoints
getBasket
getBlog
getBrands
getCareers
getCatalog
getClientCard
getContactPage
getCreator
getCreators
getDownloads
getEvents
getEventsDetail
getFaqs
getFooter
getGiftCardPage
getHeader
getHome
getImage
getLandingPage
getLookBooks
getLookBooksDetail
getMagazines
getMedia
getNews
getNewsDetail
getPage
getPendingReviewProducts
getPolicy
getProduct
getProducts
getProductsComparator
getProductSimple
getReviews
getSearch
getService
getServices
getScheduling
getSchedulingDetail
getSearchAuto
getShippingFaqs
getSizeGuide
getStoreLocator
getStores
getStoresDetail
getSubscribePage
getTerms
getTestimony
getWishlist
getWishlistPublic
removeFromComparator
removeFromWishList
resetFilters
search
sendEmailGest
sendBlog
sendForm
setEGift
sendFormOffer
sendNotificationRate
sendNotificationWishlist
sendScheduling
sendTestimony
sendWishlistPublic
setAccountCookies
setAccountDelete
setFilters
setFilterPrice
setGridView
setLandingPage
setLang
setOrderBy
setPassword
setReview
setStockAlert
setWishlistPublic
subscribeNews
welcomeGift
Objects
Documentation
Templates
Account Templates
API Reference
Introduction
addEGiftToBasket
addPackToBasket
addToBasket
addToComparator
addToWishList
createShippingAddress
editBillingAddress
editShippingAddress
editSubscriptions
getAboutPage
getAccordion
getAccount
getAccountBilling
getAccountOrders
getAccountOrderDetail
getAccountPassword
getAccountReturns
getAccountReturnOrder
getAccountReviews
getAccountShipping
getAccountStockAlert
getAccountSubscribe
getAccountVouchers
getAccountSubscription
getAccountCookies
getAccountDelete
getAccountPoints
getBasket
getBlog
getBrands
getCareers
getCatalog
getClientCard
getContactPage
getCreator
getCreators
getDownloads
getEvents
getEventsDetail
getFaqs
getFooter
getGiftCardPage
getHeader
getHome
getImage
getLandingPage
getLookBooks
getLookBooksDetail
getMagazines
getMedia
getNews
getNewsDetail
getPage
getPendingReviewProducts
getPolicy
getProduct
getProducts
getProductsComparator
getProductSimple
getReviews
getSearch
getService
getServices
getScheduling
getSchedulingDetail
getSearchAuto
getShippingFaqs
getSizeGuide
getStoreLocator
getStores
getStoresDetail
getSubscribePage
getTerms
getTestimony
getWishlist
getWishlistPublic
removeFromComparator
removeFromWishList
resetFilters
search
sendEmailGest
sendBlog
sendForm
setEGift
sendFormOffer
sendNotificationRate
sendNotificationWishlist
sendScheduling
sendTestimony
sendWishlistPublic
setAccountCookies
setAccountDelete
setFilters
setFilterPrice
setGridView
setLandingPage
setLang
setOrderBy
setPassword
setReview
setStockAlert
setWishlistPublic
subscribeNews
welcomeGift
Objects

getSearch

Serve para mostrar os resultados de uma determinada pesquisa.

Method

GET

/api/api.php/getSearch/

Parameters

page_id

Required

Type: int

Response

page

Retorna um objecto contendo a pagina seleccionada.

expressions

Retorna um array com expressões necessárias. Ex: {{response.expressions.19|raw}}

grid_view

Retorna um numero inteiro com o numero da grid view.

order_by

Retorna um array de objets do tipo filtro com a ordenação dos produtos.

most_searched

Retorna um array contendo os termos mais procurados. array (url, term)

active_filters

Retorna um boolean verificando se os filtros estão activos ou não.

active_order_by

Retorna um boolean verificando se a ordem dos filtros estão activos ou não.

shop

Response objects

Example

<script>
var url = "https://accelerator56.redicom.work/api/api.php/getSearch";

$.get( url )
.done(function(data) {
var resp = jQuery.parseJSON(data);
});
</script>