set_deck_card_quantity
Set the absolute quantity of a card in a deck for mainboard or sideboard. Use value 0 to remove the card from the deck.
Instructions
Set the absolute quantity for a card + board in a deck (not a delta). A quantity of 0 removes the row. Use add_deck_card to increment instead. Requires IWMM_API_KEY.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cardId | Yes | Internal IWMM card UUID. Get from search_cards or get_card. | |
| deckId | Yes | Deck id. Get from list_decks or create_deck. | |
| quantity | Yes | Absolute quantity to set. 0 removes the row. | |
| isSideboard | Yes | Which board the row belongs to. Mainboard and sideboard are separate rows. |