LogicTrade API
  1. Supplier
LogicTrade API
  • Authentication
  • Pagination
  • Rate limits
  • Error codes
  • Changelog
  • Configuration Service
  • Endpoints
    • Authentication
      • Introspection
    • Customer
      • List all customers
      • Retrieve a customer by id
      • Create a customer
      • Update a customer
      • Remove the customer
    • Supplier
      • List all suppliers
        GET
      • Retrieve a supplier by id
        GET
      • Create a supplier
        POST
      • Update a supplier
        PUT
      • Remove the supplier
        DELETE
    • Product
      • Product
        • List all products
        • Retrieve a product by id
        • Create a product
        • Remove the products
        • Update a product
        • Search products
      • Groups
        • List all product groups
      • Discount
        • List all discounts for products
        • Get all discounts for product by id
        • List all discounts for customers
        • Get all discounts for a customer by id
      • Stock
        • Get stock for products
        • Search stock for products
      • Prices
        • Get product prices
      • Descriptions
        • Get the descriptions for a product
      • References
        • Get the product references
      • Compositions
        • Get product compositions
    • Quote
      • List all quotes
      • Retrieve a quote by id
      • Create a quote
      • Update a quote
    • Sales order
      • List all orders
      • Retrieve an orders by id
      • Create an order
      • Update an order
    • Invoice
      • List all invoices
      • Retrieve a invoice by id
      • Create a invoice
      • Update a invoice
    • Delivery
      • Get list of orders that can be delivered
      • Update the order with delivery information
    • Purchase order
      • List all purchase orders
      • Retrieve a purchase orders by id
      • Create a purchase order
      • Update a purchase order
  1. Supplier

Retrieve a supplier by id

GET
/rest/v1/suppliers/{id}
Returns the suppliers object for a valid id.

Request

Authorization
Add parameter in header
api-key
Example:
api-key: ********************
Path Params
id
string 
required
The id of the supplier.

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/' \
--header 'api-key;'

Responses

🟢200OK
application/json
Body
id
integer 
required
The unique identifier of the supplier.
number
string 
read-onlyoptional
A unique number with which the supplier can be found.
companyName
string 
required
The supplier's company name.
phoneNumber
string 
optional
The first phone number of the supplier.
mobileNumber
string 
optional
The mobile phone number of the supplier.
email
string 
optional
The e-mail adress of the supplier
remark
string 
optional
Any customer supplier.
leadTimeInWeeks
integer 
optional
The default lead time in weeks of the supplier.
address
object 
optional
The address of the supplier.
name
string 
optional
street
string 
optional
houseNumber
string 
optional
zipCode
string 
optional
city
string 
optional
country
string 
optional
phoneNumber
string 
optional
ibanNumber
string 
optional
The IBAN number of the supplier
bicCode
string 
optional
The BIC/SWIFT code of the supplier
cocNumber
string 
optional
Chain of Custody Number (KvK number).
modifiedDate
string <date-time>
optional
The date on which the entity was last modified.
createdDate
string <date-time>
optional
The date on which the entity was created.
Example
{
    "id": 14
}
🟠403Forbidden
🟠404Record Not Found
Modified at 2024-07-30 06:23:30
Previous
List all suppliers
Next
Create a supplier