DashForDevsDocs
DocsNewsAPI v1
dashfordevs.comSign in

© 2026 DashForDevs

DocsNewsdashfordevs.comLegalStatus
DocsSEOProduct SEO
Introduction
Getting Started
Authentication
Products
Categories
Cart
Checkout
Blog
Reviews
Webhooks
Customers
Orders
Inventory
Shipping
Discounts
Affiliates
Email
Media & Files
Analytics & Tracking
Locations
Tax
Global Data
SEO
Product SEOCategory SEOSEO Metadata EndpointBlog SEOSitemapCOA / Lab Reports
Error Handling
Geography
Finance
Automations
Page Types
Surveys
Billing & Subscriptions
Storefront Payments
SDK Reference
REST API
Storefront Architecture
Notifications
Security
Team & Permissions
Migrations & Import
Calendar & Appointments
Contact Forms
AI Bots
Dashboard API
Deployment
Changelog
Troubleshooting
Recipes
CLI & Deployment
Image Pipeline
White-label Platforms
Records Engine
Platform Modules
Platform Security
Site Keys & Client Sites
Use Cases
Operations

Product SEO

Meta titles, descriptions, and Open Graph data for products.

Updated September 8, 2026

On this page
  • Overview
  • SDK Usage
  • Next.js generateMetadata
  • JSON-LD Structured Data
  • REST API
  • Next Steps

Overview

Fetch SEO metadata for product pages to set meta tags, Open Graph data, and structured data (JSON-LD).

SDK Usage

typescript
import dash from "@/lib/dash"

const { seo } = await dash.seo.product("blue-dream")

// seo = {
//   title: "Blue Dream | My Store",
//   description: "Premium Blue Dream flower...",
//   keywords: "blue dream, flower, sativa",
//   og_image: "https://cdn.dashfordevs.com/...",
//   schema: { "@type": "Product", ... },
//   canonical_slug: "blue-dream"
// }

Next.js generateMetadata

typescript
// app/products/[slug]/page.tsx
import dash from "@/lib/dash"

export async function generateMetadata({ params }) {
  const { seo } = await dash.seo.product(params.slug)
  return {
    title: seo.title,
    description: seo.description,
    keywords: seo.keywords,
    openGraph: {
      title: seo.title,
      description: seo.description,
      images: seo.og_image ? [seo.og_image] : [],
    },
  }
}

JSON-LD Structured Data

typescript
// Add to product page for rich search results
export default async function ProductPage({ params }) {
  const { seo } = await dash.seo.product(params.slug)

  return (
    <>
      {seo.schema && (
        <script type="application/ld+json"
                dangerouslySetInnerHTML={{ __html: JSON.stringify(seo.schema) }} />
      )}
      {/* ... page content ... */}
    </>
  )
}

REST API

shell
GET /storefront/seo/product/blue-dream
X-API-Key: pk_live_your_key

Next Steps

  • Category SEO — Category page meta tags
  • Blog SEO — Blog post meta tags
  • Sitemap — Generating sitemaps

For the strategy these fields serve rather than the fields themselves, see ecommerce SEO.

PreviousMaintenance ModeNextCategory SEO

On this page

  • Overview
  • SDK Usage
  • Next.js generateMetadata
  • JSON-LD Structured Data
  • REST API
  • Next Steps