Trigger a feed generation task
Dispatches a background feed-generation task for the adapter. The feed is generated from the current catalog and uploaded to object storage under the path specified by conf.feed_filename.
The task runs asynchronously — the endpoint returns immediately with a cache_key. Use that key with GET /product_merchant_feeds/{id}/trigger_status/ to monitor progress.
Only one task per adapter may be in flight at a time. Triggering while a task is already running is rejected with a 406 business error (google_merchant_feed_adapter_100_2).
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The unique identifier of the product feed adapter.
The task was dispatched. Use the returned cache_key to track progress.
A unique identifier for this run. Pass it as the cache_key query parameter to trigger_status to scope the status response to this specific task.
fc18152c28f947588b6f4d13976700bfAuthentication credentials were not provided or are invalid.
The authenticated user does not have administrator privileges.
No product feed adapter exists with the given identifier.
The request is well-formed but violates a business rule. The response body carries a stable error_code identifying the rule.
Codes raised by these endpoints:
google_merchant_feed_adapter_100_1— the(name, adapter_type)pair already exists; each combination must be unique.google_merchant_feed_adapter_100_2— a feed generation task is already running for this adapter; only one may run at a time.
POST /api/v1/remote/1/product_merchant_feeds/{id}/trigger_task/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"cache_key": "fc18152c28f947588b6f4d13976700bf"
}Last updated
Was this helpful?

