SalesMania
  1. Authentication & Select Database
SalesMania
  • Authentication & Select Database
    • Get bearer token from Basic Auth
      GET
    • Get list of databases
      GET
    • Get team token for a selected database
      GET
  • Customers
    • Get customers
      GET
    • Add new customer
      POST
    • Get customer by ID
      GET
    • Update customer by ID
      PATCH
    • Delete customer by ID
      DELETE
  • Products
    • Get products
      GET
    • Add new product
      POST
    • Get product by ID
      GET
    • Update product by ID
      PATCH
    • Delete product by ID
      DELETE
  • Visits
    • Get visits
      GET
    • Add new visit
      POST
  • Orders
    • Add new order
      POST
    • Get order by ID
      GET
    • Update order by ID
      PATCH
  • Team
    • Get teams
      GET
  1. Authentication & Select Database

Get list of databases

GET
/extapi/v1.0/get_databases
Klik Try it Out, kemudian klik Auth, kemudian paste token dari panggilan API sebelumnya (/token) sebagai Bearer Token.
Kemudian klik Send untuk mendapatkan response API daftar database yang bisa diakses.
Copy company_id ke clipboard dari database yang akan diakses di panggilan API berikutnya.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.salesmania.id/extapi/v1.0/get_databases'

Responses

🟢200Success
application/json
Body
object {0}
Example
{}
Modified at 2024-10-30 10:37:09
Previous
Get bearer token from Basic Auth
Next
Get team token for a selected database
Built with