EntryStepInput

The remote query's details.

fieldsstring[]
The fields to retrieve in the records.
entry_pointstring
The name of the data model to retrieve its records.
variablesRecord<string, any>Optional
Filters, context variables, or pagination fields to apply when retrieving the records.
throw_if_key_not_foundbooleanOptional
Throw an error if a record isn't found matching an ID specified in the filters.
throw_if_relation_not_foundboolean | string[]Optional
Throw an error if a specified relation isn't found.
listbooleanOptional
Whether to retrieve the records as an array. If disabled, only one record is retrieved as an object.

Default: true

Was this page helpful?
Edit this page
Ask Anything
FAQ
What is Medusa?
How can I create a module?
How can I create a data model?
How do I create a workflow?
How can I extend a data model in the Product Module?
Recipes
How do I build a marketplace with Medusa?
How do I build digital products with Medusa?
How do I build subscription-based purchases with Medusa?
What other recipes are available in the Medusa documentation?
Chat is cleared on refresh
Line break