>
panier-tunetoo MON PANIER 0

Votre panier est vide

Personnaliser maintenant
icon-api-docsicon-api-docs
Documentation

API
Tunetoo

À propos de l'API Tunetoo

L'API Tunetoo utilise le protocole HTTP. Les méthodes HTTP GET, POST et DELETE sont utilisées pour accéder à l'API, permettant de créer, lire, mettre à jour et supprimer des données via des requêtes en format JSON.

Pour commencer

Authentification

De façon à pouvoir exécuter des opérations de lecture ou écriture, vous devez d'abord être authentifié sur notre site et obtenir une clé d'API ainsi qu'un secret API liés à votre boutique API Tunetoo. Cette clé doit être fournie à chaque appel dans l'en-tête HTTP X-TUNETOO-API-KEY.

L'API Tunetoo utilise un schéma HTTP personnalisé basé sur un HMAC (Hash Message Authentication Code) à clés pour l'authentification, chiffré en Base64. Pour authentifier une demande, vous devez d'abord concaténer les éléments composant le message de la demande (données POST) pour former une chaîne. Utilisez ensuite la clé d'accès secrète Tunetoo pour calculer le HMAC de cette chaîne, en utilisant la fonction itérative de hachage SHA256. Ce processus est appelé "signature de la demande", et le résultat de l'algorithme HMAC en base 64, la "signature". Enfin, vous devez ajouter cette signature en tant que header X-TUNETOO-SIGNATURE dans l'en-tête HTTP.

Exemples d'authentification

Exemple de génération de signature en PHP pour requête POST
              
                $api_key = "31938dd85ab5a2bfce57e9eexample";
                $secret = "bc69152203689725a73fc45example";
  
                $data = [
                  'test' =>
                  [
                    'id' => 1,
                    'data' =>
                    [
                        'name' => 'example1',
                        'value' => 'example value 1',
                    ],
                    [
                      'name' => 'example2',
                      'value' => 'example value 2',
                    ]
                  ]
                ];
  
                $json_data = json_encode($data);
  
                $signature = base64_encode(hash_hmac('sha256', $json_data, $secret, true));
              
            

Notez que le message de toute requête GET ou DELETE est considérée comme étant un array vide.

Exemple de génération de signature en PHP pour une requête GET
              
                $api_key = "31938dd85ab5a2bfce57e9eexample";
                $secret = "bc69152203689725a73fc45example";
  
                $data = [];
  
                $json_data = json_encode($data);
  
                $signature = base64_encode(hash_hmac('sha256', $json_data, $secret, true));
              
            

Si vous tentez de lire ou modifier une ressource sans la signature d'authentification, ou votre signature n'est pas valide, une erreur 401 sera renvoyée :

Exemple de réponse en cas d'erreur 401
              
                {
                    "code": "error",
                    "message": "Unauthorized",
                    "data": {
                        "status": 401
                    }
                }
              
            

Requêtes

Format requête/réponse

Le format de réponse est JSON. Les requêtes contenant un message doivent utiliser du JSON afin de créer ou mettre à jour les attributs des resources correspondantes.

Voir détail

Point de terminaison du service

Toutes les requêtes doivent être envoyées à cette URL :

https://api.tunetoo.com/v1/

Paramètres de la requête

Quelques paramètres obligatoires, notamment des identifiants objet, doivent être inclus dans l'URL de la requête :

GET /orders/321

Pour les requêtes en POST, le message peut être envoyé en format JSON dans le corps de la requête :

POST /orders
            
              {
                "external": {
                  "id": 1,
                  "options": [
                    {
                      "name": "commande-tunetoo",
                      "value": "Commande Tunetoo"
                    },
                    {
                      "name": "boutique-api",
                      "value": "Boutique API"
                    }
                  ]
                },
                "shipping_address": {
                  "first_name": "Hewitt",
                  "last_name": "Santos",
                  "address1": "242 Remsen Avenue",
                  "address2": "",
                  "city": "Bagtown",
                  "country": "France",
                  "country_code": "FR",
                  "zip": 75001,
                  "phone": "0611223344",
                  "email": "hewitt@santos.fr"
                },
                "items": [
                  {
                    "external": {
                      "id": 26,
                      "options": [
                        {
                          "name": "tshirt",
                          "value": "T-Shirt"
                        },
                        {
                          "name": "homme",
                          "value": "Homme"
                        },
                        {
                          "name": "colrond",
                          "value": "Col Rond"
                        }
                      ]
                    },
                    "sku_base": "TSH180_856_M",
                    "quantity": 15,
                    "files" : [
                      {
                        "zone": "front",
                        "type": "image",
                        "value": "https://www.tunetoo.com/images/impression.png",
                        "collar_distance": "3"
                      }
                    ]
  
                  }
                ]
              }
            
          

Réponse

La réponse sera un objet JSON contenant le résultat de l'action. Le code HTTP 200 OK sera envoyé si la requête a réussi.

Si l'appel API rencontre un problème, la code de réponse HTTP ne sera pas dans la plage 2xx. Ce code sera également présent dans l'attribut status contenu dans data.

L'attribut message contiendra une description de l'erreur.

En général, les codes de réponse 4xx indiquent une erreur dans les données de la requête (auhentification erronée, des paramètres manquants, etc.). Les codes 5xx indiqueront un problème avec le serveur Tunetoo.

API Tunetoo

Commandes

Trois requêtes sont disponibles concernant vos commandes :

Lister vos commandes Tunetoo

GET /orders

Retourne la liste complète de vos commandes Tunetoo.

