brinkcommerce-dev-mcp

v0.1.0
brinkcommerce-dev-mcp Checked 3 days ago Published 3 months ago

BrinkCommerce MCP Server - API documentation and management tools for products, orders, inventory, prices, discounts, taxes, and stores

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_docs_info

🏁 START HERE! Get comprehensive Brink Commerce platform overview, architecture, capabilities, and usage guide. Essential first step to understand what you can build and how to approach development with Brink APIs.

search_schemas

Search across all Brink/BrinkCommerce APIs for data models containing specific fields. Perfect for finding how to work with products, orders, customers, prices, inventory, etc. Often more useful than browsing APIs randomly.

ParameterTypeDescription
query *stringSearch term to find in schema names, descriptions, or field names (e.g., 'email', 'price', 'stock', 'customer', 'product')

list_apis

List all available Brink/BrinkCommerce API specifications. 📚 TIP: Try 'get_docs_info' first to understand the platform, then use this to browse specific APIs. Returns categorized APIs you can explore further.

get_api_info

Get detailed information about a specific Brink API including endpoints, schemas, and purpose. Perfect for exploring what an API offers before diving into specific endpoints.

ParameterTypeDescription
apiName *stringName of the API specification (e.g., 'product-management', 'order-management', 'shopper-klarna')

list_endpoints

List all endpoints for a Brink API with optional filtering by HTTP method or tag. Great for discovering available operations like creating products, processing orders, or managing inventory.

ParameterTypeDescription
apiName *stringName of the API specification (e.g., 'product-management', 'order-management')
methodstringFilter by HTTP method (e.g., 'GET' for retrieval, 'POST' for creation)
tagstringFilter by OpenAPI tag/category (e.g., 'Products', 'Orders', 'Customers')

get_endpoint_details

Get comprehensive details about a specific endpoint including parameters, request/response schemas, and authentication requirements. Essential for implementing API calls.

ParameterTypeDescription
apiName *stringName of the API specification (e.g., 'product-management', 'order-management')
method *stringHTTP method
path *stringAPI path (e.g., /products/{id}, /orders, /carts/{cartId}/items)

list_schemas

List all data models/schemas for a Brink API. See the structure of products, orders, customers, and other commerce entities used by the API.

ParameterTypeDescription
apiName *stringName of the API specification (e.g., 'product-management', 'order-management')

get_schema

Get detailed information about a specific data model/schema including all fields, types, and validation rules. Essential for understanding data structures in Brink Commerce.

ParameterTypeDescription
apiName *stringName of the API specification (e.g., 'product-management', 'order-management')
schemaName *stringName of the schema (e.g., Product, Order, Customer, Cart)

get_product_parent

Get a product parent by ID from BrinkCommerce. Returns the product parent details including name, description, translations, and status.

ParameterTypeDescription
productParentId *stringUnique identifier for the product parent

create_product_parent

Create or update a product parent in BrinkCommerce. A product parent is the top-level container for product variants.

ParameterTypeDescription
description *stringDescription of the product parent
displayDescriptions *objectTranslations for product description (e.g., {"en": "Description", "sv": "Beskrivning"})
displayNames *objectTranslations for product name (e.g., {"en": "Product", "sv": "Produkt"})
name *stringDescriptive name of the product parent
productParentId *stringUnique identifier for the product parent
customAttributesobjectCustom attributes available in Shopper Cart (max 20 char keys, 500 char values)
imageUrlstringProduct image URL (absolute URI)
isActivebooleanWhether the product parent is active

delete_product_parent

Delete a product parent from BrinkCommerce. WARNING: This will permanently remove the product parent and may affect associated variants.

ParameterTypeDescription
productParentId *stringUnique identifier for the product parent to delete

patch_product_parent

Partially update a product parent in BrinkCommerce. Only updates the fields that are provided - other fields remain unchanged.

ParameterTypeDescription
productParentId *stringUnique identifier for the product parent to update
customAttributesobjectCustom attributes available in Shopper Cart (max 20 char keys, 500 char values)
descriptionstringDescription of the product parent
displayDescriptionsobjectTranslations for product description (e.g., {"en": "Description", "sv": "Beskrivning"})
displayNamesobjectTranslations for product name (e.g., {"en": "Product", "sv": "Produkt"})
imageUrlstringProduct image URL (absolute URI)
isActivebooleanWhether the product parent is active
isArchivedbooleanWhether the product parent is archived
namestringDescriptive name of the product parent

archive_product_parent

Archive a product parent in BrinkCommerce. This is a soft delete that marks the product as archived. Optionally archives all associated product variants as well.

ParameterTypeDescription
productParentId *stringUnique identifier for the product parent to archive
includeProductVariantsbooleanWhether to also archive all product variants associated with this product parent. Defaults to true.

get_product_variant

Get a product variant by ID from BrinkCommerce. Returns variant details including name, description, pricing, and stock info.

ParameterTypeDescription
productVariantId *stringUnique identifier for the product variant

list_product_variants

List all product variants for a product parent. Returns all variants associated with the specified product parent.

ParameterTypeDescription
productParentId *stringProduct parent ID to get variants for

create_product_variant

Create or update a product variant in BrinkCommerce. A product variant is the actual sellable product (e.g., size, color).

ParameterTypeDescription
description *stringVariant description
displayDescriptions *objectTranslations for variant description
displayNames *objectTranslations for variant name (e.g., {"en": "Small Blue", "sv": "Liten Blå"})
imageUrl *stringVariant image URL (absolute URI)
name *stringVariant name
productParentId *stringProduct parent ID this variant belongs to
productVariantId *stringUnique identifier for the product variant
taxGroupId *stringTax group ID for the variant
customAttributesobjectCustom attributes available in Shopper Cart
dimensionsobjectProduct dimensions in millimeters (all fields required if provided)
isActivebooleanWhether the variant is active
shippingAttributesarrayShipping attributes for the variant
tagsobjectDiscount tags for the variant (e.g., {"discount": ["summer-sale", "clearance"]})
weightintegerWeight in grams

delete_product_variant

Delete a product variant from BrinkCommerce. WARNING: This will permanently remove the variant.

ParameterTypeDescription
productVariantId *stringUnique identifier for the product variant to delete

patch_product_variant

Partially update a product variant in BrinkCommerce. Only updates the fields that are provided - other fields remain unchanged.

ParameterTypeDescription
productVariantId *stringUnique identifier for the product variant to update
customAttributesobjectCustom attributes available in Shopper Cart
descriptionstringVariant description
dimensionsobjectProduct dimensions in millimeters (all fields required if provided)
displayDescriptionsobjectTranslations for variant description
displayNamesobjectTranslations for variant name (e.g., {"en": "Small Blue", "sv": "Liten Blå"})
imageUrlstringVariant image URL (absolute URI)
isActivebooleanWhether the variant is active
isArchivedbooleanWhether the variant is archived
namestringVariant name
productParentIdstringProduct parent ID to move the variant to (if changing)
shippingAttributesarrayShipping attributes for the variant
tagsobjectDiscount tags for the variant (e.g., {"discount": ["summer-sale", "clearance"]})
taxGroupIdstringTax group ID for the variant
weightintegerWeight in grams

get_addon

Get an addon by ID from BrinkCommerce. Addons are additional items that can be attached to products (e.g., gift wrapping, insurance).

ParameterTypeDescription
addonId *stringUnique identifier for the addon

create_or_update_addon

Create or update an addon in BrinkCommerce. Addons are additional items that can be attached to products (e.g., gift wrapping, insurance).

ParameterTypeDescription
addonId *stringUnique identifier for the addon
description *stringDescription of the addon
displayDescriptions *objectTranslations for addon description
displayNames *objectTranslations for addon name (e.g., {"en": "Gift Wrap", "sv": "Presentförpackning"})
imageUrl *stringAddon image URL (absolute URI)
name *stringDescriptive name of the addon
taxGroupId *stringTax group ID for the addon
customAttributesobjectCustom attributes available in Shopper Cart
isActivebooleanWhether the addon is active
tagsobjectDiscount tags for the addon

delete_addon

Delete an addon from BrinkCommerce. WARNING: This will permanently remove the addon.

ParameterTypeDescription
addonId *stringUnique identifier for the addon to delete

patch_addon

Partially update an addon in BrinkCommerce. Only updates the fields that are provided - other fields remain unchanged.

ParameterTypeDescription
addonId *stringUnique identifier for the addon to update
customAttributesobjectCustom attributes available in Shopper Cart
descriptionstringDescription of the addon
displayDescriptionsobjectTranslations for addon description
displayNamesobjectTranslations for addon name (e.g., {"en": "Gift Wrap", "sv": "Presentförpackning"})
imageUrlstringAddon image URL (absolute URI)
isActivebooleanWhether the addon is active
isArchivedbooleanWhether the addon is archived
namestringDescriptive name of the addon
tagsobjectDiscount tags for the addon
taxGroupIdstringTax group ID for the addon

list_product_parent_addons

List all addons associated with a product parent. Returns all addon configurations for the specified product.

ParameterTypeDescription
productParentId *stringProduct parent ID to get addons for

add_product_parent_addon

Add an addon to a product parent. Associates an existing addon with a product so it can be purchased together.

ParameterTypeDescription
addonId *stringAddon ID to associate with the product
productParentId *stringProduct parent ID to add the addon to

remove_product_parent_addon

Remove an addon from a product parent. Removes the association between an addon and a product.

ParameterTypeDescription
addonId *stringAddon ID to remove from the product
productParentId *stringProduct parent ID to remove the addon from

create_or_update_store_group

Create or update a store group in BrinkCommerce. Store groups are containers for organizing stores by channel type (B2C or B2B).

ParameterTypeDescription
description *stringDescription of the store group
name *stringDescriptive name of the store group
storeGroupId *stringUnique identifier for the store group
channelTypestringChannel type for the store group (B2C or B2B). Cannot be changed after creation.
countryOfSalestringHome country of the selling entity (ISO-3166-1 alpha-2, e.g., SE, NO). Used for B2B tax calculations.

create_or_update_store_market

Create or update a store market configuration. Store markets define country-specific settings within a store group (currency, tax settings, etc.).

ParameterTypeDescription
countryCode *stringISO-3166-1 alpha-2 country code (e.g., SE, NO, DK)
currencyCode *stringISO 4217 currency code (e.g., SEK, NOK, EUR)
isTaxIncludedInPrice *booleanWhether tax is included in the price. Can only be true for B2C channel types.
storeGroupId *stringStore group ID this market belongs to
isTaxExemptionEligiblebooleanWhether the market is eligible for tax exemption. Typically true for all B2B markets except the merchant's home market.

delete_store_group

Delete a store group from BrinkCommerce. WARNING: This will also delete all associated store markets.

ParameterTypeDescription
storeGroupId *stringUnique identifier for the store group to delete

delete_store_market

Delete a store market from a store group. This removes the country-specific configuration.

ParameterTypeDescription
countryCode *stringISO-3166-1 alpha-2 country code of the market to delete (e.g., SE, NO)
storeGroupId *stringStore group ID the market belongs to

list_store_groups

