Brightpearl MCP by usefulapi
v1.24.1Search Brightpearl orders, products, stock, contacts and payments; add notes, update order status.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
brightpearl_get_account_configuration Get account configuration
The Brightpearl account's configuration as key/value pairs: base currency, tax scheme, time zone, default and new-order status ids, nominal codes, weight unit, whether multiple warehouses are enabled. GET /integration-service/account-configuration.
brightpearl_search_orders Search orders
Search sales orders, sales credits, purchase orders and purchase credits. Every filter is optional and they combine (AND); each result row has orderId, orderTypeId, contactId, orderStatusId, orderStockStatusId, createdOn, updatedOn, customerRef, externalRef, warehouseId and more. Use brightpearl_get_orders for the full order. Order type ids: brightpearl_list_order_types; status ids: brightpearl_list_order_statuses. GET /order-service/order-search.
| Parameter | Type | Description |
|---|---|---|
contact_id | integer | Only orders of this customer/supplier contact id. |
created_from | string | Created: on or after this day (yyyy-mm-dd) or ISO 8601 date-time with timezone. |
created_to | string | Created: on or before this day (yyyy-mm-dd, whole day included) or ISO 8601 date-time with timezone. |
customer_ref | string | Customer reference of the order. |
external_ref | string | External reference of the order (for example the web shop's order number). |
first_result | integer | Position of the first row to return, from 1 (default 1). Pass the previous reply's next_first_result for the next page. |
id_or_external_ref | string | Matches an order id OR an external reference (case-insensitive match). |
is_closed | boolean | Whether the order is invoiced (closed). |
newest_first | boolean | Newest (highest id) first. Default: oldest first. |
order_ids | array | Only these orders (one or more ids). |
order_status_id | integer | Order status id (brightpearl_list_order_statuses). |
order_type_id | integer | Order type id (1 sales order, 2 purchase order, 3 sales credit, 4 purchase credit; see brightpearl_list_order_types). |
page_size | integer | Rows per page, 1-500 (default 25). |
payment_status_id | integer | Order payment status id. |
placed_from | string | Placed: on or after this day (yyyy-mm-dd) or ISO 8601 date-time with timezone. |
placed_to | string | Placed: on or before this day (yyyy-mm-dd, whole day included) or ISO 8601 date-time with timezone. |
shipping_status_id | integer | Order shipping status id. |
updated_from | string | Last updated: on or after this day (yyyy-mm-dd) or ISO 8601 date-time with timezone. |
updated_to | string | Last updated: on or before this day (yyyy-mm-dd, whole day included) or ISO 8601 date-time with timezone. |
warehouse_id | array | Only orders for these warehouses (one or more ids). |
brightpearl_get_orders Get orders
Full details of one or more orders by id: type, status, payment/stock/shipping status, dates, currency, totals, assignment, customer/supplier, billing and delivery parties, and the order rows (product, quantity, price, tax). Up to 50 ids. GET /order-service/order/{ids}.
| Parameter | Type | Description |
|---|---|---|
order_ids * | array | Order ids (1-50 ids). |
include_custom_fields | boolean | Also return the order's custom field values (includeOptional=customFields,nullCustomFields). |
brightpearl_get_order_notes Get order notes
All notes on one order (text, author contact id, date, whether it is public on the customer portal, the order status at the time). GET /order-service/order/{id}/note.
| Parameter | Type | Description |
|---|---|---|
order_id * | integer | Order id. |
brightpearl_list_order_statuses List order statuses
The account's order statuses (id, name, order type code SO/PO/SC/PC, sort order, disabled, visible to the customer, state such as draft). Use the ids to filter orders or to change an order's status. GET /order-service/order-status.
brightpearl_list_order_types List order types
The four order types with their ids and codes (1 SO sales order, 2 PO purchase order, 3 SC sales credit, 4 PC purchase credit), for the order search. GET /order-service/order-type.
brightpearl_add_order_note Add order note
WRITE: add a note to an existing order. The note is private (staff only) unless is_public is true, which makes it visible on the customer portal. Returns the new note id. Notes cannot be removed with this server. POST /order-service/order/{id}/note.
| Parameter | Type | Description |
|---|---|---|
order_id * | integer | Order id. |
text * | string | The note text. |
is_public | boolean | Visible to the customer on the customer portal. Default false. |
brightpearl_update_order_status Update order status
WRITE: move an existing order to another status (ids from brightpearl_list_order_statuses; the new status must exist, be visible and belong to this order's type). Brightpearl adds an order note on success, and status changes can trigger the account's alerts and automations. Moving a sales order to the account's 'cancelled' status removes its reservations and coupons and is refused while goods-out notes or payments exist. PUT /order-service/order/{id}/status.
| Parameter | Type | Description |
|---|---|---|
order_id * | integer | Order id. |
order_status_id * | integer | The new order status id. |
note | string | Text of the order note Brightpearl adds (default: generated by Brightpearl). |
note_is_public | boolean | Make that note visible on the customer portal. Default false. |
brightpearl_search_products Search products
Search the product catalogue. Every filter is optional and they combine (AND); each result row has productId, productName, SKU, barcode, EAN, UPC, ISBN, MPN, stockTracked, createdOn, updatedOn, brightpearlCategoryCode, productGroupId, brandId, productTypeId, productStatus, primarySupplierId. Use brightpearl_get_products for full details. GET /product-service/product-search.
| Parameter | Type | Description |
|---|---|---|
barcode | string | Barcode. |
brand_id | array | Only these brands (one or more ids). |
category_id | array | Only these Brightpearl categories (one or more ids). |
created_from | string | Created: on or after this day (yyyy-mm-dd) or ISO 8601 date-time with timezone. |
created_to | string | Created: on or before this day (yyyy-mm-dd, whole day included) or ISO 8601 date-time with timezone. |
ean | string | EAN. |
first_result | integer | Position of the first row to return, from 1 (default 1). Pass the previous reply's next_first_result for the next page. |
isbn | string | ISBN. |
mpn | string | MPN. |
name | string | Product name (case-insensitive match). |
newest_first | boolean | Newest (highest id) first. Default: oldest first. |
page_size | integer | Rows per page, 1-500 (default 25). |
primary_supplier_id | array | Only products with these primary suppliers (one or more ids). |
product_group_id | integer | Only products of this product group (variations); 0 = products that are not in a group. |
product_ids | array | Only these products (one or more ids). |
product_status | string | Lifecycle status code, for example LIVE. |
product_type_id | array | Only these product types (one or more ids). |
sku | string | Exact SKU. |
stock_tracked | boolean | Only stock-tracked (true) or non-stock (false) products. |
upc | string | UPC. |
updated_from | string | Last updated: on or after this day (yyyy-mm-dd) or ISO 8601 date-time with timezone. |
updated_to | string | Last updated: on or before this day (yyyy-mm-dd, whole day included) or ISO 8601 date-time with timezone. |
brightpearl_get_products Get products
Full details of one or more products by id: identity (SKU, barcodes), brand, type, stock-tracking, weight and dimensions, tax code, sales-channel names/descriptions/categories, bundle composition, variations, per-warehouse reorder levels, supplier and status. Up to 50 ids. GET /product-service/product/{ids}.
| Parameter | Type | Description |
|---|---|---|
product_ids * | array | Product ids (1-50 ids). |
include_custom_fields | boolean | Also return custom field values (includeOptional=customFields,nullCustomFields). |
brightpearl_get_product_prices Get product prices
Prices of products per price list: for each product and price list the currency, SKU and the quantity-break price map (e.g. {"1":"12","100":"11"}). Up to 50 product ids; optionally only some price lists (ids from brightpearl_list_price_lists). GET /product-service/product-price/{product ids}/price-list/{price list ids}.
| Parameter | Type | Description |
|---|---|---|
product_ids * | array | Product ids (1-50 ids). |
price_list_ids | array | Only these price list ids (0 is the cost price list). |
brightpearl_get_product_availability Get product stock availability
Stock availability of stock-tracked products: for each product the totals across all warehouses (inStock, onHand, allocated, inTransit) and the same per warehouse; optionally per location, with on-order quantities. Up to 50 product ids. GET /warehouse-service/product-availability/{ids}.
| Parameter | Type | Description |
|---|---|---|
product_ids * | array | Product ids (1-50 ids). |
by_location | boolean | Also break the figures down by location within each warehouse. |
on_order | boolean | Also include quantities on open purchase orders (total and shipped). |
brightpearl_list_price_lists List price lists
The price lists (id, name, code, currency, SELL or BUY, gross or net). Id 0 is the cost price list. GET /product-service/price-list.
brightpearl_search_brands Search brands
Search product brands by name; each row has brandId, brandName, createdOn, updatedOn. GET /product-service/brand-search.
| Parameter | Type | Description |
|---|---|---|
first_result | integer | Position of the first row to return, from 1 (default 1). Pass the previous reply's next_first_result for the next page. |
name | string | Brand name (case-insensitive match). |
page_size | integer | Rows per page, 1-500 (default 25). |
brightpearl_search_categories Search product categories
Search Brightpearl product categories; each row has id, name, parentId, active, createdOn, updatedOn. GET /product-service/brightpearl-category-search.
| Parameter | Type | Description |
|---|---|---|
active | boolean | Only active (true) or inactive (false) categories. |
first_result | integer | Position of the first row to return, from 1 (default 1). Pass the previous reply's next_first_result for the next page. |
name | string | Category name. |
page_size | integer | Rows per page, 1-500 (default 25). |
parent_id | integer | Only the children of this category; 0 = the top-level categories. |
brightpearl_list_warehouses List warehouses
The warehouses (id, name, type, address id, click-and-collect settings, weekly operating hours). Use the ids for stock and order filters. GET /warehouse-service/warehouse.
brightpearl_list_shipping_methods List shipping methods
The shipping methods (id, name, code, carrier, price breaks, countries). GET /warehouse-service/shipping-method.
brightpearl_search_goods_out_notes Search goods-out notes (shipments)
Search goods-out notes, the pick/pack/ship records of sales orders; each row has goodsOutNoteId, printed, picked, packed, shipped, shippedOn, orderId, shippingMethodId, warehouseId, createdOn, releaseDate, transfer. GET /warehouse-service/goods-note/goods-out-search.
| Parameter | Type | Description |
|---|---|---|
created_from | string | Created: on or after this day (yyyy-mm-dd) or ISO 8601 date-time with timezone. |
created_to | string | Created: on or before this day (yyyy-mm-dd, whole day included) or ISO 8601 date-time with timezone. |
first_result | integer | Position of the first row to return, from 1 (default 1). Pass the previous reply's next_first_result for the next page. |
newest_first | boolean | Newest (highest id) first. Default: oldest first. |
order_id | integer | Only notes of this order. |
packed | boolean | Only packed (true) or not yet packed (false) notes. |
page_size | integer | Rows per page, 1-500 (default 25). |
picked | boolean | Only picked (true) or not yet picked (false) notes. |
shipped | boolean | Only shipped (true) or not yet shipped (false) notes. |
shipped_from | string | Shipped: on or after this day (yyyy-mm-dd) or ISO 8601 date-time with timezone. |
shipped_to | string | Shipped: on or before this day (yyyy-mm-dd, whole day included) or ISO 8601 date-time with timezone. |
shipping_method_id | array | Only these shipping methods (one or more ids). |
warehouse_id | integer | Only notes of this warehouse. |
brightpearl_search_goods_in_notes Search goods-in notes (stock received)
Search goods-in records (stock received against purchase orders, by batch and location); each row has purchaseOrderId, batchId, productId, locationId, price, currCode, receivedQuantity, onHand, createdDate, receivedDate, warehouseId. GET /warehouse-service/goods-in-search.
| Parameter | Type | Description |
|---|---|---|
batch_id | integer | Only this batch. |
first_result | integer | Position of the first row to return, from 1 (default 1). Pass the previous reply's next_first_result for the next page. |
newest_first | boolean | Newest batch (highest batch id) first. Default: oldest first. |
page_size | integer | Rows per page, 1-500 (default 25). |
product_id | integer | Only this product. |
purchase_order_id | integer | Only stock received on this purchase order. |
received_from | string | Received: on or after this day (yyyy-mm-dd) or ISO 8601 date-time with timezone. |
received_to | string | Received: on or before this day (yyyy-mm-dd, whole day included) or ISO 8601 date-time with timezone. |
warehouse_id | integer | Only this warehouse. |
brightpearl_search_contacts Search contacts
Search contacts (customers, suppliers and staff). Every filter is optional and they combine (AND); each result row has contactId, primaryEmail, firstName, lastName, companyName, isSupplier, isStaff, isCustomer, createdOn, updatedOn, lastOrderedOn and more. Use brightpearl_get_contacts for the full record. GET /contact-service/contact-search.
| Parameter | Type | Description |
|---|---|---|
company_ids | array | Only contacts of these company ids (one or more ids). |
company_name | string | Company name (case-insensitive match). |
contact_ids | array | Only these contacts (one or more ids). |
created_from | string | Created: on or after this day (yyyy-mm-dd) or ISO 8601 date-time with timezone. |
created_to | string | Created: on or before this day (yyyy-mm-dd, whole day included) or ISO 8601 date-time with timezone. |
email | string | Matches any of the contact's email addresses (case-insensitive match). |
exact_primary_email | string | Exact primary email address. |
first_name | string | First name (case-insensitive match). |
first_result | integer | Position of the first row to return, from 1 (default 1). Pass the previous reply's next_first_result for the next page. |
is_customer | boolean | Only customers (true). |
is_staff | boolean | Only staff (true). |
is_supplier | boolean | Only suppliers (true). |
last_name | string | Last name (case-insensitive match). |
last_ordered_from | string | Last ordered: on or after this day (yyyy-mm-dd) or ISO 8601 date-time with timezone. |
last_ordered_to | string | Last ordered: on or before this day (yyyy-mm-dd, whole day included) or ISO 8601 date-time with timezone. |
newest_first | boolean | Newest (highest id) first. Default: oldest first. |
page_size | integer | Rows per page, 1-500 (default 25). |
phone | string | Matches any of the telephone or mobile numbers. |
tag_ids | array | Only contacts with these tag ids (one or more ids). |
updated_from | string | Last updated: on or after this day (yyyy-mm-dd) or ISO 8601 date-time with timezone. |
updated_to | string | Last updated: on or before this day (yyyy-mm-dd, whole day included) or ISO 8601 date-time with timezone. |
brightpearl_get_contacts Get contacts
Full records of one or more contacts by id: name, emails, phones, status, supplier/staff flags, financial details (price list, tax code, credit limit and terms), assignment, organisation, tags, dates; optionally custom fields and the full postal addresses. Up to 50 ids. GET /contact-service/contact/{ids}.
| Parameter | Type | Description |
|---|---|---|
contact_ids * | array | Contact ids (1-50 ids). |
include_addresses | boolean | Also return the full postal addresses. |
include_custom_fields | boolean | Also return custom field values. |
brightpearl_add_contact_note Add contact note
WRITE: add a note to a contact's timeline (for example a record of correspondence). The note is private (staff only) unless is_public is true, which makes it visible on the customer portal. Returns the new note id. Notes cannot be removed with this server. POST /contact-service/contact/{id}/note.
| Parameter | Type | Description |
|---|---|---|
contact_id * | integer | Contact id. |
text * | string | The note text. |
is_public | boolean | Visible to the customer on the customer portal. Default false. |
brightpearl_search_customer_payments Search customer payments
Search payments received against sales orders; each row has paymentId, transactionRef, paymentMethodCode, paymentType, orderId, currencyCode, amountAuthorized, amountPaid, paymentDate, createdOn, journalId. GET /accounting-service/customer-payment-search.
| Parameter | Type | Description |
|---|---|---|
created_from | string | Created: on or after this day (yyyy-mm-dd) or ISO 8601 date-time with timezone. |
created_to | string | Created: on or before this day (yyyy-mm-dd, whole day included) or ISO 8601 date-time with timezone. |
first_result | integer | Position of the first row to return, from 1 (default 1). Pass the previous reply's next_first_result for the next page. |
newest_first | boolean | Newest (highest id) first. Default: oldest first. |
order_ids | array | Only payments on these orders (one or more ids). |
page_size | integer | Rows per page, 1-500 (default 25). |
payment_from | string | Payment date: on or after this day (yyyy-mm-dd) or ISO 8601 date-time with timezone. |
payment_ids | array | Only these payments (one or more ids). |
payment_method_code | string | Payment method code (brightpearl_list_payment_methods). |
payment_to | string | Payment date: on or before this day (yyyy-mm-dd, whole day included) or ISO 8601 date-time with timezone. |
payment_type | string | Payment type, for example RECEIPT, CAPTURE, AUTH. |
transaction_ref | string | The payment gateway's transaction reference. |
brightpearl_list_payment_methods List payment methods
The payment methods (name, code, active, bank accounts with currency and nominal code). GET /accounting-service/payment-method.
brightpearl_list_tax_codes List tax codes
The tax codes (id, code, description, rate). GET /accounting-service/tax-code.