No results found
- Utilities
-
Accounting
- Accounting Period
- Accounting Period Lock
- All transaction statement
- Contact balance
- Currency
- Customer Payment
- Exchange Rate
- Journal
- Journal Entry
- Nominal Code
- Payment Method
- Purchase Credit
- Purchase Invoice
- Purchase Payment
- Purchase Payment Total
- Sale Payment Total
- Sales Credit
- Sales Invoice
- Sales Receipt
- Sales Receipt (deprecated)
- Supplier Payment
- Tax Code
- Contact
- Integration
-
Order
- Custom Field Metadata
- Forget Contact
- Landed Cost Estimate
- Order
- Order Acknowledgement
- Custom Field
- Order Note
- Order Row
- Order Shipping Status
- Order Status
- Order Status Update
- Order Stock Status
- Order Type
- Purchase Credit Close
- Purchase Order Close
- Sales Credit
- Sales Credit Close
- Sales Order
- Sales Order Close
- Sales Order Row
- Pricing
-
Product
- Brand
- Brightpearl Category
- Channel
- Channel brand
- Collection
- Discount contact usage
- Discount total usage
- Option
- Option Value
- Price List
- Product Primary Supplier
- Product
- Product Bundle
- Product Custom Field
- Custom Field Metadata
- Custom Field
- Product Group
- Product Identity
- Product option value
- Product Price
- Product Supplier
- Product Type
- Product Type Option Association
- Season
-
Warehouse
- Asset Value Correction
- Bundle Availability
- Default Location
- Drop-Ship Note
- Drop-Ship Note Event
- External Transfer
- Fulfilment Source
- Order fulfilment status
- Goods-In Note Correction
- Goods-In Note
- Goods Movement
- Goods-Out Note
- Goods-Out Note Event
- Internal Transfer
- Location
- Pick
- Product Availability
- Quarantine Location
- Quarantine Release
- Reservation
- Reservation Row
- Reservations
- Shipping Method
- Stock Correction
- Stock Transfer
- Warehouse
- Warehouse Defaults
- Zone
Account Location (deprecated) GET
URI
https://euw1.brightpearlconnect.com/developer-tools/{DEV-REF}/account-location/{ACCOUNT}
Description
This resource allows you to lookup an account code, verify that it exists, and determine the datacentre it is hosted on, along with other login and OAuth URLs. This resource is only available to Brightpearl registered developers.
You must use the EU1 datacentre; this endpoint is not available in other datacentres. No authentication headers are required to use this resource, but a valid developer reference must be provided in the URL.
Example
Developer 'acmewidgets' fetches the location of account 'outerheaven'.
Request URI
/developer-tools/acmewidgets/account-location/outerheaven
Response
{
"response": {
"datacentreCode": "euw1",
"apiDomain": "ws-eu1.brightpearl.com",
"urls": {
"login": "https://euw1.brightpearlapp.com/outerheaven.login",
"authorizeServer": "https://euw1.brightpearlapp.com/authorize/server",
"authorizeInstance": "https://euw1.brightpearlapp.com/4.95.1991/authorize_instance.php"
}
}
}