API Documentation
Product Fetching
This API allows you to extract product information in a structured way from your catalog and the web.
Key Queries
getProduct
Fetch a single product based on a specified query and type from the web.
Parameters:
query
: The search term or identifier for the product.type
: The type of query (Link, Text, GTIN, or ImageLink).targetFormat
: Specifies the structure of the returned data, either as ID or object array, seeTargetFormatInput
. If not specified, the default target format will be used.
Example:
This query allows you to search for any product using various identifiers. The targetFormat
parameter lets you define the structure of the returned data, ensuring you get exactly the fields you need in the format you specify.
findInCatalog
Search your catalog for products matching the given query, see Search
.
getFromSource
Retrieve products from a specified source, applying a target format to the results.
Parameters:
source
: Defines the data source to fetch products from, seeSourceInput
.targetFormat
: Specifies the structure of the returned data, either as ID or object array, seeTargetFormatInput
. If not specified, the default target format will be used.
Example:
getProductPreview
Preview product data from a specified source without applying any transformations.
Parameters:
source
: Defines the data source to fetch the product preview from.
For details on the input type, see SourceInput
.