Command referenceproducts
sorai products create
Create a product.
It starts as a draft; add a price with sorai prices create, then set its status to active with sorai products update to put it on sale.
sorai products create --slug <string> --name <string> --kind <file|course|membership|license|service|bundle> [flags]Flags
--store <id|slug>: A store id or slug. Defaults toSORAI_STORE, the saved login's store, or the only store.--slug <string>(required): The product's address in the store, such as my-ebook.--name <string>(required)--kind <file|course|membership|license|service|bundle>(required)--description <string>: The short description.--cover-media-id <uuid>: An image fromsorai media listto use as the cover.--thank-you-url <string>: An absolute https url the buyer goes to after paying.--settings <json>: The product page's selling content (description markdown, gallery_media_ids, bullets, testimonials, faq).--license-config <json>: For a license product: activation_limit and instructions.--service-config <json>: For a service product: instructions and booking_url.--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.

