...
Code Block | ||
---|---|---|
| ||
# get all accessible catalogs and their product item details. # this method will return AllCatalogs object with the list of catalogs' details all_catalogs = api.product_service.get_all_catalogs_and_items() # apply parameters all_catalogs = api.product_service.get_all_catalogs_and_items(locale='en', currency='EUR', customerSegment=['segmentId'], atTime='2020-12-03T10:15:30.00Z') # get catalog and its product item details # this method will return CatalogDetails object catalogId = all_catalogs.catalogs[0].catalogId catalog_details = api.product_service.get_catalog_details(catalogId) # apply parameters catalog_details = api.product_service.get_catalog_details(catalogId, locale='en', currency='GBP', code=['priceDiscountCode1discountCode1', 'priceDiscountCode2discountCode2'], volume=3) # get product details # this method will return ProductDetails object productId = catalog_details.products[0].productId product_details = api.product_service.get_product_details(catalogId, productId) # apply parameters product_details = api.product_service.get_product_details(catalogId, productId, locale='fi', volume=5) |
...
/wiki/spaces/TISpubdoc/pages/20515199
/wiki/spaces/TISpubdoc/pages/94666890
/wiki/spaces/TISpubdoc/pages/94404706
/wiki/spaces/TISpubdoc/pages/88277362
/wiki/spaces/TISpubdoc/pages/98631758