Upload a product catalog
Uploads a product catalog file in JSON or Google Merchant Center XML format. For the JSON format, see the JSON file schema below.
To import a feed from a URL instead, use Import a product feed from a URL.
If the organization has no catalog, this method creates one. To get a catalog_id before the first upload, use Create a catalog.
The file is merged into the existing catalog. For the merge rules, see Catalog updates.
If the catalog feed is on, the next feed refresh overwrites uploaded products that have the same ID as products in the feed. To keep your changes, turn the feed off before you upload the file. To do this, use Turn a catalog feed on or off.
accounts--my:ro
Authorizations
Use your account ID as the username and your personal access token (PAT) as the password, or pass a Base64-encoded value directly in the Authorization header. For more information, see the personal access tokens guide.
Query Parameters
Body
A JSON file containing an array of product objects, or a Google Merchant Center XML feed. The filename must end in .json or .xml. Maximum size: 50MB. The file is processed asynchronously — the response includes a job_id for tracking progress with Check import status.
Response
The catalog import job was queued. A 202 response doesn't mean the products passed validation — invalid products are skipped and counted in failed_count on the job status; they aren't rejected at upload time.