Brightpearl

App · 20 actions

Find products, stock, contacts and orders, create sales orders, and track order status and shipping.

Actions

ActionWhat it does
Add contact noteAdd a note to a contact's timeline.
Add order noteAdd a note to an order.
Create contactAdd a customer or supplier with their address.
Create productAdd a product to the Brightpearl sales channel.
Create sales orderCreate a sales order for a customer, with one product row.
Get contactGet one or more contacts with their addresses, emails, phones and financial details.
Get goods-out notesGet an order's goods-out notes with their rows, shipping and status.
Get orderGet one or more orders with their status, rows, parties and totals.
Get productGet one or more products with their identity codes, stock settings and names.
Get product availabilityGet how many of one or more products are in stock, allocated and on hand, in total and by warehouse.
List brandsList the account's product brands.
List order notesList the notes on an order.
List order statusesList the statuses orders can have, for each order type.
List price listsList the account's selling and buying price lists.
List warehousesList the account's warehouses.
Search contactsFind customers and suppliers by email, name, company or when they changed.
Search goods-out notesFind goods-out notes (what's shipping) by order, warehouse, whether shipped, or when they were made.
Search ordersFind sales and purchase orders by type, status, contact, reference or when they changed.
Search productsFind products by name, SKU, barcode, brand or when they changed.
Update order statusMove an order to another status, with a note on the order.

Add contact note

Add a note to a contact's timeline.

Inputs

Contactcontact_idnumberRequired
The contact's ID.
NotetexttextRequired
The note.
Publicis_publictrue/false
Whether the customer sees it on the customer portal.

Outputs

dataobject
The response from Brightpearl.
Example output
{
  "data": {
    "response": 1
  }
}

Add order note

Add a note to an order.

Inputs

Orderorder_idnumberRequired
The order's ID.
NotetexttextRequired
The note.
Publicis_publictrue/false
Whether the customer sees it on the customer portal.

Outputs

dataobject
The response from Brightpearl.
Example output
{
  "data": {
    "response": 1
  }
}

Create contact

Add a customer or supplier with their address.

Inputs

Salutationsalutationtext
Mr., Ms. or another salutation.
First namefirst_nametext
The contact's first name.
Last namelast_nametextRequired
The contact's last name.
Emailemailtext
The contact's primary email.
Phonetelephonetext
The contact's primary phone number.
Companycompany_nametext
The company the contact works for.
Job titlejob_titletext
The contact's job title.
Supplieris_suppliertrue/false
Whether the contact is a supplier rather than a customer.
Street addressaddress_line1textRequired
The street address.
Address line 2address_line2text
The second line, such as the suburb.
Citycitytext
The city.
Statestatetext
The state or county.
Postal codepostal_codetext
The ZIP or postal code.
Country codecountry_iso_codetext
The country's three-letter ISO code, such as USA or GBR.

Outputs

dataobject
The response from Brightpearl.
Example output
{
  "data": {
    "response": 1
  }
}

Create product

Add a product to the Brightpearl sales channel.

Inputs

Brandbrand_idnumberRequired
The product's brand.
Nameproduct_nametextRequired
The product's name, up to 128 characters.
Category codecategory_codetextRequired
The code of the Brightpearl category the product is in.
Descriptiondescriptiontext
The product's description.
SKUskutext
The product's SKU, up to 32 characters.
Barcodebarcodetext
The product's barcode, up to 32 characters.
EANeantext
The product's EAN, up to 14 characters.
UPCupctext
The product's UPC, up to 14 characters.
Stock trackedstock_trackedtrue/false
Whether Brightpearl tracks the product's stock.
Taxabletaxabletrue/false
Whether the product is taxable, for an account using sales tax.
Tax codetax_codetext
The product's tax code, for an account using VAT.

Outputs

dataobject
The response from Brightpearl.
Example output
{
  "data": {
    "response": 1
  }
}

Create sales order

Create a sales order for a customer, with one product row.

Inputs

Customer IDcustomer_idnumberRequired
The customer's contact ID.
Product IDproduct_idnumberRequired
The product sold.
QuantityquantitynumberRequired
How many.At least 0.
Tax codetax_codetextRequired
The row's tax code, such as T20 or a sales tax code.
Net valuenetnumber
The row's net value. The price list's when empty.At least 0.
Tax valuetaxnumber
The row's tax value, given with a net value.At least 0.
Referencereferencetext
The customer's reference, up to 64 characters.
External referenceexternal_reftext
Your own reference for the order, up to 100 characters.
Placed onplaced_ondate and time
When the order was placed. Now, when left empty.
Statusstatus_idnumber
The order's status. The default status when empty.
Warehousewarehouse_idnumber
The warehouse it's fulfilled from.
Price listprice_list_idnumber
The price list to use. The customer's when empty.
Currencycurrency_codetext
The three-letter currency code. The customer's when empty.

Outputs

dataobject
The response from Brightpearl.
Example output
{
  "data": {
    "response": 1
  }
}

Get contact

Get one or more contacts with their addresses, emails, phones and financial details.

Inputs

Contactcontact_idstextRequired
The contact's ID, or several: 1000-1010 or 1,4,9.

Outputs

dataobject
The response from Brightpearl.
Example output
{
  "data": {
    "response": [
      {
        "assignment": {},
        "communication": {},
        "companyId": 1,
        "contactId": 1,
        "contactStatus": {},
        "contactTags": "example",
        "createdOn": "example",
        "customFields": {},
        "financialDetails": {},
        "firstName": "example",
        "isPrimaryContact": true,
        "lastContactedOn": "example",
        "lastName": "example",
        "marketingDetails": {},
        "organisation": {
          "jobTitle": "example",
          "name": "example",
          "organisationId": 1
        },
        "postAddressIds": {},
        "postalAddresses": {},
        "relationshipToAccount": {
          "isStaff": true,
          "isSupplier": true
        },
        "salutation": "example",
        "tradeStatus": "example",
        "updatedOn": "example"
      }
    ]
  }
}

Get goods-out notes

Get an order's goods-out notes with their rows, shipping and status.

Inputs

Orderorder_idstextRequired
The order's ID, or several: 1000-1010 or 1,4,9.

Outputs

dataobject
The response from Brightpearl.
Example output
{
  "data": {
    "response": {}
  }
}

Get order

Get one or more orders with their status, rows, parties and totals.

Inputs

Orderorder_idstextRequired
The order's ID, or several: 1000-1010 or 1,4,9.

Outputs

dataobject
The response from Brightpearl.
Example output
{
  "data": {
    "response": [
      {
        "allocationStatusCode": "example",
        "assignment": {},
        "closedOn": "example",
        "createdById": 1,
        "createdOn": "example",
        "currency": {},
        "delivery": {},
        "id": 1,
        "invoices": [
          {}
        ],
        "isDropship": true,
        "orderPaymentStatus": "example",
        "orderRows": {},
        "orderStatus": {
          "name": "example",
          "orderStatusId": 1
        },
        "orderTypeCode": "example",
        "parentOrderId": 1,
        "parties": {},
        "placedOn": "example",
        "priceListId": 1,
        "priceModeCode": "example",
        "reference": "example",
        "shippingStatusCode": "example",
        "stockStatusCode": "example",
        "totalValue": {
          "net": 1,
          "taxAmount": 1,
          "total": 1
        },
        "updatedOn": "example",
        "version": 1,
        "warehouseId": 1
      }
    ]
  }
}

Get product

Get one or more products with their identity codes, stock settings and names.

Inputs

Productproduct_idstextRequired
The product's ID, or several: 1000-1010 or 1,4,9.

Outputs

dataobject
The response from Brightpearl.
Example output
{
  "data": {
    "response": [
      {
        "brandId": 1,
        "composition": {},
        "createdOn": "example",
        "financialDetails": {},
        "id": 1,
        "identity": {
          "barcode": "example",
          "ean": "example",
          "isbn": "example",
          "mpn": "example",
          "sku": "example",
          "upc": "example"
        },
        "primarySupplierId": 1,
        "productGroupId": 1,
        "productTypeId": 1,
        "salesChannels": [
          {
            "categories": [
              {}
            ],
            "description": {},
            "productCondition": "example",
            "productName": "example",
            "salesChannelName": "example",
            "shortDescription": {}
          }
        ],
        "status": "example",
        "stock": {},
        "updatedOn": "example",
        "variations": [
          {}
        ],
        "version": 1
      }
    ]
  }
}

Get product availability

Get how many of one or more products are in stock, allocated and on hand, in total and by warehouse.

Inputs

Productproduct_idstextRequired
The product's ID, or several: 1000-1010 or 1,4,9.

Outputs

dataobject
The response from Brightpearl.
Example output
{
  "data": {
    "response": {}
  }
}

List brands

List the account's product brands.

Inputs

None.

Outputs

dataobject
The response from Brightpearl.
Example output
{
  "data": {
    "response": [
      {
        "createdOn": "example",
        "description": "example",
        "id": 1,
        "name": "example",
        "updatedOn": "example"
      }
    ]
  }
}

List order notes

List the notes on an order.

Inputs

Orderorder_idnumberRequired
The order's ID.

Outputs

dataobject
The response from Brightpearl.
Example output
{
  "data": {
    "response": [
      {
        "addedBy": 1,
        "addedOn": "example",
        "contactId": 1,
        "fileId": 1,
        "isPublic": true,
        "noteId": 1,
        "orderStatusId": 1,
        "text": "example"
      }
    ]
  }
}

List order statuses

List the statuses orders can have, for each order type.

Inputs

None.

Outputs

dataobject
The response from Brightpearl.
Example output
{
  "data": {
    "response": [
      {
        "color": "example",
        "disabled": true,
        "name": "example",
        "orderTypeCode": "example",
        "sortOrder": 1,
        "state": "example",
        "statusId": 1,
        "visible": true
      }
    ]
  }
}

List price lists

List the account's selling and buying price lists.

Inputs

None.

Outputs

dataobject
The response from Brightpearl.
Example output
{
  "data": {
    "response": [
      {
        "code": "example",
        "currencyCode": "example",
        "currencyId": 1,
        "currencySymbol": "example",
        "gross": true,
        "id": 1,
        "name": {
          "format": "example",
          "languageCode": "example",
          "text": "example"
        },
        "priceListTypeCode": "example"
      }
    ]
  }
}

List warehouses

List the account's warehouses.

Inputs

None.

Outputs

dataobject
The response from Brightpearl.
Example output
{
  "data": {
    "response": [
      {
        "address": {},
        "clickAndCollectEnabled": true,
        "id": 1,
        "name": "example",
        "typeCode": "example",
        "typeDescription": "example"
      }
    ]
  }
}

Search contacts

Find customers and suppliers by email, name, company or when they changed.

Inputs

Email containsemailtext
Only contacts with this text in any email.
Last name containslast_nametext
Only contacts whose last name contains this.
Company containscompany_nametext
Only contacts whose company name contains this.
Supplieris_suppliertrue/false
Only suppliers, or only those who aren't.
Customeris_customertrue/false
Only customers, or only those who aren't.
Created aftercreated_afterdate and time
Only records created at or after this time.
Updated afterupdated_afterdate and time
Only records changed at or after this time.
Ordersorttext
The order to return records in.One of: createdOn.DESC (Newest first), createdOn.ASC (Oldest first), updatedOn.DESC (Recently updated first).
Limitpage_sizenumber
How many records to return, up to 500. Brightpearl returns 500 when empty.From 1 to 500.
Start atfirst_resultnumber
The position of the first record to return, from 1. For the second page of 500, enter 501.At least 1.

Outputs

dataobject
The response from Brightpearl.
Example output
{
  "data": {
    "metaData": {
      "firstResult": 1,
      "lastResult": 1,
      "resultsAvailable": 1,
      "resultsReturned": 1
    },
    "results": [
      {
        "companyName": "example",
        "contactId": 1,
        "createdOn": "example",
        "firstName": "example",
        "isCustomer": true,
        "isPrimary": true,
        "isStaff": true,
        "isSupplier": true,
        "lastContactedOn": "example",
        "lastName": "example",
        "lastOrderedOn": "example",
        "mob": "example",
        "nominalCode": 1,
        "pri": "example",
        "primaryEmail": "example",
        "sec": "example",
        "secondaryEmail": "example",
        "tertiaryEmail": "example",
        "title": "example",
        "updatedOn": "example"
      }
    ]
  }
}

Search goods-out notes

Find goods-out notes (what's shipping) by order, warehouse, whether shipped, or when they were made.

Inputs

Order IDorder_idnumber
Only notes for this order.
Warehousewarehouse_idnumber
Only notes from this warehouse.
Shippedshippedtrue/false
Only shipped notes, or only those not shipped yet.
Created aftercreated_afterdate and time
Only notes created at or after this time.
Shipped aftershipped_afterdate and time
Only notes shipped at or after this time.
Ordersorttext
The order to return records in.One of: createdOn.DESC (Newest first), createdOn.ASC (Oldest first).
Limitpage_sizenumber
How many records to return, up to 500. Brightpearl returns 500 when empty.From 1 to 500.
Start atfirst_resultnumber
The position of the first record to return, from 1. For the second page of 500, enter 501.At least 1.

Outputs

dataobject
The response from Brightpearl.
Example output
{
  "data": {
    "metaData": {
      "firstResult": 1,
      "lastResult": 1,
      "resultsAvailable": 1,
      "resultsReturned": 1
    },
    "results": [
      {
        "channelId": 1,
        "createdBy": 1,
        "createdOn": "example",
        "goodsOutNoteId": 1,
        "labelUri": "example",
        "orderId": 1,
        "packed": true,
        "picked": true,
        "printed": true,
        "priority": true,
        "releaseDate": "example",
        "shipped": true,
        "shippedOn": "example",
        "shippingMethodId": 1,
        "transfer": true,
        "warehouseId": 1
      }
    ]
  }
}

Search orders

Find sales and purchase orders by type, status, contact, reference or when they changed.

Inputs

Order typeorder_type_idnumber
Only orders of this type: 1 sales order, 2 purchase order, 3 sales credit, 4 purchase credit.From 1 to 4.
Statusorder_status_idnumber
Only orders with this status.
Contact IDcontact_idnumber
Only orders for this customer or supplier.
Customer referencecustomer_reftext
Only orders with this customer reference.
External referenceexternal_reftext
Only orders with this external reference.
Warehousewarehouse_idnumber
Only orders from this warehouse.
Invoicedis_closedtrue/false
Only invoiced orders, or only those that aren't.
Created aftercreated_afterdate and time
Only records created at or after this time.
Updated afterupdated_afterdate and time
Only records changed at or after this time.
Ordersorttext
The order to return records in.One of: createdOn.DESC (Newest first), createdOn.ASC (Oldest first), updatedOn.DESC (Recently updated first).
Limitpage_sizenumber
How many records to return, up to 500. Brightpearl returns 500 when empty.From 1 to 500.
Start atfirst_resultnumber
The position of the first record to return, from 1. For the second page of 500, enter 501.At least 1.

Outputs

dataobject
The response from Brightpearl.
Example output
{
  "data": {
    "metaData": {
      "firstResult": 1,
      "lastResult": 1,
      "resultsAvailable": 1,
      "resultsReturned": 1
    },
    "results": [
      {
        "contactId": 1,
        "createdById": 1,
        "createdOn": "example",
        "customerRef": "example",
        "deliveryDate": "example",
        "departmentId": 1,
        "externalRef": "example",
        "orderId": 1,
        "orderPaymentStatusId": 1,
        "orderShippingStatusId": 1,
        "orderStatusId": 1,
        "orderStockStatusId": 1,
        "orderTypeId": 1,
        "parentOrderId": 1,
        "staffOwnerContactId": 1,
        "taxDate": "example",
        "updatedOn": "example",
        "warehouseId": 1
      }
    ]
  }
}

Search products

Find products by name, SKU, barcode, brand or when they changed.

Inputs

Name containsproduct_nametext
Only products whose name contains this.
SKUskutext
Only the product with this SKU.
Barcodebarcodetext
Only the product with this barcode.
Brandbrand_idnumber
Only products of this brand.
Stock trackedstock_trackedtrue/false
Only products whose stock is tracked, or only those that aren't.
Created aftercreated_afterdate and time
Only records created at or after this time.
Updated afterupdated_afterdate and time
Only records changed at or after this time.
Ordersorttext
The order to return records in.One of: createdOn.DESC (Newest first), createdOn.ASC (Oldest first), updatedOn.DESC (Recently updated first).
Limitpage_sizenumber
How many records to return, up to 500. Brightpearl returns 500 when empty.From 1 to 500.
Start atfirst_resultnumber
The position of the first record to return, from 1. For the second page of 500, enter 501.At least 1.

Outputs

dataobject
The response from Brightpearl.
Example output
{
  "data": {
    "metaData": {
      "firstResult": 1,
      "lastResult": 1,
      "resultsAvailable": 1,
      "resultsReturned": 1
    },
    "results": [
      {
        "EAN": "example",
        "ISBN": "example",
        "MPN": "example",
        "SKU": "example",
        "UPC": "example",
        "barcode": "example",
        "brandId": 1,
        "brightpearlCategoryCode": "example",
        "createdOn": "example",
        "primarySupplierId": 1,
        "productGroupId": 1,
        "productId": 1,
        "productName": "example",
        "productStatus": "example",
        "productTypeId": 1,
        "salesChannelName": "example",
        "stockTracked": true,
        "updatedOn": "example"
      }
    ]
  }
}

Update order status

Move an order to another status, with a note on the order.

Inputs

Orderorder_idnumberRequired
The order's ID.
Statusorder_status_idnumberRequired
The new status.
Notenotetext
The note added to the order. Brightpearl writes one when empty.
Public noteis_publictrue/false
Whether the customer sees the note on the customer portal.

Outputs

dataobject
The response from Brightpearl.
Example output
{
  "data": {}
}

On this page