Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
NetSuite has launched SuiteSuccess Wholesale Distribution Edition, in Japan. Please join us the webinar on February 12 that introduces NetSuite solution with demos and case studies for Wholesale Industry.
Register Now
Have questions or experiences to share? Post your Release 2026.1 questions and join discussions in the Release 2026.1 category.
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)