brinkcommerce-dev-mcp
v0.1.0BrinkCommerce 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.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search 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.
| Parameter | Type | Description |
|---|---|---|
apiName * | string | Name 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.
| Parameter | Type | Description |
|---|---|---|
apiName * | string | Name of the API specification (e.g., 'product-management', 'order-management') |
method | string | Filter by HTTP method (e.g., 'GET' for retrieval, 'POST' for creation) |
tag | string | Filter 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.
| Parameter | Type | Description |
|---|---|---|
apiName * | string | Name of the API specification (e.g., 'product-management', 'order-management') |
method * | string | HTTP method |
path * | string | API 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.
| Parameter | Type | Description |
|---|---|---|
apiName * | string | Name 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.
| Parameter | Type | Description |
|---|---|---|
apiName * | string | Name of the API specification (e.g., 'product-management', 'order-management') |
schemaName * | string | Name 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.
| Parameter | Type | Description |
|---|---|---|
productParentId * | string | Unique 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.
| Parameter | Type | Description |
|---|---|---|
description * | string | Description of the product parent |
displayDescriptions * | object | Translations for product description (e.g., {"en": "Description", "sv": "Beskrivning"}) |
displayNames * | object | Translations for product name (e.g., {"en": "Product", "sv": "Produkt"}) |
name * | string | Descriptive name of the product parent |
productParentId * | string | Unique identifier for the product parent |
customAttributes | object | Custom attributes available in Shopper Cart (max 20 char keys, 500 char values) |
imageUrl | string | Product image URL (absolute URI) |
isActive | boolean | Whether 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.
| Parameter | Type | Description |
|---|---|---|
productParentId * | string | Unique 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.
| Parameter | Type | Description |
|---|---|---|
productParentId * | string | Unique identifier for the product parent to update |
customAttributes | object | Custom attributes available in Shopper Cart (max 20 char keys, 500 char values) |
description | string | Description of the product parent |
displayDescriptions | object | Translations for product description (e.g., {"en": "Description", "sv": "Beskrivning"}) |
displayNames | object | Translations for product name (e.g., {"en": "Product", "sv": "Produkt"}) |
imageUrl | string | Product image URL (absolute URI) |
isActive | boolean | Whether the product parent is active |
isArchived | boolean | Whether the product parent is archived |
name | string | Descriptive 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.
| Parameter | Type | Description |
|---|---|---|
productParentId * | string | Unique identifier for the product parent to archive |
includeProductVariants | boolean | Whether 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.
| Parameter | Type | Description |
|---|---|---|
productVariantId * | string | Unique 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.
| Parameter | Type | Description |
|---|---|---|
productParentId * | string | Product 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).
| Parameter | Type | Description |
|---|---|---|
description * | string | Variant description |
displayDescriptions * | object | Translations for variant description |
displayNames * | object | Translations for variant name (e.g., {"en": "Small Blue", "sv": "Liten Blå"}) |
imageUrl * | string | Variant image URL (absolute URI) |
name * | string | Variant name |
productParentId * | string | Product parent ID this variant belongs to |
productVariantId * | string | Unique identifier for the product variant |
taxGroupId * | string | Tax group ID for the variant |
customAttributes | object | Custom attributes available in Shopper Cart |
dimensions | object | Product dimensions in millimeters (all fields required if provided) |
isActive | boolean | Whether the variant is active |
shippingAttributes | array | Shipping attributes for the variant |
tags | object | Discount tags for the variant (e.g., {"discount": ["summer-sale", "clearance"]}) |
weight | integer | Weight in grams |
delete_product_variant
Delete a product variant from BrinkCommerce. WARNING: This will permanently remove the variant.
| Parameter | Type | Description |
|---|---|---|
productVariantId * | string | Unique 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.
| Parameter | Type | Description |
|---|---|---|
productVariantId * | string | Unique identifier for the product variant to update |
customAttributes | object | Custom attributes available in Shopper Cart |
description | string | Variant description |
dimensions | object | Product dimensions in millimeters (all fields required if provided) |
displayDescriptions | object | Translations for variant description |
displayNames | object | Translations for variant name (e.g., {"en": "Small Blue", "sv": "Liten Blå"}) |
imageUrl | string | Variant image URL (absolute URI) |
isActive | boolean | Whether the variant is active |
isArchived | boolean | Whether the variant is archived |
name | string | Variant name |
productParentId | string | Product parent ID to move the variant to (if changing) |
shippingAttributes | array | Shipping attributes for the variant |
tags | object | Discount tags for the variant (e.g., {"discount": ["summer-sale", "clearance"]}) |
taxGroupId | string | Tax group ID for the variant |
weight | integer | Weight 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).
| Parameter | Type | Description |
|---|---|---|
addonId * | string | Unique 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).
| Parameter | Type | Description |
|---|---|---|
addonId * | string | Unique identifier for the addon |
description * | string | Description of the addon |
displayDescriptions * | object | Translations for addon description |
displayNames * | object | Translations for addon name (e.g., {"en": "Gift Wrap", "sv": "Presentförpackning"}) |
imageUrl * | string | Addon image URL (absolute URI) |
name * | string | Descriptive name of the addon |
taxGroupId * | string | Tax group ID for the addon |
customAttributes | object | Custom attributes available in Shopper Cart |
isActive | boolean | Whether the addon is active |
tags | object | Discount tags for the addon |
delete_addon
Delete an addon from BrinkCommerce. WARNING: This will permanently remove the addon.
| Parameter | Type | Description |
|---|---|---|
addonId * | string | Unique 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.
| Parameter | Type | Description |
|---|---|---|
addonId * | string | Unique identifier for the addon to update |
customAttributes | object | Custom attributes available in Shopper Cart |
description | string | Description of the addon |
displayDescriptions | object | Translations for addon description |
displayNames | object | Translations for addon name (e.g., {"en": "Gift Wrap", "sv": "Presentförpackning"}) |
imageUrl | string | Addon image URL (absolute URI) |
isActive | boolean | Whether the addon is active |
isArchived | boolean | Whether the addon is archived |
name | string | Descriptive name of the addon |
tags | object | Discount tags for the addon |
taxGroupId | string | Tax 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.
| Parameter | Type | Description |
|---|---|---|
productParentId * | string | Product 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.
| Parameter | Type | Description |
|---|---|---|
addonId * | string | Addon ID to associate with the product |
productParentId * | string | Product 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.
| Parameter | Type | Description |
|---|---|---|
addonId * | string | Addon ID to remove from the product |
productParentId * | string | Product 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).
| Parameter | Type | Description |
|---|---|---|
description * | string | Description of the store group |
name * | string | Descriptive name of the store group |
storeGroupId * | string | Unique identifier for the store group |
channelType | string | Channel type for the store group (B2C or B2B). Cannot be changed after creation. |
countryOfSale | string | Home 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.).
| Parameter | Type | Description |
|---|---|---|
countryCode * | string | ISO-3166-1 alpha-2 country code (e.g., SE, NO, DK) |
currencyCode * | string | ISO 4217 currency code (e.g., SEK, NOK, EUR) |
isTaxIncludedInPrice * | boolean | Whether tax is included in the price. Can only be true for B2C channel types. |
storeGroupId * | string | Store group ID this market belongs to |
isTaxExemptionEligible | boolean | Whether 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.
| Parameter | Type | Description |
|---|---|---|
storeGroupId * | string | Unique identifier for the store group to delete |
delete_store_market
Delete a store market from a store group. This removes the country-specific configuration.
| Parameter | Type | Description |
|---|---|---|
countryCode * | string | ISO-3166-1 alpha-2 country code of the market to delete (e.g., SE, NO) |
storeGroupId * | string | Store 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.
| Parameter | Type | Description |
|---|---|---|
storeGroupId * | string | Unique 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.
| Parameter | Type | Description |
|---|---|---|
storeGroupId * | string | Store 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.
| Parameter | Type | Description |
|---|---|---|
storeGroupId * | string | Unique identifier for the store group to update |
countryOfSale | string | Home country of the selling entity (ISO-3166-1 alpha-2, e.g., SE, NO). Used for B2B tax calculations. Set to null to remove. |
description | string | New description of the store group |
name | string | New 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.
| Parameter | Type | Description |
|---|---|---|
countryCode * | string | ISO-3166-1 alpha-2 country code of the market (e.g., SE, NO) |
storeGroupId * | string | Store group ID the market belongs to |
currencyCode | string | New ISO 4217 currency code (e.g., SEK, NOK, EUR) |
isArchived | boolean | Whether this market is archived. |
isTaxExemptionEligible | boolean | Whether the market is eligible for tax exemption. Typically true for all B2B markets except the merchant's home market. |
isTaxIncludedInPrice | boolean | Whether 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.
| Parameter | Type | Description |
|---|---|---|
inventoryId * | string | Unique identifier for the inventory location (warehouse, store, etc.) |
productVariantId * | string | Unique identifier for the product variant |
quantity * | integer | Stock 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.
| Parameter | Type | Description |
|---|---|---|
inventoryId * | string | Unique identifier for the inventory location to remove |
productVariantId * | string | Unique 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.
| Parameter | Type | Description |
|---|---|---|
inventoryId * | string | Unique identifier for the inventory location |
create_or_update_inventory
Create or update an inventory location (warehouse, store, etc.) in BrinkCommerce.
| Parameter | Type | Description |
|---|---|---|
description * | string | A description of the inventory location |
inventoryId * | string | Unique identifier for the inventory location |
name * | string | A descriptive name for the inventory location |
address | object | Physical address of the inventory location |
type | string | The type of inventory location (defaults to WAREHOUSE) |
delete_inventory
Delete an inventory location from BrinkCommerce. WARNING: This removes the inventory location permanently.
| Parameter | Type | Description |
|---|---|---|
inventoryId * | string | Unique 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.
| Parameter | Type | Description |
|---|---|---|
productVariantId * | string | Unique identifier for the product variant |
update_product_variant_stock_config
Update stock configuration for a product variant (e.g., whether stock should be validated).
| Parameter | Type | Description |
|---|---|---|
productVariantId * | string | Unique identifier for the product variant |
validateStock * | boolean | Whether 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.
| Parameter | Type | Description |
|---|---|---|
inventoryId * | string | Unique identifier for the inventory location |
productVariantId * | string | Unique identifier for the product variant |
quantityAdjustment * | integer | The 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.
| Parameter | Type | Description |
|---|---|---|
countryCode * | string | ISO-3166-1 alpha-2 country code (e.g., SE, NO, DK) |
storeGroupId * | string | Unique 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.
| Parameter | Type | Description |
|---|---|---|
countryCode * | string | ISO-3166-1 alpha-2 country code (e.g., SE, NO, DK) |
inventoryIds * | array | Array of inventory IDs in priority order (first = highest priority) |
storeGroupId * | string | Unique 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).
| Parameter | Type | Description |
|---|---|---|
productVariantId * | string | Product variant ID to set prices for |
productVariantPrices * | array | Array of prices for different markets (max 200 entries) |
storeGroupId * | string | Store 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.
| Parameter | Type | Description |
|---|---|---|
productVariantId * | string | Product variant ID to delete prices for |
storeGroupId * | string | Store 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.
| Parameter | Type | Description |
|---|---|---|
productVariantId * | string | Product 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.
| Parameter | Type | Description |
|---|---|---|
productVariantId * | string | Product variant ID to get prices for |
storeGroupId * | string | Store 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.
| Parameter | Type | Description |
|---|---|---|
countryCode * | string | ISO-3166-1 alpha-2 country code (e.g., SE, NO, DK) |
productVariantId * | string | Product variant ID to get price for |
storeGroupId * | string | Store 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.
| Parameter | Type | Description |
|---|---|---|
addonId * | string | Addon ID to get price for |
countryCode * | string | ISO-3166-1 alpha-2 country code (e.g., SE, NO, DK) |
storeGroupId * | string | Store 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.
| Parameter | Type | Description |
|---|---|---|
priceUpdates * | object | Map of country codes to price updates. Each entry specifies which price fields to update for that market. |
productVariantId * | string | Product variant ID to update prices for |
storeGroupId * | string | Store 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.
| Parameter | Type | Description |
|---|---|---|
orderId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
reference * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
orderId * | string | The order ID to cancel (UUID format) |
reason | object | Optional 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.
| Parameter | Type | Description |
|---|---|---|
orderId * | string | The order ID to refund (UUID format) |
fee | object | Optional 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… |
giftCardProducts | array | Optional: Gift card products to refund |
gifts | array | Optional: Order gifts to refund |
orderLines | array | Optional: Specific order lines to refund. If not provided, entire order may be refunded based on what's available. |
reason | object | Optional reason for the refund (useful for BI tracking and customer communication) |
shippingFees | array | Optional: 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.
| Parameter | Type | Description |
|---|---|---|
importId * | string | The external import ID for this order (1-100 characters). Brink order ID & reference will be generated on successful import. |
request * | object | Complete 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.
| Parameter | Type | Description |
|---|---|---|
importId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
orderId * | string | The order ID to create delivery for (UUID format) |
orderLines * | array | Order lines to include in the delivery (at least 1 required) |
giftCardProducts | array | Optional: Gift card products to include in delivery |
gifts | array | Optional: Order gifts to include in delivery |
shippingFees | array | Optional: 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.
| Parameter | Type | Description |
|---|---|---|
deliveryId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
deliveryId * | string | The delivery ID to update (UUID format) |
orderLines * | array | Updated order lines for the delivery (at least 1 required) |
giftCardProducts | array | Optional: Updated gift card products |
gifts | array | Optional: Updated order gifts |
shippingFees | array | Optional: 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.
| Parameter | Type | Description |
|---|---|---|
deliveryId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
deliveryId * | string | The delivery ID to start (UUID format) |
bonusAction | string | How to handle bonus point redemption. AUTO (default): redeem via bonus provider. MANUAL: provide transactionId. SKIP: don't redeem bonus points. |
bonusTransactionId | string | Required when bonusAction is MANUAL. The bonus transaction ID. |
captureReference | string | Required when paymentAction is MANUAL. The external capture reference. |
giftCardAction | string | How to handle gift card redemption. AUTO (default): redeem via gift card provider. MANUAL: provide gift card details. SKIP: don't redeem gift cards. |
paymentAction | string | How to handle payment capture. AUTO (default): capture via payment provider. MANUAL: provide captureReference. SKIP: don't capture payment. |
reasonCause | string | Optional human-readable cause for the delivery (max 300 characters) |
reasonCode | string | Optional reason code for the delivery (max 100 characters) |
shippingAction | string | How to handle shipping notification. AUTO (default): notify via shipping provider. MANUAL: provide tracking details. SKIP: don't notify shipping provider. |
shippingCompany | string | Optional when shippingAction is MANUAL. The shipping company name. |
shippingMethod | string | Required when shippingAction is MANUAL. The shipping method name. |
trackingReference | string | Required when shippingAction is MANUAL. The tracking reference/number. |
trackingUrl | string | Required 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.
| Parameter | Type | Description |
|---|---|---|
deliveryId * | string | The delivery ID to restart (UUID format) |
get_cancellation
Retrieve cancellation details by cancellation ID from BrinkCommerce. Returns complete cancellation information including status and reason.
| Parameter | Type | Description |
|---|---|---|
cancellationId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
cancellationId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
cancellationId * | string | The cancellation ID to start (UUID format) |
bonusAction | string | How to handle bonus point release. AUTO (default): release via bonus provider. MANUAL: handle bonus release externally. SKIP: don't release bonus points. |
giftCardAction | string | How to handle gift card release. AUTO (default): release via gift card provider. MANUAL: handle gift card release externally. SKIP: don't release gift cards. |
giftCardProductAction | string | How to handle gift card product release. AUTO (default): release via provider. MANUAL: handle externally. SKIP: don't release gift card products. |
paymentAction | string | How 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.
| Parameter | Type | Description |
|---|---|---|
cancellationId * | string | The cancellation ID to restart (UUID format) |
bonusAction | string | How to handle bonus point release. AUTO (default): release via bonus provider. MANUAL: handle bonus release externally. SKIP: don't release bonus points. |
giftCardAction | string | How to handle gift card release. AUTO (default): release via gift card provider. MANUAL: handle gift card release externally. SKIP: don't release gift cards. |
giftCardProductAction | string | How to handle gift card product release. AUTO (default): release via provider. MANUAL: handle externally. SKIP: don't release gift card products. |
paymentAction | string | How 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.
| Parameter | Type | Description |
|---|---|---|
refundId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
refundId * | string | The refund ID to update (UUID format) |
fee | object | Optional updated refund fee. Only applies to amount sent to payment provider (not gift cards or bonus points). Supported by: Adyen, KlarnaCheckout, WalleyCheckout. |
giftCardProducts | array | Optional: Updated gift card products to refund |
gifts | array | Optional: Updated order gifts to refund |
orderLines | array | Optional: Updated order lines to refund |
reason | object | Optional updated reason for the refund |
shippingFees | array | Optional: 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.
| Parameter | Type | Description |
|---|---|---|
refundId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
refundId * | string | The refund ID to start (UUID format) |
bonusAction | string | How to handle bonus point refund. AUTO (default): refund via bonus provider. MANUAL: handle bonus refund externally. SKIP: don't refund bonus points. |
giftCardAction | string | How to handle gift card refund. AUTO (default): refund via gift card provider. MANUAL: handle gift card refund externally. SKIP: don't refund gift cards. |
giftCardProductAction | string | How to handle gift card product refund. AUTO (default): refund via provider. MANUAL: handle externally. SKIP: don't refund gift card products. |
paymentAction | string | How 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.
| Parameter | Type | Description |
|---|---|---|
refundId * | string | The refund ID to restart (UUID format) |
bonusAction | string | How to handle bonus point refund. AUTO (default): refund via bonus provider. MANUAL: handle bonus refund externally. SKIP: don't refund bonus points. |
giftCardAction | string | How to handle gift card refund. AUTO (default): refund via gift card provider. MANUAL: handle gift card refund externally. SKIP: don't refund gift cards. |
giftCardProductAction | string | How to handle gift card product refund. AUTO (default): refund via provider. MANUAL: handle externally. SKIP: don't refund gift card products. |
paymentAction | string | How 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.
| Parameter | Type | Description |
|---|---|---|
orderId * | string | The order ID to create release for (UUID format) |
orderLines * | array | Order lines to release (at least 1 required) |
gifts | array | Optional: Order gifts to release |
reason | object | Optional reason for the release |
get_release
Retrieve release details by release ID from BrinkCommerce. Returns complete release information including items and status.
| Parameter | Type | Description |
|---|---|---|
releaseId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
releaseId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
releaseId * | string | The release ID to start (UUID format) |
bonusAction | string | How to handle bonus point release. AUTO (default): release via bonus provider. MANUAL: handle bonus release externally. SKIP: don't release bonus points. |
giftCardAction | string | How to handle gift card release. AUTO (default): release via gift card provider. MANUAL: handle gift card release externally. SKIP: don't release gift cards. |
giftCardProductAction | string | How to handle gift card product release. AUTO (default): release via provider. MANUAL: handle externally. SKIP: don't release gift card products. |
paymentAction | string | How 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.
| Parameter | Type | Description |
|---|---|---|
releaseId * | string | The release ID to restart (UUID format) |
bonusAction | string | How to handle bonus point release. AUTO (default): release via bonus provider. MANUAL: handle bonus release externally. SKIP: don't release bonus points. |
giftCardAction | string | How to handle gift card release. AUTO (default): release via gift card provider. MANUAL: handle gift card release externally. SKIP: don't release gift cards. |
giftCardProductAction | string | How to handle gift card product release. AUTO (default): release via provider. MANUAL: handle externally. SKIP: don't release gift card products. |
paymentAction | string | How 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.
| Parameter | Type | Description |
|---|---|---|
email * | string | The email address to search for |
from | string | Optional: Start date filter (RFC3339 format, e.g., '2024-01-01T00:00:00Z') |
to | string | Optional: 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.
| Parameter | Type | Description |
|---|---|---|
merchantRef1 * | string | The merchant reference to search for |
from | string | Optional: Start date filter (RFC3339 format) |
to | string | Optional: 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.
| Parameter | Type | Description |
|---|---|---|
orderId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
orderId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
orderId * | string | The order ID to delete (UUID format) |
list_order_deliveries
Get all deliveries for an order. Shows fulfillment status and tracking information.
| Parameter | Type | Description |
|---|---|---|
orderId * | string | The order ID (UUID format) |
list_order_cancellations
Get all cancellations for an order. Shows cancellation status and reasons.
| Parameter | Type | Description |
|---|---|---|
orderId * | string | The order ID (UUID format) |
list_order_refunds
Get all refunds for an order. Shows refund status and amounts.
| Parameter | Type | Description |
|---|---|---|
orderId * | string | The order ID (UUID format) |
list_order_releases
Get all releases for an order. Shows inventory release status.
| Parameter | Type | Description |
|---|---|---|
orderId * | string | The order ID (UUID format) |
list_order_compensations
Get all compensations for an order. Compensations are partial refunds without returning goods.
| Parameter | Type | Description |
|---|---|---|
orderId * | string | The order ID (UUID format) |
list_order_modifications
Get all modifications for an order. Shows order line changes, shipping fee changes, and address changes.
| Parameter | Type | Description |
|---|---|---|
orderId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
orderId * | string | The order ID to create compensation for (UUID format) |
request * | object | Compensation request data including amount and reason |
get_compensation
Get details of a specific compensation by ID.
| Parameter | Type | Description |
|---|---|---|
compensationId * | string | The compensation ID (UUID format) |
update_compensation
Update a compensation before it has been started. Cannot update once started.
| Parameter | Type | Description |
|---|---|---|
compensationId * | string | The compensation ID (UUID format) |
request * | object | Updated compensation request data |
delete_compensation
Delete a compensation before it has been started. Cannot delete once started.
| Parameter | Type | Description |
|---|---|---|
compensationId * | string | The compensation ID (UUID format) |
start_compensation
Start processing a compensation. Triggers the payment provider to issue the refund.
| Parameter | Type | Description |
|---|---|---|
compensationId * | string | The compensation ID (UUID format) |
bonusAction | string | How to handle bonus action. AUTO (default): automatically process, MANUAL: mark as manually handled, SKIP: skip this action |
giftCardAction | string | How to handle gift card action. AUTO (default): automatically process, MANUAL: mark as manually handled, SKIP: skip this action |
paymentAction | string | How 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.
| Parameter | Type | Description |
|---|---|---|
compensationId * | string | The compensation ID (UUID format) |
bonusAction | string | How to handle bonus action. AUTO (default): automatically process, MANUAL: mark as manually handled, SKIP: skip this action |
giftCardAction | string | How to handle gift card action. AUTO (default): automatically process, MANUAL: mark as manually handled, SKIP: skip this action |
paymentAction | string | How 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.
| Parameter | Type | Description |
|---|---|---|
orderId * | string | The order ID (UUID format) |
request * | object | Order lines modification request data |
get_order_lines_modification
Get details of a specific order lines modification.
| Parameter | Type | Description |
|---|---|---|
modificationId * | string | The modification ID (UUID format) |
update_order_lines_modification
Update an order lines modification before it has been started.
| Parameter | Type | Description |
|---|---|---|
modificationId * | string | The modification ID (UUID format) |
request * | object | Updated order lines modification request data |
delete_order_lines_modification
Delete an order lines modification before it has been started.
| Parameter | Type | Description |
|---|---|---|
modificationId * | string | The modification ID (UUID format) |
start_order_lines_modification
Start processing an order lines modification.
| Parameter | Type | Description |
|---|---|---|
modificationId * | string | The modification ID (UUID format) |
restart_order_lines_modification
Restart a failed order lines modification.
| Parameter | Type | Description |
|---|---|---|
modificationId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
orderId * | string | The order ID (UUID format) |
request * | object | Shipping fees modification request data |
get_shipping_fees_modification
Get details of a specific shipping fees modification.
| Parameter | Type | Description |
|---|---|---|
modificationId * | string | The modification ID (UUID format) |
update_shipping_fees_modification
Update a shipping fees modification before it has been started.
| Parameter | Type | Description |
|---|---|---|
modificationId * | string | The modification ID (UUID format) |
request * | object | Updated shipping fees modification request data |
delete_shipping_fees_modification
Delete a shipping fees modification before it has been started.
| Parameter | Type | Description |
|---|---|---|
modificationId * | string | The modification ID (UUID format) |
start_shipping_fees_modification
Start processing a shipping fees modification.
| Parameter | Type | Description |
|---|---|---|
modificationId * | string | The modification ID (UUID format) |
restart_shipping_fees_modification
Restart a failed shipping fees modification.
| Parameter | Type | Description |
|---|---|---|
modificationId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
orderId * | string | The order ID (UUID format) |
request * | object | Addresses modification request data with billing and/or shipping address |
get_addresses_modification
Get details of a specific addresses modification.
| Parameter | Type | Description |
|---|---|---|
modificationId * | string | The modification ID (UUID format) |
update_addresses_modification
Update an addresses modification before it has been started.
| Parameter | Type | Description |
|---|---|---|
modificationId * | string | The modification ID (UUID format) |
request * | object | Updated addresses modification request data |
delete_addresses_modification
Delete an addresses modification before it has been started.
| Parameter | Type | Description |
|---|---|---|
modificationId * | string | The modification ID (UUID format) |
start_addresses_modification
Start processing an addresses modification.
| Parameter | Type | Description |
|---|---|---|
modificationId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
stateId * | string | The custom state ID |
create_custom_state
Create a new custom state. Custom states can block certain order operations when attached to an order.
| Parameter | Type | Description |
|---|---|---|
name * | string | Display name for the custom state |
stateId * | string | The custom state ID (unique identifier) |
blocksCancellation | boolean | Whether this state blocks cancellation operations |
blocksCompensation | boolean | Whether this state blocks compensation operations |
blocksDelivery | boolean | Whether this state blocks delivery operations |
blocksRefund | boolean | Whether this state blocks refund operations |
blocksRelease | boolean | Whether this state blocks release operations |
description | string | Description of the custom state |
delete_custom_state
Delete a custom state. Soft delete - doesn't affect orders already using this state.
| Parameter | Type | Description |
|---|---|---|
stateId * | string | The custom state ID |
add_order_custom_state
Add a custom state to an order. This may block certain operations on the order.
| Parameter | Type | Description |
|---|---|---|
orderId * | string | The order ID (UUID format) |
stateId * | string | The custom state ID to add |
remove_order_custom_state
Remove a custom state from an order.
| Parameter | Type | Description |
|---|---|---|
orderId * | string | The order ID (UUID format) |
stateId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
code * | string | The custom reason code |
create_custom_reason_code
Create a new custom reason code for use in operations.
| Parameter | Type | Description |
|---|---|---|
code * | string | The reason code (unique identifier) |
name * | string | Display name for the reason code |
description | string | Description of when to use this reason code |
delete_custom_reason_code
Delete a custom reason code.
| Parameter | Type | Description |
|---|---|---|
code * | string | The custom reason code |
create_order_comment
Add a comment to an order for internal notes or tracking purposes.
| Parameter | Type | Description |
|---|---|---|
orderId * | string | The order ID (UUID format) |
text * | string | The comment text |
update_order_comment
Update an existing comment on an order.
| Parameter | Type | Description |
|---|---|---|
commentId * | string | The comment ID (UUID format) |
orderId * | string | The order ID (UUID format) |
text * | string | The updated comment text |
delete_order_comment
Delete a comment from an order.
| Parameter | Type | Description |
|---|---|---|
commentId * | string | The comment ID (UUID format) |
orderId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
countryCode * | string | ISO-3166-1 alpha-2 country code (e.g., SE, NO, DK) |
currencyCode * | string | ISO 4217 currency code (e.g., SEK, NOK, EUR) |
items * | array | Array of cart items to calculate discounts for |
storeGroupId * | string | Store group ID for the discount calculation |
discountCartRules | array | Optional cart-level discount rules to apply |
discountCodeRules | array | Optional discount code rules to apply |
discountExternalRules | array | Optional external discount rules to apply |
get_bundle_group
Get a bundle group configuration by ID. Bundle groups define product bundles for bundle discounts.
| Parameter | Type | Description |
|---|---|---|
bundleGroupId * | string | Unique 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.
| Parameter | Type | Description |
|---|---|---|
bundleGroupId * | string | Unique identifier for the bundle group |
bundles * | array | Array of bundle configurations |
isActive * | boolean | Whether the bundle group is active |
name * | string | Display name for the bundle group |
storeMarkets * | object | Store 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.
| Parameter | Type | Description |
|---|---|---|
bundleGroupId * | string | Unique 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.
| Parameter | Type | Description |
|---|---|---|
code * | string | The actual discount code string customers will enter (case insensitive) |
discountCodeRuleId * | string | ID of the discount code rule this code connects to |
isUnlimited * | boolean | Whether the code can be used unlimited times. If true, usageLimit is ignored. |
usageLimit | integer | Maximum number of times this code can be used (only used if isUnlimited is false) |
validFrom | string | ISO 8601 datetime when the code becomes valid (optional) |
validTo | string | ISO 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.
| Parameter | Type | Description |
|---|---|---|
taxGroupId * | string | Unique 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').
| Parameter | Type | Description |
|---|---|---|
description * | string | Description of the tax group (required) |
name * | string | Display name for the tax group |
taxGroupId * | string | Unique 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.
| Parameter | Type | Description |
|---|---|---|
taxGroupId * | string | Unique 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.
| Parameter | Type | Description |
|---|---|---|
taxGroupId * | string | Unique 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%).
| Parameter | Type | Description |
|---|---|---|
countryCode * | string | ISO-3166-1 alpha-2 country code (e.g., SE, NO, DK) |
taxGroupId * | string | Unique identifier for the tax group |
taxPercentage * | integer | Tax percentage in basis points. Example: 2500 = 25.00% tax. Range: 0-100000 (0% to 1000%). |
taxPercentageDecimals | integer | Number 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.
| Parameter | Type | Description |
|---|---|---|
countryCode * | string | ISO-3166-1 alpha-2 country code of the market to delete (e.g., SE, NO) |
taxGroupId * | string | Unique identifier for the tax group |