Products

The endpoints in this section are provided to perform operations related to the products in the system. Developers can list products, view their details, query them with specific filters or access associated data such as category.

All product APIs are designed in accordance with RESTFUL architecture standards and require Bearer Token authentication for secure access.


List All Products

Endpoint URL

GET
https://altium.net/api/products/all

Description

This endpoint paginates all products in the system. It is sorted with the last added product at the top. Requires authentication; a valid Bearer Token must be received before the request is made. Using the GET method, you can list all products of the country belonging to the logged in user

Authorization

   Authentication: Bearer <token>

Request URL

GET
https://altium.net/api/products/all

Example Response

{
   "data": [
   {
       "id": 62,
       "name": "Product Title",
       "slug": "product-slug",
       "sku": "SKU15646",
       "barcode": 7216445467,
       "description": "<p>description</p>",
       "features": "<p>features</p>",
       "specifications": "<p>specifications</p>",,
       "regular_price": 12.99,
       "sale_price": 10.99,
       "is_available_for_sale": true,
       "in_stock": true,
       "featured_image": "https://altium.net/storage/featured_image/k8K5elTUBUWydUGvm5O51VxUa7ZyBpJezQPAklp0.webp",
       "gallery": [
           {
               "uuid": "e4cfc78b-5cff-40a1-b2c6-f547c9e048b9",
               "original_url": "https://altium.net/storage/84/uhplc-system-high-speed-pump-multisampler-openlab-dad-1290-infinity-iii-l-agilent-medium.0aa8eaad.jpg",
               "preview_url": "https://altium.net/storage/84/conversions/uhplc-system-high-speed-pump-multisampler-openlab-dad-1290-infinity-iii-l-agilent-medium.0aa8eaad-preview.jpg"
           },
           {
               "uuid": "25a00253-dddf-4381-87e5-43467e7b5310",
               "original_url": "https://altium.net/storage/85/uhplc-system-lcms-high-speed-pump-multisampler-mct-1290-infinity-iii-f-agilent-medium.350a1aac.jpg",
               "preview_url": "https://altium.net/storage/85/conversions/uhplc-system-lcms-high-speed-pump-multisampler-mct-1290-infinity-iii-f-agilent-medium.350a1aac-preview.jpg"
           }
       ],
       "featured_image": "https://altium.net/images/test.png",
       "partner_id": 21,
       "is_consumable": 0,
       "categories": [
           {
               "id": 32,
               "name": "Category 1",
               "slug": "category-1",
               "description": "<p>Feugiat ut curabitur pellentesque non</p>",
               "parent_id": 31
           },
           {
               "id": 23,
               "name": "Category 2",
               "slug": "category-2",
               "description": "<p>Feugiat ut curabitur pellentesque non</p>",
               "parent_id": null
           }
       ],
       "url": "https://altium.net/tr/urun/numune-islem-yonetimi",
       "created_at": "2024-08-25 20:17:17",
       "updated_at": "2025-04-19 17:56:07"
   }
   ],
       "pagination": {
           "total": 19,
           "current_page": 1,
           "last_page": 2,
           "per_page": 10,
           "next_page_url": "https://altium.net/api/products/all?page=2",
           "prev_page_url": null
       }
}

Get Product Detail by SKU

Endpoint URL

GET
https://altium.net/api/products/sku/{sku}

Description

This endpoint returns the product with the given SKU. Basic information about the product is returned, along with associated categories and other details. Requires authentication; a valid Bearer Token must be received before the request is made. Using the GET method, you can list all products of the country belonging to the logged in user

Authorization

   Authentication: Bearer <token>

Parameters

  • Name
    sku
    Format
    string
    Description

    sku code of the product you want to get information about

Enpoint URL

GET
https://altium.net/api/products/sku/{sku}

Example Response