List all store groups in BrinkCommerce. Returns all configured store groups with their details including channel type, name, and description.

get_store_group

Get a specific store group by ID from BrinkCommerce. Returns full details including channel type, name, description, and timestamps.

ParameterTypeDescription
storeGroupId *stringUnique identifier for the store group

list_store_markets

List all store markets for a store group. Returns country-specific configurations including currency, tax settings, and capabilities.

ParameterTypeDescription
storeGroupId *stringStore group ID to list markets for

patch_store_group

Partial update of a store group in BrinkCommerce. Only updates the fields provided. Note: channelType cannot be changed after creation.

ParameterTypeDescription
storeGroupId *stringUnique identifier for the store group to update
countryOfSalestringHome country of the selling entity (ISO-3166-1 alpha-2, e.g., SE, NO). Used for B2B tax calculations. Set to null to remove.
descriptionstringNew description of the store group
namestringNew descriptive name of the store group

patch_store_market

Partial update of a store market in BrinkCommerce. Only updates the fields provided. Use this to modify tax settings, currency, or archive status.

ParameterTypeDescription
countryCode *stringISO-3166-1 alpha-2 country code of the market (e.g., SE, NO)
storeGroupId *stringStore group ID the market belongs to
currencyCodestringNew ISO 4217 currency code (e.g., SEK, NOK, EUR)
isArchivedbooleanWhether this market is archived.
isTaxExemptionEligiblebooleanWhether the market is eligible for tax exemption. Typically true for all B2B markets except the merchant's home market.
isTaxIncludedInPricebooleanWhether tax is included in the price. Can only be true for B2C channel types.

update_product_variant_inventory

Update inventory levels for a product variant at a specific inventory location in BrinkCommerce.

ParameterTypeDescription
inventoryId *stringUnique identifier for the inventory location (warehouse, store, etc.)
productVariantId *stringUnique identifier for the product variant
quantity *integerStock quantity at this location

delete_product_variant_inventory

Delete inventory configuration for a product variant at a specific inventory location. WARNING: This removes the inventory record.

ParameterTypeDescription
inventoryId *stringUnique identifier for the inventory location to remove
productVariantId *stringUnique identifier for the product variant

list_inventories

List all inventory locations (warehouses, stores, etc.) in BrinkCommerce.

get_inventory

Get details of a specific inventory location in BrinkCommerce.

ParameterTypeDescription
inventoryId *stringUnique identifier for the inventory location

create_or_update_inventory

Create or update an inventory location (warehouse, store, etc.) in BrinkCommerce.

ParameterTypeDescription
description *stringA description of the inventory location
inventoryId *stringUnique identifier for the inventory location
name *stringA descriptive name for the inventory location
addressobjectPhysical address of the inventory location
typestringThe type of inventory location (defaults to WAREHOUSE)

delete_inventory

Delete an inventory location from BrinkCommerce. WARNING: This removes the inventory location permanently.

ParameterTypeDescription
inventoryId *stringUnique identifier for the inventory location to delete

get_product_variant_stock

Get stock information for a product variant including total quantity and per-inventory breakdown.

ParameterTypeDescription
productVariantId *stringUnique identifier for the product variant

update_product_variant_stock_config

Update stock configuration for a product variant (e.g., whether stock should be validated).

ParameterTypeDescription
productVariantId *stringUnique identifier for the product variant
validateStock *booleanWhether stock should be validated for this product variant

patch_product_variant_inventory

Adjust inventory quantity for a product variant (add or subtract from current stock). Use positive values to add stock, negative values to remove stock.

ParameterTypeDescription
inventoryId *stringUnique identifier for the inventory location
productVariantId *stringUnique identifier for the product variant
quantityAdjustment *integerThe quantity to adjust (e.g., -10 removes 10 from stock, +5 adds 5 to stock)

get_store_market_inventories

Get store market configuration with associated inventory locations and their priorities.

ParameterTypeDescription
countryCode *stringISO-3166-1 alpha-2 country code (e.g., SE, NO, DK)
storeGroupId *stringUnique identifier for the store group

update_store_market_inventories

Update the inventory locations for a store market. Sets which inventories serve the market and their priority order.

ParameterTypeDescription
countryCode *stringISO-3166-1 alpha-2 country code (e.g., SE, NO, DK)
inventoryIds *arrayArray of inventory IDs in priority order (first = highest priority)
storeGroupId *stringUnique identifier for the store group

update_product_variant_prices

Update prices for a product variant in a store group across multiple markets. Supports base price, sale price, and reference price in minor currency units (e.g., cents).

ParameterTypeDescription
productVariantId *stringProduct variant ID to set prices for
productVariantPrices *arrayArray of prices for different markets (max 200 entries)
storeGroupId *stringStore group ID where prices will be set

delete_product_variant_prices

Delete all prices for a product variant in a store group. WARNING: This removes all market-specific pricing.

ParameterTypeDescription
productVariantId *stringProduct variant ID to delete prices for
storeGroupId *stringStore group ID where prices will be deleted

get_product_variant_all_prices

Get all prices for a product variant across all store groups. Returns prices organized by store group and market.

ParameterTypeDescription
productVariantId *stringProduct variant ID to get prices for

get_product_variant_prices

Get prices for a product variant in a specific store group. Returns all market-specific prices for the variant.

ParameterTypeDescription
productVariantId *stringProduct variant ID to get prices for
storeGroupId *stringStore group ID to get prices from

get_product_variant_price

Get the price for a product variant in a specific market. Returns the full price details including base, sale, and reference prices.

ParameterTypeDescription
countryCode *stringISO-3166-1 alpha-2 country code (e.g., SE, NO, DK)
productVariantId *stringProduct variant ID to get price for
storeGroupId *stringStore group ID

