listAndCount - Fulfillment Module Reference
This documentation provides a reference to the listAndCount
method. This belongs to the Fulfillment Module.
This method retrieves a paginated list of fulfillment sets along with the total count of available fulfillment sets satisfying the provided filters.
Example
To retrieve a list of fulfillment sets using their IDs:
To specify relations that should be retrieved within the fulfillment set:
By default, only the first 15
records are retrieved. You can control pagination by specifying the skip
and take
properties of the config
parameter:
Parameters
The filters to apply on the retrieved fulfillment sets.
config
FindConfig<FulfillmentSetDTO>The configurations determining how the fulfillment set is retrieved. Its properties, such as select
or relations
, accept the
attributes or relations associated with a fulfillment set.
config
FindConfig<FulfillmentSetDTO>select
or relations
, accept the
attributes or relations associated with a fulfillment set.Returns
The list of fulfillment sets along with their total count.
Was this section helpful?