SAP Business One website screenshot

SAP Business One

SAP Business One is an affordable, on-premise or cloud ERP solution designed for small and midsize businesses, covering finance and accounting, purchasing, inventory, sales, CRM, production, and analytics in a single integrated application. It exposes programmatic access through the Service Layer, a modern REST/OData v4 API for the SAP HANA edition, alongside the legacy DI API and DI Server for SQL Server deployments. Authentication uses session-based login that returns a B1SESSION cookie used for subsequent OData calls against company databases.

2 APIs 0 Features
ERPEnterprise Resource PlanningAccountingInventory ManagementCRMSmall BusinessMidsize BusinessSAP

APIs

SAP Business One Service Layer API

RESTful OData v4 API for SAP Business One on HANA exposing nearly all business objects (business partners, items, orders, invoices, journal entries, inventory, production) for P...

SAP Business One DI API

COM-based Data Interface API for the SQL Server edition of SAP Business One providing programmatic access to business objects, master data, and transactional documents. The comp...

Collections

Resources

🔗
LinkedIn
LinkedIn
🔗
Website
Website
🔗
Documentation
Documentation
💰
Pricing
Pricing
📝
Signup
Signup
💬
Support
Support
🔗
Developer Resources
Developer Resources
👥
GitHub Samples
GitHub Samples

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: SAP Business One Service Layer API
  version: v2
request:
  auth:
    type: apikey
    key: B1SESSION
    value: '{{B1SESSION}}'
    placement: query
items:
- info:
    name: Authenticate and start a Service Layer session
    type: http
  http:
    method: POST
    url: https://{host}:{port}/b1s/v2/Login
    body:
      type: json
      data: '{}'
  docs: Returns a B1SESSION cookie used for subsequent requests.
- info:
    name: End the current Service Layer session
    type: http
  http:
    method: POST
    url: https://{host}:{port}/b1s/v2/Logout
  docs: End the current Service Layer session
- info:
    name: List business partners
    type: http
  http:
    method: GET
    url: https://{host}:{port}/b1s/v2/BusinessPartners
    params:
    - name: $select
      value: ''
      type: query
    - name: $filter
      value: ''
      type: query
    - name: $top
      value: ''
      type: query
    - name: $skip
      value: ''
      type: query
    - name: $orderby
      value: ''
      type: query
  docs: List business partners
- info:
    name: Create a business partner
    type: http
  http:
    method: POST
    url: https://{host}:{port}/b1s/v2/BusinessPartners
    body:
      type: json
      data: '{}'
  docs: Create a business partner
- info:
    name: Get a business partner by CardCode
    type: http
  http:
    method: GET
    url: https://{host}:{port}/b1s/v2/BusinessPartners(':CardCode')
    params:
    - name: CardCode
      value: ''
      type: path
  docs: Get a business partner by CardCode
- info:
    name: Update a business partner
    type: http
  http:
    method: PATCH
    url: https://{host}:{port}/b1s/v2/BusinessPartners(':CardCode')
    params:
    - name: CardCode
      value: ''
      type: path
    body:
      type: json
      data: '{}'
  docs: Update a business partner
- info:
    name: Delete a business partner
    type: http
  http:
    method: DELETE
    url: https://{host}:{port}/b1s/v2/BusinessPartners(':CardCode')
    params:
    - name: CardCode
      value: ''
      type: path
  docs: Delete a business partner
- info:
    name: List items (products)
    type: http
  http:
    method: GET
    url: https://{host}:{port}/b1s/v2/Items
    params:
    - name: $select
      value: ''
      type: query
    - name: $filter
      value: ''
      type: query
    - name: $top
      value: ''
      type: query
    - name: $skip
      value: ''
      type: query
  docs: List items (products)
- info:
    name: Create an item
    type: http
  http:
    method: POST
    url: https://{host}:{port}/b1s/v2/Items
    body:
      type: json
      data: '{}'
  docs: Create an item
- info:
    name: List sales orders
    type: http
  http:
    method: GET
    url: https://{host}:{port}/b1s/v2/Orders
    params:
    - name: $select
      value: ''
      type: query
    - name: $filter
      value: ''
      type: query
    - name: $top
      value: ''
      type: query
    - name: $skip
      value: ''
      type: query
  docs: List sales orders
- info:
    name: Create a sales order
    type: http
  http:
    method: POST
    url: https://{host}:{port}/b1s/v2/Orders
    body:
      type: json
      data: '{}'
  docs: Create a sales order
- info:
    name: Get a sales order by DocEntry
    type: http
  http:
    method: GET
    url: https://{host}:{port}/b1s/v2/Orders(:DocEntry)
    params:
    - name: DocEntry
      value: ''
      type: path
  docs: Get a sales order by DocEntry
- info:
    name: List A/R invoices
    type: http
  http:
    method: GET
    url: https://{host}:{port}/b1s/v2/Invoices
    params:
    - name: $select
      value: ''
      type: query
    - name: $filter
      value: ''
      type: query
    - name: $top
      value: ''
      type: query
    - name: $skip
      value: ''
      type: query
  docs: List A/R invoices
- info:
    name: Create an A/R invoice
    type: http
  http:
    method: POST
    url: https://{host}:{port}/b1s/v2/Invoices
    body:
      type: json
      data: '{}'
  docs: Create an A/R invoice
- info:
    name: Get current company info
    type: http
  http:
    method: POST
    url: https://{host}:{port}/b1s/v2/CompanyService_GetCompanyInfo
  docs: Cross-service action returning the company configuration.
bundled: true