get_addon_price

Get the price for an addon in a specific market. Returns the full price details including base, sale, and reference prices.

ParameterTypeDescription
addonId *stringAddon ID to get price for
countryCode *stringISO-3166-1 alpha-2 country code (e.g., SE, NO, DK)
storeGroupId *stringStore group ID

patch_product_variant_prices

Partially update prices for a product variant in a store group. Only updates the specified price fields for the specified markets.

ParameterTypeDescription
priceUpdates *objectMap of country codes to price updates. Each entry specifies which price fields to update for that market.
productVariantId *stringProduct variant ID to update prices for
storeGroupId *stringStore group ID where prices will be updated

get_order

Retrieve order details by order ID from BrinkCommerce. Returns complete order information including lines, totals, status, and customer data.

ParameterTypeDescription
orderId *stringThe order ID to retrieve (UUID format)

get_order_by_reference

Retrieve order details by order reference from BrinkCommerce. The reference is the shorter, human-readable order identifier.

ParameterTypeDescription
reference *stringThe order reference (e.g., 'ORD-12345')

cancel_order

Cancel an order in BrinkCommerce. Creates a cancellation request for the entire order. WHY CONFIRMATION MATTERS: Canceling orders affects real customer transactions, inventory reservations, and may trigger payment reversals. This operation cannot be easily undone and has financial implications.

ParameterTypeDescription
orderId *stringThe order ID to cancel (UUID format)
reasonobjectOptional reason for the cancellation (useful for BI tracking and customer communication)

refund_order

Create a refund for an order in BrinkCommerce. Refunds can only be created after deliveries exist. WHY CONFIRMATION MATTERS: Refunds process real money back to customers and affect inventory, accounting, and payment provider balances. Incorrect refunds can lead to financial losses and customer confusion. This operation has irreversible financial consequences.

ParameterTypeDescription
orderId *stringThe order ID to refund (UUID format)
feeobjectOptional refund fee. Only applies to amount sent to payment provider (not gift cards or bonus points). Supported by: Adyen, KlarnaCheckout, WalleyCheckout. If fee exceeds total refund, uses total refu…
giftCardProductsarrayOptional: Gift card products to refund
giftsarrayOptional: Order gifts to refund
orderLinesarrayOptional: Specific order lines to refund. If not provided, entire order may be refunded based on what's available.
reasonobjectOptional reason for the refund (useful for BI tracking and customer communication)
shippingFeesarrayOptional: Shipping fee IDs to refund

import_order

Import an external order into BrinkCommerce. This endpoint allows importing orders from external systems without creating a Shopper Session first. WHY CONFIRMATION MATTERS: Importing orders creates real order records in the system with financial implications. This operation should be used carefully during migration or integration scenarios.

ParameterTypeDescription
importId *stringThe external import ID for this order (1-100 characters). Brink order ID & reference will be generated on successful import.
request *objectComplete order import request with all required fields

get_imported_order

Get an imported order by import ID from BrinkCommerce. Returns the complete order information for an order that was previously imported using the import_order tool.

ParameterTypeDescription
importId *stringThe import ID that was used when importing the order

create_delivery

Create a delivery for an order in BrinkCommerce. Deliveries track the fulfillment of order items. This operation creates a delivery record that can later be started to trigger fulfillment workflows.

ParameterTypeDescription
orderId *stringThe order ID to create delivery for (UUID format)
orderLines *arrayOrder lines to include in the delivery (at least 1 required)
giftCardProductsarrayOptional: Gift card products to include in delivery
giftsarrayOptional: Order gifts to include in delivery
shippingFeesarrayOptional: Shipping fee IDs to include in delivery

get_delivery

Retrieve delivery details by delivery ID from BrinkCommerce. Returns complete delivery information including items, status, and tracking data.

ParameterTypeDescription
deliveryId *stringThe delivery ID to retrieve (UUID format)

update_delivery

Update a delivery in BrinkCommerce. Allows modifying delivery contents before it has been started. Cannot update a delivery that has already been started.

ParameterTypeDescription
deliveryId *stringThe delivery ID to update (UUID format)
orderLines *arrayUpdated order lines for the delivery (at least 1 required)
giftCardProductsarrayOptional: Updated gift card products
giftsarrayOptional: Updated order gifts
shippingFeesarrayOptional: Updated shipping fee IDs

delete_delivery

Delete a delivery in BrinkCommerce. Can only delete deliveries that have not been started. WHY CONFIRMATION MATTERS: Deleting deliveries affects fulfillment workflows and inventory reservations. This operation cannot be undone.

ParameterTypeDescription
deliveryId *stringThe delivery ID to delete (UUID format)

start_delivery

Start a delivery in BrinkCommerce. This triggers the fulfillment workflow and notifies shipping providers. Once started, the delivery cannot be modified or deleted. By default, all actions (payment capture, shipping notification, etc.) are handled automatically. Use the action parameters to skip or manually handle specific actions.

