This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Creates an info section.
To assign the info section to a product, include the infoSection.id
or infoSection.uniqueName
when creating or
updating a product.
function createInfoSection(infoSection: InfoSection): Promise<InfoSection>;
Info section to create.
import { infoSectionsV3 } from "@wix/stores";
async function createInfoSection(infoSection) {
const response = await infoSectionsV3.createInfoSection(infoSection);
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.