Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
session.getSiteCategoryContents
Hello.
I'm working on a SSP applciation, using CommerceAPI (SiteBuilder, NO SuiteCommerceAdvanced).
My page is on the shopping domain, the user is not authenticated.
I want to retrieve all the item filtered by "site category".
From the documentation, i'm trying to call the "getSiteCategoryContents" API, but i'm getting an error:
test1) session.getSiteCategoryContents(true); --> WORKING FINE
test2) session.getSiteCategoryContents([{"internalid":"10513"}]); --> ERROR:Can't find method $Proxy99.getSiteCategoryContents(object)
test3) session.getSiteCategoryContents([10513]); --> ERROR:Can't find method $Proxy99.getSiteCategoryContents(object)
test4) session.getSiteCategoryContents(10513); --> ERROR:Can't find method $Proxy99.getSiteCategoryContents(Number)
test4) session.getSiteCategoryContents('10513'); --> ERROR:Can't find method $Proxy99.getSiteCategoryContents(String)