ParameterTypeDescription
deliveryId *stringThe delivery ID to start (UUID format)
bonusActionstringHow to handle bonus point redemption. AUTO (default): redeem via bonus provider. MANUAL: provide transactionId. SKIP: don't redeem bonus points.
bonusTransactionIdstringRequired when bonusAction is MANUAL. The bonus transaction ID.
captureReferencestringRequired when paymentAction is MANUAL. The external capture reference.
giftCardActionstringHow to handle gift card redemption. AUTO (default): redeem via gift card provider. MANUAL: provide gift card details. SKIP: don't redeem gift cards.
paymentActionstringHow to handle payment capture. AUTO (default): capture via payment provider. MANUAL: provide captureReference. SKIP: don't capture payment.
reasonCausestringOptional human-readable cause for the delivery (max 300 characters)
reasonCodestringOptional reason code for the delivery (max 100 characters)
shippingActionstringHow to handle shipping notification. AUTO (default): notify via shipping provider. MANUAL: provide tracking details. SKIP: don't notify shipping provider.
shippingCompanystringOptional when shippingAction is MANUAL. The shipping company name.
shippingMethodstringRequired when shippingAction is MANUAL. The shipping method name.
trackingReferencestringRequired when shippingAction is MANUAL. The tracking reference/number.
trackingUrlstringRequired when shippingAction is MANUAL. URL to track the shipment.

restart_delivery

Restart a failed delivery in BrinkCommerce. Use this when a delivery has failed and needs to be retried. This will re-trigger the fulfillment workflow.

ParameterTypeDescription
deliveryId *stringThe delivery ID to restart (UUID format)

get_cancellation

Retrieve cancellation details by cancellation ID from BrinkCommerce. Returns complete cancellation information including status and reason.

ParameterTypeDescription
cancellationId *stringThe cancellation ID to retrieve (UUID format)

delete_cancellation

Delete a cancellation in BrinkCommerce. Can only delete cancellations that have not been started. WHY CONFIRMATION MATTERS: Deleting cancellations affects order status and inventory reservations. This operation cannot be undone.

ParameterTypeDescription
cancellationId *stringThe cancellation ID to delete (UUID format)

start_cancellation

Start a cancellation in BrinkCommerce. This triggers the cancellation workflow, releases inventory, and may process payment reversals. Once started, the cancellation cannot be deleted. By default, all actions (payment release, gift card release, etc.) are handled automatically. Use the action parameters to skip or manually handle specific actions.

ParameterTypeDescription
cancellationId *stringThe cancellation ID to start (UUID format)
bonusActionstringHow to handle bonus point release. AUTO (default): release via bonus provider. MANUAL: handle bonus release externally. SKIP: don't release bonus points.
giftCardActionstringHow to handle gift card release. AUTO (default): release via gift card provider. MANUAL: handle gift card release externally. SKIP: don't release gift cards.
giftCardProductActionstringHow to handle gift card product release. AUTO (default): release via provider. MANUAL: handle externally. SKIP: don't release gift card products.
paymentActionstringHow to handle payment release. AUTO (default): release via payment provider. MANUAL: handle payment release externally. SKIP: don't release payment.

restart_cancellation

Restart a failed cancellation in BrinkCommerce. Use this when a cancellation has failed and needs to be retried. This will re-trigger the cancellation workflow. Use the action parameters to control how each provider action is handled.

ParameterTypeDescription
cancellationId *stringThe cancellation ID to restart (UUID format)
bonusActionstringHow to handle bonus point release. AUTO (default): release via bonus provider. MANUAL: handle bonus release externally. SKIP: don't release bonus points.
giftCardActionstringHow to handle gift card release. AUTO (default): release via gift card provider. MANUAL: handle gift card release externally. SKIP: don't release gift cards.
giftCardProductActionstringHow to handle gift card product release. AUTO (default): release via provider. MANUAL: handle externally. SKIP: don't release gift card products.
paymentActionstringHow to handle payment release. AUTO (default): release via payment provider. MANUAL: handle payment release externally. SKIP: don't release payment.

get_refund

Retrieve refund details by refund ID from BrinkCommerce. Returns complete refund information including status, amount, and payment details.

ParameterTypeDescription
refundId *stringThe refund ID to retrieve (UUID format)

update_refund

Update a refund in BrinkCommerce. Allows modifying refund contents before it has been started. Cannot update a refund that has already been started.

ParameterTypeDescription
refundId *stringThe refund ID to update (UUID format)
feeobjectOptional updated refund fee. Only applies to amount sent to payment provider (not gift cards or bonus points). Supported by: Adyen, KlarnaCheckout, WalleyCheckout.
giftCardProductsarrayOptional: Updated gift card products to refund
giftsarrayOptional: Updated order gifts to refund
orderLinesarrayOptional: Updated order lines to refund
reasonobjectOptional updated reason for the refund
shippingFeesarrayOptional: Updated shipping fee IDs to refund

delete_refund

Delete a refund in BrinkCommerce. Can only delete refunds that have not been started. WHY CONFIRMATION MATTERS: Deleting refunds affects financial records and payment provider balances. This operation cannot be undone.

ParameterTypeDescription
refundId *stringThe refund ID to delete (UUID format)

start_refund

Start a refund in BrinkCommerce. This triggers the refund workflow and processes payment reversals with the payment provider. Once started, the refund cannot be modified or deleted. By default, all actions (payment refund, gift card refund, etc.) are handled automatically. Use the action parameters to skip or manually handle specific actions.

ParameterTypeDescription
refundId *stringThe refund ID to start (UUID format)
bonusActionstringHow to handle bonus point refund. AUTO (default): refund via bonus provider. MANUAL: handle bonus refund externally. SKIP: don't refund bonus points.
giftCardActionstringHow to handle gift card refund. AUTO (default): refund via gift card provider. MANUAL: handle gift card refund externally. SKIP: don't refund gift cards.
giftCardProductActionstringHow to handle gift card product refund. AUTO (default): refund via provider. MANUAL: handle externally. SKIP: don't refund gift card products.
paymentActionstringHow to handle payment refund. AUTO (default): refund via payment provider. MANUAL: handle payment refund externally. SKIP: don't refund payment.

restart_refund

