> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agentcard.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# agent-cards buy substitution

> Set out-of-stock preference for an item (itemMsid = msid from `buy search`;

Set out-of-stock preference for an item (itemMsid = msid from `buy search`;

```bash theme={null}
agent-cards buy substitution --help
```

```text theme={null}
Usage: agent-cards buy substitution [options] <merchant> <orderId> <itemMsid> <preference>

Set out-of-stock preference for an item (itemMsid = msid from `buy search`;
preference = similar|refund|contact)

Options:
  -h, --help  display help for command
```
