For the complete documentation index, see llms.txt. This page is also available as Markdown.

Retrieve an adapter

Returns the adapter with the given identifier.

get
/product_merchant_feeds/{id}/
Authorizations
AuthorizationstringRequired

Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.

Path parameters
idintegerRequired

The unique identifier of the product feed adapter.

Responses
200

The requested adapter.

application/json

A product feed adapter record.

pkintegerRead-onlyOptional

The unique identifier of the adapter. Assigned by the server.

namestring · max: 255Optional

A human-readable name for this adapter. Together with adapter_type, must be unique.

Example: Main Google Feed
confobjectOptional

Adapter-specific configuration. See the Adapter Configuration (conf) section for the recognized top-level keys.

Example: {"feed_filename":"google/feed.xml","schema_data":null}
adapter_typestring · enumOptional

The adapter implementation used to generate the feed. See the Adapter Types table in the Product Feed Adapters section for descriptions.

Possible values:
is_activebooleanOptional

Whether the adapter is included in scheduled feed generation runs. Inactive adapters can still be triggered on demand.

Example: true
is_one_timebooleanOptional

When true, the adapter is used only once and excluded from recurring scheduled runs. It can still be triggered manually.

Example: false
file_urlstring · nullableRead-onlyOptional

The public URL of the most recently generated feed file, derived from conf.feed_filename and the AWS_S3_BUCKET_URL_TEMPLATE environment variable. null when conf.feed_filename is absent.

Example: https://mybucket.s3.amazonaws.com/google/feed.xml
filter_filestring · nullableOptional

URL of the stored product filter file, or null when no filter file is configured. When a filter file is set, only products whose sku or base_code appears in the file are included in the generated feed.

get/product_merchant_feeds/{id}/
GET /api/v1/remote/1/product_merchant_feeds/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "pk": 1,
  "name": "Main Google Feed",
  "conf": {
    "feed_filename": "google/feed.xml",
    "schema_data": null
  },
  "adapter_type": "base",
  "is_active": true,
  "is_one_time": false,
  "file_url": "https://mybucket.s3.amazonaws.com/google/feed.xml",
  "filter_file": null
}

Last updated

Was this helpful?