Closed scernisevs closed 2 years ago
Looks like we don't have a /catalog
endpoint and types for this in SDK at all. Docs about this endpoint: Get the Catalog · Commerce Cloud
Regarding the CatalogBase interface it's related to Get All Catalogs endpoint: Get all Catalogs · Commerce Cloud
:tada: This issue has been resolved in version 11.23.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
It's fixed. I added Get /catalog
endpoint. To call this endpoint you should query like:this.SDK.Catalog.Catalog.Get()
. Response types you can find in the catalog.d.ts
file, CatalogReleaseBase
interface.
Type issue with "hierarchies" / "hierarchy_id" and the GET /catalog response
Types coming in from the SDK:
Types coming in from GET https://api.moltin.com/catalog
Steps to reproduce: