listPublications

suspend fun listPublications(storeId: String, language: Language = Language.ENGLISH, date: LocalDate = LocalDate.now()): List<Publication.Attributes>

Retrieve a list of all active publications.

Return

A list of Publication.Attributes for the available Publications. An empty list indicates a successful request, but there are no active publications based on the input parameters. A failure in retrieving publications is indicated by TODO

Parameters

storeId

The store's identifier

language

The Publication's display Language (defaults to english)

date

The date to search for available Publications (defaults to today)

Throws

if there were no publications found for specified configuration