Admin API / Mutations
createLivestream
Schedules a livestream with the caller as host and attaches productIds in the same write: the livestream and all its listings are created, or nothing is. The livestream starts SCHEDULED; startLivestream takes it live, and followers get notifications then. It copies the caller's most recent host note. Requires the go-live permission: the MODERATOR role or higher, or an active membership with go-live access, in a store with selling and livestreams on. addLivestreamProducts attaches more listings later. A repeat with the same idempotencyKey and input within 24 hours returns the first result.
Requires a client key with one of these scopes:
admin:livestreams:writeRequires this member role or higher: SELLERcreateLivestream(
input: CreateLivestreamInput!
): CreateLivestreamPayload!Arguments
| Argument | Type | Description |
|---|---|---|
input | CreateLivestreamInput! | The livestream and the idempotency key. |