Enable Personalized Search API Endpoints

Documentation article about Enable Personalized Search API Endpoints

·4 min read·2 views·View Oracle Docs

Add to Cart Behavior

Add to Cart Behavior

This string lets you define the action that occurs after a shopper adds an item to the cart. Possible values are:

  • showCartConfirmationModal (default)

  • goToCart

  • showMiniCart

  • showCartConfirmationModal

ID

addToCartBehavior

UI location

Shopping Catalog

JSON file

Cart.json

Configuration file (pre-Vinson)

SC.Shopping.Configuration.js

Add to Cart from Facets View

Add to Cart from Facets View

Add to Cart from Facets View

This boolean lets you decide if a facet view shows the Add to Cart button on each search result.

ID

addToCartFromFacetsView

UI location

Shopping Catalog

JSON file

Cart.json

Configuration file (pre-Vinson)

SC.Shopping.Configuration.js

Allow Adding More Than One PromoCode

Allow Adding More Than One PromoCode

Allow Adding More Than One PromoCode

This property works with:

  • SuiteCommerce Advanced - Elbrus and later

  • SuiteCommerce

This boolean lets you enable or disable the SuitePromotions feature.

More Information: Promotions in Commerce Web Stores

ID

promocodes.allowMultiples

UI location

Shopping Catalog

JSON file

Cart.json

Allow custom matrix child search in the item list

Allow custom matrix child search in the item list

Allow custom matrix child search in the item list

This property works with:

  • SuiteCommerce Advanced - Kilimanjaro and later

  • SuiteCommerce

This boolean lets you enable or disable the custom matrix child item search in the Item list. If you enable this property, the item search uses the field set you defined in the Matrix child items fieldset for search property for the Matrix Child Items (Detail) field.

More Information: See Item Search API Input Parameters (matrixchilditems_fieldset parameter information).

ID

matrixchilditems.enabled

UI location

Shopping Catalog

JSON file

Cart.json

--- Context from https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_4704180728.html --- This information refers to SuiteCommerce and the Elbrus release of SuiteCommerce Advanced and later.

SuitePromotions set up transactions that provide various types of discounts to users including:

  • Item: A percentage or currency amount discount on items

  • Fixed Price Item: A fixed discounted price on items

  • Order: A discount applied at the order level

  • Shipping: A discount providing free shipping on specific shipping methods

  • Free Gift: A discount in the form of an item provided free to users meeting specific order criteria (available in Aconcagua only)

To apply an item, fixed price item, order, or shipping promotion in the web store, users enter a coupon code associated with a NetSuite promotions record.

Note:

Although you have to specify a coupon code when you create a Free Gift promotion, users don't need to enter the code to get the free gift. Free Gift promotions are automatically applied during the checkout process in the web store. Free Gift isn't supported in the My Account Request a Quote workflow.

Site users can:

  • Apply or remove multiple promo codes in their shopping cart and when reviewing their order during checkout.

  • View an error message if a promo code cannot be added to an order.

  • View discount totals.

  • View applied promotions on the Order Details page.

  • Apply single-use and multi-use coupon codes.

  • Remove a free gift from the shopping cart page.

Site administrators can:

  • Configure the site to automatically apply eligible promotions to a transaction.

  • Automatically apply the best promotion to transactions eligible for multiple promotions.

  • Audit promotions activity to view and track promotions applied to a transaction.

Note:

NetSuite doesn't provide default policies for promotions. Use Site Management Tools (SMT) to create a landing page and add the details of the free gift Terms and Conditions and Returns pol

Matrix child items fieldset for search

Matrix child items fieldset for search

This property works with

  • SuiteCommerce Advanced - Kilimanjaro and later

  • SuiteCommerce

This string lets you specify which field set is used with the custom matrix child item search feature. By default, this field uses the matrixchilditems_search field set This is part of the default field set setup script. However, you can change it to match any custom matrix child item field set.

Note:

If you leave this property blank, but enable the Allow custom matrix child search in the item list, the custom matrix child search feature won't use the custom field set. Instead, the application uses the default `matrixchildit

Frequently Asked Questions (4)

How do I enable the personalized Search API endpoints in SuiteCommerce Advanced?
To enable the personalized Search API endpoints, navigate to Shopping Catalog > Personalized Search API Endpoints in the SuiteCommerce interface and enable the setting identified by the ID 'isNewSearchApiEnabled'.
Can this new feature of personalized Search API endpoints be used in all editions of NetSuite?
The personalized Search API endpoints feature is available starting in SuiteCommerce Advanced 2021.2 and may not be available in other editions or earlier versions.
What are the main differences between cacheable and personalized API endpoints?
Cacheable API endpoints optimize performance by caching responses for frequently accessed data. In contrast, personalized API endpoints retrieve unique, non-cached item information tailored to individual users' profiles, ensuring up-to-date results.
Is a cross-domain configuration required to use the Item Search API with JSONP?
Yes, when using the Item Search API with cross-domain requests, JSONP can be utilized to allow responses to be wrapped in a JavaScript variable included in a script tag, enabling cross-domain AJAX requests.
Source: Enable Personalized Search API Endpoints Oracle NetSuite Help Center. This article was generated from official Oracle documentation and enriched with additional context and best practices.

Was this article helpful?

More in Commerce

View all Commerce articles →