This defines the resource that you wish to fetch.
Optional
init: RequestInitAn object containing any custom settings that you want to apply to the request.
Optional
preferredBehaviour: RequestModeInputA request behaviour object that overrides the default behaviour.
A promise that resolves with the response.
A fetch function to use with Shopify services. The function ensures the right TLS configuragion is used based on the environment in which the service is running (e.g. Spin). NB: headers/auth are the responsibility of the caller.
By default, the CLI's fetch function's special behaviours, like automatic retries, are enabled.