Skip to main content
Skip to main content

CollectionsResource

collections.CollectionsResource

Methods

list

list(query?, customHeaders?): ResponsePromise<StoreCollectionsListRes>

Parameters

is optional. Can contain a limit and offset for the returned list
customHeadersRecord<string, any>Required

Default: `{}`

Returns

ResponsePromise<StoreCollectionsListRes>

Description

Retrieves a list of collections


retrieve

retrieve(id, customHeaders?): ResponsePromise<StoreCollectionsRes>

Parameters

idstringRequired
id of the collection
customHeadersRecord<string, any>Required

Default: `{}`

Returns

ResponsePromise<StoreCollectionsRes>

ResponsePromiseResponsePromise<StoreCollectionsRes>Required

Description

Retrieves a single collection

Was this section helpful?