add_to_cart
Add a specified quantity of a card offer to the selected online shop's cart, automatically handling authentication.
Instructions
Add count of a specific offer to the shop's online cart.
shop_ref is the per-shop product/article identifier that appears on
every Offer returned by search_card / optimize_decklist. For
najada it's the article UUID (e.g. d762c438-8915-4131-be7e-e301d91d8935);
for tolarie it's the numeric product id. Pass it through verbatim —
don't construct it yourself. If you don't have one for the offer the user
wants, call search_card first.
Logs in automatically on first call and transparently re-logs in if the cached token expires. Returns the shop's raw response (e.g. the updated cart-item record).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shop | Yes | ||
| count | No | ||
| shop_ref | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||