LogicTrade API
  1. References
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
      • Retrieve a supplier by id
      • Create a supplier
      • Update a supplier
      • Remove the supplier
    • 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
          GET
      • 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. References

Get the product references

GET
/rest/v1/products/{product id}/references
In LogicTrade, a product can be linked to another product. Here, we differentiate between similar products and related products.
Similar products indicate alternatives to the selected product.
Related products are products that can be sold alongside the selected item.

Request

Authorization
Add parameter in header
api-key
Example:
api-key: ********************
Path Params
product id
string 
required
The unique identifier of the product.
Example:
1
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

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/products/1/references?pageSize=100&pageNumber=1' \
--header 'api-key;'

Responses

🟢200Success
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 {4}] 
optional
id
integer 
optional
The unique identifier of the product.
code
string 
optional
The unique code with which the product can be found.
name
string 
optional
The name of the product.
type
string 
optional
The type of reference, which can be similar or related. See also the description of the endpoint.
Example
{
    "pagination": {
        "totalResults": 3,
        "pageNumber": 1,
        "pageSize": 10,
        "totalPages": 1
    },
    "results": [
        {
            "id": 108,
            "code": "A0000001",
            "name": "Sierkussen Smient",
            "type": "related"
        },
        {
            "id": 63,
            "code": "LT00000036",
            "name": "Kussens",
            "type": "related"
        },
        {
            "id": 102,
            "code": "LT00000075",
            "name": "Westert bank",
            "type": "similar"
        }
    ]
}
Modified at 2024-12-19 09:04:45
Previous
Get the descriptions for a product
Next
Get product compositions