XM

Retrieve Live Global Components

Global elements are components that appear on every page of a website, such as header and footer. This API enables you to retrieve data on the global elements that are currently live on your site.

Path:

GET /global-component/live

Headers

x-site-context: {date, channel, account, stage}

Consumes

  • application/json

Produces

  • application/json

Parameters []

Sample Request

https://{baseurl}/global-component/live

Response

Response Code: 200

Message: OK

Description: You will see this message when the details are successfully retrieved.

Sample

[
{
"_id": "5eff48d602e7590007221271",
"id": "ShippingGuarantee",
"order": 1,
"params": {
"items": [
{
"imageSize": 40,
"image": {
"url": "https://test.com/s/files/1/0025/1894/1745/t/41/assets/pdp-shipping-icon.png?v=2117715190546488536",
"altText": "Free Shipping"
},
"heading": "FREE SHIPPING",
"content": "Free shipping to 48 Contiguous United States. Shipping fees will apply to Alaska, Hawaii, Canada."
},
{
"imageSize": 40,
"image": {
"url": "https://test.com/s/files/1/0025/1894/1745/t/41/assets/pdp-guarantee-icon.png?v=1472562484392185967",
"altText": "Img2"
},
"heading": "NO WORRY GUARANTEE",
"content": "If you don’t love Testpro , you don’t pay for it. If you need a break, you can skip, pause or cancel anytime."
}
]
}
},
{
"_id": "5f10057cbaa347000801bc72",
"id": "Footer",
"params": {
"footerLinks": [
{
"links": [
{
"text": " SHOP",
"link": "/products/seasonal-probiotics-subscription",
"external": false
},
{
"text": "FREE SHIPPING",
"link": "https://faq.test.com/article/171-how-much-does-shipping-cost",
"external": true
},
{
"text": "BLOG",
"link": "/blogs/the-digest",
"external": false
},
{
"text": "GUT GUIDE",
"link": "/pages/gut-guide",
"external": false
},
{
"text": "REVIEWS",
"link": "https://test.com/pages/reviews",
"external": true
}
],
"title": "",
"url": "",
"external": false
},
{
"links": [
{
"text": "CONTACT US",
"link": "",
"external": false
},
{
"text": "FAQ",
"link": "",
"external": false
},
{
"text": "MY ACCOUNT",
"link": "account/login",
"external": false
},
{
"text": "REFER A FRIEND",
"link": "",
"external": false
}
],
"title": "",
"url": "",
"external": false
},
{
"links": [
{
"text": "FACEBOOK",
"link": "https://www.facebook.com/We-Are-Test-2424955851065756/?eid=ARAk311I86228pRoHr-f91bQWsvRLY_NxSknZ4bTAhigFGTBikitKxRmQNysNNVuOGOSjkZUn8FrcuKQ",
"external": true
},
{
"text": "INSTAGRAM",
"link": "https://www.instagram.com/Test/",
"external": true
},
{
"text": "YOUTUBE",
"link": "https://www.youtube.com/channel/test?disable_polymer=true",
"external": true
},
{
"text": "PRESS",
"link": "/pages/press",
"external": false
}
],
"title": "",
"url": "",
"external": false
}
],
"description": " * These statements have not been evaluated by the Food and Drug Administration. This product is not intended to diagnose, treat, cure, or prevent any disease.",
"bottomLinks": [
{
"text": "Terms & Conditions",
"link": "https://test.com/pages/terms-of-service",
"external": true
},
{
"text": "PRIVACY POLICY",
"link": "https://test.com/pages/privacy-policy",
"external": true
},
{
"text": "",
"link": "",
"external": false
}
]
},
"order": 1
},
{
"_id": "5f1026810473d20007117bb5",
"id": "Header",
"params": {
"logoUrl": "",
"items": [
{
"imageAtTab": 1,
"width": "440",
"image": {
"url": "https://qikify-cdn.nyc3.cdn.digitaloceanspaces.com/production/tmenu/instances/64259/332be29e33e08a3dc4620d86ddfb423e57b4f617389f4f77d9b1f3694b57d544.jpeg",
"altText": "Adults"
}
},
{
"imageAtTab": "2",
"width": "440",
"image": {
"url": "https://qikify-cdn.nyc3.cdn.digitaloceanspaces.com/production/tmenu/instances/64259/e4b4881181f87f04b5c793d06315735cf3047dbc9818d04e0717502f32a5fc9b.jpeg",
"altText": "Kids"
}
},
{
"imageAtTab": "3",
"width": "453",
"image": {
"url": "https://test.com/s/files/1/0025/1894/1745/files/200320_test_homepage_desktop_TalkNerdyToMe_image_1080x.jpg?v=1584527981",
"altText": "Learn"
}
}
]
},
"order": 1
},
{
"_id": "5f02d16558aa5500085cff43",
"id": "MeasuresUp",
"params": {
"competitors": [
{
"competitor": "Testpro"
},
{
"competitor": "OTHERS"
},
{
"competitor": "YOGURT"
}
],
"measures": [
{
"heading": "Seasonal",
"text": "Our formulations change to address year-round needs.",
"results": [
{
"rText": "",
"rImage": {
"url": "https://test.com/s/files/1/0025/1894/1745/t/41/assets/comparison-check.png?v=11975638390542506212",
"altText": "TRUE"
}
},
{
"rText": "",
"rImage": {
"url": "https://test.com/s/files/1/0025/1894/1745/t/41/assets/comparison-x.png?v=15335213225013668352",
"altText": ""
}
},
{
"rText": "",
"rImage": {
"url": "https://test.com/s/files/1/0025/1894/1745/t/41/assets/comparison-x.png?v=15335213225013668352",
"altText": ""
}
}
]
},
{
"heading": "Fresh",
"text": "From the lab to your door. We're anti-shelf life.",
"results": [
{
"rText": "",
"rImage": {
"url": "https://test.com/s/files/1/0025/1894/1745/t/41/assets/comparison-check.png?v=11975638390542506212",
"altText": ""
}
},
{
"rText": "",
"rImage": {
"url": "https://test.com/s/files/1/0025/1894/1745/t/41/assets/comparison-x.png?v=15335213225013668352",
"altText": ""
}
},
{
"rText": "",
"rImage": {
"url": "https://test.com/s/files/1/0025/1894/1745/t/41/assets/comparison-x.png?v=15335213225013668352",
"altText": ""
}
}
]
},
{
"heading": "Proven",
"text": "Strain-specific validated clinical studies.",
"results": [
{
"rText": "",
"rImage": {
"url": "https://test.com/s/files/1/0025/1894/1745/t/41/assets/comparison-check.png?v=11975638390542506212",
"altText": ""
}
},
{
"rText": "RARE",
"rImage": {
"url": "",
"altText": ""
}
},
{
"rText": "",
"rImage": {
"url": "https://test.com/s/files/1/0025/1894/1745/t/41/assets/comparison-x.png?v=15335213225013668352",
"altText": ""
}
}
]
},
{
"heading": "Patented",
"text": "The delivery system is patented to travel unharmed to your gut.",
"results": [
{
"rText": "",
"rImage": {
"url": "https://test.com/s/files/1/0025/1894/1745/t/41/assets/comparison-check.png?v=11975638390542506212",
"altText": ""
}
},
{
"rText": "DOUBT IT",
"rImage": {
"url": "",
"altText": ""
}
},
{
"rText": "",
"rImage": {
"url": "https://test.com/s/files/1/0025/1894/1745/t/41/assets/comparison-x.png?v=15335213225013668352",
"altText": ""
}
}
]
},
{
"heading": "Convenient",
"text": "We come to you. Open, take, repeat.",
"results": [
{
"rText": "",
"rImage": {
"url": "https://test.com/s/files/1/0025/1894/1745/t/41/assets/comparison-check.png?v=11975638390542506212",
"altText": ""
}
},
{
"rText": "FEW",
"rImage": {
"url": "",
"altText": ""
}
},
{
"rText": "",
"rImage": {
"url": "https://test.com/s/files/1/0025/1894/1745/t/41/assets/comparison-x.png?v=15335213225013668352",
"altText": ""
}
}
]
},
{
"heading": "Clean",
"text": "Vegan, no sugar, preservatives, or additives.",
"results": [
{
"rText": "",
"rImage": {
"url": "https://test.com/s/files/1/0025/1894/1745/t/41/assets/comparison-check.png?v=11975638390542506212",
"altText": ""
}
},
{
"rText": "SOME",
"rImage": {
"url": "",
"altText": ""
}
},
{
"rText": "",
"rImage": {
"url": "https://test.com/s/files/1/0025/1894/1745/t/41/assets/comparison-x.png?v=15335213225013668352",
"altText": ""
}
}
]
},
{
"heading": "Agile",
"text": "Small-batch production lets us keep products updated with science.",
"results": [
{
"rText": "",
"rImage": {
"url": "https://test.com/s/files/1/0025/1894/1745/t/41/assets/comparison-check.png?v=11975638390542506212",
"altText": ""
}
},
{
"rText": "",
"rImage": {
"url": "https://test.com/s/files/1/0025/1894/1745/t/41/assets/comparison-x.png?v=15335213225013668352",
"altText": ""
}
},
{
"rText": "",
"rImage": {
"url": "https://test.com/s/files/1/0025/1894/1745/t/41/assets/comparison-x.png?v=15335213225013668352",
"altText": ""
}
}
]
},
{
"heading": "USA",
"text": "Made in the USA.",
"results": [
{
"rText": "",
"rImage": {
"url": "https://test.com/s/files/1/0025/1894/1745/t/41/assets/comparison-check.png?v=11975638390542506212",
"altText": ""
}
},
{
"rText": "SOME",
"rImage": {
"url": "",
"altText": ""
}
},
{
"rText": "HOPEFULLY",
"rImage": {
"url": "",
"altText": ""
}
}
]
}
]
},
"order": 1
},
{
"_id": "5f02cc9858aa5500085cff3c",
"id": "WhyWeMadeThis",
"order": 1,
"params": {
"rich": "<h1 style=\"text-align: center;\">Why We Made This</h1><p style=\"text-align: center;\"><br>\nThe gut is the body’s control center. That’s why people call it the second brain. An unhealthy gut can lead to poor digestion, weak immunity, chronic inflammation, bloating, low energy and poor sleep, to name a few.</p>",
"rows": [
{
"columns": [
{
"imageSize": 50,
"heading": "STRENGTHEN IMMUNITY",
"text": "A tighter gut lining combats heart disease, inflammatory conditions and autoimmune disorders.*",
"image": {
"url": "https://test.com/s/files/1/0025/1894/1745/files/icons_0003_immunity_128x128.png?v=1592518634",
"altText": ""
}
},
{
"imageSize": 50,
"heading": "SOOTHE INFLAMMATION",
"text": "No one wants a leaky gut. Probiotics enhance nutrient absorption and increase regularity.*",
"image": {
"url": "https://test.com/s/files/1/0025/1894/1745/files/icons_0005_inflammation_58e186d9-49fb-4dd6-a2d3-ce61c06ddca4_128x128.png?v=1592523402",
"altText": ""
}
}
]
},
{
"columns": [
{
"imageSize": 50,
"heading": "IMPROVE DIGESTION",
"text": "Probiotics positively enhance your health-span, not just lifespan.*",
"image": {
"url": "https://test.com/s/files/1/0025/1894/1745/files/icons_0001_digestion_128x128.png?v=1592518580",
"altText": ""
}
},
{
"imageSize": 50,
"heading": "BOOST VITALITY",
"text": "70% of the immune system is in the gut. Testpro studied strains are clinically proven to reduce sickness.*",
"image": {
"url": "https://test.com/s/files/1/0025/1894/1745/files/icons_0007_boost_vitality_3x_5b884582-d3c2-42be-a1cb-9aed6024945c_128x128.png?v=1592508045",
"altText": ""
}
}
]
},
{
"columns": [
{
"imageSize": 50,
"heading": "PROPRIETARY CAPSULE DELIVERY",
"text": "Our specially formulated capsule is designed to withstand stomach acid - keeping the bugs alive until they reach the intestinal tract where they’re needed.",
"image": {
"url": "",
"altText": ""
}
},
{
"imageSize": 50,
"heading": "NON-GMO",
"text": "We also leave out allergens, preservatives and unnecessary sugar to keep our products as boring as you’d want your probiotic to be.",
"image": {
"url": "",
"altText": ""
}
},
{
"imageSize": 50,
"heading": "THE RIGHT CFUs",
"text": "Like most things in life, quality trumps quantity. Probiotics are no different, which is why we don’t play the “who has more CFUs” game. Here’s why: many brands with high CFU counts broadcasted on the bottle are using generic, dead, ineffective strains. Our strains are studied and fresh - which means they work.",
"image": {
"url": "",
"altText": ""
}
}
]
}
]
}
},
{
"_id": "5f02d23558aa5500085cff44",
"id": "StoryCarousel",
"params": {
"bgColor": "#f2f2f2",
"title": "User Stories",
"subTitle": "See what our subscribers like most about Testpro.",
"items": [
{
"quote": "“I like the message of seasonality, because our bodies change every season.. if not more.”",
"customer": "Jordan",
"parent": "",
"description": "",
"slideWithVideo": true,
"videoUrl": "https://www.youtube.com/embed/test",
"image": {
"url": "https://test.com/s/files/1/0025/1894/1745/files/Jordan-2_2x_b166f6e6-06a4-49b1-b11b-f7c5930d13b4_800x800.jpg?v=1588070174",
"altText": ""
}
},
{
"quote": "“After Testpro, Reed is sick for shorter periods of time and in better spirits.”",
"customer": "Samantha",
"parent": "Mom to Reed (17 month)",
"description": "",
"slideWithVideo": true,
"videoUrl": "https://www.youtube.com/embed/test",
"image": {
"url": "https://test.com/s/files/1/0025/1894/1745/files/Samantha_2x_39537522-60db-4dab-aff7-3678e53014c8_800x800.jpg?v=1588070261",
"altText": ""
}
},
{
"quote": "“Since taking Testpro my digestion feels better, and I haven’t gotten sick once.”",
"customer": "Chris",
"parent": "",
"description": "",
"slideWithVideo": true,
"videoUrl": "https://www.youtube.com/embed/test",
"image": {
"url": "https://test.com/s/files/1/0025/1894/1745/files/Chris_2x_69b83dd0-c3b1-4ecf-b10e-62ce4715b3dc_800x800.jpg?v=1588070311",
"altText": ""
}
},
{
"image": {
"url": "https://test.com/s/files/1/0025/1894/1745/files/Spencer_2x_bdcedb68-e54e-48a6-af09-91d9051bb40e_800x800.jpg?v=1588070356",
"altText": ""
},
"quote": "“Since starting Testpro, I’ve avoided getting sick, and I think Testpro is a big part of that.”",
"customer": "Spencer",
"parent": "",
"description": "",
"slideWithVideo": true,
"videoUrl": "https://www.youtube.com/embed/I-test"
}
]
},
"order": 1
},
{
"_id": "5f11b1b51ea8cc000860ed41",
"id": "WhatYouWillGet",
"params": {
"heading": "What You'll Get",
"rich": "<p>Our seasonal subscription includes: monthly deliveries of fresh probiotics with a different formulation every&nbsp;standard&nbsp;season: Fit for summer, Mood for fall, Immunity for winter, and Outside for spring.</p>\n\n<p>&nbsp;</p>\n\n<p>Each formulation contains strains that address common seasonal concerns, because if you have to rotate your strains they might as well work in your favor. Right?&nbsp;</p>\n",
"products": [
{
"pName": "FIT",
"subText": "Summer : Jun 20 – Sep 19 : 6 Strains",
"shortText": "<p>Get lean with fit. Have the energy you need to make the most of summer days, with strains that debloat and encourage weight loss.*</p>\n",
"inSale": true,
"image": {
"url": "https://test.com/s/files/1/0025/1894/1745/files/Fit_352x128.png?v=1592593657",
"altText": ""
}
},
{
"pName": "Mood",
"subText": "Fall : Sep 20 – Dec 19 : 5 Strains",
"shortText": "<p>Mood is formulated to reduce anxiety, improve your mood and support your immune system as the days get shorter and colder.*</p>\n",
"inSale": false,
"image": {
"url": "https://test.com/s/files/1/0025/1894/1745/files/Mood_352x128.png?v=1592593669",
"altText": ""
}
},
{
"pName": "IMMUNITY",
"subText": "Winter : Dec 20 – Mar 19 : 8 Strains",
"shortText": "<p>Immunity was created to enhance your immune system to limit the duration and intensity of colds.*</p>\n",
"inSale": false,
"image": {
"url": "https://test.com/s/files/1/0025/1894/1745/files/Immunity_eea8e634-3005-4aa9-851c-d5a1f08d6d7c_456x140.png?v=1592593682",
"altText": ""
}
},
{
"pName": "OUTSIDE",
"subText": "Spring : Mar 20 – Jun 19 : 7 Strains",
"shortText": "<p>Outside manages responses to seasonal sensitivities &ndash; improving uppoer respiratory inflammation, nasal congestion and itchy throats.*</p>\n",
"inSale": false,
"image": {
"url": "https://test.com/s/files/1/0025/1894/1745/files/Outside_456x140.png?v=1592593693",
"altText": ""
}
}
]
},
"order": 1
}
]

Changelog

  • Last updated - Oct 2020