getOrCreateInfoSection( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Retrieves an info section by ID or uniqueName, or creates an info section if one with the passed uniqueName doesn't exist.

Note: If an info section with the passed uniqueName doesn't exist, the uniqueName and title fields are required to create a new info section.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Stores - all permissions
Manage Products
Manage v3 catalog
Info section write in v3 catalog
Product write in v3 catalog
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
optionsGetOrCreateInfoSectionOptions
Returns
Return Type:Promise<GetOrCreateInfoSectionResponse>
Did this help?