getCommerceCurrenciesWithHttpInfo method

Future<Response> getCommerceCurrenciesWithHttpInfo()

The reference currency list the price and settings pickers render

Returns every reference currency as one global list, so a store settings form or a product price picker binds real rows instead of a hardcoded array. It is a default-namespace read shared by every tenant rather than per-org data, and it is public and cacheable.

Note: This method returns the HTTP Response.

Implementation

Future<Response> getCommerceCurrenciesWithHttpInfo() async {
  // ignore: prefer_const_declarations
  final path = r'/v1/commerce/currencies';

  // ignore: prefer_final_locals
  Object? postBody;

  final queryParams = <QueryParam>[];
  final headerParams = <String, String>{};
  final formParams = <String, String>{};

  const contentTypes = <String>[];


  return apiClient.invokeAPI(
    path,
    'GET',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
  );
}