View Source ExCatalog (ex_catalog v1.5.0)

Documentation for ExCatalog.

Link to this section Summary

Functions

List all the categories (the index).

List product with preloads by sku and optional currency conversion.

List all products with preloads and optional currency conversion..

List product with preloads by category and optional currency conversion.

List version.

Link to this section Functions

Link to this function

index(limit \\ 25, metadata \\ nil, cursor \\ nil)

View Source

List all the categories (the index).

examples

Examples

iex> ExCatalog.index(25)
Link to this function

product(sku, currency \\ nil)

View Source

List product with preloads by sku and optional currency conversion.

examples

Examples

iex> ExCatalog.product("2242", :USD)
Link to this function

products(limit \\ 25, currency \\ :USD)

View Source

List all products with preloads and optional currency conversion..

examples

Examples

iex> ExCatalog.products(25)
iex> ExCatalog.products(25,:USD)
Link to this function

products(limit \\ 25, metadata, cursor, currency)

View Source
Link to this function

products_by_category(slug, limit \\ 25, currency \\ :USD)

View Source

List product with preloads by category and optional currency conversion.

examples

Examples

iex> ExCatalog.products_by_category("test_category", "2242", :USD)
Link to this function

products_by_category(slug, limit, metadata, cursor, currency)

View Source

List version.

examples

Examples

iex> ExCatalog.version()