Restart a failed refund in BrinkCommerce. Use this when a refund has failed and needs to be retried. This will re-trigger the refund workflow and payment reversal. Use the action parameters to control how each provider action is handled.

ParameterTypeDescription
refundId *stringThe refund ID to restart (UUID format)
bonusActionstringHow to handle bonus point refund. AUTO (default): refund via bonus provider. MANUAL: handle bonus refund externally. SKIP: don't refund bonus points.
giftCardActionstringHow to handle gift card refund. AUTO (default): refund via gift card provider. MANUAL: handle gift card refund externally. SKIP: don't refund gift cards.
giftCardProductActionstringHow to handle gift card product refund. AUTO (default): refund via provider. MANUAL: handle externally. SKIP: don't refund gift card products.
paymentActionstringHow to handle payment refund. AUTO (default): refund via payment provider. MANUAL: handle payment refund externally. SKIP: don't refund payment.

create_release

Create a release for an order in BrinkCommerce. Releases free up inventory without canceling the order. Use this when you need to release inventory reservations but keep the order active.

ParameterTypeDescription
orderId *stringThe order ID to create release for (UUID format)
orderLines *arrayOrder lines to release (at least 1 required)
giftsarrayOptional: Order gifts to release
reasonobjectOptional reason for the release

get_release

Retrieve release details by release ID from BrinkCommerce. Returns complete release information including items and status.

ParameterTypeDescription
releaseId *stringThe release ID to retrieve (UUID format)

delete_release

Delete a release in BrinkCommerce. Can only delete releases that have not been started. WHY CONFIRMATION MATTERS: Deleting releases affects inventory reservations. This operation cannot be undone.

ParameterTypeDescription
releaseId *stringThe release ID to delete (UUID format)

start_release

Start a release in BrinkCommerce. This triggers the release workflow and frees up inventory reservations. Once started, the release cannot be deleted. By default, all actions (payment release, gift card release, etc.) are handled automatically. Use the action parameters to skip or manually handle specific actions.

ParameterTypeDescription
releaseId *stringThe release ID to start (UUID format)
bonusActionstringHow to handle bonus point release. AUTO (default): release via bonus provider. MANUAL: handle bonus release externally. SKIP: don't release bonus points.
giftCardActionstringHow to handle gift card release. AUTO (default): release via gift card provider. MANUAL: handle gift card release externally. SKIP: don't release gift cards.
giftCardProductActionstringHow to handle gift card product release. AUTO (default): release via provider. MANUAL: handle externally. SKIP: don't release gift card products.
paymentActionstringHow to handle payment release. AUTO (default): release via payment provider. MANUAL: handle payment release externally. SKIP: don't release payment.

restart_release

Restart a failed release in BrinkCommerce. Use this when a release has failed and needs to be retried. This will re-trigger the release workflow. Use the action parameters to control how each provider action is handled.

ParameterTypeDescription
releaseId *stringThe release ID to restart (UUID format)
bonusActionstringHow to handle bonus point release. AUTO (default): release via bonus provider. MANUAL: handle bonus release externally. SKIP: don't release bonus points.
giftCardActionstringHow to handle gift card release. AUTO (default): release via gift card provider. MANUAL: handle gift card release externally. SKIP: don't release gift cards.
giftCardProductActionstringHow to handle gift card product release. AUTO (default): release via provider. MANUAL: handle externally. SKIP: don't release gift card products.
paymentActionstringHow to handle payment release. AUTO (default): release via payment provider. MANUAL: handle payment release externally. SKIP: don't release payment.

get_orders_by_email

Search for orders by customer's billing email address. Returns up to 100 order summaries. Useful for looking up orders for a specific customer.

ParameterTypeDescription
email *stringThe email address to search for
fromstringOptional: Start date filter (RFC3339 format, e.g., '2024-01-01T00:00:00Z')
tostringOptional: End date filter (RFC3339 format, e.g., '2024-12-31T23:59:59Z')

get_orders_by_merchant_ref

Search for orders by merchant reference 1. Returns up to 100 order summaries. Useful for finding orders based on external system references.

ParameterTypeDescription
merchantRef1 *stringThe merchant reference to search for
fromstringOptional: Start date filter (RFC3339 format)
tostringOptional: End date filter (RFC3339 format)

get_order_history

Get the complete history of operations performed on an order. Shows all status changes and actions taken.

ParameterTypeDescription
orderId *stringThe order ID (UUID format)

get_order_reservation

Get information about the stock that was reserved when the order was placed. Shows which inventory locations and quantities were reserved.

ParameterTypeDescription
orderId *stringThe order ID (UUID format)

delete_order

Delete an order from BrinkCommerce. Can only delete orders older than 30 days. WHY CONFIRMATION MATTERS: Permanently removes order data which cannot be recovered.

ParameterTypeDescription
orderId *stringThe order ID to delete (UUID format)

list_order_deliveries

Get all deliveries for an order. Shows fulfillment status and tracking information.

ParameterTypeDescription
orderId *stringThe order ID (UUID format)

list_order_cancellations

Get all cancellations for an order. Shows cancellation status and reasons.

ParameterTypeDescription
orderId *stringThe order ID (UUID format)

list_order_refunds

Get all refunds for an order. Shows refund status and amounts.

ParameterTypeDescription
orderId *stringThe order ID (UUID format)

list_order_releases

Get all releases for an order. Shows inventory release status.

ParameterTypeDescription
orderId *stringThe order ID (UUID format)

list_order_compensations

Get all compensations for an order. Compensations are partial refunds without returning goods.

ParameterTypeDescription
orderId *stringThe order ID (UUID format)

list_order_modifications

Get all modifications for an order. Shows order line changes, shipping fee changes, and address changes.

