Skip to content
On this page

Associations

Not all of the properties are added to the response by default. Some of them have to be added manually

WARNING

Please remember that adding too many fields can affect the response time

More about associations can be found here

Product

ts
const { search } = useProductSearch();

const productResponse = await search(props.navigationId, {
  withCmsAssociations: true,
  criteria: {
    associations: {
      manufacturer: {},
      properties: {},
    },
  },
});
Associations has loaded