Workflow for Extracting Catalog Items
The GET /catalogname/{CatalogName}/supplierid/{SupplierId}/items end point of the Catalog Content API enables your application to get all the items or a filtered subset of items from a catalog.
-
The client application sends a request for items in a catalog, using the GET /catalogname/{CatalogName}/supplierid/{SupplierId}/items endpoint.
An optional filter can be specified in the request to fetch only a subset of items from the catalog. For example, request only for those items that have the IsPreferredItem flag set to true.
You can also request only for specific item information. For example, you can request information related only to SupplierPartID, Description, and Price instead of all the item fields.
GET {{runtime_url}}/catalogname/{catalogname}/supplierid/{domain:value}/items? select=<field1,field2>&rsqlfilter=<field3==false;field4!=null>&offset=0&limit=1000- catalogname
- Specifies the name of the catalog. Use the exact name as received in the response to the catalog subscription API call.
- supplierid
- The supplier domain and value. Use the exact name as received in the response to the catalog subscription API call.
- select
- The list of fields whose values are returned for all items in the response. A maximum of 20 fields can be specified. For a list of supported fields, see Supported fields below.
- rsqlfilter
- The condition that must be met for catalog items to be included in the response. All catalog fields that are configured as refinable and searchable can be included in the value list.
- offset
- An offset from the beginning of the result set, used for pagination. If there is more than one page, increment the offset accordingly. If the response is across multiple pages, offset=0 corresponds to the first page and offset=1 corresponds to the second page.
- limit
- The number of items per page. the maximum value is 1000
-
The response includes a list of items matching the conditions specified in rsqlfilter and the list of fields in the select parameter in the API call.
Supported Fields
|
ManufacturerPartId |
PromotionRank |
PunchoutEnabled |
|
LeadTime |
ExpirationDate |
MinimumQuantity |
|
Description |
IsPartial |
SupplierName |
|
ShortName |
CatalogName |
Green |
|
ClassificationCode |
IsPreferredItem |
Price.Amount |
|
DefaultRelevance |
ManufacturerURL |
Price.Currency.UniqueName |
|
HazardousMaterials |
UnitOfMeasure |
ContractPrice.Amount |
|
Image |
SupplierId |
ContractPrice.Currency.UniqueName |
|
ManufacturerName |
TerritoryAvailable |
NonContractPrice.Amount |
|
URL |
BestPrice |
NonContractPrice.Currency.UniqueName |
|
SupplierPartId |
Language |
PriceBasisQuantityUOM.Domain |
|
ApplicableContracts |
PriceConfiguration |
IsInternalPartId |
|
EffectiveDate |
SupplierPartAuxId |