Recommended for Checkout and Product Compliance Transparency in ChatGPT
The warning and warning_url attributes communicate safety, legal, or environmental disclaimers associated with a product.
They ensure users are informed of potential hazards or legal obligations before completing a purchase in ChatGPT.
When to use
Use these fields whenever a product is subject to regulatory, safety, or environmental warnings.
This includes products with restricted materials, hazardous components, or jurisdiction-specific disclosures (e.g., California Prop 65).
-
[warning]should:- Provide a short text description of the hazard or condition.
- Be concise and clear (e.g., “Contains lithium battery”, “Choking hazard for small parts”).
-
[warning_url]should:- Link to a public compliance page containing the full legal or safety details.
- Be publicly accessible and return an HTTP 200 response.
- Use HTTPS for secure and reliable access.
Format
- Type:
[warning]: String (UTF-8 text)[warning_url]: URL (RFC 1738 compliant)
- Protocol: HTTPS (preferred)
- Repeated field: No
- Schema.org property:
Product.warning(closest equivalent)
Examples:
| Format | Example |
|---|---|
| Text feed | warning: Contains lithium battery |
| XML feed | <warning>Contains lithium battery</warning> |
| Text feed (URL) | warning_url: https://example.com/compliance |
| XML feed (URL) | <warning_url>https://example.com/compliance</warning_url> |
Relationship between warning and warning_url
Both fields serve the same purpose providing compliance information but in different format:
| Attribute | Purpose | Example |
|---|---|---|
warning | Short inline disclaimer text | Contains lithium battery |
warning_url | Full external compliance page | https://example.com/compliance |
You can use one or both fields, depending on how your store communicates product compliance information.
Minimum requirements
Note: Missing warnings for regulated products may prevent approval for checkout in ChatGPT.
- Use plain, factual language for warnings (no formatting or HTML).
- Ensure URLs resolve successfully (HTTP 200).
- Use HTTPS for all external compliance links.
- Don’t use promotional or irrelevant text in warnings.
- Don’t use private or restricted URLs requiring authentication.
SEO / AI Tip
Including product warnings or compliance links increases consumer confidence and reduces the risk of product rejections in AI-driven commerce.
Providing transparent safety information can also improve ranking and trustworthiness in ChatGPT checkout experiences.
Official Source: ChatGPT Product Feed Specs
Need more help?
Our team is here to assist. Reach out and we’ll get back to you fast.
Contact Support