SoraiDocs
GuidesAPI reference

sorai courses add-section

Add a section to the end of a course.

sorai courses add-section --product-id <uuid> --title <string> [flags]

Flags

  • --store <id|slug>: A store id or slug. Defaults to SORAI_STORE, the saved login's store, or the only store.
  • --product-id <uuid> (required): The product's id, from sorai products list.
  • --title <string> (required)
  • --dry-run: Print the request it would send, and for an update the fields that would change, without changing anything.

Permissions

Needs a key with the catalog:write permission.

This command changes data. Run it with --dry-run first to see what it would do.

On this page