bling-erp.js

0.3.2 • Public • Published

bling-erp.js

Biblioteca para interagir com o Bling ERP API.

Recursos

  • Produtos: add, update, delete, getAll, getBySku
  • Pedidos: add, update, getAll, getByNumber
  • Pedidos de Compras: add, update, getAll, getByNumber
  • Contatos: add, update, getAll, getById
  • Categorias: getAll
  • Paginação automática
  • Filtros

Exemplos

Crie uma instância:

const bling = new Bling({
    apikey: apikey,
})

Buscar produto pelo SKU:

async function buscarProdutoPeloSKU () {
  return await bling.produtos.getBySku( sku )
}

Abra um Issue para tirar dúvidas.

Package Sidebar

Install

npm i bling-erp.js

Weekly Downloads

1

Version

0.3.2

License

Apache-2.0

Unpacked Size

23.1 kB

Total Files

9

Last publish

Collaborators

  • leobaldoneto