Type alias MergedOptions<Client, Options>

MergedOptions<Client, Options>: Required<ApiOptions<NonNullable<Client["clientConfig"]["parameters"] & Options["parameters"]>, unknown extends Options["body"]
    ? never
    : Options["body"], NonNullable<Client["clientConfig"]["headers"] & Options["headers"]>>>

Merged headers and parameters from client config and options, mimicking the behavior of commerce-sdk-isomorphic.

Type Parameters