Recommended for Clarifying Product Relationships and Recommendations in ChatGPT
The relationship_type attribute specifies the nature of the connection between the current product and its related items.
It helps ChatGPT provide more relevant product groupings, recommendations, and contextual insights for example, identifying accessories, substitutes, or bundled items.
When to use
Use this field when your products are linked to others through a specific relationship (e.g., part of a set, required component, or frequently bought together).
It allows for more accurate and personalized product associations in ChatGPT’s recommendation engine.
[relationship_type]should:- Be written in lowercase.
- Match one of the accepted enum values listed below.
- Be consistent with the product connections in your feed.
- Reflect a real and logical relationship between the items.
Accepted values
| Value | Description |
|---|---|
part_of_set | The product is part of a set, bundle, or collection. |
required_part | The product requires another item to function properly (e.g., printer ink). |
often_bought_with | The product is frequently purchased with another item. |
substitute | The product can serve as an alternative or replacement. |
different_brand | The product is a comparable alternative from a different brand. |
accessory | The product complements another item (e.g., case, charger, lens). |
Format
- Type: Enum (predefined values only)
- Case: Lowercase string
- Allowed values:
part_of_set,required_part,often_bought_with,substitute,different_brand,accessory - Repeated field: No
- Schema.org property:
Product.isAccessoryOrSparePartFor(conceptually similar)
Examples:
| Format | Example |
|---|---|
| Text feed | relationship_type: part_of_set |
| XML feed | <relationship_type>accessory</relationship_type> |
Best practices
Note: Accurate relationship tagging improves related product accuracy and conversion rates in ChatGPT.
- Choose the most specific relationship type available.
- Keep consistent relationships across products in a group.
- Combine with
[related_product_id]for complete linkage. - Don’t use mixed casing or invalid values.
- Don’t use free text or descriptions instead of enum values.
SEO / AI Tip
Adding a clear relationship_type helps ChatGPT understand your catalog’s structure and make intelligent recommendations.
It also enhances upselling, cross-selling, and “related product” features, especially when paired with related_product_id.
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