{
           "id": 62,
           "name": "Product Title",
           "slug": "product-slug",
           "sku": "SKU15646",
           "barcode": 7216445467,
           "description": "<p>description</p>",
           "features": "<p>features</p>",
           "specifications": "<p>specifications</p>",,
           "regular_price": 12.99,
           "sale_price": 10.99,
           "is_available_for_sale": true,
           "in_stock": true,
           "featured_image": "https://altium.net/storage/featured_image/k8K5elTUBUWydUGvm5O51VxUa7ZyBpJezQPAklp0.webp",
           "gallery": [
               {
                   "uuid": "e4cfc78b-5cff-40a1-b2c6-f547c9e048b9",
                   "original_url": "https://altium.net/storage/84/uhplc-system-high-speed-pump-multisampler-openlab-dad-1290-infinity-iii-l-agilent-medium.0aa8eaad.jpg",
                   "preview_url": "https://altium.net/storage/84/conversions/uhplc-system-high-speed-pump-multisampler-openlab-dad-1290-infinity-iii-l-agilent-medium.0aa8eaad-preview.jpg"
               },
               {
                   "uuid": "25a00253-dddf-4381-87e5-43467e7b5310",
                   "original_url": "https://altium.net/storage/85/uhplc-system-lcms-high-speed-pump-multisampler-mct-1290-infinity-iii-f-agilent-medium.350a1aac.jpg",
                   "preview_url": "https://altium.net/storage/85/conversions/uhplc-system-lcms-high-speed-pump-multisampler-mct-1290-infinity-iii-f-agilent-medium.350a1aac-preview.jpg"
               }
           ],
           "featured_image": "https://altium.net/images/test.png",
           "partner_id": 21,
           "is_consumable": 0,
           "categories": [
               {
                   "id": 32,
                   "name": "Category 1",
                   "slug": "category-1",
                   "description": "<p>Feugiat ut curabitur pellentesque non</p>",
                   "parent_id": 31
               },
               {
                   "id": 23,
                   "name": "Category 2",
                   "slug": "category-2",
                   "description": "<p>Feugiat ut curabitur pellentesque non</p>",
                   "parent_id": null
               }
           ],
           "url": "https://altium.net/tr/urun/numune-islem-yonetimi",
           "created_at": "2024-08-25 20:17:17",
           "updated_at": "2025-04-19 17:56:07"
       }

Get Product Detail by ID

Endpoint URL

GET
https://altium.net/api/products/id/{product_id}

Description

This endpoint returns the product with the given Product ID. Basic information about the product is returned, along with associated categories and other details. Requires authentication; a valid Bearer Token must be received before the request is made. Using the GET method, you can list all products of the country belonging to the logged in user

Authorization

   Authentication: Bearer <token>

Parameters

  • Name
    product_id
    Format
    integer
    Description

    ID of the product you want to get information about

Enpoint URL

GET
https://altium.net/api/products/sku/{product_id}

Example Response

{
           "id": 62,
           "name": "Product Title",
           "slug": "product-slug",
           "sku": "SKU15646",
           "barcode": 7216445467,
           "description": "<p>description</p>",
           "features": "<p>features</p>",
           "specifications": "<p>specifications</p>",,
           "regular_price": 12.99,
           "sale_price": 10.99,
           "is_available_for_sale": true,
           "in_stock": true,
           "featured_image": "https://altium.net/storage/featured_image/k8K5elTUBUWydUGvm5O51VxUa7ZyBpJezQPAklp0.webp",
           "gallery": [
               {
                   "uuid": "e4cfc78b-5cff-40a1-b2c6-f547c9e048b9",
                   "original_url": "https://altium.net/storage/84/uhplc-system-high-speed-pump-multisampler-openlab-dad-1290-infinity-iii-l-agilent-medium.0aa8eaad.jpg",
                   "preview_url": "https://altium.net/storage/84/conversions/uhplc-system-high-speed-pump-multisampler-openlab-dad-1290-infinity-iii-l-agilent-medium.0aa8eaad-preview.jpg"
               },
               {
                   "uuid": "25a00253-dddf-4381-87e5-43467e7b5310",
                   "original_url": "https://altium.net/storage/85/uhplc-system-lcms-high-speed-pump-multisampler-mct-1290-infinity-iii-f-agilent-medium.350a1aac.jpg",
                   "preview_url": "https://altium.net/storage/85/conversions/uhplc-system-lcms-high-speed-pump-multisampler-mct-1290-infinity-iii-f-agilent-medium.350a1aac-preview.jpg"
               }
           ],
           "featured_image": "https://altium.net/images/test.png",
           "partner_id": 21,
           "is_consumable": 0,
           "categories": [
               {
                   "id": 32,
                   "name": "Category 1",
                   "slug": "category-1",
                   "description": "<p>Feugiat ut curabitur pellentesque non</p>",
                   "parent_id": 31
               },
               {
                   "id": 23,
                   "name": "Category 2",
                   "slug": "category-2",
                   "description": "<p>Feugiat ut curabitur pellentesque non</p>",
                   "parent_id": null
               }
           ],
           "url": "https://altium.net/tr/urun/numune-islem-yonetimi",
           "created_at": "2024-08-25 20:17:17",
           "updated_at": "2025-04-19 17:56:07"
       }

