Returns a list of your suppliers. The suppliers are returned sorted by id, with the most recent supplier appearing first.
Request
Authorization
Add parameter in header
api-key
Example:
api-key: ********************
Query Params
pageSize
integer
optional
This specifies the number of objects to returned, ranging between 10 and 100.
Example:
100
pageNumber
integer
optional
The parameter pageNumber indicates which page of the result should be requested.
Example:
1
name
string
optional
Search for a specific supplier based on the provided name.
number
string
optional
Search for a specific supplier based on the provided number.
Example:
R000000009
zipCodeHouseNumber
string
optional
Search for a specific supplier based on the provided zip code and house number.
city
string
optional
Search for all suppliers based on the provided city.
phoneNumber
string
optional
Search for a specific supplier based on the provided phone number.
email
string
optional
Search for a specific supplier based on the provided email address.
modifiedAfter
string<date-time>
optional
Search for all suppliers that have been modified after the specified timestamp.
Example:
2024-04-12T13:49:51.141Z
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.logictrade.cloud/rest/v1/suppliers?pageSize=100&pageNumber=1&name&number=R000000009&zipCodeHouseNumber=&city&phoneNumber&email&modifiedAfter=2024-04-12T13:49:51.141Z' \
--header'api-key;'
Responses
🟢200OK
application/json
Body
pagination
object
optional
totalResults
integer
optional
The total number of records.
pageNumber
integer
optional
The current page number.
pageSize
integer
optional
The number of records returned per page.
totalPages
integer
optional
The total number of pages.
results
array [object {14}]
required
id
integer
required
The unique identifier of the supplier.
number
string
read-onlyoptional
A unique number with which the supplier can be found.