@tillhub/javascript-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Supplier
Creation
Failed
Supplier
Delete
Failed
Supplier
Fetch
Failed
Supplier
Note
Creation
Failed
Supplier
Put
Failed
Suppliers
constructor
endpoint
http
options
uri
Helper
base
Endpoint
bulk
Create
create
delete
export
get
get
All
meta
put
Suppliers
Bulk
Create
Failed
Suppliers
Count
Failed
Suppliers
Export
Failed
Suppliers
Fetch
Failed
Suppliers
Meta
Failed
Suppliers
Search
Failed
Error
Object
Handler
Supplier
Query
Supplier
Supplier
Address
Supplier
Bank
Account
Supplier
Contacts
Supplier
Note
Item
Supplier
Phonenumbers
Supplier
Query
Supplier
Response
Suppliers
Bulk
Response
Suppliers
Export
Response
Suppliers
Meta
Query
Suppliers
Options
Suppliers
Query
Suppliers
Response
Supplier
Address
Type
Supplier
Phonenumber
Types
Hierarchy
ThBaseHandler
Suppliers
Index
Constructors
constructor
Properties
endpoint
http
options
uri
Helper
base
Endpoint
Methods
bulk
Create
create
delete
export
get
get
All
meta
put
Constructors
constructor
new
Suppliers
(
options
:
SuppliersOptions
, http
:
Client
)
:
Suppliers
Parameters
options:
SuppliersOptions
http:
Client
Returns
Suppliers
Properties
endpoint
endpoint
:
string
http
http
:
Client
options
options
:
SuppliersOptions
uri
Helper
uri
Helper
:
UriHelper
Static
base
Endpoint
base
Endpoint
:
string
= '/api/v0/business-partners'
Methods
bulk
Create
bulk
Create
(
suppliers
:
Supplier
[]
, query
?:
HandlerSupplierQuery
)
:
Promise
<
SuppliersBulkResponse
>
Parameters
suppliers:
Supplier
[]
Optional
query:
HandlerSupplierQuery
Returns
Promise
<
SuppliersBulkResponse
>
create
create
(
supplier
:
Supplier
, query
?:
HandlerSupplierQuery
)
:
Promise
<
SupplierResponse
>
Parameters
supplier:
Supplier
Optional
query:
HandlerSupplierQuery
Returns
Promise
<
SupplierResponse
>
delete
delete
(
supplierId
:
string
)
:
Promise
<
SupplierResponse
>
Parameters
supplierId:
string
Returns
Promise
<
SupplierResponse
>
export
export
(
query
?:
SuppliersQuery
)
:
Promise
<
SuppliersExportResponse
>
Parameters
Optional
query:
SuppliersQuery
Returns
Promise
<
SuppliersExportResponse
>
get
get
(
supplierId
:
string
, query
:
SuppliersQuery
)
:
Promise
<
SupplierResponse
>
Parameters
supplierId:
string
query:
SuppliersQuery
Returns
Promise
<
SupplierResponse
>
get
All
get
All
(
query
?:
SuppliersQuery
)
:
Promise
<
SuppliersResponse
>
Parameters
Optional
query:
SuppliersQuery
Returns
Promise
<
SuppliersResponse
>
meta
meta
(
q
?:
SuppliersMetaQuery
)
:
Promise
<
SuppliersResponse
>
Parameters
Optional
q:
SuppliersMetaQuery
Returns
Promise
<
SuppliersResponse
>
put
put
(
supplierId
:
string
, supplier
:
Supplier
)
:
Promise
<
SupplierResponse
>
Parameters
supplierId:
string
supplier:
Supplier
Returns
Promise
<
SupplierResponse
>
Generated using
TypeDoc