Hey everyone, hope you’re all doing well! I’m using the CMS and trying to bring the registered Services data to the Front End, but I’ve barely touched the API. Through Postman it pulls the registered data: [
{
“serviceId”: 6,
“valueId”: 3,
“fetchUrl”: “https://lucashome.vtexcommercestable.com.br/api/catalog/pvt/skuservicevalue/3”,
“status”: 200,
“Name”: “Vitalícia”,
“Price”: 500
},
{
“serviceId”: 7,
“valueId”: 2,
“fetchUrl”: “https://lucashome.vtexcommercestable.com.br/api/catalog/pvt/skuservicevalue/2”,
“status”: 200,
“Name”: “24 Meses”,
“Price”: 190
},
{
“serviceId”: 8,
“valueId”: 1,
“fetchUrl”: “https://lucashome.vtexcommercestable.com.br/api/catalog/pvt/skuservicevalue/1”,
“status”: 200,
“Name”: “12 Meses”,
“Price”: 99.99
}
]
On the product page I added the control vtex.cmc:stockKeepingUnitService/ It brings me information I don’t need, but I wanted it to display the warranty name, price, and a button that goes together with the product + warranty, but I can’t get it to work. The example product is: Cama Box com Colchão de Molas Ensacadas Ortobom ISO SuperPocket Casal 138cm - lucashome
I’m also using https://dash.cloudflare.com/ which gave me access to the API data since it’s PRIVATE. Not sure if that’s the best approach either.
LINK: https://vtes-services.guilherme-barbeiro.workers.dev/?skuId=819
If anyone can help me out!!!
Thanks







