N/commerce Modules

Modules in the N/commerce namespace have been designed for use with SSP applications written in SuiteScript 2.x. Their primary objective is to provide web developers a homogeneous development experience when working with Commerce and SuiteScript APIs. Note that N/commerce itself is not a module.

Developers can use modules in the N/commerce namespace to access different assets in the web store context, such as items and shopping cart. The modules within the N/commerce namespace are supported by the latest version of SuiteCommerce and by SuiteCommerce Advanced 2019.2 onwards.

Before you can load N/commerce modules, you must have an active shopping session.

The modules available within the N/commerce namespace are:

Module

Description

N/commerce/recordView Module

Use the N/commerce/recordView module to provide fast, cached, and public access to the item fields and website settings.

Note:

Commerce modules are not yet available for all web store interactions. To fully customize your web store on the SuiteCloud platform, you can use Commerce APIs with SSP applications written in SuiteScript 1.0. However, Commerce APIs are not available for use with SSP applications written in SuiteScript 2.x. For more information about the Commerce APIs, see Commerce API.

Related Topics

SuiteScript 2.x Modules
SuiteScript 2.x

General Notices