from brightpearl.api import BrightPearlAPI

api = BrightPearlAPI(
    'client_id', "client_secret", False, "account", "domain",
    "access_token", "appref", "devref"
)

# get all products from brightpearl
products = api.Products.all()

# get specific product
product = api.Products.get(1035)

# remove product
api.Products.remove(1035)

7f40e85f2e2828cb2dfc8ef38b83ea016319f226
<mask token>

<mask token>
api.Products.remove(1035)

<mask token>
api = BrightPearlAPI('client_id', 'client_secret', False, 'account',
    'domain', 'access_token', 'appref', 'devref')
products = api.Products.all()
product = api.Products.get(1035)
api.Products.remove(1035)

from brightpearl.api import BrightPearlAPI
api = BrightPearlAPI('client_id', 'client_secret', False, 'account',
    'domain', 'access_token', 'appref', 'devref')
products = api.Products.all()
product = api.Products.get(1035)
api.Products.remove(1035)

from brightpearl.api import BrightPearlAPI

api = BrightPearlAPI(
    'client_id', "client_secret", False, "account", "domain",
    "access_token", "appref", "devref"
)

# get all products from brightpearl
products = api.Products.all()

# get specific product
product = api.Products.get(1035)

# remove product
api.Products.remove(1035)
