Sample Use Cases and Flows

This article shares a possible use case your app could support, as well as sample flows that could support this use case. This can be a helpful jumping-off point as you plan your app's implementation.

Create a product with a new info section

To create a product and assign a new info section with a single API call: Call Create Product and pass the uniqueName and title to the product.infoSections array.

Note: if an info section with infoSection.uniqueName already exists, the call will fail.

Assign an existing info section to a product

The Info Sections API allows you to create and update multiple info sections. You can then use and reuse these info sections and assign them across multiple products.

To create and assign an info section to a product:

  1. Call Create Info Section.
  2. Save the infoSection.id or infoSection.uniqueName from the info section you created.
  3. Call Create Product or Update Product, and pass either the infoSection.id or the infoSection.uniqueName to the infoSections array.
Did this help?