Format de réponse
                
                  [
                    {
                      "id": 0,
                      "external": {
                        "id": 0,
                        "options": [
                        {
                          "name": "string",
                          "value": "string"
                        },
                        {
                          "name": "string",
                          "value": "string"
                        }
                        ]
                      },
                      "status": "fulfilled",
                      "created_at": "2018-03-26T17:41:36",
                      "updated_at": "2018-03-26T17:41:36",
                      "fulfillments": [
                      {
                        "tracking_url": "https://tracking-company.com/tracking?code=1EXAMPLE1234567",
                        "tracking_number": "1EXAMPLE1234567",
                        "company": "Tracking company",
                        "date": "2018-03-27 10:19:18",
                        "products": [
                        {
                          "id": 1,
                          "quantity": 15,
                          "sku": "111111_3"
                        }
                        ]
                      }
                      ],
                      "shipping_address": {
                        "first_name": "Hewitt",
                        "last_name": "Santos",
                        "company": "",
                        "address1": "242 Remsen Avenue",
                        "address2": "",
                        "city": "Bagtown",
                        "country": "France",
                        "country_code": "FR",
                        "zip": "75001",
                        "phone": "0611223344",
                        "email": "hewitt@santos.fr"
                      },
                      "billing_address": {
                        "first_name": "",
                        "last_name": "",
                        "company": "",
                        "address1": "",
                        "address2": "",
                        "city": "",
                        "country": "",
                        "country_code": null,
                        "zip": ""
                      },
                      "items": [
                      {
                        "id": 1,
                        "external": {
                          "id": 125,
                          "options": []
                        },
                        "quantity": 15,
                        "price": 10.2,
                        "sku_base": "TSH180_856_M",
                        "sku": "111111_3"
                      }
                      ],
                      "price": {
                        "subtotal": 61.20,
                        "shipping": 0,
                        "tax": 11.70,
                        "total": 70.19
                      },
                      "currency": "EUR"
                    },
                    {
                      "id": 0,
                      "external": {
                        "id": 0,
                        "options": [
                        {
                          "name": "string",
                          "value": "string"
                        },
                        {
                          "name": "string",
                          "value": "string"
                        }
                        ]
                      },
                      "status": "awaiting_payment",
                      "created_at": "2018-03-26T17:41:38",
                      "updated_at": "2018-03-26T17:41:38",
                      "fulfillments": [
                      ],
                      "shipping_address": {
                        "first_name": "Hewitt",
                        "last_name": "Santos",
                        "company": "",
                        "address1": "242 Remsen Avenue",
                        "address2": "",
                        "city": "Bagtown",
                        "country": "France",
                        "country_code": "FR",
                        "zip": "75001",
                        "phone": "0611223344",
                        "email": "hewitt@santos.fr"
                      },
                      "billing_address": {
                        "first_name": "",
                        "last_name": "",
                        "company": "",
                        "address1": "",
                        "address2": "",
                        "city": "",
                        "country": "",
                        "country_code": null,
                        "zip": ""
                      },
                      "items": [
                      {
                        "id": 2,
                        "external": {
                          "id": 36,
                          "options": []
                        },
                        "quantity": 1,
                        "price": 4.6,
                        "sku_base": "TSH180_856_M",
                        "sku": "100000_3"
                      }
                      ],
                      "price": {
                        "subtotal": 4.6,
                        "shipping": 4.9,
                        "tax": 0,
                        "total": 9.5
                      },
                      "currency": "EUR"
                    }
                  ]
                
              

Un filtrage par statut de commande (status) et/ou date de création de commande (created_at) est à présent disponible. Voir exemples de requête :

GET /orders?created_at=2018-06-22
GET /orders?created_at=2018-06-22&status=in_process

Récupérer les informations d'une commande

GET /orders/{id}

Retourne toutes les informations concernant la commande spécifiée par ID.

Format de réponse
                
                  {
                    "id": 0,
                    "external": {
                        "id": 0,
                        "options": [
                            {
                                "name": "string",
                                "value": "string"
                            },
                            {
                                "name": "string",
                                "value": "string"
                            }
                        ]
                    },
                    "status": "awaiting_payment",
                    "created_at": "2018-03-26T17:41:36",
                    "updated_at": "2018-03-26T17:41:36",
                    "fulfillments": [
                        {
                            "tracking_url": "https://tracking-company.com/tracking?code=1EXAMPLE1234567",
                            "tracking_number": "1EXAMPLE1234567",
                            "company": "Tracking company",
                            "date": "2018-03-27 10:19:18",
                            "products": [
                                {
                                    "id": 1,
                                    "quantity": 15,
                                    "sku": "111111_3"
                                }
                            ]
                        }
                    ],
                    "shipping_address": {
                        "first_name": "Hewitt",
                        "last_name": "Santos",
                        "company": "",
                        "address1": "242 Remsen Avenue",
                        "address2": "",
                        "city": "Bagtown",
                        "country": "France",
                        "country_code": "FR",
                        "zip": "75001",
                        "phone": "0611223344",
                        "email": "hewitt@santos.fr"
                    },
                    "billing_address": {
                        "first_name": "",
                        "last_name": "",
                        "company": "",
                        "address1": "",
                        "address2": "",
                        "city": "",
                        "country": "",
                        "country_code": null,
                        "zip": ""
                    },
                    "items": [
                        {
                            "id": 1,
                            "external": {
                                "id": 125,
                                "options": []
                            },
                            "quantity": 15,
                            "price": 10.2,
                            "sku_base": "TSH180_856_M",
                            "sku": "111111_3"
                        }
                    ],
                    "price": {
                        "subtotal": 61.20,
                        "shipping": 0,
                        "tax": 11.70,
                        "total": 70.19
                    },
                    "currency": "EUR"
                  }
                
              

Créer une commande

POST /orders

Crée une nouvelle commande.

Format de données à envoyer dans la requête API
                
                  {
                    "external": {
                      "id": 123,
                      "options": [
                        {
                          "name": "string",
                          "value": "string"
                        },
                        {
                          "name": "string",
                          "value": "string"
                        }
                      ]
                    },
                    "shipping_address": {
                      "first_name": "Hewitt",
                      "last_name": "Santos",
                      "company": "Une Société S.A.",
                      "address1": "242 Remsen Avenue",
                      "address2": "",
                      "city": "Bagtown",
                      "country": "France",
                      "country_code": "FR",
                      "zip": 75001,
                      "phone": "0611223344",
                      "email": "hewitt@santos.fr"
                    },
                    "items": [
                      {
                        "external": {
                          "id": 125,
                          "options": [
                            {
                              "name": "minim",
                              "value": "consectetur"
                            }
                          ]
                        },
                        "sku_base": "TSH180_856_M",
                        "quantity": 15,
                        "files" : [
                          {
                            "zone": "front",
                            "type": "image",
                            "value": "https://www.example.com/images/image.png",
                            "collar_distance": "3"
                          }
                        ]
  
                      }
                    ]
                  }
                
              
