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

# goody_order_batches_price

> Quick price estimate — cart subtotal, tax, shipping, and total — before sending.

**Permission:** `Write` · **Workspace:** required (from `goody_workspaces_list`)

A quick price estimate — cart subtotal, tax, shipping, and total — before sending. Use it when the user just wants a number; use [`goody_order_batches_preview`](https://developer.ongoody.com/mcp-reference/tools/order-batches-preview) for the richer confirm-against-it step that returns a shareable link. Nothing is charged.

> [!NOTE]
>
> Relay the total, the `from_name`, and the `notification_preview` before calling [`goody_order_batches_create`](https://developer.ongoody.com/mcp-reference/tools/order-batches-create).

## Parameters

**workspace\_id** `string` *required*

Workspace UUID — from `goody_workspaces_list`. Scopes the estimate to this workspace.

**product\_id** `string`

A single product UUID — from [`goody_products_search`](https://developer.ongoody.com/mcp-reference/tools/products-search). Use this **or** `cart`, never both.

**quantity** `integer` (default: 1)

Quantity for `product_id`. Defaults to `1`.

**variable\_price** `integer`

Amount to fund, in cents, for a variable-amount Gift of Choice or variable gift card. Must fall within the gift's `[price_min, price_max]`. Only applies to `product_id`.

**cart** `object`

A multi-item cart — an object with an `items` array (not a bare array). Use this **or** `product_id`, never both.

**cart**

**items** `object[]` *required*

One entry per product in the gift.

**item**

**product\_id** `string` *required*

Product UUID.

**quantity** `integer` (default: 1)

Quantity of this product.

**variable\_price** `integer`

Amount in cents for a variable-amount gift, within its `[price_min, price_max]`.

**variants** `string[]`

Selected variant option IDs (e.g. size, color) for products that offer them.

**contact\_id** `string`

A single saved-contact UUID — from [`goody_contacts_search`](https://developer.ongoody.com/mcp-reference/tools/contacts-search). Use this **or** `recipients`.

**recipients** `object[]`

The people to send to. Use this **or** `contact_id`.

**recipient**

**name** `string`

Full name — split on the **first** space (first token → first name, the rest → last name). Use this or `first_name` + `last_name`.

**first\_name** `string`

First name. Pair with `last_name`.

**last\_name** `string`

Last name.

**email** `string`

Recipient email.

**phone** `string`

Recipient phone, when sending by text.

**contact\_id** `string`

Link this recipient to an existing saved contact.

**mailing\_address** `object`

Required on every recipient when `send_method` is `direct_send`.

**mailing\_address**

**first\_name** `string`

Recipient first name for the shipping label.

**last\_name** `string`

Recipient last name for the shipping label.

**address\_1** `string` *required*

Street address.

**address\_2** `string`

Apartment, suite, etc.

**city** `string` *required*

City.

**state** `string` *required*

State or province.

**postal\_code** `string` *required*

ZIP or postal code.

**country** `string` *required*

Country.

**send\_method** `string` (default: link\_single)

How the recipient receives the gift. One of `link_single`, `email_and_link`, or `direct_send` (ships a physical product — requires a `mailing_address` on every recipient). Affects shipping in the estimate.

**swap** `string` (default: single)

Whether the recipient may swap the gift. One of `single` (swap once), `multiple` (swap freely), or `disabled` (no swapping).

**from\_name** `string`

The "From" name the recipient sees. When the user states a From name, pass it. Defaults to the authenticated user.

**payment\_method\_id** `string`

Optional. A funding source — from [`goody_payment_methods_list`](https://developer.ongoody.com/mcp-reference/tools/payment-methods-list). When supplied, the result echoes the resolved `payment_method` so the user can confirm where the charge would land.

## Returns

**cart\_price** `object`

The cart subtotal before tax and shipping.

**total\_price** `object`

The full total — subtotal, tax, and shipping. Relay this to the user.

**from\_name** `string`

The resolved sender name. Show it to the user so they can confirm who the gift is from.

**notification\_preview** `string`

How recipients are reached for the chosen `send_method` (e.g. emailed a link, or shipped directly). State this before sending.

**payment\_method** `object | null`

The resolved funding source — present only when a `payment_method_id` was supplied.

**payment\_method**

**id** `string`

The payment-method UUID, or the `BALANCE` / `WORKSPACE_BALANCE` / `CORPORATE_ACCOUNT` sentinel.

**name** `string`

Display name, e.g. "Visa 1234".

## Example

```text 💬 Prompt theme={null}
"How much to send the Brightland olive oil set to Jane Doe (jane@acme.com)?"
```

```json 🔧 Tool call theme={null}
{
  "name": "goody_order_batches_price",
  "arguments": {
    "workspace_id": "3f8a…",
    "product_id": "9a17…",
    "recipients": [
      { "name": "Jane Doe", "email": "jane@acme.com" }
    ]
  }
}
```

```json ↩️ Result theme={null}
{
  "cart_price": { "subtotal": 5200, "currency": "USD" },
  "total_price": { "subtotal": 5200, "tax": 442, "shipping": 0, "total": 5642, "currency": "USD" },
  "from_name": "Jordan at Acme",
  "notification_preview": "Goody will email Jane Doe a link to claim the gift.",
  "payment_method": null
}
```

> [!TIP]
>
> For a shareable preview link the user can review before sending, use [`goody_order_batches_preview`](https://developer.ongoody.com/mcp-reference/tools/order-batches-preview). When the user confirms, send it with [`goody_order_batches_create`](https://developer.ongoody.com/mcp-reference/tools/order-batches-create).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.