{
"summary": {
"product_count": 1,
"error_count": 1,
"warning_count": 5,
"fix_count": 2,
"health_score": 0,
"remaining_error_count": 1,
"remaining_warning_count": 4,
"health_score_after_fixes": 0,
"products_with_errors_after_fixes": 1,
"skipped_row_count": 0,
"source": "google",
"encoding": "utf-8",
"delimiter": ",",
"format": "csv",
"products_in_feed": 1,
"truncated": false,
"input": "feed_text",
"plan": "PRO",
"plan_max_products_per_request": 2500,
"feed_bytes": 210,
"elapsed_ms": 2
},
"issue_breakdown": [
{
"code": "gtin_invalid",
"severity": "error",
"field": "gtin",
"found": 1,
"remaining": 1,
"auto_fixed": 0,
"suggestion": "Correct the GTIN (8, 12, 13 or 14 digits with a valid check digit) or remove it. Never invent GTINs."
},
{
"code": "apparel_missing_age_group",
"severity": "warning",
"field": "age_group",
"found": 1,
"remaining": 1,
"auto_fixed": 0,
"suggestion": "Add age_group (adult, kids, toddler, infant, newborn) for apparel products."
},
{
"code": "apparel_missing_color",
"severity": "warning",
"field": "color",
"found": 1,
"remaining": 1,
"auto_fixed": 0,
"suggestion": "Add color for apparel products (required in many countries)."
},
{
"code": "apparel_missing_gender",
"severity": "warning",
"field": "gender",
"found": 1,
"remaining": 1,
"auto_fixed": 0,
"suggestion": "Add gender (male, female, unisex) for apparel products."
},
{
"code": "apparel_missing_size",
"severity": "warning",
"field": "size",
"found": 1,
"remaining": 1,
"auto_fixed": 0,
"suggestion": "Add size for apparel products (required in many countries)."
},
{
"code": "price_not_google_format",
"severity": "warning",
"field": "price",
"found": 1,
"remaining": 0,
"auto_fixed": 1,
"suggestion": "Format the price as '<amount> <ISO currency>', e.g. '19.99 USD'."
}
],
"skipped_rows": [],
"options": {
"target_country": "US",
"currency": "USD",
"auto_fix": true,
"title_max": 150,
"strict": false,
"store_url": ""
},
"products": [
{
"row": 2,
"id": "SKU-1",
"title": "Organic Cotton Tee",
"status": "error",
"remaining_issues": [
{
"code": "gtin_invalid",
"severity": "error",
"message": "GTIN '1234567890123' has invalid length or check digit",
"field": "gtin"
},
{
"code": "apparel_missing_color",
"severity": "warning",
"message": "Apparel product missing recommended attribute 'color'",
"field": "color"
},
{
"code": "apparel_missing_size",
"severity": "warning",
"message": "Apparel product missing recommended attribute 'size'",
"field": "size"
},
{
"code": "apparel_missing_gender",
"severity": "warning",
"message": "Apparel product missing recommended attribute 'gender'",
"field": "gender"
},
{
"code": "apparel_missing_age_group",
"severity": "warning",
"message": "Apparel product missing recommended attribute 'age_group'",
"field": "age_group"
}
],
"fixes": [
{
"field": "availability",
"after": "in_stock",
"reason": "normalize availability value"
},
{
"field": "price",
"after": "19.99 USD",
"reason": "reformat price to 'X.XX CURRENCY'"
}
],
"price": "19.99 USD",
"availability": "in_stock",
"brand": "Acme",
"gtin": "1234567890123",
"link": "https://shop.example.com/tee",
"image_link": "https://shop.example.com/tee.jpg"
}
]
}
curl --location --request POST 'https://zylalabs.com/api/15359/merchant+feed+validation+api/41051/check+product+feed' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{"feed_text":"id,title,description,link,image_link,price,availability,brand,gtin,condition\nSKU-1,Organic Cotton Tee,Soft tee,https://shop.example.com/tee,https://shop.example.com/tee.jpg,19.99,in stock,Acme,1234567890123,new","product_detail":"compact","auto_fix":true}'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Merchant Feed Validation API simply include your bearer token in the Authorization header.
| Header | Description |
|---|---|
Authorization
|
Required
Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.
|
No long-term commitment. Upgrade, downgrade, or cancel anytime.
Validate and auto-fix Google Merchant Center product feeds from Shopify, WooCommerce, CSV, TSV or XML. Returns scores, issues, fixes and a clean feed.
The endpoint accepts product feeds from Shopify, WooCommerce, CSV, TSV, and XML sources. The response identifies the detected or processed format in the `format` field, such as `csv`, and may also report the `delimiter` and `encoding`.
It returns validation results, automatically applied fixes, product-level findings, summary metrics, and optionally a cleaned feed. Results can include issue codes, severity, affected fields, detected values, suggestions, and remaining problems after fixes.
`product_count` is the number of processed products. `error_count` and `warning_count` show detected issues, while `fix_count` counts applied fixes. `remaining_error_count`, `remaining_warning_count`, and `health_score_after_fixes` describe the feed after safe corrections.
Each issue includes a `code`, `severity`, and affected `field`. It may also include `found`, `remaining`, `auto_fixed`, and `suggestion` values. For example, `gtin_invalid` identifies an invalid GTIN and explains how to correct or remove it.
The API applies corrections considered safe, reports them through fix counts and issue-level `auto_fixed` values, and recalculates remaining issues and the post-fix health score. Problems that cannot be safely corrected remain for manual review.
Compare `products_in_feed`, `product_count`, and `skipped_row_count`. A `skipped_row_count` greater than zero indicates rows were not processed. The `truncated` field indicates whether the returned or processed data was limited.
The response provides overall and post-fix health scores, counts of errors and warnings, products with errors after fixes, and an issue breakdown. These fields help prioritize corrections and measure whether the cleaned feed is ready for further review.
Use the cleaned feed for downstream Merchant Center submission or additional validation, then inspect issues with nonzero `remaining` values. Resolve remaining errors first, review warnings, and use each issue’s field and suggestion to guide product-level corrections.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund