listAndCountFulfillments - Fulfillment Module Reference
This documentation provides a reference to the listAndCountFulfillments
method. This belongs to the Fulfillment Module.
This method retrieves a paginated list of fulfillments along with the total count of available fulfillments satisfying the provided filters.
Example
To retrieve a list of fulfillments using their IDs:
To specify relations that should be retrieved within the fulfillment:
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
filters
FilterableFulfillmentPropsThe filters to apply on the retrieved fulfillment sets.
filters
FilterableFulfillmentPropsconfig
FindConfig<FulfillmentDTO>The configurations determining how the fulfillment is retrieved. Its properties, such as select
or relations
, accept the
attributes or relations associated with a fulfillment.
config
FindConfig<FulfillmentDTO>select
or relations
, accept the
attributes or relations associated with a fulfillment.Returns
The list of fulfillments along with their total count.
Was this section helpful?