getCommerceCatalogEntriesWithHttpInfo method
The raw catalog entries, including the unpublished ones
Returns every catalog row as stored — the admin view, which unlike the public projection includes entries that are not published. It is cross-tenant platform data, so the gate is a PLATFORM admin: an org-level admin is refused 403 no matter how privileged they are inside their own org, enforced by the handler itself and not only by the route's token middleware.
Note: This method returns the HTTP Response.
Implementation
Future<Response> getCommerceCatalogEntriesWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/v1/commerce/catalog/entries';
// 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,
);
}