ParameterTypeDescription
orderId *stringThe order ID (UUID format)

create_compensation

Create a compensation for an order. Compensations are partial refunds to the customer without requiring goods to be returned. Can only be created after deliveries exist and before any refunds.

ParameterTypeDescription
orderId *stringThe order ID to create compensation for (UUID format)
request *objectCompensation request data including amount and reason

get_compensation

Get details of a specific compensation by ID.

ParameterTypeDescription
compensationId *stringThe compensation ID (UUID format)

update_compensation

Update a compensation before it has been started. Cannot update once started.

ParameterTypeDescription
compensationId *stringThe compensation ID (UUID format)
request *objectUpdated compensation request data

delete_compensation

Delete a compensation before it has been started. Cannot delete once started.

ParameterTypeDescription
compensationId *stringThe compensation ID (UUID format)

start_compensation

Start processing a compensation. Triggers the payment provider to issue the refund.

ParameterTypeDescription
compensationId *stringThe compensation ID (UUID format)
bonusActionstringHow to handle bonus action. AUTO (default): automatically process, MANUAL: mark as manually handled, SKIP: skip this action
giftCardActionstringHow to handle gift card action. AUTO (default): automatically process, MANUAL: mark as manually handled, SKIP: skip this action
paymentActionstringHow to handle payment action. AUTO (default): automatically process, MANUAL: mark as manually handled, SKIP: skip this action

restart_compensation

Restart a failed compensation. Only failed compensations can be restarted.

ParameterTypeDescription
compensationId *stringThe compensation ID (UUID format)
bonusActionstringHow to handle bonus action. AUTO (default): automatically process, MANUAL: mark as manually handled, SKIP: skip this action
giftCardActionstringHow to handle gift card action. AUTO (default): automatically process, MANUAL: mark as manually handled, SKIP: skip this action
paymentActionstringHow to handle payment action. AUTO (default): automatically process, MANUAL: mark as manually handled, SKIP: skip this action

create_order_lines_modification

Create a modification to order lines. Allows adding, updating, or removing order lines before delivery. Max 4 modifications per order.

ParameterTypeDescription
orderId *stringThe order ID (UUID format)
request *objectOrder lines modification request data

get_order_lines_modification

Get details of a specific order lines modification.

ParameterTypeDescription
modificationId *stringThe modification ID (UUID format)

update_order_lines_modification

Update an order lines modification before it has been started.

ParameterTypeDescription
modificationId *stringThe modification ID (UUID format)
request *objectUpdated order lines modification request data

delete_order_lines_modification

Delete an order lines modification before it has been started.

ParameterTypeDescription
modificationId *stringThe modification ID (UUID format)

start_order_lines_modification

Start processing an order lines modification.

ParameterTypeDescription
modificationId *stringThe modification ID (UUID format)

restart_order_lines_modification

Restart a failed order lines modification.

ParameterTypeDescription
modificationId *stringThe modification ID (UUID format)

create_shipping_fees_modification

Create a modification to shipping fees. Allows updating shipping fee amounts before delivery. Max 4 modifications per order.

ParameterTypeDescription
orderId *stringThe order ID (UUID format)
request *objectShipping fees modification request data

get_shipping_fees_modification

Get details of a specific shipping fees modification.

ParameterTypeDescription
modificationId *stringThe modification ID (UUID format)

update_shipping_fees_modification

Update a shipping fees modification before it has been started.

ParameterTypeDescription
modificationId *stringThe modification ID (UUID format)
request *objectUpdated shipping fees modification request data

delete_shipping_fees_modification

Delete a shipping fees modification before it has been started.

ParameterTypeDescription
modificationId *stringThe modification ID (UUID format)

start_shipping_fees_modification

Start processing a shipping fees modification.

ParameterTypeDescription
modificationId *stringThe modification ID (UUID format)

restart_shipping_fees_modification

Restart a failed shipping fees modification.

ParameterTypeDescription
modificationId *stringThe modification ID (UUID format)

create_addresses_modification

Create a modification to order addresses. Allows updating billing and/or shipping address before delivery. Max 4 modifications per order.

ParameterTypeDescription
orderId *stringThe order ID (UUID format)
request *objectAddresses modification request data with billing and/or shipping address

get_addresses_modification

Get details of a specific addresses modification.

ParameterTypeDescription
modificationId *stringThe modification ID (UUID format)

update_addresses_modification

Update an addresses modification before it has been started.

ParameterTypeDescription
modificationId *stringThe modification ID (UUID format)
request *objectUpdated addresses modification request data

delete_addresses_modification

Delete an addresses modification before it has been started.

ParameterTypeDescription
modificationId *stringThe modification ID (UUID format)

start_addresses_modification

Start processing an addresses modification.

ParameterTypeDescription
modificationId *stringThe modification ID (UUID format)

list_custom_states

List all custom states defined in the system. Custom states can control order operations.

get_custom_state

Get details of a specific custom state.

ParameterTypeDescription
stateId *stringThe custom state ID

create_custom_state

Create a new custom state. Custom states can block certain order operations when attached to an order.

ParameterTypeDescription
name *stringDisplay name for the custom state
stateId *stringThe custom state ID (unique identifier)
blocksCancellationbooleanWhether this state blocks cancellation operations
blocksCompensationbooleanWhether this state blocks compensation operations
blocksDeliverybooleanWhether this state blocks delivery operations
blocksRefundbooleanWhether this state blocks refund operations
blocksReleasebooleanWhether this state blocks release operations
descriptionstringDescription of the custom state

delete_custom_state

Delete a custom state. Soft delete - doesn't affect orders already using this state.

ParameterTypeDescription
stateId *stringThe custom state ID

