diff --git a/alfa-client/libs/command-shared/src/lib/command.service.ts b/alfa-client/libs/command-shared/src/lib/command.service.ts
index 4b8d283899be99e2d59c953e71718f2d60dd1c93..2952215d8692c4e4bea0e211689d477c1acc585c 100644
--- a/alfa-client/libs/command-shared/src/lib/command.service.ts
+++ b/alfa-client/libs/command-shared/src/lib/command.service.ts
@@ -58,6 +58,9 @@ export class CommandService {
     private store: Store,
   ) {}
 
+  /**
+   * @deprecated Use createCommandByProps(createCommandProps: CreateCommandProps) instead.
+   */
   public createCommand(
     resource: Resource,
     linkRel: string,