Récupérer un produit

Informations concernant un produit en particulier.

Get product

GET https://api.trax-distribution.fr/v1/product/:ean

This endpoint allows you to get one product information

Path Parameters

Name
Type
Description

ean

string

EAN du produit demandé

Headers

Name
Type
Description

Authentication

object

Basic auth login && password

{
    "products": [
        {
            "sku": "MR912",
            "ean": "4260283112258",
            "title": "CLE USB 64 GB",
            "product_brand": {
                "code": "MR",
                "libelle": "MEDIARANGE"
            },
            "product_group": {
                "code": "STORAG",
                "libelle": "STOCKAGE"
            },
            "product_category": {
                "code": "CLEUSB",
                "libelle": "CLE USB"
            },
            "product_subcategory": {
                "code": "C64",
                "libelle": "CLE USB 64GO"
            },
            "stock": 1955,
            "price": {
                "price_before_tax": 6.99,
                "ecopart": 0.02,
                "sorecop": 6.4
            },
            "short_description": "- Capacit\u00e9 : 64 GB
<BR>- Interface : USB 2.0
<BR>- Vitesse de lecture : 13-17 MB/s
<BR>- Vitesse d'\u00e9criture : 6-8 MB/s
<BR>- Packaging sous blister unique
<BR>- Couleur : Noir/argent
<BR>- Attache protectrice pivotante
<BR>- Longue dur\u00e9e d'archivage
<BR>- Excellente compatibilit\u00e9 avec tous les syt\u00e8mes actuels
<BR>- Taille : 56 x 11 x 11 mm
<BR>- Poids net : 15g",
            "images": [
                "https://www.trax-distribution.fr/wp-content/uploads/onekey/mr912_1.jpg",
                "https://www.trax-distribution.fr/wp-content/uploads/onekey/mr912_2.jpg"
            ],
            "dimensions": {
                "length": 56,
                "width": 11,
                "height": 11
            },
            "weight": "0.03",
            "medias": [
                "https://www.trax-distribution.fr/wp-content/uploads/onekey/mr912.pdf"
            ],
            "attributes": {
                "Capacit\u00e9": "64 GO",
                "Type": "Cl\u00e9 USB standard",
                "Interface": "USB 2.0",
                "Vitesse \u00e9criture": "13-17 MB/s",
                "Vitesse lecture": "4 MB/s",
                "Format": "Pliable",
                "Compatibilit\u00e9": "Compatibilit\u00e9 universelle"
            },
            "shipping_cost": 5.9,
            "shipping_class": "xs"
        }
    ]
}

Contenu de la réponse

Clé

Valeur

sku

string

ean

string

title

string

product_brand

array(code, libelle)

product_group

array(code,libelle)

product_category

array(code,libelle)

product_subcategory

array(code,libelle)

stock

integer

price

array(price_before_tax,ecopart,sorecop)

description

html string

short_description

html string

images

array(url 1, url N)

dimensions (mm)

array(lenght,width,height)

weight (kg)

float

medias

array(url 1, url N)

attributes

array( key1 => value1 , key N => value N)

shipping_cost

float

shipping_class

string

Last updated