Website

One website record is supported in SOAP web services: Site Category.

To organize information and items for sale on your website, put them in categories. Categories must be associated with presentation tabs for them to display on your website.

For information about working with site categories in the UI, see Creating Site Categories.

Site Category

The site category record is defined in the listsWebsite (website) XSD.

Supported Operations

The following operations can be used with the site category record:

add | addList | delete | deleteList | get | getList | getSavedSearch | getSelectValue | search | update | updateList | upsert | upsertList

Note:

You can also use the asynchronous equivalents of SOAP web services list operations. For information about asynchronous operations, see SOAP Web Services Asynchronous Operations. For more information about request processing, see Synchronous Versus Asynchronous Request Processing.

Field Definitions

The SOAP Schema Browser includes definitions for all body fields, sublist fields, search filters, and search joins available to this record. For details, see the SOAP Schema Browser’s site category reference page.

Note:

For information on using the SOAP Schema Browser, see SOAP Schema Browser.

Usage Notes

Root site categories, such as the Welcome Page, are not editable in SOAP web services because they have negative internalIds. For example, the following update operation fails when submitted:

          <update xmlns="urn:messages_2017_1.platform.webservices.netsuite.com">
  <record internalId="-102" xsi:type="ns1:SiteCategory"
   xmlns:ns1="urn:website_2017_1.lists.webservices.netsuite.com">
    <ns1:pageTitle xsi:type="xsd:string">pageTitle</ns1:pageTitle>
  </record>
</update> 

        

where:

internalId="-102" is the internal ID of a root category

If you attempt to edit or update root site categories, the following error message is returned: Cannot update root level website categories through SOAP web services.

Related Topics

General Notices