List Products by Category

Endpoint URL

GET
https://altium.net/api/products/category/{category_id}

Description

This endpoint retrieves a paginated list of products that belong to a specific category, identified by its unique ID. It allows clients to filter products based on category associations, which is especially useful for dynamic listings in category-based views.

Authorization

   Authentication: Bearer <token>

Parameters

  • Name
    category_id
    Format
    integer
    Description

    The ID of the category to filter by

Enpoint URL

GET
https://altium.net/api/products/category/{category_id}

Example Response

{
       "data": [
       {
           "id": 62,
           "name": "Product Title",
           "slug": "product-slug",
           "sku": "SKU15646",
           "barcode": 7216445467,
           "description": "<p>description</p>",
           "features": "<p>features</p>",
           "specifications": "<p>specifications</p>",,
           "regular_price": 12.99,
           "sale_price": 10.99,
           "is_available_for_sale": true,
           "in_stock": true,
           "featured_image": "https://altium.net/storage/featured_image/k8K5elTUBUWydUGvm5O51VxUa7ZyBpJezQPAklp0.webp",
           "gallery": [
               {
                   "uuid": "e4cfc78b-5cff-40a1-b2c6-f547c9e048b9",
                   "original_url": "https://altium.net/storage/84/uhplc-system-high-speed-pump-multisampler-openlab-dad-1290-infinity-iii-l-agilent-medium.0aa8eaad.jpg",
                   "preview_url": "https://altium.net/storage/84/conversions/uhplc-system-high-speed-pump-multisampler-openlab-dad-1290-infinity-iii-l-agilent-medium.0aa8eaad-preview.jpg"
               },
               {
                   "uuid": "25a00253-dddf-4381-87e5-43467e7b5310",
                   "original_url": "https://altium.net/storage/85/uhplc-system-lcms-high-speed-pump-multisampler-mct-1290-infinity-iii-f-agilent-medium.350a1aac.jpg",
                   "preview_url": "https://altium.net/storage/85/conversions/uhplc-system-lcms-high-speed-pump-multisampler-mct-1290-infinity-iii-f-agilent-medium.350a1aac-preview.jpg"
               }
           ],
           "featured_image": "https://altium.net/images/test.png",
           "partner_id": 21,
           "is_consumable": 0,
           "categories": [
               {
                   "id": 32,
                   "name": "Category 1",
                   "slug": "category-1",
                   "description": "<p>Feugiat ut curabitur pellentesque non</p>",
                   "parent_id": 31
               },
               {
                   "id": 23,
                   "name": "Category 2",
                   "slug": "category-2",
                   "description": "<p>Feugiat ut curabitur pellentesque non</p>",
                   "parent_id": null
               }
           ],
           "url": "https://altium.net/tr/urun/numune-islem-yonetimi",
           "created_at": "2024-08-25 20:17:17",
           "updated_at": "2025-04-19 17:56:07"
       }
       ],
           "pagination": {
               "total": 19,
               "current_page": 1,
               "last_page": 2,
               "per_page": 10,
               "next_page_url": "https://altium.net/api/products/all?page=2",
               "prev_page_url": null
           }
    }

Did this document help you?