LogicTrade API
    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
        • 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

    Pagination

    Pagination is essential when dealing with large datasets to:
    1.
    Improve Performance: Retrieving large amounts of data in a single request can overload servers and increase latency. Pagination distributes data retrieval across multiple requests, improving performance.
    2.
    Enhance User Experience: Users can navigate through data efficiently, reducing the time and resources required to find specific information.
    When an endpoint returns an array, we automatically implement pagination. The response includes the total number of results, as well as the current page, page size, and total number of pages.
    {
        "pagination": {
            "totalResults": 690,
            "pageNumber": 4,
            "pageSize": 100,
            "totalPages": 7
        }
    }
    You can adjust the desired page and page size using the query parameters pageNumber and pageSize.
    The default value of pageSize is 100, and this value must range between 10 and 100.
    Modified at 2024-04-08 11:08:37
    Previous
    Authentication
    Next
    Rate limits