Get a catalog item

Definition

Authorization

In this API call you must use the following authorization access and permissions:

Available access typePermissions needed
Private accessCatalogs -> Get catalog item

Read more about:

Path parameters

ParameterTypeDescriptionRequired
projectTokenstringThe ID of your project.Required
catalogIdstringThe ID of the desired existing catalog.Required
itemIdstringThe ID of the desired item in the specified catalog.Required

Query Parameters

ParameterDescriptionExampleRequired
queryQuery string to match the desired catalog's item properties and item_id.?query=AppleNo
field

Further refine your query. If used, the query will be matched only against the specified field.

Works only with indexed catalog columns.

?field=manufacturerNo
countHow many items should be returned. Default value 20.?count=50No
skip

How many items should be skipped. Default value 0.

Count + skip shouldn't be > 1001, otherwise status code 400 will be returned.

?skip=100&count=10No
order

By which column and how should be the result ordered.

Format:
column_name, desc/asc
*
You can add a secondary, tertiary, ..., column in the same format.*

?order=price%20desc,manufacturer%20ascNo

Header

ParameterTypeDescriptionRequired
authorizationstringUsed for authentication. Read more in the Authentication section.Required
content-typestringapplication/jsonRequired

Response description

AttributeTypeDescription
dataarray of objectsList of objects representing the individual retrieved rows.
limitnumberNumber of items retrieved in this pagination page.
matchednumberNumber of items matching the search query.
matched_limitedboolean

Value is always false.

(Deprecated: If true there were too many items that matched the query, therefore the number of matched items provided above is the lower bound, not the exact number.)

skipnumberNumber of skipped records in this pagination.
totalnumberTotal number of items in this catalog.
successbooleanResult status. If false, there is errors object with description.

Data object description

AttributeTypeDescription
catalog_idstringCatalog unique identifier
item_idstringItem unique identifier
propertiesobjectActual item fields and values.

Limitations

You can retrieve only 1001 items using paging. When using count and skip query parameters, count + skip should not be greater than 1001, otherwise, the 404 status code will be returned.

Path Params
string
required
Defaults to 12345678-1234-1234-1234-123456789abc
string
required
Defaults to 60758e2d18883e1048b817a8
string
required
Defaults to 1
Query Params
string
Defaults to Apple
string
Defaults to manufacturer
string
Defaults to 50
string
Defaults to 100
string
Defaults to price%20desc,manufacturer%20asc
Headers
string
required
Defaults to Basic <APIKeyID/APISecret>
Responses

Language
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json

© Bloomreach, Inc. All rights reserved.