Format de réponse
                
                  {
                    "id": 10,
                    "external": {
                        "id": 123,
                        "options": [
                            {
                                "name": "string",
                                "value": "string"
                            },
                            {
                                "name": "string",
                                "value": "string"
                            }
                        ]
                    },
                    "status": "awaiting_payment",
                    "created_at": "2018-03-26T17:41:36",
                    "updated_at": "2018-03-26T17:41:36",
                    "fulfillments": [
                        {
                            "tracking_url": "https://tracking-company.com/tracking?code=1EXAMPLE1234567",
                            "tracking_number": "1EXAMPLE1234567",
                            "company": "Tracking company",
                            "date": "2018-03-27 10:19:18",
                            "products": [
                                {
                                    "id": 1,
                                    "quantity": 15,
                                    "sku": "111111_3"
                                }
                            ]
                        }
                    ],
                    "shipping_address": {
                        "first_name": "Hewitt",
                        "last_name": "Santos",
                        "company": "Une Société S.A.",
                        "address1": "242 Remsen Avenue",
                        "address2": "",
                        "city": "Bagtown",
                        "country": "France",
                        "country_code": "FR",
                        "zip": "75001",
                        "phone": "0611223344",
                        "email": "hewitt@santos.fr"
                    },
                    "billing_address": {
                        "first_name": "",
                        "last_name": "",
                        "company": "",
                        "address1": "",
                        "address2": "",
                        "city": "",
                        "country": "",
                        "country_code": null,
                        "zip": ""
                    },
                    "items": [
                        {
                            "id": 1,
                            "external": {
                                "id": 125,
                                "options": [
                                  {
                                    "name": "minim",
                                    "value": "consectetur"
                                  }
                                ]
                            },
                            "quantity": 15,
                            "price": 10.2,
                            "sku_base": "TSH180_856_M",
                            "sku": "111111_3"
                        }
                    ],
                    "price": {
                        "subtotal": 61.20,
                        "shipping": 0,
                        "tax": 11.70,
                        "total": 70.19
                    },
                    "currency": "EUR"
                  }
                
              

Statuts de la commande

awaiting_payment - La commande a été créée et est en attente de paiement.

in_process - La commande en production.

partially_fulfilled - La commande a été partiellement effectuée et expédiée.

fulfilled - La commande a été intégralement effectuée et expédiée.

cancelled - La commande a été annulée.

Régler un groupe de commandes sur notre site

La production des commandes transmises à Tunetoo ne sera lancée qu'après validement du paiement. Vous pouvez régler un groupe de commandes depuis votre espace client Tunetoo.

Préciser votre liste de produits

Trois données sont nécesssaires pour la création d'un article Tunetoo via l'API : le SKU (Stock-keeping Unit, "unité de gestion des stock") du produit de base, une liste des fichiers à imprimer (indiquant la face, le type, l'URL de l'image et la distance en cm depuis le col du produit), et la quantité à commander.