add_order_custom_state

Add a custom state to an order. This may block certain operations on the order.

ParameterTypeDescription
orderId *stringThe order ID (UUID format)
stateId *stringThe custom state ID to add

remove_order_custom_state

Remove a custom state from an order.

ParameterTypeDescription
orderId *stringThe order ID (UUID format)
stateId *stringThe custom state ID to remove

list_custom_reason_codes

List all custom reason codes. These codes can be used when creating operations like cancellations or refunds.

get_custom_reason_code

Get details of a specific custom reason code.

ParameterTypeDescription
code *stringThe custom reason code

create_custom_reason_code

Create a new custom reason code for use in operations.

ParameterTypeDescription
code *stringThe reason code (unique identifier)
name *stringDisplay name for the reason code
descriptionstringDescription of when to use this reason code

delete_custom_reason_code

Delete a custom reason code.

ParameterTypeDescription
code *stringThe custom reason code

create_order_comment

Add a comment to an order for internal notes or tracking purposes.

ParameterTypeDescription
orderId *stringThe order ID (UUID format)
text *stringThe comment text

update_order_comment

Update an existing comment on an order.

ParameterTypeDescription
commentId *stringThe comment ID (UUID format)
orderId *stringThe order ID (UUID format)
text *stringThe updated comment text

delete_order_comment

Delete a comment from an order.

ParameterTypeDescription
commentId *stringThe comment ID (UUID format)
orderId *stringThe order ID (UUID format)

run_discounts

Run discount calculations for a set of cart items. This evaluates discount rules and returns applicable discounts. Used to calculate discounts before checkout.

ParameterTypeDescription
countryCode *stringISO-3166-1 alpha-2 country code (e.g., SE, NO, DK)
currencyCode *stringISO 4217 currency code (e.g., SEK, NOK, EUR)
items *arrayArray of cart items to calculate discounts for
storeGroupId *stringStore group ID for the discount calculation
discountCartRulesarrayOptional cart-level discount rules to apply
discountCodeRulesarrayOptional discount code rules to apply
discountExternalRulesarrayOptional external discount rules to apply

get_bundle_group

Get a bundle group configuration by ID. Bundle groups define product bundles for bundle discounts.

ParameterTypeDescription
bundleGroupId *stringUnique identifier for the bundle group

create_or_update_bundle_group

Create or update a bundle group configuration. Bundle groups define which products can be bundled together for discounts.

ParameterTypeDescription
bundleGroupId *stringUnique identifier for the bundle group
bundles *arrayArray of bundle configurations
isActive *booleanWhether the bundle group is active
name *stringDisplay name for the bundle group
storeMarkets *objectStore groups with corresponding markets. Format: { 'storeGroupId': ['SE', 'NO'] }

delete_bundle_group

Delete a bundle group. WARNING: This permanently removes the bundle group configuration. WHY CONFIRMATION MATTERS: Deleting a bundle group affects active discount rules that reference it, potentially breaking live promotions.

ParameterTypeDescription
bundleGroupId *stringUnique identifier for the bundle group to delete

create_discount_code

Create a new discount code. Discount codes can be shared with customers for promotional discounts.

ParameterTypeDescription
code *stringThe actual discount code string customers will enter (case insensitive)
discountCodeRuleId *stringID of the discount code rule this code connects to
isUnlimited *booleanWhether the code can be used unlimited times. If true, usageLimit is ignored.
usageLimitintegerMaximum number of times this code can be used (only used if isUnlimited is false)
validFromstringISO 8601 datetime when the code becomes valid (optional)
validTostringISO 8601 datetime when the code expires (optional)

get_tax_group

Get a tax group configuration by ID. Tax groups define tax rates that can be applied to products.

ParameterTypeDescription
taxGroupId *stringUnique identifier for the tax group

create_or_update_tax_group

Create or update a tax group configuration. Tax groups define categories of tax rates (e.g., 'standard', 'reduced', 'zero').

ParameterTypeDescription
description *stringDescription of the tax group (required)
name *stringDisplay name for the tax group
taxGroupId *stringUnique identifier for the tax group (e.g., 'standard-vat', 'reduced-vat', 'zero-rate')

delete_tax_group

Delete a tax group. WARNING: This permanently removes the tax group configuration. WHY CONFIRMATION MATTERS: Deleting a tax group affects all products using this tax group, potentially causing tax calculation failures.

ParameterTypeDescription
taxGroupId *stringUnique identifier for the tax group to delete

get_tax_markets

Get all tax markets for a tax group. Returns country-specific tax rates configured for the tax group.

ParameterTypeDescription
taxGroupId *stringUnique identifier for the tax group

create_or_update_tax_market

Create or update a tax market within a tax group. Tax markets define country-specific tax rates. Tax percentages are specified in basis points (e.g., 2500 = 25.00%).

ParameterTypeDescription
countryCode *stringISO-3166-1 alpha-2 country code (e.g., SE, NO, DK)
taxGroupId *stringUnique identifier for the tax group
taxPercentage *integerTax percentage in basis points. Example: 2500 = 25.00% tax. Range: 0-100000 (0% to 1000%).
taxPercentageDecimalsintegerNumber of decimals in tax percentage (2 or 3). Default: 2

delete_tax_market

Delete a tax market from a tax group. WARNING: This removes the country-specific tax rate. WHY CONFIRMATION MATTERS: Deleting a tax market affects tax calculations for that country, potentially causing checkout failures for customers in that market.

ParameterTypeDescription
countryCode *stringISO-3166-1 alpha-2 country code of the market to delete (e.g., SE, NO)
taxGroupId *stringUnique identifier for the tax group