All Compatify data is written to Shopify product metafields under the compatify namespace.
compatifyPRODUCTmetafieldsSet GraphQL mutation (requires write_product_listings scope)compatify.compatible_devicesjsonArray of canonical device IDs that are compatible with this accessory product.
{
"devices": ["apple_iphone_15_pro_max", "apple_iphone_15_pro"],
"confidence": 0.97,
"source": "Compatify API",
"last_updated": "2026-05-05T00:00:00Z"
}compatify.compatibility_badgesingle_line_text_fieldShort badge text for display on product pages.
"Certified Compatible · Works with iPhone 13–15 series"
compatify.confidence_scorenumber_decimalConfidence score (0.0–1.0) from the most recent Compatify check.
0.97
compatify.sourcesingle_line_text_fieldSource of the compatibility data.
"Official Certification"
compatify.compatibility_notesmulti_line_text_fieldHuman-readable compatibility notes from Compatify.
"Certified compatible. Fast charge confirmed on iPhone 15 Pro Max up to 27W."
compatify.incompatible_devicesjsonArray of device IDs confirmed incompatible with this accessory.
["samsung_galaxy_s24_ultra", "google_pixel_8_pro"]
compatify.last_verified_atdate_timeISO 8601 timestamp when compatibility was last verified by Compatify.
"2026-05-05T00:00:00Z"
mutation {
metafieldsSet(metafields: [
{
ownerId: "gid://shopify/Product/123456789"
namespace: "compatify"
key: "compatible_devices"
type: "json"
value: "{\"devices\":[\"apple_iphone_15_pro_max\"],\"confidence\":0.97}"
},
{
ownerId: "gid://shopify/Product/123456789"
namespace: "compatify"
key: "confidence_score"
type: "number_decimal"
value: "0.97"
}
]) {
metafields { key namespace value }
userErrors { field message }
}
}