Exemple d'un produit en format JSON :

            
              {
               "external": {
                 "id": 2,
                 "options": [
                   {
                     "name": "dolore",
                     "value": "cupidatat"
                   },
                   {
                     "name": "anim",
                     "value": "ut"
                   },
                   {
                     "name": "anim",
                     "value": "exercitation"
                   }
                 ]
               },
               "sku_base": "TSH180_856_XL",
               "quantity": 6,
               "price": 15.95,
               "files" : [
                 {
                   "zone": "back",
                   "type": "image",
                   "value": "https://www.example.com/images/image-300dpi.png",
                   "collar_distance": "5.5"
                 }
               ]
             }
            
          
  • sku_base : SKU du produit (voir catalogue de produits Tunetoo). Il est composé du SKU du modèle (dans notre exemple, TSH180 correspond au T-shirt Homme 180g), sa couleur (856, correspondant à la couleur blanche selon notre catalogue) et la taille (XL suivant l'exemple).
  • external (facultatif) : Information facultative qui vous permet de lier votre article Tunetoo avec l'ID article de votre propre système. Tous les ID article de votre boutique doivent être uniques. Une liste d'options en format name et value peut être inclue dans cet attribut.
  • quantity : La quantité d'articles identiques (par couleur, taille et personnalisation) à inclure dans la commande.
  • files : Détail des fichiers image qui composent la personnalisation du produit de base. Quatre informations à spécifier : zone ("front" ou "back" selon si l'image est à placer sur la face ou le dos de l'article), type ("image"), value (l'URL de l'image, avec une résolution de 300dpi et à la bonne taille) et collar_distance (distance en cm à laquelle l'image doit être placéé sur le produit).

Notez que la réponse à une requête POST de création de commande contient un SKU différent au SKU du produit de base, appelé sku. Celui-ci correspond à l'article personnalisé selon les paramètres et images envoyés dans votre requête.



Catalogue de produits Tunetoo

  • Sweat Shirt à Capuche Homme : JH001
    Couleur SKU couleur SKU tailles
    Light Royal Blue 476 XS, S, M, L, XL, XXL, 3XL, 4XL
    Wine 893 XS, S, M, L, XL, XXL, 4XL
    Forest Green 301 XS, S, M, XXL, 3XL, 4XL
    Dark Grey 230 XS, S, M, L, XL, XXL, 3XL, 4XL
    Yellow 895 XS, S, M, L, XL, XXL, 3XL, 4XL
    Red 678 M, L, XL, XXL, 4XL
    Oxford Grey 621 S, M, L, XL, XXL, 3XL, 4XL
    Black 49 XS, S, M, L, XL, 4XL
    Orange 609 S, M, L, XL, XXL, 3XL, 4XL
    Navy 542 XS, S, M, L, 4XL
    White 856 XL, 3XL, 4XL
    Ash Heather S, M, XL, XXL, 3XL, 4XL
    Chocolate 199 XS, S, M, L, XL, XXL, 3XL, 4XL
    Dark Khaki 251 XS, S, M, 4XL
    Fuchsia 319 3XL, 4XL
    Kelly Green 436 XS, XL, XXL, 3XL, 4XL
    Light Sand 478 XS, S, M, 3XL, 4XL
    Lime 483 XS, S, M, L, XL, XXL, 3XL, 4XL
    Purple 663 S, M, L, XL, XXL, 3XL, 4XL
    Sky Blue 750 3XL, 4XL
    Tropical Blue 818 L, XL, XXL, 3XL, 4XL
    Camel 177 XS, XXL, 3XL, 4XL
    Candyfloss XS, M, L, XL, XXL, 3XL, 4XL
    Caper Green XS
    Cherry Red 197 XS, XL, XXL, 3XL, 4XL
    Dark Mustard XS, S, L, XL, XXL, 3XL, 4XL
    Dusty Purple XS, S, M, L, XL, XXL, 3XL, 4XL
    Earthy Green XS, S, M, L, XL, XXL, 3XL, 4XL
    Emerald Green XS, XL, XXL, 3XL, 4XL
    Grey Camouflage XS, S, M, L, XL, XXL, 3XL, 4XL
    Hawaii Blue XS, S, M, L, XL, 3XL, 4XL
    Ink Blue XS, 3XL, 4XL
    Moka Brown XS, XL, XXL, 3XL, 4XL
    Olive Camouflage XS, S, M, L, XL, XXL, 3XL, 4XL
    Orion Blue XS, 3XL, 4XL
    Pale Pink 631 L, XL, XXL, 3XL, 4XL
    Peach 639 XS, S, M, L, XL, XXL, 3XL, 4XL
    Pistachio 651 XS, S, M, L, XL, XXL, 3XL, 4XL
    Pumpkin XS, S, M, L, XL, XXL, 3XL, 4XL
    Storm Grey 793 XS, S, M, L, XL, XXL, 3XL, 4XL
    Straw Yellow 794 XS, S, M, L, XL, XXL, 3XL, 4XL
    Sweet Grey XS, S, M, L, XL, XXL, 3XL, 4XL
    True Coral XS, M, L, XL, XXL, 3XL, 4XL
    Apple Green XS, M, L, XL, XXL, 3XL, 4XL
    Green Olive 346 XS, S, M, L, XXL, 3XL, 4XL
    T-shirt Manches Longues Femme : K383
    Couleur SKU couleur SKU tailles
    White 856 S, M, L, XL, XXL
    Yellow 895 S, M, L, XL, XXL, 3XL
    Red 678 S, M, L, XL, XXL
    Dark Khaki 251 S, L, XXL, 3XL
    Navy 542 S, M, L, XL, XXL, 3XL
    Chocolate 199 S, L, XL, XXL
    Forest Green 301 S, M, L, XL, XXL, 3XL
    Kelly Green 436 S, M, L, XL, 3XL
    Lime 483 S, M, L, XL, XXL, 3XL
    Oxford Grey 621 S, L, XL, XXL, 3XL
    Dark Grey 230 S, M, L, XL, XXL, 3XL
    Black 49 S, M, L, XL, XXL, 3XL
    Tropical Blue 818 S, M, L, XL, XXL, 3XL
    Wine 893 S, M, L, XL, XXL, 3XL
    Fuchsia 319 S, M, L, XL, XXL, 3XL
    Orange 609 S, M, L, XXL, 3XL
    Light Royal Blue 476 S, M, L, XL, XXL, 3XL
    Sky Blue 750 S, M, L, XL, XXL, 3XL
    Purple 663 S, M, L, XL, XXL, 3XL
    Light Sand 478 S, M, L, XL, XXL, 3XL
    Tee Shirt Femme Classique 150gr : CGTW02TC
    Couleur SKU couleur SKU tailles
    White 856 XS, S, M, L, XL, XXL, 3XL
    Sand 731 XS, S, M, L, XL, XXL
    Royal Blue 710 XS, S, M, L, XL, XXL, 3XL
    Red 678 XS, S, M, L, XL, XXL, 3XL
    Orange 609 XS, S, M, L, XL, XXL
    Natural 537 XS, S, M, L, XL, XXL
    Dark Grey 230 XS, S, M, L, XL, XXL
    Burgundy 162 XS, S, M, L, XL, XXL
    Bottle Green 137 XS, S, M, L, XL, XXL
    Sky Blue 750 XS, S, M, L, XL, XXL
    Black 49 XS, S, M, L, XL, XXL, 3XL
    Kelly Green 436 XS, S, M, L, XL, XXL
    Apricot 19 XS, S, L, XL, XXL
    Atoll 35 XS, S, M, L, XL, XXL
    Azure 900 XS, S, M, L, XL, XXL
    Bear Brown 43 XS, S, M, L, XL, XXL
    Cobalt Blue 916 XS, S, M, L, XL, XXL
    Deep Red 258 XS, S, M, L, XL, XXL
    Denim 261 XS, S, M, L, XL, XXL
    Diva Blue 269 XS, S, L, XL, XXL
    Electric Blue 917 XS, S, M, L, XL, XXL
    Fire Red 289 XS, S, M, L, XL, XXL
    Fuchsia 319 XS, S, M, L, XL, XXL
    Gold 336 XS, S, M, L, XL, XXL
    Light Navy 472 XS, S, M, L, XL, XXL
    Millennial Khaki 918 XS, S, M, L, XL, XXL
    Millennial Pink 919 XS, S, M, L, XL, XXL
    Orchid Green 920 XS, S, M, L, XL, XXL
    Pistachio 651 XS, S, M, L, XL, XXL
    Radiant Purple 921 XS, S, M, L, XL, XXL
    Real Turquoise 677 XS, S, M, L, XL, XXL
    Solar Yellow 922 XS, S, M, L, XL, XXL
    Sport Grey 775 XS, S, M, L, XL, XXL, 3XL
    Turquoise 823 XS, S, M, L, XL, XXL
    Urban Black 923 XS, S, M, L, XL, XXL
    Urban Khaki 924 XS, S, XL, XXL
    Urban Navy 925 XS, S, M, L, XL, XXL, 3XL
    Urban Purple 926 XS, S, M, L, XL, XXL
    Ash 32 XS, S, M, L, XL, XXL
    Used Black 827 XS, S, M, L, XL, XXL
    Sweat Col rond Femme : JH036
    Couleur SKU couleur SKU tailles
    Wine 893 M, L, XL, XXL, 3XL
    Light Royal Blue 476 XS, S, M, L, XL, XXL, 3XL, 4XL
    Oxford Navy 623 XS, S, M, L, XL, XXL, 3XL
    Burgundy 162 M, L, XL, XXL, 3XL
    Jet Black 421 XS, S, M, L, XL, XXL, 3XL, 4XL
    Arctic White 25 XS, XL, XXL, 4XL
    Heather Grey 380 XS, S, M, L, XL, XXL, 3XL, 4XL
    Sweat à Capuche Femme : JH01F
    Couleur SKU couleur SKU tailles
    Arctic White 25
    Red Hot Chilli 692
    Burgundy 162
    Plum 656
    Candyfloss Pink 180
    Hot Pink 404
    Purple 663
    Ash 32
    Heather Grey 380
    Charcoal 188
    Jet Black 421
    Fire Red 289
    Orange Crush 617
    Sun Yellow 799
    Bottle Green 137
    Kelly Green 436
    Lime 483
    Jade 412
    Sky Blue 750
    Turquoise Surf 825
    Hawaiian Blue 363
    Sapphire Blue 737
    Royal Blue 710
    New French Navy 583
    Airforce Blue 2
    kariban Wine 960 XS, S, M, L, XL, XXL
    kariban Light Royal Blue 954 S, XXL
    Kariban Black 951 XS, S, M, L, XL, XXL
    Kariban Dark Grey 952 XS, S, M, L, XXL
    Kariban Forest Green 953 XS, S, M, L, XL, XXL
    Kariban Navy 955 XS, S, M, L, XXL
    Kariban Orange 956 XS, S, L, XL, XXL
    Kariban Oxford Grey 957 XS, S, M, L, XL, XXL
    Kariban Red 958 XS, S, M, L, XL, XXL
    Kariban White 959 S, M, L, XL, XXL
    Kariban Yellow 961 XS, S, M, L, XL, XXL
    Sweat Col Rond Unisexe : JH030
    Couleur SKU couleur SKU tailles
    Chocolate 199 XS, L, XL, XXL, 3XL, 4XL
    Ash Heather XS, S, M, L, XL, 4XL
    Fuchsia 319 XS, M, L, XL, XXL, 3XL, 4XL
    Kelly Green 436 XS, S, M, L, XL, XXL, 3XL, 4XL
    Light Sand 478 XL, XXL, 3XL, 4XL
    Lime 483 XS, M, L, XL, XXL, 3XL, 4XL
    Purple 663 XS, S, M, L, XL, XXL, 3XL, 4XL
    Tropical Blue 818 XS, M, L, XL, XXL, 3XL, 4XL
    Dark Khaki 251 XS, M, L, XL, 3XL, 4XL
    Sky Blue 750 XS, M, XL, 3XL, 4XL
    Apple Green XS, M, L, XL, XXL, 3XL, 4XL
    Camel 177 XS, L, XL, XXL, 3XL, 4XL
    Candyfloss XS, M, L, XL, XXL, 3XL, 4XL
    Caper Green XS, S, M, L, XL, XXL, 3XL, 4XL
    Cherry Red 197 XS, M, L, XL, XXL, 3XL, 4XL
    Dark Mustard XS, S, M, L, XL, XXL, 3XL, 4XL
    Dusty Purple M, L, XL, XXL, 3XL, 4XL
    Earthy Green XS, S, M, L, XL, XXL, 3XL, 4XL
    Emerald Green XS, S, M, L, XL, XXL, 3XL, 4XL
    Green Olive 346 XS, S, M, L, XL, XXL, 3XL, 4XL
    Hawaii Blue XS, M, L, XL, XXL, 3XL, 4XL
    Ink Blue XS, M, L, XL, XXL, 3XL, 4XL
    Moka Brown XS, S, M, L, XL, XXL, 3XL, 4XL
    Orion Blue XS, M, L, XL, XXL, 3XL, 4XL
    Pale Pink 631 L, XL, XXL, 3XL, 4XL
    Peach 639 XS, S, M, L, XL, XXL, 3XL, 4XL
    Pistachio 651 XS, S, M, L, XL, XXL, 3XL, 4XL
    Pumpkin XS, S, M, L, XL, XXL, 3XL, 4XL
    Storm Grey 793 XS, S, M, L, XL, 3XL, 4XL
    Straw Yellow 794 XS, M, L, XL, XXL, 3XL, 4XL
    Sweet Grey XS, S, M, L, XL, XXL, 3XL, 4XL
    True Coral M, L, XL, XXL, 3XL, 4XL
    Wine 893 M, L, XL, XXL, 3XL
    Light Royal Blue 476 XS, S, M, L, XL, XXL, 3XL, 4XL
    Black 49 XS, S, M, L, XL, XXL, 3XL, 4XL
    Dark Grey 230 XS, S, M, L, XL
    Forest Green 301 XS, XL, 4XL
    Navy 542 XS, S, M, L, XL, XXL, 3XL
    Orange 609 XS, S, M, L, XL, XXL, 3XL, 4XL
    Oxford Grey 621 XS, S, M, L, XL, XXL, 3XL, 4XL
    Red 678 S, M, L, XL, XXL, 3XL, 4XL
    White 856 XS, XL, XXL, 4XL
    Yellow 895 XS, M, L, XL
    Sweat Enfant Capuche : JH01J
    Couleur SKU couleur SKU tailles
    Wine 893 4Y6, 6Y8
    White 856 4Y6, 6Y8, 8Y10
    Yellow 895 12Y14, 4Y6, 6Y8, 8Y10, 10Y12
    Black 49 12Y14, 4Y6, 6Y8, 8Y10, 10Y12
    Red 678 12Y14, 4Y6, 8Y10, 10Y12
    Light Royal Blue 476 12Y14, 4Y6, 6Y8, 8Y10, 10Y12
    Oxford Grey 621 12Y14, 4Y6, 6Y8, 8Y10, 10Y12
    Orange 609 12Y14, 4Y6, 6Y8, 8Y10, 10Y12
    Navy 542 12Y14, 4Y6, 6Y8, 8Y10, 10Y12
    Dark Grey 230 12Y14, 4Y6, 6Y8, 8Y10, 10Y12
    Forest Green 301 12Y14, 4Y6, 8Y10, 10Y12
    Body Bébé Manches Courtes : K831
    Couleur SKU couleur SKU tailles
    White 856 3M, 6M, 9M, 12M, 18M, 24M
    Sky Blue 750 3M, 6M, 9M, 12M, 18M, 24M
    Red 678 3M, 6M, 9M, 12M
    Oxford Grey 621 3M, 6M, 9M, 12M, 18M, 24M
    Navy 542 3M, 6M, 9M, 12M, 18M, 24M
    Fuchsia 319 3M, 6M, 9M, 12M, 18M, 24M
    Black 49 3M, 6M, 9M, 12M, 18M, 24M
    Tee Shirt Bébé Manches Courtes : LW20T
    Couleur SKU couleur SKU tailles
    Navy 542
    Pale Pink 631
    White 856
    Pale Blue 629
    Tee Shirt Fille Col Rond Manches Courtes Sofspun : SS418
    Couleur SKU couleur SKU tailles
    Azure Blue 901
    Black 49
    Burgundy 162
    Fuchsia 319
    Heather Grey 380
    Kelly Green 436
    Light Graphite 902
    Lime 483
    Navy 542
    Orange 609
    Red 678
    Royal Blue 710
    Sunflower 801
    White 856
    Yellow 895
    Zinc 899
    Tee Shirt Bébé manches courtes à Bouton Pression : K363
    Couleur SKU couleur SKU tailles
    White 856 3M, 6M, 9M, 12M, 18M, 24M, 36M
    Black 49 3M, 6M, 9M, 12M, 18M, 24M, 36M
    Fuchsia 319 3M, 6M, 9M, 12M, 18M, 24M, 36M
    Navy 542 3M, 6M, 9M, 12M, 18M, 24M, 36M
    Red 678 3M, 9M, 12M, 18M, 24M, 36M
    Sky Blue 750 3M, 6M, 9M, 12M, 18M, 36M
    Tee Shirt Enfant Manches Longues : SS007
    Couleur SKU couleur SKU tailles
    White 856 3Y4, 5Y6, 7Y8, 9Y11, 12Y13, 14Y15
    Heather Grey 380 5Y6, 7Y8, 9Y11, 12Y13, 14Y15
    Red 678 3Y4, 5Y6, 9Y11, 12Y13, 14Y15
    Royal Blue 710 3Y4, 5Y6, 7Y8, 9Y11, 12Y13, 14Y15
    Black 49 3Y4, 5Y6, 7Y8, 9Y11, 12Y13, 14Y15
    Deep Navy 257 3Y4, 5Y6, 7Y8, 9Y11, 12Y13, 14Y15
    Dark Heather Grey 243
    Débardeur Homme en coton : SC294
    Couleur SKU couleur SKU tailles
    White 856 S, M, L, XL, XXL, 3XL, 4XL, 5XL
    Heather Grey 380 S, M, L, XL, XXL, 3XL, 4XL, 5XL
    Red 678 S, M, L, XL, XXL, 3XL
    Royal Blue 710 S, M, L, XL, XXL, 3XL
    Black 49 S, M, L, XL, XXL, 3XL, 4XL, 5XL
    Deep Navy 257 S, M, L, XL, XXL, 3XL
    Pyjama Bébé Manches Longues Contrasté : LW53T
    Couleur SKU couleur SKU tailles
    Pale Blue / White 630 , 3M6, 6M12, 12M18
    Pale Pink / White 633
    White / White 892 , 3M6, 6M12, 12M18
    Tee Shirt Femme 150 gr Col V : K390
    Couleur SKU couleur SKU tailles
    White 856
    Wine 893
    Tropical Blue 818
    Sky Blue 750
    Red 678
    Oxford Grey 621 XS, S, M, 3XL
    Orange 609 XL, XXL
    Navy 542
    Light Royal Blue 476 S, XXL, 3XL
    Fuchsia 319
    Forest Green 301 S, M, L, XL, XXL, 3XL
    Dark Grey 230 3XL
    Yellow 895
    Black 49
    Kelly Green 436
    Tee Shirt Original Enfant : SS088
    Couleur SKU couleur SKU tailles
    Black 49 3Y4, 5Y6, 7Y8, 9Y11, 12Y13, 14Y15
    Azure Blue 901 3Y4, 5Y6, 7Y8, 9Y11, 12Y13, 14Y15
    Bottle Green 137 3Y4, 5Y6, 7Y8, 9Y11, 12Y13, 14Y15
    Brick Red 140 3Y4, 5Y6, 7Y8, 9Y11, 12Y13, 14Y15
    Burgundy 162 5Y6, 7Y8, 9Y11, 12Y13, 14Y15
    Classic Olive 903 3Y4, 5Y6, 7Y8, 9Y11, 12Y13, 14Y15
    Deep Navy 257 3Y4, 5Y6, 7Y8, 9Y11, 12Y13, 14Y15
    Fuchsia 319 3Y4, 5Y6, 7Y8, 9Y11, 12Y13, 14Y15
    Heather Grey 380 3Y4, 5Y6, 7Y8, 12Y13, 14Y15
    Kelly Green 436 5Y6, 7Y8, 9Y11, 12Y13, 14Y15
    Light Graphite 902 3Y4, 5Y6, 7Y8, 9Y11, 12Y13, 14Y15
    Lime 483 3Y4, 5Y6, 7Y8, 9Y11, 12Y13, 14Y15
    Orange 609 3Y4, 5Y6, 7Y8, 9Y11, 12Y13, 14Y15
    Purple 663 5Y6, 9Y11, 12Y13, 14Y15
    Red 678 3Y4, 5Y6, 7Y8, 9Y11, 12Y13, 14Y15
    Royal Blue 710 5Y6, 7Y8, 9Y11, 12Y13, 14Y15
    Sky Blue 750 5Y6, 7Y8, 9Y11, 12Y13, 14Y15
    Sunflower 801 3Y4, 5Y6, 7Y8, 9Y11, 12Y13, 14Y15
    Yellow 895 3Y4, 5Y6, 7Y8, 9Y11, 12Y13, 14Y15
    White 856 3Y4, 5Y6, 7Y8, 9Y11, 12Y13, 14Y15
    Tee Shirt Homme Full Cut Screen Stars Original : SC6
    Couleur SKU couleur SKU tailles
    White 856 S, M, L, XL, XXL, 3XL, 4XL, 5XL
    Sky Blue 750 S, M, L, XL, XXL, 3XL
    Royal Blue 710 S, M, L, XL, XXL, 3XL
    Red 678 S, M, L, XL, XXL, 3XL
    Orange 609 S, M, L, XL, XXL, 3XL
    Heather Grey 380 S, M, L, XL, XXL, 3XL
    Fuchsia 319 S, M, L, XL, XXL, 3XL
    Burgundy 162 S, M, L, XL, XXL, 3XL
    Bottle Green 137 S, M, L, XL, XXL, 3XL
    Azur Blue 39 S, M, L, XL, XXL, 3XL
    Yellow 895 S, M, L, XL, XXL, 3XL
    Black 49 S, M, L, XL, XXL, 3XL, 4XL, 5XL
    Sunflower Yellow 904 S, M, L, XL, XXL, 3XL
    Kelly Green 436 S, M, L, XL, XXL, 3XL
    Brick Red 140 S, M, L, XL, XXL, 3XL
    Classic Olive 903 S, M, L, XL, XXL, 3XL
    Deep Navy 257 S, M, L, XL, XXL, 3XL
    Light Graphite 902 S, M, L, XL, XXL, 3XL
    Lime 483 S, M, L, XL, XXL, 3XL
    Purple 663 S, M, L, XL, XXL, 3XL
    Débardeur Femme en Coton : SC61376
    Couleur SKU couleur SKU tailles
    White 856 XS, S, M, L, XL, XXL
    Heather Grey 380 L
    Red 678 XS, S, M, L, XL, XXL
    Deep Navy 257
    Black 49
    Tablier de Jardinier ou Sommelier avec Poche : K885
    Couleur SKU couleur SKU tailles
    Sky Blue 750 TU
    Marsala TU
    Light khaki 471 TU
    Mustard 536 TU
    Fuchsia 319 TU
    Cacao TU
    Camel 177 TU
    Orange 609 TU
    Light Grey 455 TU
    Wine 893 TU
    Kelly Green 436 TU
    Bottle Green 137 TU
    Lagoon 446 TU
    Royal Blue 710 TU
    Navy 542 TU
    Beige 44 TU
    Yellow 895 TU
    Chocolate 199 TU
    Red 678 TU
    Dark Pink 254 TU
    Black 49 TU
    Dark Grey 230 TU
    Lime 483 TU
    Green Olive 346 TU
    Tropical Blue 818 TU
    Burnt Orange 176 TU
    Purple 663 TU
    White 856 TU
    Denim 261 TU
    Angora TU
    Olive Camouflage TU
    Black Denim 109 TU
    T-shirt Bébé Manches Longues Boutons Pression : BZ011
    Couleur SKU couleur SKU tailles
    White 856
    Bubblegum Pink 159
    Dusty Blue 274
    Powder Pink 659
    Black 49
    Nautical Navy 541
    Red 678
    Tee Shirt Homme Original Manches Longues : SS069
    Couleur SKU couleur SKU tailles
    White* 927
    Black* 928
    Deep Navy 257
    Heather Grey* 929
    Light Graphite 902
    Red 678
    Royal Blue 710
    Sweat Enfant Col Rond : JH30J
    Couleur SKU couleur SKU tailles
    Forest Green 301 4Y6
    Orange 609 6Y8, 8Y10, 10Y12
    Light Royal Blue 476 12Y14, 4Y6, 6Y8, 8Y10, 10Y12
    Black 49 4Y6, 6Y8, 8Y10
    Wine 893 12Y14, 4Y6, 6Y8, 8Y10
    Red 678 12Y14, 4Y6, 6Y8, 8Y10, 10Y12
    Navy 542 4Y6, 6Y8, 10Y12
    Yellow 895 12Y14, 6Y8, 8Y10, 10Y12
    Dark Grey 230 12Y14, 4Y6, 6Y8, 8Y10, 10Y12
    Oxford Grey 621 12Y14, 4Y6, 6Y8, 8Y10, 10Y12
    White 856 12Y14, 4Y6, 6Y8
    Mug en Céramique : MUG
    Couleur SKU couleur SKU tailles
    BLANC 119 TU
    Tote Bag Stanley Stella : STAU760
    Couleur SKU couleur SKU tailles
    Heather Grey 380 TU
    Natural 537 TU
    Black 49 TU
    Midnight Blue 964 TU
    Tee Shirt Unisexe Bio Stanley CREATOR : STTU755
    Couleur SKU couleur SKU tailles
    White 856 XXS, XS, S, M, L, XL, XXL, 3XL, 4XL, 5XL
    Off White 598 XS, M, L, XL
    Vintage White 847 XXS, M, L, XL, 3XL
    Cream Heather Grey 224
    Heather Grey 380 XXS, XS, S, M, L, XL, XXL, 5XL
    Mid Heather Grey 518 XXS, XS, S, M, L, XL, XXL
    Anthracite 6 XXS, XS, S, M, L, XL, 3XL
    India Ink Grey 408 XXS, XS, S, M
    Dark Heather Grey 243 XXS, XS, S, M, L, XL, XXL, 3XL
    Black 49 XS, S, XXL, 3XL, 5XL
    Bright Orange 141
    Cotton Pink 934 XXS, XS, S, M, L, XL, XXL
    Red 678 XS, S, M, L, XL, XXL, 3XL, 4XL, 5XL
    Bright Red 143
    Burgundy 162 XXS, S, M, 5XL
    Royal Blue 710 XXS, S, M, L, XL, XXL
    Black Heather Blue 114
    French Navy 307 XXS, XS, S, M, XXL, 5XL
    Mid Heather Blue 515
    Sky blue 750 XXS, S, M, L, XL, XXL
    Citadel Blue 205 XXS, XS, S, M, L, XL, XXL
    Stargazer 790 XXS, XS, S, M, L
    Ocean Depth 597 XXS, XS, M, XXL, 3XL
    Caribbean Blue 185
    Fresh Green 318
    Bottle Green 137 XXS, S, XXL, 5XL
    British Khaki 153
    Khaki 442 XXS, XS, S, M, XL, XXL
    Golden Yellow 338 XXS, XS, S, M, L, XL, XXL, 3XL
    Spectra Yellow 773 XXS, XS, S, M, L, XL, XXL
    Camel 177
    Desert Dust 935 XXS, XS, S, M, L
    Heather Sand 948
    Dark Heather Blue 240
    Opal 608
    Majorelle Blue 963 XXS, XS, S, M, L, XL, XXL, 3XL
    Glazed Green 944 M, L
    Mid Heather Khaki 520
    Natural Raw S, M, XL, XXL, 3XL
    Sage 728 XXS, XS, S, XL, XXL
    Ochre XXS, XS, S, M, L, XL, XXL
    Stem Green
    Teal Monstera XXS, XS, S, M, L, XL, XXL
    Serene Blue
    Bright Blue
    Candy Pink 179
    Rose Clay
    Indigo Hush
    Hibiscus Rose
    Lavender 448 XXS, XS, S, M, L, XL, XXL, 3XL
    Orchid Flower
    Deck Chair Red
    Go Green
    Fraiche Peche
    Day Fall
    Butter XXS, S, M, L, XL, XXL, 3XL
    Mid Heather Green 517
    Aloe XXS, XS, S, M, L, XL
    Atlantic Blue
    Worker Blue
    Red Earth
    Kaffa Coffee
    Heather Rainbow
    Canyon Pink 941
    Tee Shirt Enfant Bio Stanley MINI CREATOR : STTK909
    Couleur SKU couleur SKU tailles
    White 856 3Y4, 5Y6, 7Y8, 9Y11, 12Y14
    Raspberry 674
    Anthracite 6
    Red 678
    Mid Heather Green 517
    Mid Heather Red 521
    Sky blue 750
    Royal Blue 710
    Dark Heather Grey 243
    Heather Grey 380
    French Navy 307 3Y4, 5Y6, 7Y8, 9Y11, 12Y14
    Black 49 3Y4, 5Y6, 7Y8, 9Y11, 12Y14
    Azur 38
    Ocean Depth 597
    Caribbean Blue 185
    Fresh Green 318
    Golden Yellow 338
    Chameleon Green 933
    Cotton Pink 934
    Lavender Dawn 936
    Scale Green 938
    Cream Heather Pink 225
    Mid Heather Blue 515
    Black Heather Blue 114
    Bright Orange 141
    Burgundy 162
    Tangerine 966
    Geyser Green 943
    Majorelle Blue 963
    Heather Ice Blue 393
    Hibiscus Rose
    Orchid Flower
    Sweat Col Rond Unisexe 350gr Stanley CHANGER : STSU823
    Couleur SKU couleur SKU tailles
    White 856 XXS, XS, S, M, L, XXL, 3XL, 4XL, 5XL
    Natural Raw XXS, XS, S, M, L, XL, 3XL
    Hibiscus Rose
    Lavender 448
    Jojoba
    Dusty Mint
    Black 49 XXS, XS, S, M, L, XL, 4XL, 5XL
    Deep Chocolate 942
    Ochre
    Bottle Green 137 XXS, XS, S, M, L, XL, 4XL, 5XL
    Khaki 442
    Stem Green
    Teal Monstera
    Serene Blue
    Sky blue 750
    Majorelle Blue 963
    India Ink Grey 408
    Lava Grey 962
    French Navy 307 XXS, XS, S, M, XXL, 3XL, 4XL, 5XL
    Burgundy 162
    Cotton Pink 934
    Canyon Pink 941
    Tangerine 966
    Bright Red 143
    Heather Grey 380 XXS, XS, S, M, L, XL, XXL, 3XL, 4XL, 5XL
    Mid Heather Khaki 520
    Mid Heather Green 517
    Dark Heather Blue 240
    Off White 598
    Deck Chair Red
    Go Green
    Fraiche Peche
    Butter
    Atlantic Blue
    Stargazer 790
    Worker Blue
    Red Earth
    Kaffa Coffee
    Unisex Hoodie Sweatshirt 350G/M² Cruiser : STSU822
    Couleur SKU couleur SKU tailles
    White 856 XXS, XS, S, M, L, XL, XXL, 3XL, 4XL, 5XL
    Black 49 XS, S, M, L, XL, XXL
    Black Heather Blue 114
    French Navy 307 XXS, XS, S, M
    Dark Heather Grey 243 XXS, XS, S, M, L, XXL, 3XL
    Mid Heather Grey 518
    Heather Grey 380 XS, M, L, 5XL
    Sage 728
    Desert Dust 935 XXS, XS, S, M, L, XL, XXL, 3XL
    British Khaki 153
    Khaki 442 XXS, L
    Mid Heather Khaki 520
    Glazed Green 944 XXS, XS, S, M, L, XL
    Teal Monstera XXS, XS, S, M, L, XL, XXL, 3XL
    Mid Heather Green 517
    Stem Green
    Natural Raw XXS, XS, S, M, L, XL, XXL
    Ochre XXS, XS, S, M, L, XL
    Burgundy 162 S, M, L, XXL, 4XL, 5XL
    Rose Clay
    Bright Red 143
    Canyon Pink 941 XXS, XS, S, M, L, XL, XXL, 3XL
    Cotton Pink 934 XXS, XS, S, M, L, XL, XXL, 3XL
    Candy Pink 179
    Lavender 448 XXS, XS, S, M, L, XL, XXL
    Serene Blue XXS, XS, S, M, L, XL, 3XL
    Sky blue 750 XXS, XS, S, M, L, XL, XXL, 3XL
    Bright Blue
    Royal Blue 710 XXS, XS, S, M, L, XL, XXL
    Majorelle Blue 963 XXS, XS, S, M, L, XL, XXL, 3XL
    India Ink Grey 408 XXS, XS, S, M, L, XL, XXL, 3XL
    Indigo Hush
    Orchid Flower
    Hibiscus Rose
    Deck Chair Red
    Go Green
    Fraiche Peche
    Off White 598 XXS, XS, S, M, L, XL, XXL, 3XL
    Day Fall
    Butter
    Aloe XXS, XS, S, M, L, XL, XXL, 3XL
    Atlantic Blue XXS, XS, S, M, L, XL, XXL, 3XL
    Stargazer 790 XXS, XS, S, M, L
    Worker Blue
    Red Earth
    Kaffa Coffee XXS, M, L, XL, 3XL
    Heather Rainbow

Webhooks / Crochets web

Un webhook ou crochet web est une notification d'évènement envoyée à une URL de votre choix. Vous pouvez configurer vos webhooks pour les événements suivants :

  • order_change_status : Le statut d'une commande est mis à jour. Les informations correspondantes à la commande concernée seront envoyées au target indiqué.
  • order_fulfilled : La commande est expédiée. Le contenu du filfillment, ainsi que l'ID de la commande et les informations external seront envoyées au target indiqué.
  • stock_updated : Le stock d'un produit a été modifié. Un tableau des SKUs produits avec les nouveaux stocks correspondants seront envoyés au target indiqué.

Requêtes webhooks :

Lister votre configuration webhook

GET /webhooks

Retourne la liste complète des webhooks configurés pour votre boutique.

Format de réponse
                
                  [
                    {
                        "id": 1,
                        "target": "https://www.example.com/order-change-status.php",
                        "event": "order_change_status"
                    },
                    {
                        "id": 2,
                        "target": "https://www.example.com/order-fulfilled-3.php",
                        "event": "order_fullfilled"
                    },
                    {
                        "id": 3,
                        "target": "https://www.example.com/stockupdated.php",
                        "event": "stock_updated"
                    }
                  ]
                
              

Récupérer les informations d'un webhook par ID.

GET /webhooks/{id}

Retourne toutes les informations concernant le webhook indiqué en paramètre GET (id).

Format de réponse
                
                  {
                      "id": 1,
                      "target": "https://www.example.com/order-change-status.php",
                      "event": "order_change_status"
                  }
                
              

Configurer le webhook pour un événement

POST /webhooks

Ajoute la configuration détaillée dans le message de la requête pour l'événement spécifié.

Format de données à envoyer dans la requête API
                
                  {
                    "target": "https://www.test.com/order-fulfilled-new.php",
                    "event": "order_fullfilled"
                  }
                
              
Format de réponse
                
                  {
                      "id": 4,
                      "target": "https://www.test.com/order-fulfilled-new.php",
                      "event": "order_fullfilled"
                  }
                
              

Supprimer la configuration du crochet web pour un événement

DELETE /webhooks/{id}

Supprime la configuration du webhook passé en paramètre.

Format de réponse
                
                  {
                      "id": 4,
                      "target": "https://www.test.com/order-fulfilled-new.php",
                      "event": "order_fullfilled"
                  }
                
              

Produits

Lister les produits API Tunetoo

GET /products

Retourne la liste complète des produits API Tunetoo.

Format de réponse
                
                  [
                    {
                      "sku": "JH001",
                      "type": "Sweatshirts",
                      "brand": "Ralawise",
                      "model": "Hoodie Men",
                      "image": "https://www.tunetoo.com/images/produits/base/produit-porte/37857-sweat-shirt-a-capuche-homme-face.png",
                      "description": "The hoodie is a unisex model with a kangaroo pocket. With its trendy cut, it will dress you in all circumstances: at sport, at home or in town. Its fabric (280g / m²) is composed of 80% cotton and 20% polyester which allows it to remain very soft over time. From XS to XXL. Choose from the available colors.",
                      "colors": [
                        {
                          "name": "Hot Chocolate",
                          "sku": "402",
                          "sizes": [
                            {
                              "sku": "XS",
                              "name": "XS",
                              "in_stock": true
                            }
                          ]
                        }
                      ],
                      "variants": [
                        {
                          "sku": "JH001_402_XS",
                          "color": "Hot Chocolate",
                          "size": "XS",
                          "image": "https://www.tunetoo.com/images/produits/base/produit-porte/37836-sweat-shirt-a-capuche-homme-face.png",
                          "in_stock": true
                        }
                      ]
                    }
                  ]