Collections

Details of the VendorFuel API Collections service.

Methods

getCollections()

Gets an array of collections.

Collections.getCollections()
.then(data => {
let collections = data.collections;
});

viewCollection(col_id)

Gets details of a specific collection.

const col_id = 1;
‚Äč
Collections.viewCollection(col_id)
.then(data => {
let collection = data.collection;
});

Param

Type

Details

col_id

number

Collection ID.