Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi,
I'm doing a POST request to create a page using the following official API documentation. The API documentation states that the return should be something like this:
HTTP/1.1 201 Created
{
"page": {
"id": 1025371419,
"title": "Warranty information",
"shop_id": 548380009,
"handle": "warranty-information",
"body_html": "<h2>Warranty</h2>\n<p>Returns accepted if we receive items <strong>30 days after purchase</strong>.</p>",
"author": "Shopify API",
"created_at": "2024-01-15T13:51:07-05:00",
"updated_at": "2024-01-15T13:51:07-05:00",
"published_at": "2024-01-15T13:51:07-05:00",
"template_suffix": null,
"admin_graphql_api_id": "gid://shopify/OnlineStorePage/1025371419"
}
}
But I'm getting something like this (I obfuscated potential sensible info):
{
pages: [
{
id: xxxxxx,
title: '2010 Toyota Camry Hybrid Battery Replacement',
shop_id: xxxxx,
handle: '2010-toyota-camry-hybrid-battery-replacement',
body_html: "<p>The Toyota Camry Hybrid is one of the most popular hybrid electric vehicles on our roads today. Over the years we have supplied and fitted thousands of Camry hybrid replacement batteries; you might say we're somewhat of a specialist in this area 🙂 </p>\n" +
"<p>Our batteries are rigorously tested in our ISO9001-certified facility. We know they'll go the distance, so our new Toyota replacement battery is backed by an industry-leading 3-year/200,000km kilometre warranty (whichever comes first). Price includes freight, GST and fitment by a specialist near you. No surprises. Problem solved!</p>\n" +
'<img src="https://d40248f7795409d294581fbbf618ad34.cdn.bubble.io/f1709808291973x607747744830928100/richtext_content.png" alt="Toyota Camry Hybrid">\n' +
'
\n' +
'<a href="https://infinitev.au/pages/get-a-quote-for-toyota-camry-hybrid-battery-replacement"><button>GET A QUOTE</button></a>\n' +
'<p></p>\n' +
'<h3>A hybrid battery replacement you can count on</h3>\n' +
'<h6>Prioneering Hybrid Replacement Batteries Since 2015</h6>\n' +
"<p>Discover the Infinitev advantage. With a legacy dating back to 2015, we've been at the forefront of crafting cutting-edge hybrid replacement batteries that don't break the bank. Our network of Authorised Fitters spans Ausrtalia and New Zealand, ensuring professional installation and excellent customer service near you. Our batteries are proudly built in Melbourne and Auckland, guaranteeing a product that's not only reliable but also ensures short lead times. Our no-nonsense pricing includes shipping and installation - no hidden fees, just straightforward value. Backed by an industry-leading 3 year warranty, our batteries are a testament to their quality and durability.</p>\n" +
'<p>Charge your 2010 Toyota Camry Hybrid with an Infinitev hybrid battery - built on expertise, convenience and reliability.</p>\n' +
'<a href="https://infinitev.au/pages/get-a-quote-for-toyota-camry-hybrid-battery-replacement"><button>GET A QUOTE</button></a>\n' +
'<h3>What is a hybrid battery?</h3>\n' +
'<p></p>\n' +
'<p>A hybrid drive battery is a type of rechargeable battery used in hybrid electric vehicles to power the electric motor and supplement the internal combustion engine. They’re high-voltage batteries that store electrical energy, which is used to keep your car running or assist the petrol engine in certain conditions like driving at slow speeds. Hybrid drive batteries are charged through a process called regenerative braking - when you apply the brakes, the car absorbs that energy to charge the battery. Unlike EVs like Tesla or Nissan Leaf, hybrid drive batteries are not plugged in to charge. </p>\n' +
'<h3>Benefits of a Hybrid car battery replacement</h3>\n' +
'<p>Replacing your hybrid car battery will help you stay safe and save you money in the long run. You’ll get more from every litre of fuel, and you’ll also reduce premature wear and tear of other vehicle components.</p>\n' +
"<p>Booking in to have your hybrid car battery replaced doesn’t have to break the bank. At Infinitev, we provide no-nonsense prices for your hybrid battery replacement. Our service and price includes delivery and installation, so you exactly what you're up for. No haggles, no hassles. </p>\n" +
'<p></p>\n' +
'<img src="https://d40248f7795409d294581fbbf618ad34.cdn.bubble.io/f1709878149349x499466076716913500/richtext_content.png" alt="What no hybrid owner wants to see: Check Hybrid System dash warning">\n' +
'
\n' +
'<h3>What are the signs of a faulty hybrid car battery?</h3>\n' +
"<p>There are several tell-tale signs that the battery in your 2010 Toyota Camry Hybrid is on its way out, but nothing can replace getting the car diagnosed by a licensed professional using proper scan tools. But we understand you'll want to know what to look out for, so here are some symptoms to monitor:</p>\n" +
'<ul>\n' +
'<li> Check Hybrid System warning is showing on the dashboard </li>\n' +
'<ul></ul>\n' +
'<li> Fuel consumption is increasing </li>\n' +
'<ul></ul>\n' +
'<li> Petrol engine is engaging earlier than usual, or on all the time (this means the battery is not providing power) </li>\n' +
'<ul></ul>\n' +
'<li> Faster cycling (charging and discharging of the battery) which you can see by monitoring if the battery reaches full bars more often </li>\n' +
'<ul></ul>\n' +
"<li> Fan is noisier than usual; the fan is used to deliver cooling air to the battery and it's engaged more if it's running hot (which is a sign of the battery not being able to hold charge like it used to) </li>\n" +
'<ul></ul>\n' +
'</ul>\n' +
'<p></p>\n' +
'<h3>Hybrid HealthCheck</h3>\n' +
'<img src="https://d40248f7795409d294581fbbf618ad34.cdn.bubble.io/f1709808835202x301856419808976600/richtext_content.png" alt="Image">\n' +
'<p>Want an easy way to check the health of your hybrid battery?</p>\n' +
"<p>Our Hybrid HealthCheck is a simple calculator to quickly gauge your 2010 Toyota Camry Hybrid's battery condition, and get recommendations on what to do next. It only takes 90 seconds and is completely free! </p>\n" +
'<a href="https://infinitev.au/pages/hybrid-battery-healthcheck"><button>TAKE THE TEST</button></a>\n' +
'
\n' +
'<h3>Can a hybrid battery be repaired?</h3>\n' +
'<p>Yes and no. We do no repair any particular battery; that is, we do not believe in cell swapping (<a href="https://infinitev.au/blogs/fitter-portal/why-cant-we-just-replace-the-bad-module" target="_blank">more about that here</a>). What we do instead is we take batteries that are retired from other vehicles vehicles and we rigorously test those batteries to determine which parts can be safely reused in a vehicle, and which parts should be recycled. </p>\n' +
'<p>If you want to learn more about how to recondition hybrid batteries, <a href="https://youtu.be/bkR07lV7kYo?si=vK1YMfIy5g2lzAk8">take a look at our video which takes you through the steps</a>. </p>\n' +
'<h3>How much does a hybrid replacement battery cost?</h3>\n' +
'<p>The cost varies by make and model, and the size of the battery. Bigger car means bigger battery and more parts required to build a quality replacement pack. So bigger cars like Toyota RAV4 Hybrid and Toyota Estima tend to have more expensive batteries than smaller cars like Toyota Aqua or Toyota Camry Hybrid. </p>\n' +
'<p>Our pricing is all-inclusive - you will not be charged extra for delivery or installation, so there are no surprises. Supply and fit pricing starts at $2,000 to $3,000 (including GST) for smaller hybrid electric vehicles.</p>\n' +
`<p>To get the right battery for you and your 2010 Toyota Camry Hybrid give us a call on <a href="tel:1300360111">1300 360 111</a> (AU) | <a href="tel:0800360111">0800 360 111</a> (NZ), or request a quote and we'll get back to you ASAP. </p>\n` +
'<a href="https://infinitev.au/pages/get-a-quote-for-toyota-camry-hybrid-battery-replacement"><button>GET A QUOTE</button></a>\n' +
'<p></p>\n' +
'<h3>What types of replacement batteries are available?</h3>\n' +
'<p>We offer two different types of batteries in our range: rebuilt batteries and new aftermarket batteries. </p>\n' +
'<p><a href="tel:1300360111">Call the team in Australia</a></p>\n' +
'<p><a href="tel:0800360111">Call the team in New Zealand</a></p>\n' +
'<h5>Rebuilt battery</h5>\n' +
'<p>Rebuilt batteries (also referred to as reconditioned, refurbished, or remanufactured batteries) are built with grade (tested) high-quality cells. All parts are thoroughly inspected and tested before being rebuilt into a complete battery pack. Rebuilt batteries are best suited to private use up to 12,000km per year. They are backed by a 3 year / 40,000km warranty (whichever comes first). Fitment is part of the service and included in the price. Our network of hybrid and EV specialists spans New Zealand and Australia. </p>\n' +
'<h5>New aftermarket battery</h5>\n' +
'<p>New aftermarket batteries are built with brand new cells. Our cylindrical cells have improved airflow, allowing for better cooling and performance. The chemistry, specification and storage capacity is identical to genuine; but it is generally cheaper and comes with a better warranty. These new batteries are ideal for rideshare, taxi and private use above 12,000km per year. They are backed by a 3 year / 200,000km warranty (whichever comes first). Fitment is part of the service and included in the price. Our network of hybrid and EV specialists spans the nation. </p>\n' +
'<a href="https://infinitev.au/pages/get-a-quote-for-toyota-camry-hybrid-battery-replacement"><button>GET A QUOTE</button></a>\n' +
'
\n' +
'<h3>How long do hybrid batteries last?</h3>\n' +
'<p>It all comes down to how you use the car. If you drive a taxi or rideshare vehicle, then odds are you are making more kilometres than the average person. And your battery will be working harder than the average battery and due for replacement. Then there are other factors like weather, road conditions and driving style that can impact on how much work the battery needs to do. More work = more wear = sooner replacement. </p>\n' +
"<p>That said, we take great care to recommend a replacement battery that is right for you and how you use your car. If you do a lot of kilometres each year, we recommend a new aftermarket battery that comes with a 3 year/200,000km warranty. If you don't drive as much, a rebuilt battery will offer great value for you and it still comes with a 3 year warranty, or 40,000km, whichever comes first (not available for all models). All our batteries are rigorously tested before they leave our facility, and installed by local specialists, so you can rest assured that your hybrid is in top shape. We're backed by one of Australia and New Zealand's largest automotive parts and accessories suppliers; we'll be around should you ever need us in the future. </p>\n" +
'<h3>Do hybrid cars need battery replacement?</h3>\n' +
'<p>This is another "it depends" answer. Many hybrid electric vehicles last the distance on the original battery that was fitted to the vehicle at the factory. You may need to replace the high voltage battery on your hybrid before the car reaches end of life because you happen to drive a lot of kilometres each year. Because a hybrid car also has a petrol engine, you can usually keep driving the car without replacing the battery. The question is: does it make sense to burn more fuel at current petro'... 2570 more characters,
author: '',
created_at: '2024-03-14T11:05:07+11:00',
updated_at: '2024-03-16T14:46:17+11:00',
published_at: '2024-03-14T11:05:07+11:00',
template_suffix: '',
admin_graphql_api_id: 'xxxxx'
},
{
id: xxxxx,
title: 'About',
shop_id: xxxxx,
handle: 'about',
body_html: '',
author: null,
created_at: '2022-08-26T12:01:29+10:00',
updated_at: '2022-09-06T11:19:33+10:00',
published_at: '2022-08-26T12:01:29+10:00',
template_suffix: 'about',
admin_graphql_api_id: 'xxxxx'
},
{
id: xxxxx,
title: 'Adelaide Hybrid Battery Specialists',
shop_id: xxxxx,
handle: 'adelaide-hybrid-battery-specialists',
body_html: '',
author: 'xxxxx',
created_at: '2023-03-25T13:54:43+11:00',
updated_at: '2023-03-25T13:55:10+11:00',
published_at: '2023-03-25T13:54:43+11:00',
template_suffix: 'hybrid-adelaide',
admin_graphql_api_id: 'xxxxx'
},
{
id: xxxxxx,
title: 'Albury Hybrid Battery Specialists',
shop_id: xxxxxx,
handle: 'albury-hybrid-battery-specialists',
body_html: '',
author: 'xxxxx',
created_at: '2023-03-25T14:47:59+11:00',
updated_at: '2023-03-25T14:48:21+11:00',
published_at: '2023-03-25T14:47:59+11:00',
template_suffix: 'hybrid-albury',
admin_graphql_api_id: 'xxxxxx'
},
...
]
}
Can a developer from Shopify help me with this please?
Cheers,
Minh
Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025