MetorialDocs

Set up Gift Up! in Metorial for Claude, ChatGPT and Cursor

Share Gift Up! with your team in Claude, ChatGPT and Cursor through Metorial: API key sign-in, 27 tools (14 read-only).

To give your team Gift Up! in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Gift Up! integration in a Metorial portal, and each person connects with an API key. Agents can create, manage, redeem, and track Gift Up! gift cards and orders. The integration has 27 tools, 14 read-only, 7 write and 6 destructive, plus 4 triggers.

What you'll learn

  • How an admin shares Gift Up! in a portal and how each person connects
  • What Gift Up! asks for when you connect, and where to find it
  • How to keep the 14 read-only tools and reject the other 13

Before you start

Sign-in method

MethodTypeWhat a person provides
API KeyAPI tokentoken

API Key

To connect, a person enters:

  • token: Gift Up! API key. Found in Settings > Integrations > Gift Up! REST API > API Keys

Setup settings

Setup also asks for:

  • testMode (optional): Enable test mode to operate against sandbox data without affecting live data

Admin: share Gift Up! in a portal

In the dashboard

Open Shared Resources

Open Workforce, choose the portal, and select Shared Resources under Access.

Share a new integration

Select Share a Resource, then New Integration, and choose Gift Up!. For how members connect, choose Each person connects so everyone enters their own API key, or Shared connection to enter one API key for everyone.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Gift Up!.

Choose who gets it

Add the access groups that should see Gift Up!. When a person asks for access from the portal, the request appears under Access Requests.

With the CLI

The CLI cannot create the per-user Gift Up! integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search "gift up!"

Employee: connect Gift Up!

In the portal

Open Gift Up! in the catalog

Sign in to your portal and open Gift Up!. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. In the setup window, enter your API key (token).

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search "gift up!"
metorial setup <catalog-item-id>

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your Gift Up! connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.

metorial list "gift up!"
metorial client list
metorial install <client-identifier> <integration-id>

For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.

Make it read-only

Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 14 read-only tools, such as get_item and get_order, and lose the 7 write tools, such as manage_item or create_order, and the 6 destructive tools, such as delete_item or void_gift_card.

Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.

Check it worked

metorial list "gift up!"
metorial tools <integration-id>
metorial call <integration-id> list_locations -d '{}'

metorial tools lists the 27 tools, minus any you rejected. list_locations takes no input. It lists all physical locations configured in the account.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (14)

  • list_item_groups: List all item groups configured in the account.
  • list_transactions: Retrieve financial transactions for orders and gift cards.
  • get_company: Identify the company/account authorized by the API key, including its ID, name, currency, and onboarding status.
  • get_gift_card: Retrieve a gift card by its code. Needs code.
  • list_items: List all items (products) available for sale in the Gift Up! checkout.
  • list_gift_cards: Search and list gift cards with flexible filtering by status, dates, email, SKU, or order.
  • list_locations: List all physical locations configured in the account.
  • get_order: Retrieve full order details by order ID, including gift cards, purchaser info, revenue, custom fields, notes, and download links. Needs orderId.
  • get_transaction: Retrieve a financial transaction by ID, including its order, gift card, financial changes, actor, and metadata.
  • get_shipping_settings: Discover delivery methods and shipping option IDs, prices, and country restrictions for create_order.
  • get_item_group: Retrieve an item group by ID.
  • get_item: Retrieve an item and its pricing, balances, stock, codes, availability, and expiry settings.
  • list_promotions: List checkout promotions with their benefits, triggers, usage, and limitations.
  • list_orders: Find orders by creation date, purchaser email, or source.

Write tools (7)

  • top_up_gift_card: Add credit or units to an existing gift card's balance. Needs code.
  • reactivate_gift_card: Reactivate a previously voided gift card, restoring it to an active state so it can be redeemed again. Needs code.
  • create_order: Create a new order containing one or more gift cards. Needs purchaserEmail, purchaserName and items.
  • update_gift_card: Update properties of a gift card such as title, expiry date, valid-from date, recipient details, SKU, and terms. Needs code.
  • manage_item_group: Create a new item group or update an existing one.
  • manage_item: Create a new item (product) for sale in the Gift Up! checkout, or update an existing item.
  • update_order: Update order details, add notes, or mark a postal order as posted. Needs orderId.

Destructive tools (6)

  • undo_redemption: Reverse a previous gift card redemption using its transaction ID. Needs code and transactionId.
  • delete_item: Permanently delete an item (product) from the Gift Up! checkout. Needs itemId.
  • void_gift_card: Void a gift card, preventing it from being redeemed. Needs code.
  • delete_item_group: Permanently delete an item group. Needs groupId.
  • redeem_gift_card: Redeem a gift card either partially (by specifying an amount or units) or in full. Needs code.
  • transfer_balances: Transfer balances from one or more source gift cards to a single destination gift card. Needs sourceGiftCards and destinationGiftCard.

Triggers

Gift Up! has 4 triggers, which fire on events in Gift Up!:

  • gift_card_redeemed: Fires when a gift card is redeemed, either partially or in full.
  • gift_card_created: Fires when a new gift card is created, either as part of an order or via the API.
  • gift_card_updated: Fires when a gift card is updated (e.g., properties changed, topped up, voided, or reactivated).
  • order_created: Fires when a new order is placed in the Gift Up! checkout or created via the API.

Next steps