Validate a product feed
merchant_validateChecks a product feed or catalog export for Google Merchant Center, Shopify or Meta (Facebook/Instagram) before upload. Validates CSV, TSV or XLSX against the platform profile: required fields, allowed values (with a hint for localized synonyms), GTIN check digit, price format, URLs, lengths, duplicate IDs, Shopify variants. Every issue names row, column, rule code and a fix hint; nothing is changed. The feed can be passed as upload, URL or CSV text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | The feed. A file uploaded in ChatGPT (object with download_url and file_id). | |
| options | No | Optional ValidateOptions, e.g. {"sheet": "Feed", "column_overrides": {"gtin": "EAN code"}, "max_issues": 500}. Schema: /v1/schemas/merchant-validate-options. | |
| profile | No | Target platform: google_merchant, shopify_products_csv or meta_catalog. | google_merchant |
| file_url | No | The feed. Public URL of the file (http/https). Google Drive, Google Sheets and Dropbox share links are converted to direct downloads. Max 20 MiB. | |
| filename | No | Original filename with extension (e.g. prices.xlsx); used to detect the format. | |
| file_path | No | Local file path; only allowed when the server runs locally over stdio. | |
| file_text | No | The feed. The table as CSV or TSV text, header row first (e.g. 'SKU;Price;Currency\nA1;12.50;EUR'). | |
| file_base64 | No | The feed. File content as Base64 (standard alphabet). Max 20 MiB decoded. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||