Skip to Content

mutate()

mutate(mutation): Promise<{ items: ( | `project:${string}` | `customer:${string}` | `product:${string}` | `subscription:${string}` | `account:${string}` | `subscription-relay:${string}` | `transaction:${string}`)[]; }>;

Applies one mutation as the admin API states it.

Parameters

mutation

| { item: string; operation: "add"; placement?: | { position: "first" | "last"; } | { anchor: string; position: "above" | "below"; }; } | { item: string; operation: "remove"; } | { item: string; operation: "move"; placement: | { position: "first" | "last"; } | { anchor: string; position: "above" | "below"; }; }

Last updated on