{
  "openapi": "3.0.0",
  "info": {
    "title": "Baqio Public API",
    "version": "1.0",
    "description": "Documentation de l'API Baqio, logiciel de gestion commerciale spécialisée pour les domaines viticoles et les négoces.\n\nL'API est uniquement accessible en HTTPS. Si l'API est appelée en HTTP, elle retournera une erreur de type tls_required.\n\n### Authentification\n\nPour accéder à l'API vous devez disposer de trois informations : \n\n- une clé API (```api_key```)\n- un mot de passe (```password```)\n- une clé secrète (```secret```)\n\nVous pouvez créer ces informations sur Baqio dans Paramètres > Mon compte. Tout en bas dans \"Clés API\".\n\nLorsque vous faites un appel à l'API, vous devez utilisez une authentification basique avec la clé API et le mot de passe.\n\nL'authentification utilisée est type [Basic authentication](https://en.wikipedia.org/wiki/Basic_access_authentication), lors des requêtes HTTP il faut transmettre un Authorization header contenant le mot \"Basic\" suivi par un espace et par un string encodé en base64 (strict) contenant api_key:password. Par exemple pour autoriser en tant que demo / p@55w0rd, le client enverrait : \n\n```\nAuthorization: Basic ZGVtbzpwQDU1dzByZA==\n```\n\nExemple en Ruby : \n\n```ruby\ncode = Base64.strict_encode64(\"#{api_key}:#{password}\")\n```\n\n### MIME Types\n\nToutes les requêtes et toutes les réponses sont au format JSON et encodées en UTF-8.\n\nUn `Accept` header est nécessaire pour les requêtes. Exemple :\n\n```jsx\n'Content-Type' => 'application/json',\n'Accept' => 'application/json'\n```\n\n### Signature des requêtes POST\n\nDans le cas des requêtes de type POST, il est nécessaire de signer les requêtes et de transmettre la signature dans un header `X-Baqio-Hmac-Sha256`\n\nCette signature est calculée à partir du body envoyé en POST et de la clef secrète : \n```ruby\nbody = {\n  \"customer\": {\n    \"billing_information\": {\n      \"company_name\": \"BAQIO\",\n      \"last_name\": \"GAUTIER\",\n      \"first_name\": \"Sylvain\",\n      \"country_code\": \"FR\",\n      \"email\": \"sylvain@baqio.com\"\n    },\n    \"reference\": \"123\"\n  }\n}.to_json\ndigest = OpenSSL::Digest.new('sha256')\nBase64.encode64(OpenSSL::HMAC.digest(digest, secret, body.to_s)).strip\n```\n\n### Pagination\n\nLes listes paginées renvoient un tableau JSON brut, sans métadonnées de pagination. Utilisez le paramètre `page` (à partir de 1, `1` par défaut) et continuez tant que la page reçue contient le nombre maximal d'éléments. Une page vide signifie que la liste est terminée.\n\n| Endpoint | Éléments par page |\n|---|---|\n| `GET /customers` | 50 |\n| `GET /customers/{customer_id}/customer_notes` | 50 |\n| `GET /customers/{customer_id}/customer_reminders` | 50 |\n| `GET /orders` | 50 |\n| `GET /payments` | 50 |\n| `GET /bookings` | 50 |\n| `GET /fulfillments` | 50 |\n| `GET /fulfillment_parcels` | 50 |\n| `GET /account_events` | 50 |\n| `GET /product_variants` | 100 |\n\nLes autres listes ne sont pas paginées et renvoient tous les éléments.\n\n### Recherche (filtres `q`)\n\nLes endpoints `GET /customers`, `GET /orders`, `GET /payments`, `GET /bookings`, `GET /fulfillments` et `GET /fulfillment_parcels` acceptent des filtres via le paramètre `q`, au format [Ransack](https://activerecord-hackery.github.io/ransack/getting-started/search-matches/) : `q[<attribut>_<prédicat>]=<valeur>`.\n\nTous les attributs renvoyés par l'endpoint sont filtrables, y compris ceux des objets associés (ex. `customer_reference_eq`, `billing_information_city_cont`). Prédicats courants :\n\n| Prédicat | Signification | Exemple |\n|---|---|---|\n| `_eq` | égal à | `q[reference_eq]=CMD-001` |\n| `_not_eq` | différent de | `q[state_not_eq]=cancelled` |\n| `_in` | parmi une liste | `q[state_in][]=validated&q[state_in][]=invoiced` |\n| `_cont` | contient (insensible à la casse) | `q[name_cont]=dupont` |\n| `_start` | commence par | `q[code_start]=AG` |\n| `_gt` / `_gteq` | supérieur (ou égal) à | `q[updated_at_gteq]=2026-01-01` |\n| `_lt` / `_lteq` | inférieur (ou égal) à | `q[date_lteq]=2026-12-31` |\n| `_null` / `_present` | vide / renseigné | `q[reference_present]=1` |\n\nLes filtres se combinent (ET logique) et s'utilisent avec la pagination. Exemple de synchronisation incrémentale des commandes modifiées depuis une date :\n\n```\nGET /api/v1/orders?q[updated_at_gteq]=2026-10-01T00:00:00%2B02:00&page=1\n```\n\nUn filtre sur un attribut inconnu est ignoré silencieusement : vérifiez son nom si le résultat n'est pas filtré.",
    "contact": {
      "name": "Sylvain Gautier",
      "email": "support@baqio.com"
    }
  },
  "servers": [
    {
      "url": "https://app.baqio.com/api/v1",
      "description": "Production"
    },
    {
      "url": "https://demo.baqio.com/api/v1",
      "description": "Démo"
    }
  ],
  "/webhooks": {
    "type": "page",
    "title": "Webhooks",
    "filepath": "docs/Webhooks.md"
  },
  "paths": {
    "/customers": {
      "get": {
        "summary": "Liste des clients",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Customer"
                  }
                },
                "examples": {
                  "example": {
                    "value": [
                      {
                        "id": 124407,
                        "account_id": 520,
                        "name": "Agathe Faure",
                        "email": "agathe.faure@gmail.com",
                        "note": null,
                        "accepts_emailing": true,
                        "created_at": "2020-01-15T16:56:05.592+01:00",
                        "updated_at": "2020-01-15T16:56:05.592+01:00",
                        "sales_agent_id": null,
                        "price_grid_id": 4287,
                        "reference": null,
                        "accepts_mailing": true,
                        "warehouse_id": null,
                        "visibility": "all",
                        "channel": null,
                        "customer_category_id": 5071,
                        "deleted_at": null,
                        "payment_method": null,
                        "payment_period": null,
                        "code": "AGATHE",
                        "vinosoft_id": null,
                        "accounted_at": null,
                        "hid": null,
                        "user_id": null,
                        "automatic_discount_rate": null,
                        "sponsor_id": null,
                        "commission_rate": null,
                        "invoice_preference": null,
                        "block_orders": false,
                        "sticky_note": false,
                        "tag_list": [],
                        "billing_information": {
                          "id": 217809,
                          "billable_id": 124407,
                          "company_name": null,
                          "first_name": "Agathe",
                          "last_name": "Faure",
                          "email": null,
                          "address1": null,
                          "address2": null,
                          "city": "ARGENTEUIL",
                          "zip": "95100",
                          "province": null,
                          "country_code": "FR",
                          "phone": null,
                          "company_number": null,
                          "vat_number": null,
                          "excise_number": null,
                          "created_at": "2020-01-15T16:56:05.689+01:00",
                          "updated_at": "2020-01-15T16:56:05.689+01:00",
                          "billable_type": "Customer",
                          "legal_form": null,
                          "subdivision_code": "95",
                          "title": null,
                          "mobile": null,
                          "undeliverable_address": false,
                          "address3": null,
                          "fax": null,
                          "tax_exempt": false,
                          "website": null
                        },
                        "shipping_information": {
                          "id": 270454,
                          "shippable_id": 124407,
                          "use_billing_address": true,
                          "company_name": null,
                          "first_name": null,
                          "last_name": null,
                          "address1": null,
                          "address2": null,
                          "city": null,
                          "zip": null,
                          "province": null,
                          "country_code": null,
                          "phone": null,
                          "note": null,
                          "delivery_schedules": null,
                          "closing_days": null,
                          "created_at": "2020-01-15T16:56:05.737+01:00",
                          "updated_at": "2020-01-15T16:56:05.737+01:00",
                          "shippable_type": "Customer",
                          "dae_number": null,
                          "title": null,
                          "undeliverable_address": false,
                          "address3": null,
                          "mobile": null,
                          "excise_number": null
                        },
                        "price_grid": {
                          "id": 4287,
                          "account_id": 520,
                          "name": "Particulier",
                          "deleted_at": null,
                          "created_at": "2020-01-15T09:56:12.633+01:00",
                          "updated_at": "2020-01-15T09:56:12.633+01:00",
                          "price_kind": "with_tax",
                          "country_tax_id": 1,
                          "calculation_method": "product_variant",
                          "payment_method": null,
                          "payment_period": null,
                          "displayed": true,
                          "quantities": null,
                          "supplier": false,
                          "default": false
                        },
                        "customer_category": {
                          "id": 5071,
                          "account_id": 520,
                          "name": "Particulier",
                          "price_grid_id": 4287,
                          "individual": true,
                          "deleted_at": null,
                          "created_at": "2020-01-15T09:56:12.885+01:00",
                          "updated_at": "2020-01-15T09:56:12.885+01:00",
                          "payment_method": null,
                          "payment_period": null,
                          "kiosk": false
                        },
                        "current_pipeline_steps": [
                          {
                            "id": 31,
                            "name": "Dégustation",
                            "kind": null,
                            "position": 2,
                            "entered_at": "2026-10-12T14:30:00.000+02:00",
                            "pipeline": {
                              "id": 4,
                              "name": "Prospection cavistes"
                            }
                          }
                        ]
                      }
                    ]
                  }
                }
              }
            }
          }
        },
        "operationId": "get-customers",
        "parameters": [
          {
            "schema": {
              "type": "object",
              "additionalProperties": true
            },
            "in": "query",
            "name": "q",
            "style": "deepObject",
            "explode": true,
            "description": "Filtres de recherche Ransack (voir « Recherche »). Exemples : `q[reference_eq]=123`, `q[updated_at_gteq]=2026-01-01`, `q[billing_information_email_eq]=contact@baqio.com`."
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "default": 1
            },
            "in": "query",
            "name": "page",
            "description": "Numéro de page (50 éléments par page). Voir « Pagination »."
          }
        ],
        "description": "Récupère la liste des clients d'un compte.",
        "tags": [
          "Clients"
        ]
      },
      "parameters": [],
      "post": {
        "summary": "Création d'un client",
        "operationId": "post-customers.json",
        "responses": {
          "200": {
            "description": "OK"
          },
          "422": {
            "description": "Référence déjà utilisée, erreurs de validation ou tags de client inconnus",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "errors": {}
                  }
                },
                "examples": {
                  "tag_inconnu": {
                    "value": {
                      "errors": [
                        "customer tag 999 doesn't exist"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Créé un nouveau client. Le champ `reference` doit être unique pour le compte (`account_id`).",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Customer"
              },
              "examples": {
                "example": {
                  "value": {
                    "customer": {
                      "billing_information": {
                        "company_name": "BAQIO",
                        "last_name": "Gautier",
                        "first_name": "Sylvain",
                        "country_code": "FR",
                        "email": "contact@baqio.com"
                      },
                      "reference": "123"
                    }
                  }
                }
              }
            }
          },
          "description": ""
        },
        "tags": [
          "Clients"
        ]
      }
    },
    "/customers/{id}": {
      "parameters": [
        {
          "schema": {
            "type": "string"
          },
          "name": "id",
          "in": "path",
          "required": true,
          "description": "ID du client"
        }
      ],
      "get": {
        "summary": "Informations sur un client",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Customer"
                }
              }
            }
          }
        },
        "operationId": "get-customers-id-.json",
        "description": "Récupère les informations d'un client.",
        "tags": [
          "Clients"
        ]
      },
      "put": {
        "summary": "Mise à jour d'un client",
        "operationId": "put-customers-id",
        "description": "Met à jour un client existant. Seuls les champs envoyés sont modifiés. Les informations de facturation et de livraison peuvent être mises à jour via `billing_information` et `shipping_information`. Accepte aussi la méthode `PATCH`.\n\nLa requête doit être signée avec l'en-tête `X-Baqio-Hmac-Sha256` (voir Authentification).",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "customer": {
                    "type": "object",
                    "description": "Mêmes champs que le client, tous optionnels.",
                    "properties": {
                      "id": {
                        "type": "integer",
                        "example": 12
                      },
                      "name": {
                        "type": "string",
                        "description": "Nom du client",
                        "example": "Agathe Fauré"
                      },
                      "price_grid": {
                        "$ref": "#/components/schemas/PriceGrid"
                      },
                      "customer_category": {
                        "$ref": "#/components/schemas/CustomerCategory"
                      },
                      "email": {
                        "type": "string",
                        "example": "agathe.faure@gmail.com",
                        "format": "email"
                      },
                      "note": {
                        "type": "string",
                        "description": "Commentaire sur ce client",
                        "example": "Rencontré au Salon des Vignerons Indépendant de Paris"
                      },
                      "accepts_emailing": {
                        "type": "boolean",
                        "description": "Accepte les newsletters ?",
                        "example": "true"
                      },
                      "reference": {
                        "type": "string",
                        "description": "Référence unique du client",
                        "example": "CL4151414"
                      },
                      "created_at": {
                        "type": "string",
                        "format": "date-time",
                        "example": "2020-01-15T16:56:05.592+01:00"
                      },
                      "updated_at": {
                        "type": "string",
                        "format": "date-time",
                        "example": "2020-01-15T16:56:05.592+01:00"
                      },
                      "price_grid_id": {
                        "type": "integer",
                        "description": "ID de la grille tarifaire"
                      },
                      "accepts_mailing": {
                        "type": "boolean",
                        "description": "Accepte les courriers papiers ?"
                      },
                      "code": {
                        "type": "string",
                        "description": "Code comptable du client"
                      },
                      "warehouse_id": {
                        "type": "integer",
                        "description": "ID de l'entrepôt assigné au client si existant\n"
                      },
                      "billing_information": {
                        "$ref": "#/components/schemas/BillingInformation"
                      },
                      "shipping_information": {
                        "$ref": "#/components/schemas/ShippingInformation"
                      },
                      "customer_tags": {
                        "type": "array",
                        "items": {}
                      },
                      "customer_tag_ids": {
                        "type": "array",
                        "items": {
                          "type": "integer"
                        },
                        "description": "Ids de tags de customer (voir `GET /customer_tags`). Un id qui n'appartient pas au compte est refusé (422)."
                      }
                    }
                  }
                }
              },
              "examples": {
                "example": {
                  "value": {
                    "customer": {
                      "email": "contact@baqio.com",
                      "note": "Client fidèle",
                      "billing_information": {
                        "phone": "0102030405"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "integer"
                    }
                  }
                },
                "examples": {
                  "example": {
                    "value": {
                      "id": 124407
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Client introuvable"
          },
          "422": {
            "description": "Erreurs de validation",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "errors": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                },
                "examples": {
                  "example": {
                    "value": {
                      "errors": [
                        "Email n'est pas valide"
                      ]
                    }
                  },
                  "tag_inconnu": {
                    "value": {
                      "errors": [
                        "customer tag 999 doesn't exist"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Authentification invalide"
          }
        },
        "tags": [
          "Clients"
        ]
      }
    },
    "/customers/{id}/contacts": {
      "parameters": [
        {
          "schema": {
            "type": "string"
          },
          "name": "id",
          "in": "path",
          "required": true,
          "description": "ID du client"
        }
      ],
      "get": {
        "summary": "Contacts d'un client",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Contact"
                  }
                },
                "examples": {
                  "example": {
                    "value": [
                      {
                        "id": 1204,
                        "customer_id": 8312,
                        "kind": "administratif",
                        "title": "mrs",
                        "name": "Marie Martin",
                        "email": "marie.martin@example.com",
                        "note": "Contact pour la facturation",
                        "primary_id": null,
                        "deleted_at": null,
                        "created_at": "2026-09-16T21:22:12.000+02:00",
                        "updated_at": "2026-09-16T21:22:12.000+02:00",
                        "email_notification": {
                          "id": 3051,
                          "notifiable_type": "Contact",
                          "notifiable_id": 1204,
                          "quote": false,
                          "proforma": false,
                          "invoice": true,
                          "order_recovery": false,
                          "created_at": "2026-09-16T21:22:12.000+02:00",
                          "updated_at": "2026-09-16T21:22:12.000+02:00"
                        },
                        "billing_information": null
                      }
                    ]
                  }
                }
              }
            }
          },
          "404": {
            "description": "Client introuvable"
          }
        },
        "operationId": "get-customers-id-contacts",
        "description": "Récupère la liste des contacts d'un client. Les contacts supprimés ne sont pas renvoyés.",
        "tags": [
          "Clients"
        ]
      },
      "post": {
        "summary": "Création d'un contact client",
        "operationId": "post-customers-id-contacts",
        "description": "Crée un contact pour un client et renvoie le contact créé. Le nom (`name`) et l'email (`email`) du contact sont déduits de `billing_information` (`first_name`, `last_name`, `email`). Les notifications email non envoyées valent `false`. Si la clé API est limitée à un représentant, seuls ses clients sont accessibles (404 sinon).\n\nLa requête doit être signée avec l'en-tête `X-Baqio-Hmac-Sha256` (voir Authentification).",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "contact"
                ],
                "properties": {
                  "contact": {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "description": "Type de contact (texte libre)"
                      },
                      "note": {
                        "type": "string",
                        "description": "Note sur le contact"
                      },
                      "billing_information": {
                        "type": "object",
                        "description": "Coordonnées du contact",
                        "properties": {
                          "title": {
                            "type": "string",
                            "description": "Civilité"
                          },
                          "first_name": {
                            "type": "string",
                            "description": "Prénom"
                          },
                          "last_name": {
                            "type": "string",
                            "description": "Nom"
                          },
                          "company_name": {
                            "type": "string",
                            "description": "Raison sociale"
                          },
                          "email": {
                            "type": "string",
                            "description": "Email"
                          },
                          "address1": {
                            "type": "string",
                            "description": "Adresse (ligne 1)"
                          },
                          "address2": {
                            "type": "string",
                            "description": "Adresse (ligne 2)"
                          },
                          "address3": {
                            "type": "string",
                            "description": "Adresse (ligne 3)"
                          },
                          "zip": {
                            "type": "string",
                            "description": "Code postal"
                          },
                          "city": {
                            "type": "string",
                            "description": "Ville"
                          },
                          "province": {
                            "type": "string",
                            "description": "Région / province"
                          },
                          "country_code": {
                            "type": "string",
                            "description": "Code pays (ISO 3166-1 alpha-2)"
                          },
                          "phone": {
                            "type": "string",
                            "description": "Téléphone"
                          },
                          "mobile": {
                            "type": "string",
                            "description": "Mobile"
                          },
                          "naf_code": {
                            "type": "string",
                            "description": "Code NAF (doit exister dans la nomenclature NAF)"
                          }
                        }
                      },
                      "email_notification": {
                        "type": "object",
                        "description": "Documents envoyés par email au contact",
                        "properties": {
                          "quote": {
                            "type": "boolean",
                            "description": "Devis"
                          },
                          "proforma": {
                            "type": "boolean",
                            "description": "Factures proforma"
                          },
                          "invoice": {
                            "type": "boolean",
                            "description": "Factures"
                          },
                          "order_recovery": {
                            "type": "boolean",
                            "description": "Relances de commande"
                          }
                        }
                      }
                    }
                  }
                }
              },
              "examples": {
                "example": {
                  "value": {
                    "contact": {
                      "kind": "direction",
                      "billing_information": {
                        "first_name": "Jane",
                        "last_name": "Smith",
                        "email": "jane.smith@example.com",
                        "address1": "1 rue de la Paix",
                        "city": "Paris",
                        "zip": "75002",
                        "phone": "0102030405",
                        "mobile": "0607080910"
                      },
                      "email_notification": {
                        "invoice": true
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK : renvoie le contact créé",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Contact"
                },
                "examples": {
                  "example": {
                    "value": {
                      "id": 1257,
                      "customer_id": 8312,
                      "kind": "direction",
                      "title": "mrs",
                      "name": "Jane Smith",
                      "email": "jane.smith@example.com",
                      "note": null,
                      "primary_id": null,
                      "deleted_at": null,
                      "created_at": "2026-10-26T15:02:47.000+01:00",
                      "updated_at": "2026-10-26T15:02:47.000+01:00",
                      "email_notification": {
                        "id": 3112,
                        "notifiable_type": "Contact",
                        "notifiable_id": 1257,
                        "quote": false,
                        "proforma": false,
                        "invoice": true,
                        "order_recovery": false,
                        "created_at": "2026-10-26T15:02:47.000+01:00",
                        "updated_at": "2026-10-26T15:02:47.000+01:00"
                      },
                      "billing_information": {
                        "address1": "1 rue de la Paix",
                        "address2": null,
                        "address3": null,
                        "zip": "75002",
                        "city": "Paris",
                        "province": null,
                        "subdivision_code": null,
                        "country_code": "FR",
                        "phone": "0102030405",
                        "mobile": "0607080910"
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Authentification invalide (signature HMAC absente ou incorrecte)"
          },
          "404": {
            "description": "Client introuvable"
          },
          "422": {
            "description": "Erreurs de validation (par exemple un `naf_code` au format invalide ou inconnu)",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "errors": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Clients"
        ]
      }
    },
    "/customers/{customer_id}/contacts/{id}": {
      "parameters": [
        {
          "schema": {
            "type": "string"
          },
          "name": "customer_id",
          "in": "path",
          "required": true,
          "description": "ID du client"
        },
        {
          "schema": {
            "type": "string"
          },
          "name": "id",
          "in": "path",
          "required": true,
          "description": "ID du contact"
        }
      ],
      "put": {
        "summary": "Mise à jour d'un contact client",
        "operationId": "put-customers-id-contacts-id",
        "description": "Met à jour un contact d'un client. Seuls les champs envoyés sont modifiés. Accepte aussi la méthode `PATCH`. Le nom (`name`) et l'email (`email`) du contact sont déduits de `billing_information` (`first_name`, `last_name`, `email`). Un contact supprimé ou rattaché à un autre client renvoie une 404. Si la clé API est limitée à un représentant, seuls ses clients sont accessibles (404 sinon).\n\nLa requête doit être signée avec l'en-tête `X-Baqio-Hmac-Sha256` (voir Authentification).",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "contact"
                ],
                "properties": {
                  "contact": {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "description": "Type de contact (texte libre)"
                      },
                      "note": {
                        "type": "string",
                        "description": "Note sur le contact"
                      },
                      "billing_information": {
                        "type": "object",
                        "description": "Coordonnées du contact",
                        "properties": {
                          "title": {
                            "type": "string",
                            "description": "Civilité"
                          },
                          "first_name": {
                            "type": "string",
                            "description": "Prénom"
                          },
                          "last_name": {
                            "type": "string",
                            "description": "Nom"
                          },
                          "company_name": {
                            "type": "string",
                            "description": "Raison sociale"
                          },
                          "email": {
                            "type": "string",
                            "description": "Email"
                          },
                          "address1": {
                            "type": "string",
                            "description": "Adresse (ligne 1)"
                          },
                          "address2": {
                            "type": "string",
                            "description": "Adresse (ligne 2)"
                          },
                          "address3": {
                            "type": "string",
                            "description": "Adresse (ligne 3)"
                          },
                          "zip": {
                            "type": "string",
                            "description": "Code postal"
                          },
                          "city": {
                            "type": "string",
                            "description": "Ville"
                          },
                          "province": {
                            "type": "string",
                            "description": "Région / province"
                          },
                          "country_code": {
                            "type": "string",
                            "description": "Code pays (ISO 3166-1 alpha-2)"
                          },
                          "phone": {
                            "type": "string",
                            "description": "Téléphone"
                          },
                          "mobile": {
                            "type": "string",
                            "description": "Mobile"
                          },
                          "naf_code": {
                            "type": "string",
                            "description": "Code NAF (doit exister dans la nomenclature NAF)"
                          }
                        }
                      },
                      "email_notification": {
                        "type": "object",
                        "description": "Documents envoyés par email au contact",
                        "properties": {
                          "quote": {
                            "type": "boolean",
                            "description": "Devis"
                          },
                          "proforma": {
                            "type": "boolean",
                            "description": "Factures proforma"
                          },
                          "invoice": {
                            "type": "boolean",
                            "description": "Factures"
                          },
                          "order_recovery": {
                            "type": "boolean",
                            "description": "Relances de commande"
                          }
                        }
                      }
                    }
                  }
                }
              },
              "examples": {
                "example": {
                  "value": {
                    "contact": {
                      "kind": "direction",
                      "billing_information": {
                        "first_name": "Jane",
                        "last_name": "Smith",
                        "email": "jane.smith@example.com",
                        "address1": "1 rue de la Paix",
                        "city": "Paris",
                        "zip": "75002",
                        "phone": "0102030405",
                        "mobile": "0607080910"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK : renvoie le contact mis à jour",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Contact"
                },
                "examples": {
                  "example": {
                    "value": {
                      "id": 1204,
                      "customer_id": 8312,
                      "kind": "direction",
                      "title": "mrs",
                      "name": "Jane Smith",
                      "email": "jane.smith@example.com",
                      "note": "Contact pour la facturation",
                      "primary_id": null,
                      "deleted_at": null,
                      "created_at": "2026-09-16T21:22:12.000+02:00",
                      "updated_at": "2026-10-26T15:02:47.000+01:00",
                      "email_notification": {
                        "id": 3051,
                        "notifiable_type": "Contact",
                        "notifiable_id": 1204,
                        "quote": false,
                        "proforma": false,
                        "invoice": true,
                        "order_recovery": false,
                        "created_at": "2026-09-16T21:22:12.000+02:00",
                        "updated_at": "2026-10-26T15:02:47.000+01:00"
                      },
                      "billing_information": {
                        "address1": "1 rue de la Paix",
                        "address2": null,
                        "address3": null,
                        "zip": "75002",
                        "city": "Paris",
                        "province": null,
                        "subdivision_code": null,
                        "country_code": "FR",
                        "phone": "0102030405",
                        "mobile": "0607080910"
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Authentification invalide (signature HMAC absente ou incorrecte)"
          },
          "404": {
            "description": "Client ou contact introuvable (ou contact supprimé)"
          },
          "422": {
            "description": "Erreurs de validation (par exemple un `naf_code` au format invalide ou inconnu)",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "errors": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Clients"
        ]
      },
      "delete": {
        "summary": "Suppression d'un contact client",
        "operationId": "delete-customers-id-contacts-id",
        "description": "Supprime un contact d'un client (suppression logique : le contact n'apparaît plus dans la liste des contacts). Un contact déjà supprimé ou rattaché à un autre client renvoie une 404. Si la clé API est limitée à un représentant, seuls ses clients sont accessibles (404 sinon).\n\nLa requête doit être signée avec l'en-tête `X-Baqio-Hmac-Sha256`, calculé sur un corps vide (voir Authentification).",
        "responses": {
          "204": {
            "description": "Contact supprimé"
          },
          "401": {
            "description": "Authentification invalide (signature HMAC absente ou incorrecte)"
          },
          "404": {
            "description": "Client ou contact introuvable (ou contact déjà supprimé)"
          }
        },
        "tags": [
          "Clients"
        ]
      }
    },
    "/customers/{customer_id}/customer_notes": {
      "parameters": [
        {
          "schema": {
            "type": "string"
          },
          "name": "customer_id",
          "in": "path",
          "required": true,
          "description": "ID du client"
        }
      ],
      "get": {
        "summary": "Notes d'un client",
        "operationId": "get-customers-id-customer-notes",
        "description": "Récupère les notes d'un client, de la plus récente à la plus ancienne. Les notes supprimées ne sont pas renvoyées. Si la clé API est limitée à un représentant, seuls ses clients sont accessibles (404 sinon).",
        "parameters": [
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "default": 1
            },
            "in": "query",
            "name": "page",
            "description": "Numéro de page (50 éléments par page). Voir « Pagination »."
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerNote"
                  }
                },
                "examples": {
                  "example": {
                    "value": [
                      {
                        "id": 5521,
                        "customer_id": 8312,
                        "contact_id": 1204,
                        "user_id": 42,
                        "kind": "phone",
                        "body": "Appel pour la commande de Noël, rappeler la semaine prochaine",
                        "created_at": "2026-10-17T10:12:45.000+02:00",
                        "updated_at": "2026-10-17T10:12:45.000+02:00"
                      }
                    ]
                  }
                }
              }
            }
          },
          "404": {
            "description": "Client introuvable"
          },
          "401": {
            "description": "Authentification invalide"
          }
        },
        "tags": [
          "Clients"
        ]
      },
      "post": {
        "summary": "Création d'une note client",
        "operationId": "post-customers-id-customer-notes",
        "description": "Crée une note sur un client et l'ajoute à son fil d'activité (événement `customer_note.created`, voir `GET /account_events`). Pour joindre des fichiers, créez-les d'abord avec `POST /customers/{customer_id}/note_attachments` puis passez leurs IDs dans `note_attachment_ids`. Si la clé API est limitée à un représentant, seuls ses clients sont accessibles (404 sinon).\n\nLa requête doit être signée avec l'en-tête `X-Baqio-Hmac-Sha256` (voir Authentification).",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "customer_note"
                ],
                "properties": {
                  "customer_note": {
                    "type": "object",
                    "properties": {
                      "body": {
                        "type": "string",
                        "description": "Contenu de la note"
                      },
                      "kind": {
                        "type": "string",
                        "enum": [
                          "note",
                          "phone",
                          "appointment"
                        ],
                        "description": "Type de note : `note` (commentaire), `phone` (appel), `appointment` (rendez-vous)"
                      },
                      "contact_id": {
                        "type": "integer",
                        "description": "ID d'un contact non supprimé du client"
                      },
                      "user_id": {
                        "type": "integer",
                        "description": "ID d'un utilisateur du compte, auteur de la note"
                      },
                      "note_attachment_ids": {
                        "type": "array",
                        "items": {
                          "type": "integer"
                        },
                        "description": "IDs de pièces jointes créées via `POST /customers/{customer_id}/note_attachments`. Seules les pièces jointes non encore rattachées (ou déjà rattachées à cette note) sont acceptées. En mise à jour, la liste remplace les pièces jointes de la note."
                      }
                    }
                  }
                }
              },
              "examples": {
                "example": {
                  "value": {
                    "customer_note": {
                      "kind": "phone",
                      "body": "Appel pour la commande de Noël",
                      "contact_id": 1204,
                      "note_attachment_ids": [
                        981
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "integer"
                    }
                  }
                },
                "examples": {
                  "example": {
                    "value": {
                      "id": 5521
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Client introuvable"
          },
          "422": {
            "description": "Erreurs de validation",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "errors": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                },
                "examples": {
                  "example": {
                    "value": {
                      "errors": [
                        "Contact n'est pas valide",
                        "Kind n'est pas inclus(e) dans la liste"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Authentification invalide"
          }
        },
        "tags": [
          "Clients"
        ]
      }
    },
    "/customers/{customer_id}/customer_notes/{id}": {
      "parameters": [
        {
          "schema": {
            "type": "string"
          },
          "name": "customer_id",
          "in": "path",
          "required": true,
          "description": "ID du client"
        },
        {
          "schema": {
            "type": "string"
          },
          "name": "id",
          "in": "path",
          "required": true,
          "description": "ID de la note"
        }
      ],
      "put": {
        "summary": "Mise à jour d'une note client",
        "operationId": "put-customers-id-customer-notes-id",
        "description": "Met à jour une note d'un client. Seuls les champs envoyés sont modifiés. Accepte aussi la méthode `PATCH`. Si la clé API est limitée à un représentant, seuls ses clients sont accessibles (404 sinon).\n\nLa requête doit être signée avec l'en-tête `X-Baqio-Hmac-Sha256` (voir Authentification).",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "customer_note"
                ],
                "properties": {
                  "customer_note": {
                    "type": "object",
                    "properties": {
                      "body": {
                        "type": "string",
                        "description": "Contenu de la note"
                      },
                      "kind": {
                        "type": "string",
                        "enum": [
                          "note",
                          "phone",
                          "appointment"
                        ],
                        "description": "Type de note : `note` (commentaire), `phone` (appel), `appointment` (rendez-vous)"
                      },
                      "contact_id": {
                        "type": "integer",
                        "description": "ID d'un contact non supprimé du client"
                      },
                      "user_id": {
                        "type": "integer",
                        "description": "ID d'un utilisateur du compte, auteur de la note"
                      },
                      "note_attachment_ids": {
                        "type": "array",
                        "items": {
                          "type": "integer"
                        },
                        "description": "IDs de pièces jointes créées via `POST /customers/{customer_id}/note_attachments`. Seules les pièces jointes non encore rattachées (ou déjà rattachées à cette note) sont acceptées. En mise à jour, la liste remplace les pièces jointes de la note."
                      }
                    }
                  }
                }
              },
              "examples": {
                "example": {
                  "value": {
                    "customer_note": {
                      "body": "Commande de Noël confirmée"
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "integer"
                    }
                  }
                },
                "examples": {
                  "example": {
                    "value": {
                      "id": 5521
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Client ou note introuvable (ou note supprimée)"
          },
          "422": {
            "description": "Erreurs de validation",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "errors": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                },
                "examples": {
                  "example": {
                    "value": {
                      "errors": [
                        "Contact n'est pas valide",
                        "Kind n'est pas inclus(e) dans la liste"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Authentification invalide"
          }
        },
        "tags": [
          "Clients"
        ]
      }
    },
    "/customers/{customer_id}/customer_reminders": {
      "parameters": [
        {
          "schema": {
            "type": "string"
          },
          "name": "customer_id",
          "in": "path",
          "required": true,
          "description": "ID du client"
        }
      ],
      "get": {
        "summary": "Rappels d'un client",
        "operationId": "get-customers-id-customer-reminders",
        "description": "Récupère les rappels d'un client, triés par date d'échéance croissante, effectués ou non. Si la clé API est limitée à un représentant, seuls ses clients sont accessibles (404 sinon).",
        "parameters": [
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "default": 1
            },
            "in": "query",
            "name": "page",
            "description": "Numéro de page (50 éléments par page). Voir « Pagination »."
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerReminder"
                  }
                },
                "examples": {
                  "example": {
                    "value": [
                      {
                        "id": 3307,
                        "customer_id": 8312,
                        "contact_id": 1204,
                        "user_id": 42,
                        "body": "Relancer pour la commande de Noël",
                        "due_date": "2026-10-24",
                        "completed": false,
                        "highlighted": false,
                        "created_at": "2026-10-17T10:15:02.000+02:00",
                        "updated_at": "2026-10-17T10:15:02.000+02:00"
                      }
                    ]
                  }
                }
              }
            }
          },
          "404": {
            "description": "Client introuvable"
          },
          "401": {
            "description": "Authentification invalide"
          }
        },
        "tags": [
          "Clients"
        ]
      },
      "post": {
        "summary": "Création d'un rappel client",
        "operationId": "post-customers-id-customer-reminders",
        "description": "Crée un rappel sur un client et l'ajoute à son fil d'activité (événement `customer_reminder.created`, voir `GET /account_events`). Si la clé API est limitée à un représentant, seuls ses clients sont accessibles (404 sinon).\n\nLa requête doit être signée avec l'en-tête `X-Baqio-Hmac-Sha256` (voir Authentification).",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "customer_reminder"
                ],
                "properties": {
                  "customer_reminder": {
                    "type": "object",
                    "properties": {
                      "due_date": {
                        "type": "string",
                        "format": "date",
                        "description": "Date d'échéance (obligatoire)"
                      },
                      "body": {
                        "type": "string",
                        "description": "Contenu du rappel"
                      },
                      "contact_id": {
                        "type": "integer",
                        "description": "ID d'un contact non supprimé du client"
                      },
                      "user_id": {
                        "type": "integer",
                        "description": "ID d'un utilisateur du compte assigné au rappel. À la création, vaut par défaut l'utilisateur assigné au client."
                      }
                    },
                    "required": [
                      "due_date"
                    ]
                  }
                }
              },
              "examples": {
                "example": {
                  "value": {
                    "customer_reminder": {
                      "due_date": "2026-10-24",
                      "body": "Relancer pour la commande de Noël",
                      "contact_id": 1204
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "integer"
                    }
                  }
                },
                "examples": {
                  "example": {
                    "value": {
                      "id": 3307
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Client introuvable"
          },
          "422": {
            "description": "Erreurs de validation",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "errors": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                },
                "examples": {
                  "example": {
                    "value": {
                      "errors": [
                        "Date d'échéance doit être rempli(e)"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Authentification invalide"
          }
        },
        "tags": [
          "Clients"
        ]
      }
    },
    "/customers/{customer_id}/customer_reminders/{id}": {
      "parameters": [
        {
          "schema": {
            "type": "string"
          },
          "name": "customer_id",
          "in": "path",
          "required": true,
          "description": "ID du client"
        },
        {
          "schema": {
            "type": "string"
          },
          "name": "id",
          "in": "path",
          "required": true,
          "description": "ID du rappel"
        }
      ],
      "put": {
        "summary": "Mise à jour d'un rappel client",
        "operationId": "put-customers-id-customer-reminders-id",
        "description": "Met à jour un rappel d'un client. Seuls les champs envoyés sont modifiés. `completed` et `highlighted` ne sont pas modifiables via l'API. Accepte aussi la méthode `PATCH`. Si la clé API est limitée à un représentant, seuls ses clients sont accessibles (404 sinon).\n\nLa requête doit être signée avec l'en-tête `X-Baqio-Hmac-Sha256` (voir Authentification).",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "customer_reminder"
                ],
                "properties": {
                  "customer_reminder": {
                    "type": "object",
                    "properties": {
                      "due_date": {
                        "type": "string",
                        "format": "date",
                        "description": "Date d'échéance (obligatoire)"
                      },
                      "body": {
                        "type": "string",
                        "description": "Contenu du rappel"
                      },
                      "contact_id": {
                        "type": "integer",
                        "description": "ID d'un contact non supprimé du client"
                      },
                      "user_id": {
                        "type": "integer",
                        "description": "ID d'un utilisateur du compte assigné au rappel. À la création, vaut par défaut l'utilisateur assigné au client."
                      }
                    }
                  }
                }
              },
              "examples": {
                "example": {
                  "value": {
                    "customer_reminder": {
                      "due_date": "2026-10-31"
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "integer"
                    }
                  }
                },
                "examples": {
                  "example": {
                    "value": {
                      "id": 3307
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Client ou rappel introuvable"
          },
          "422": {
            "description": "Erreurs de validation",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "errors": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                },
                "examples": {
                  "example": {
                    "value": {
                      "errors": [
                        "Date d'échéance doit être rempli(e)"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Authentification invalide"
          }
        },
        "tags": [
          "Clients"
        ]
      }
    },
    "/customers/{customer_id}/note_attachments": {
      "parameters": [
        {
          "schema": {
            "type": "string"
          },
          "name": "customer_id",
          "in": "path",
          "required": true,
          "description": "ID du client"
        }
      ],
      "post": {
        "summary": "Création d'une pièce jointe de note",
        "operationId": "post-customers-id-note-attachments",
        "description": "Téléverse un fichier, encodé en base64 dans le corps JSON, pour le joindre ensuite à une note client. La pièce jointe est créée sans être rattachée : passez l'`id` renvoyé dans `note_attachment_ids` lors de la création ou de la mise à jour d'une note (`POST` / `PUT /customers/{customer_id}/customer_notes`). Si la clé API est limitée à un représentant, seuls ses clients sont accessibles (404 sinon).\n\nLa requête doit être signée avec l'en-tête `X-Baqio-Hmac-Sha256` (voir Authentification).",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "note_attachment"
                ],
                "properties": {
                  "note_attachment": {
                    "type": "object",
                    "properties": {
                      "file": {
                        "type": "string",
                        "format": "byte",
                        "description": "Contenu du fichier encodé en base64 (obligatoire)"
                      },
                      "filename": {
                        "type": "string",
                        "description": "Nom du fichier, avec son extension. Par défaut `piece-jointe`."
                      },
                      "name": {
                        "type": "string",
                        "description": "Libellé de la pièce jointe. Par défaut, le nom du fichier."
                      }
                    },
                    "required": [
                      "file"
                    ]
                  }
                }
              },
              "examples": {
                "example": {
                  "value": {
                    "note_attachment": {
                      "filename": "devis.pdf",
                      "name": "Devis signé",
                      "file": "JVBERi0xLjQKJcfsj6IK..."
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "integer"
                    },
                    "name": {
                      "type": "string"
                    }
                  }
                },
                "examples": {
                  "example": {
                    "value": {
                      "id": 981,
                      "name": "Devis signé"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Client introuvable"
          },
          "422": {
            "description": "Fichier absent ou base64 invalide",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "errors": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Authentification invalide"
          }
        },
        "tags": [
          "Clients"
        ]
      }
    },
    "/customer_tags": {
      "get": {
        "summary": "Liste des tags de clients",
        "operationId": "get-customer_tags",
        "description": "Liste des tags de clients du compte, triés par nom, avec leur `id` et leur `name`. Les ids servent à renseigner le champ `customer_tag_ids` lors de la création ou de la mise à jour.",
        "parameters": [
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "default": 1
            },
            "in": "query",
            "name": "page",
            "description": "Numéro de page (50 éléments par page). Voir « Pagination »."
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerTag"
                  }
                },
                "examples": {
                  "example": {
                    "value": [
                      {
                        "id": 31,
                        "name": "Désabonné newsletter"
                      },
                      {
                        "id": 18,
                        "name": "Parrain"
                      }
                    ]
                  }
                }
              }
            }
          },
          "401": {
            "description": "Authentification invalide"
          }
        },
        "tags": [
          "Clients"
        ]
      }
    },
    "/pipelines": {
      "get": {
        "summary": "Liste des pipelines",
        "operationId": "get-pipelines",
        "description": "Liste des pipelines commerciaux du compte, triés par nom, avec leurs étapes triées par position. Les pipelines et étapes supprimés ne sont pas renvoyés. Cette liste n'est pas paginée.\n\nL'étape actuelle de chaque client est renvoyée dans `current_pipeline_steps` sur `GET /customers` et `GET /customers/{id}`.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Pipeline"
                  }
                },
                "examples": {
                  "example": {
                    "value": [
                      {
                        "id": 4,
                        "name": "Prospection cavistes",
                        "created_at": "2026-09-01T09:00:00.000+02:00",
                        "updated_at": "2026-09-01T09:00:00.000+02:00",
                        "steps": [
                          {
                            "id": 30,
                            "name": "Premier contact",
                            "kind": null,
                            "position": 1
                          },
                          {
                            "id": 31,
                            "name": "Dégustation",
                            "kind": null,
                            "position": 2
                          },
                          {
                            "id": 32,
                            "name": "Première commande",
                            "kind": null,
                            "position": 3
                          }
                        ]
                      }
                    ]
                  }
                }
              }
            }
          },
          "401": {
            "description": "Authentification invalide"
          }
        },
        "tags": [
          "Clients"
        ]
      }
    },
    "/orders": {
      "get": {
        "summary": "Liste des commandes",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Order"
                  }
                },
                "examples": {
                  "example": {
                    "value": [
                      {
                        "id": 107580,
                        "account_id": 520,
                        "customer_id": 124389,
                        "sales_agent_id": null,
                        "number": 274,
                        "fulfillment_status": "none",
                        "total_price_cents": 45360,
                        "total_price_currency": "EUR",
                        "total_tax_cents": 7560,
                        "total_tax_currency": "EUR",
                        "total_weight": null,
                        "note": "",
                        "cancel_reason": null,
                        "cancelled_at": null,
                        "created_at": "2020-02-11T17:40:52.772+01:00",
                        "updated_at": "2020-02-11T17:44:33.740+01:00",
                        "commission_price_cents": 0,
                        "commission_price_currency": "EUR",
                        "quantity": "36.0",
                        "bottle_quantity": "36.0",
                        "price_grid_id": 4287,
                        "total_order_lines_price_cents": 42000,
                        "total_order_lines_price_currency": "EUR",
                        "total_discounts_cents": 4200,
                        "total_discounts_currency": "EUR",
                        "subtotal_price_cents": 37800,
                        "subtotal_price_currency": "EUR",
                        "date": "2020-02-11",
                        "name": "#1274",
                        "reference": null,
                        "paid_amount_cents": 45360,
                        "paid_amount_currency": "EUR",
                        "state": "invoiced",
                        "warehouse_id": 638,
                        "api_key_id": null,
                        "order_type": "normal",
                        "channel": "backoffice",
                        "hid": null,
                        "excise_duty_state": "pay",
                        "trade_union_reference": null,
                        "customs_document": null,
                        "customs_number": null,
                        "invoice_note": null,
                        "accounting_tax": "fr",
                        "picking_note": null,
                        "register_id": null,
                        "payment_status": "paid",
                        "gross_margin_cents": 25200,
                        "gross_margin_currency": "EUR",
                        "external_id": null,
                        "price_with_tax": true,
                        "manual_fulfillment": false,
                        "primeured": false,
                        "tag_list": [],
                        "outstanding_amount": {
                          "cents": 0,
                          "currency_iso": "EUR"
                        },
                        "customer": {
                          "id": 124389,
                          "account_id": 520,
                          "name": "Lucas Picard",
                          "email": "sylvain@baqio.com",
                          "note": null,
                          "accepts_emailing": true,
                          "created_at": "2020-01-15T16:55:59.697+01:00",
                          "updated_at": "2020-02-11T16:11:46.028+01:00",
                          "sales_agent_id": null,
                          "price_grid_id": 4287,
                          "reference": null,
                          "accepts_mailing": true,
                          "warehouse_id": null,
                          "visibility": "all",
                          "channel": null,
                          "customer_category_id": 5071,
                          "deleted_at": null,
                          "payment_method": null,
                          "payment_period": null,
                          "code": "LUCASP",
                          "vinosoft_id": null,
                          "accounted_at": null,
                          "hid": null,
                          "user_id": null,
                          "automatic_discount_rate": null,
                          "sponsor_id": null,
                          "commission_rate": null,
                          "invoice_preference": null,
                          "block_orders": false,
                          "sticky_note": false,
                          "tag_list": [],
                          "billing_information": {
                            "id": 217791,
                            "billable_id": 124389,
                            "company_name": "",
                            "first_name": "Lucas",
                            "last_name": "Picard",
                            "email": "sylvain@baqio.com",
                            "address1": "",
                            "address2": "",
                            "city": "MONTPELLIER",
                            "zip": "34000",
                            "province": "",
                            "country_code": "FR",
                            "phone": "",
                            "company_number": "",
                            "vat_number": "",
                            "excise_number": "",
                            "created_at": "2020-01-15T16:55:59.816+01:00",
                            "updated_at": "2020-02-11T16:11:45.963+01:00",
                            "billable_type": "Customer",
                            "legal_form": "",
                            "subdivision_code": "34",
                            "title": null,
                            "mobile": "",
                            "undeliverable_address": false,
                            "address3": "",
                            "fax": null,
                            "tax_exempt": false,
                            "website": ""
                          },
                          "shipping_information": {
                            "id": 270436,
                            "shippable_id": 124389,
                            "use_billing_address": true,
                            "company_name": null,
                            "first_name": null,
                            "last_name": null,
                            "address1": null,
                            "address2": null,
                            "city": null,
                            "zip": null,
                            "province": null,
                            "country_code": null,
                            "phone": null,
                            "note": null,
                            "delivery_schedules": null,
                            "closing_days": null,
                            "created_at": "2020-01-15T16:55:59.867+01:00",
                            "updated_at": "2020-01-15T16:55:59.867+01:00",
                            "shippable_type": "Customer",
                            "dae_number": null,
                            "title": null,
                            "undeliverable_address": false,
                            "address3": null,
                            "mobile": null,
                            "excise_number": null
                          }
                        },
                        "order_lines_not_deleted": [
                          {
                            "id": 259104,
                            "order_id": 107580,
                            "product_variant_id": 6182,
                            "name": "Pink 2019",
                            "description": "Bouteille (75 cl) - Carton 6",
                            "quantity": "36.0",
                            "price_cents": 1167,
                            "price_currency": "EUR",
                            "total_price_cents": 42000,
                            "total_price_currency": "EUR",
                            "created_at": "2020-02-11T17:41:17.803+01:00",
                            "updated_at": "2020-02-11T17:41:45.521+01:00",
                            "fulfilled_quantity": "0.0",
                            "pending_fulfilled_quantity": "0.0",
                            "total_discount_cents": 4200,
                            "total_discount_currency": "EUR",
                            "free_shipping": false,
                            "product_price_id": 5074,
                            "deleted_at": null,
                            "product_vintage_id": 4412,
                            "capsule_id": 430,
                            "complement": "AOP Rosé d'Anjou - Rosé",
                            "bottle_quantity": "36.0",
                            "manual_price_cents": null,
                            "manual_price_currency": "EUR",
                            "product_label_id": null,
                            "final_price_cents": 37800,
                            "final_price_currency": "EUR",
                            "note": null,
                            "price_with_tax_cents": 1400,
                            "price_with_tax_currency": "EUR",
                            "total_price_with_tax_cents": 50400,
                            "total_price_with_tax_currency": "EUR",
                            "final_price_with_tax_cents": 45360,
                            "final_price_with_tax_currency": "EUR",
                            "batch_id": null,
                            "gross_margin_cents": 25200,
                            "gross_margin_currency": "EUR",
                            "manual_country_tax_id": null,
                            "vintage_complement": "",
                            "capsule_kind": null,
                            "primeured": false,
                            "manual_tax_exempted": false,
                            "accounting_tax": null,
                            "product_variant": {
                              "id": 6182,
                              "product_size_id": 2,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2020-01-15T10:22:16.174+01:00",
                              "updated_at": "2020-01-15T16:55:22.034+01:00",
                              "product_packaging_id": 2340,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 4412,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 350,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null
                            },
                            "commission_line": {
                              "id": 225401,
                              "order_line_id": 259104,
                              "calculation_method": "relative",
                              "rate": "0.0",
                              "discount_rate": "0.0",
                              "commission_price_cents": 0,
                              "commission_price_currency": "EUR",
                              "discount_amount_cents": 0,
                              "discount_amount_currency": "EUR",
                              "created_at": "2020-02-11T17:41:18.699+01:00",
                              "updated_at": "2020-02-11T17:41:18.699+01:00",
                              "original_rate": "0.0",
                              "discount_amount_with_tax_cents": 0,
                              "discount_amount_with_tax_currency": "EUR",
                              "unit_deducted_amount_cents": 0,
                              "unit_deducted_amount_currency": "EUR",
                              "total_deducted_amount_cents": 0,
                              "total_deducted_amount_currency": "EUR"
                            }
                          }
                        ],
                        "invoice_debit": {
                          "id": 105844,
                          "order_id": 107580,
                          "number": 260,
                          "name": "FA-1260",
                          "due_date": "2020-03-12",
                          "created_at": "2020-02-11T17:42:55.068+01:00",
                          "updated_at": "2020-02-11T17:44:33.509+01:00",
                          "date": "2020-02-11",
                          "status": "debit",
                          "file": {
                            "url": "https://vinosoft-staging.s3-eu-west-3.amazonaws.com/uploads/invoice/file/105844/1274.pdf?X-Amz-Expires=300&X-Amz-Date=20200217T160824Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJQAEM4Z3DPIKNLLQ%2F20200217%2Feu-west-3%2Fs3%2Faws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=e8cf0faad55bd7d14ca4e4a6ead03b372eb5d594f9dcffe36a0ccf17b11c703c"
                          },
                          "notify_customer": false,
                          "kind": "facture",
                          "payment_duration": 0,
                          "payment_method": null,
                          "payment_period": null,
                          "commission_statement_id": null,
                          "paid_at": "2020-02-11",
                          "accounted_at": null,
                          "file_url": "https://vinosoft-staging.s3-eu-west-3.amazonaws.com/uploads/invoice/file/105844/1274.pdf?X-Amz-Expires=300&X-Amz-Date=20200217T160810Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJQAEM4Z3DPIKNLLQ%2F20200217%2Feu-west-3%2Fs3%2Faws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=4741d7ef88316c8056deb1d6aab2ef283be4393fb3b51a264c28ec60361b3625"
                        },
                        "shipping_line": {
                          "id": 107577,
                          "order_id": 107580,
                          "price_cents": 0,
                          "price_currency": "EUR",
                          "created_at": "2020-02-11T17:40:52.895+01:00",
                          "updated_at": "2020-02-11T17:40:52.895+01:00",
                          "fulfillment_service_id": null,
                          "calculation_method": "auto",
                          "price_with_tax_cents": 0,
                          "price_with_tax_currency": "EUR",
                          "cost_price_cents": 0,
                          "cost_price_currency": "EUR",
                          "gross_margin_cents": 0,
                          "gross_margin_currency": "EUR",
                          "departure_conditions": false,
                          "accounting_tax": null,
                          "name": "Livraison : Enlèvement sur place"
                        },
                        "tax_lines": [
                          {
                            "id": 305879,
                            "taxable_id": 107580,
                            "taxable_type": "Order",
                            "country_tax_id": 1,
                            "name": "TVA France",
                            "tax_percentage": "20.0",
                            "price_cents": 7560,
                            "price_currency": "EUR",
                            "created_at": "2020-02-11T17:41:46.156+01:00",
                            "updated_at": "2020-02-11T17:41:46.156+01:00"
                          }
                        ]
                      }
                    ]
                  }
                }
              }
            }
          }
        },
        "operationId": "get-orders",
        "description": "Liste des commandes paginées. Paginées par 50, indiquer le paramètre page pour obtenir les commandes suivantes, exemple : ",
        "parameters": [
          {
            "schema": {
              "type": "object",
              "additionalProperties": true
            },
            "in": "query",
            "name": "q",
            "style": "deepObject",
            "explode": true,
            "description": "Filtres de recherche Ransack (voir « Recherche »). Exemples : `q[reference_eq]=CMD-001`, `q[state_in][]=validated`, `q[updated_at_gteq]=2026-01-01`, `q[customer_id_eq]=124389`."
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "default": 1
            },
            "in": "query",
            "name": "page",
            "description": "Numéro de page (50 éléments par page). Voir « Pagination »."
          }
        ],
        "tags": [
          "Commandes"
        ]
      },
      "parameters": [],
      "post": {
        "summary": "Création d'une commande",
        "operationId": "post-orders",
        "responses": {
          "200": {
            "description": "Demande acceptée, traitée en arrière-plan. Corps vide."
          },
          "204": {
            "description": "Commande existante, mais la transition demandée ne s'applique pas à son état actuel : aucune action."
          },
          "401": {
            "description": "Authentification ou signature invalide"
          },
          "422": {
            "description": "Demande refusée",
            "content": {
              "application/json": {
                "examples": {
                  "sku_inconnu": {
                    "summary": "SKU inconnu (création ou remplacement)",
                    "value": [
                      "product variant RDP2 doesn't exists"
                    ]
                  },
                  "reservation_insuffisante": {
                    "summary": "Validation impossible",
                    "value": {
                      "message": "Order not validable due to booking quantities not sufficient."
                    }
                  },
                  "tag_inconnu": {
                    "summary": "Tag de commande inconnu (création ou remplacement)",
                    "value": [
                      "order tag 999 doesn't exist"
                    ]
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "order"
                ],
                "properties": {
                  "order": {
                    "type": "object",
                    "properties": {
                      "reference": {
                        "type": "string",
                        "description": "Référence unique de la commande dans le compte. Sert aussi à identifier la commande pour les changements d'état."
                      },
                      "state": {
                        "type": "string",
                        "enum": [
                          "validated",
                          "removed",
                          "cancelled",
                          "replace"
                        ],
                        "description": "Création : `validated` valide la commande immédiatement. Commande existante : transition à appliquer (voir la description)."
                      },
                      "cancel_reason": {
                        "type": "string",
                        "description": "Motif d'annulation, pour `removed` et `cancelled`."
                      },
                      "channel": {
                        "type": "string",
                        "enum": [
                          "api",
                          "vvp"
                        ],
                        "default": "api"
                      },
                      "date": {
                        "type": "string",
                        "format": "date"
                      },
                      "order_type": {
                        "type": "string",
                        "enum": [
                          "normal",
                          "samples",
                          "primeur"
                        ]
                      },
                      "note": {
                        "type": "string",
                        "description": "Note interne"
                      },
                      "sales_agent_id": {
                        "type": "integer"
                      },
                      "warehouse_id": {
                        "type": "integer"
                      },
                      "price_grid_id": {
                        "type": "integer"
                      },
                      "register_id": {
                        "type": "integer"
                      },
                      "order_campaign_id": {
                        "type": "integer"
                      },
                      "booking_order_id": {
                        "type": "integer",
                        "description": "Id de la réservation à laquelle rattacher la commande"
                      },
                      "order_tag_ids": {
                        "type": "array",
                        "items": {
                          "type": "integer"
                        },
                        "description": "Ids de tags de order (voir `GET /order_tags`). Un id qui n'appartient pas au compte est refusé (422)."
                      },
                      "customer": {
                        "type": "object",
                        "description": "Client existant (`id`, `reference` ou `woocommerce_id`) ou nouveau client (mêmes champs que `POST /customers`).",
                        "properties": {
                          "id": {
                            "type": "integer"
                          },
                          "reference": {
                            "type": "string"
                          },
                          "woocommerce_id": {
                            "type": "string"
                          },
                          "billing_information": {
                            "$ref": "#/components/schemas/BillingInformation"
                          },
                          "shipping_information": {
                            "$ref": "#/components/schemas/ShippingInformation"
                          }
                        }
                      },
                      "shipping_information": {
                        "$ref": "#/components/schemas/ShippingInformation"
                      },
                      "order_lines": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "product_variant_sku",
                            "quantity"
                          ],
                          "properties": {
                            "product_variant_sku": {
                              "type": "string"
                            },
                            "quantity": {
                              "type": "number"
                            },
                            "manual_price": {
                              "type": "number",
                              "description": "Prix unitaire forcé (HT ou TTC selon la grille tarifaire)"
                            },
                            "capsule_id": {
                              "type": "integer"
                            },
                            "product_label_id": {
                              "type": "integer"
                            },
                            "batch_id": {
                              "type": "integer"
                            },
                            "note": {
                              "type": "string"
                            }
                          }
                        }
                      },
                      "shipping_line": {
                        "type": "object",
                        "properties": {
                          "fulfillment_service_id": {
                            "type": "integer",
                            "nullable": true
                          },
                          "calculation_method": {
                            "type": "string",
                            "enum": [
                              "auto",
                              "manual"
                            ],
                            "default": "auto"
                          },
                          "price": {
                            "type": "number",
                            "description": "Frais de port HT"
                          },
                          "price_with_tax": {
                            "type": "number",
                            "description": "Frais de port TTC"
                          }
                        }
                      },
                      "payments": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "date",
                            "payment_source_id",
                            "amount"
                          ],
                          "properties": {
                            "date": {
                              "type": "string"
                            },
                            "payment_source_id": {
                              "type": "integer"
                            },
                            "amount": {
                              "type": "number"
                            },
                            "source_reference": {
                              "type": "string"
                            },
                            "comment": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "examples": {
                "creation": {
                  "summary": "Créer une commande",
                  "value": {
                    "order": {
                      "reference": "CMD-2026-001",
                      "date": "2026-10-16",
                      "order_type": "normal",
                      "note": "Commande site e-commerce",
                      "warehouse_id": 638,
                      "price_grid_id": 4287,
                      "state": "validated",
                      "customer": {
                        "reference": "BAQIO",
                        "billing_information": {
                          "company_name": "BAQIO",
                          "first_name": "Sylvain",
                          "last_name": "Gautier",
                          "email": "contact@baqio.com",
                          "country_code": "FR"
                        }
                      },
                      "order_lines": [
                        {
                          "product_variant_sku": "RDP",
                          "quantity": 12
                        },
                        {
                          "product_variant_sku": "BLC75",
                          "quantity": 6,
                          "manual_price": 11.67,
                          "note": "Prix négocié"
                        }
                      ],
                      "shipping_line": {
                        "fulfillment_service_id": 12,
                        "calculation_method": "manual",
                        "price": 10.0,
                        "price_with_tax": 12.0
                      },
                      "payments": [
                        {
                          "date": "2026-10-16",
                          "payment_source_id": 709,
                          "source_reference": "ST8171",
                          "comment": "paiement stripe",
                          "amount": 100.0
                        }
                      ]
                    }
                  }
                },
                "validation": {
                  "summary": "Valider une commande existante",
                  "value": {
                    "order": {
                      "reference": "CMD-2026-001",
                      "state": "validated"
                    }
                  }
                },
                "annulation": {
                  "summary": "Annuler une commande facturée (avoir)",
                  "value": {
                    "order": {
                      "reference": "CMD-2026-001",
                      "state": "cancelled",
                      "cancel_reason": "Erreur de saisie"
                    }
                  }
                },
                "remplacement": {
                  "summary": "Remplacer une commande",
                  "value": {
                    "order": {
                      "reference": "CMD-2026-001",
                      "state": "replace",
                      "customer": {
                        "reference": "BAQIO"
                      },
                      "order_lines": [
                        {
                          "product_variant_sku": "RDP",
                          "quantity": 12
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "description": "Plusieurs possibilités sont offertes pour la création d'une commande en API sur Baqio. \n\n### Informations minimales à fournir\n\nNous décrivons ici les informations minimales à fournir pour la création d'une commande. \n\n#### Client\n\nDans le cas d'un client existant, vous pouvez transmettre son id, sa référence ou son identifiant woocommerce : \n\n```json\n\"customer\": {\n\tid: 123,\n\treference: 'BAQIO',\n\twoocommerce_id: '123456789'\n}\n```\n\nDans le cas d'un nouveau client, il faudra transmettre au minimum les informations suivantes: \n\n```json\n\"customer\": {\n\t\"billing_information\": {\n\t\t\"company_name\": \"BAQIO\",\n\t\t\"last_name\": \"Gautier\",\n\t\t\"first_name\": \"Sylvain\",\n\t\t\"country_code\": \"FR\"\n\t}\n}\n```\n\nSoit company_name est indiqué et les deux autres champs ne sont pas obligatoires, sinon il faut remplir first_name et last_name.\n\n#### Commande\n\nLes informations facultatives suivantes peuvent être indiquées : \n\n- `date` : Date de la commande\n- `order_type` (normal / samples / primeur) : type de commande (normale, primeur, échantillons)\n- `note` : Note interne sur cette commande\n- `reference` : Référence de la commande, **obligatoire** et unique parmi les commandes\n- `sales_agent_id` : Id du représentant commercial\n- `warehouse_id` : Id de l'entrepôt de départ des produits\n- `register_id`: Id du point de vente\n- `price_grid_id` : Id de la grille tarifaire. Si elle n'est pas renseignée, c'est celle du point de vente si il est renseignée. Sinon c'est celle du client qui s'applique. Si il n'en a pas, c'est celle par défaut définie au niveau du compte.\n\n#### Lignes de commandes\n\nAu niveau des lignes de commande, il faut au minimum fournir un tableau de hash contenant pour chaque ligne : \n\n```json\n\"order_lines\": [\n\t{\n\t\t\"product_variant_sku\": 'RDP',\n\t\t\"quantity\": 12\n\t}\n]\n```\n\nPar défaut, c'est le prix unitaire du produit pour la grille tarifaire qui est appliqué sur une ligne de commande. Si vous souhaitez modifier manuellement le prix unitaire, il faut renseigner le montant unitaire de la ligne. Dans le cas où la grille est définie en HT il s'agit du montant unitaire HT, dans le cas où la grille est définie en TTC, c'est le montant unitaire TTC :\n\n```json\n\"order_lines\": [\n\t{\n\t\t\"product_variant_sku\": 'RDP',\n\t\t\"quantity\": 12,\n\t\t\"manual_price\": 7.5\n\t}\n]\n```\n\nLes informations facultatives suivantes peuvent être renseignée :\n\n- `capsule_id` : Id de la capsule CRD utilisée. Sinon par défaut celle applicable (CRD ou Neutre) définie au niveau du produit qui s'applique\n- `product_label_id` : Id de l'habillage utilisé. Sinon par défaut, c'est celui applicable pour le client ou pour la grille tarifaire qui s'applique.\n- `batch_id` : Id du numéro de lot. Sinon c'est celui par défaut qui s'applique.\n- `note` : Information complémentaire indiquée sur la ligne de commande.\n\n#### Frais de port\n\nIl est possible d'indiquer des frais de port sur la commande.\n\n```json\n\"shipping_line\": {\n   \"fulfillment_service_id\": null,\n\t \"calculation_method\": 'auto',\n\t \"price\": 0,\n   \"price_with_tax\": 0,\n}\n```\n\nVous pouvez spécifier manuellement des frais de port à appliquer à la commande. \n\nDans ce cas le champ `calculation_method` doit prendre la valeur '`manual`'. Vous pouvez alors indiquer le montant HT et TTC des frais de port avec `price` et `price_with_tax`.\n\nIl est également possible d'indiquer un transporteur (`fulfillment_service_id`), si le champ `calculation_method` est vide ou à auto, les frais de transport seront calculés automatiquement en fonction de la grille définie au niveau du transporteur.\n\nDe la même façon, vous pouvez définir manuellement les frais de port quand un transporteur est sélectionné.\n\n#### Règlements\n\nIl est possible d'indiquer un ou plusieurs règlements sur la commande.\n\nDans un premier temps, vous pouvez récupérer la liste des moyens de paiements via le endpoint \"payment_sources\".\n\nVous pouvez ensuite indiquer la liste des règlements : \n\n```json\n\"payments\": [\n    {\n      \"date\": '09/06/2020',\n      \"payment_source_id\": 709,\n      \"source_reference\": 'ST8171',\n      \"comment\": 'paiement stripe',\n      \"amount\": 100.0\n    }\n  ]\n```\n\nLes champs date, payment_source_id et amount sont obligatoires.\n\n### Etats de la commande \n\nSi vous renvoyez une commande avec la même référence mais que vous spécifiez un state différent, celle-ci sera mise à jour. \n\n- Si la commande est à l'état 'pending' et que vous passez le state 'validated', cela validera la commande et réservera le stock.\n- Si la commande est à l'état 'pending' ou 'validated' et que vous passez l'état 'removed', cela annulera la commande.\n- Si la commande est à l'état 'invoiced' et que vous passez l'état 'cancelled', la commande sera annulée et un avoir sera créé."
        },
        "description": "Crée une commande, ou change l'état d'une commande existante identifiée par sa `reference`. La requête doit être signée avec l'en-tête `X-Baqio-Hmac-Sha256` (voir « Signature des requêtes POST »).\n\n### Traitement asynchrone\n\nLa requête est d'abord contrôlée, puis la création ou le changement d'état est exécuté **en arrière-plan**. Une réponse `200` signifie que la demande est acceptée, pas que la commande existe déjà : le corps est vide et ne contient pas l'id de la commande. Pour la retrouver, interrogez `GET /orders?q[reference_eq]=<reference>` quelques secondes plus tard.\n\n### Choix du traitement\n\nLe traitement dépend de `order.reference` et `order.state` :\n\n1. **Une commande du compte porte déjà cette `reference` et `state` est renseigné** : changement d'état de cette commande (voir ci-dessous).\n2. **Sinon** : création d'une nouvelle commande.\n\n#### Changements d'état d'une commande existante\n\n| État actuel | `state` envoyé | Effet | Réponse |\n|---|---|---|---|\n| `pending` | `validated` | Valide la commande et réserve le stock. | `200`, ou `422` si les quantités de la réservation liée sont insuffisantes |\n| `pending` ou `validated` | `removed` | Annule la commande, avec le motif `cancel_reason` s'il est fourni. | `200` |\n| `invoiced` | `cancelled` | Annule la commande et crée un avoir, avec le motif `cancel_reason`. | `200` |\n| quel qu'il soit | `replace` | Annule la dernière commande non annulée portant cette référence (motif « Remplacement via API ») et renomme sa référence en `<reference>_cancelled`, puis crée une nouvelle commande avec le contenu envoyé. | `200`, ou `422` si un SKU est inconnu |\n| autre combinaison | | Aucune action. | `204` |\n\nPour un changement d'état autre que `replace`, seuls `reference`, `state` et `cancel_reason` sont lus : le reste du contenu est ignoré.\n\n#### Création\n\n- **Contrôle préalable** : chaque `order_lines[].product_variant_sku` doit correspondre à une variante produit non supprimée du compte, sinon la requête est refusée en `422` avec la liste des SKU inconnus. Aucun autre champ n'est contrôlé de façon synchrone.\n- **Référence déjà utilisée** : si une commande du compte porte déjà cette `reference` (et que `state` n'est pas renseigné), la requête répond `200` mais **aucune commande n'est créée**.\n- **Client** : recherché successivement par `customer.id`, `customer.reference` puis `customer.woocommerce_id` parmi les clients visibles du compte. S'il n'est pas trouvé, un nouveau client est créé avec le contenu de `customer` (et `woocommerce_id` lui est associé s'il est fourni).\n- **Validation immédiate** : avec `\"state\": \"validated\"`, la commande créée est validée directement si les quantités de la réservation liée le permettent ; sinon elle reste à l'état `pending`.\n- **Canal** : `channel` vaut `api` (par défaut) ou `vvp`. Toute autre valeur est remplacée par `api`.\n- **Identifiants liés** : `sales_agent_id`, `warehouse_id`, `price_grid_id`, `register_id`, `order_campaign_id` et `booking_order_id` sont ignorés s'ils ne correspondent à aucun élément actif du compte. Avec `booking_order_id`, la commande est rattachée à la réservation et reprend sa campagne.\n- **Étiquettes** : les `order_tag_ids` inconnus sont ignorés.\n- **Adresse de livraison** : `shipping_information` remplace l'adresse de facturation du client pour la livraison (`use_billing_address` est forcé à `false`) et recalcule le régime de droits d'accises.\n- **Règlements** : un règlement invalide (champ obligatoire manquant, date hors période comptable…) est ignoré sans erreur.\n\nLe détail de chaque bloc (client, lignes, frais de port, règlements) est décrit dans le corps de la requête.",
        "tags": [
          "Commandes"
        ]
      }
    },
    "/fulfillments": {
      "get": {
        "summary": "Liste les expéditions",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Fulfillment"
                },
                "examples": {
                  "example": {
                    "value": [
                      {
                        "id": 60593,
                        "order_id": null,
                        "status": "fulfilled",
                        "fulfillment_service_id": null,
                        "created_at": "2020-06-16T16:35:10.816+02:00",
                        "updated_at": "2020-06-16T16:35:29.409+02:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 876,
                        "note": "",
                        "date": "2020-06-16",
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "pay",
                        "cancelled_at": null,
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": null,
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 86,
                        "destination_type": "Customer",
                        "destination_id": 77,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 86,
                          "account_id": 86,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:01:47.607+02:00",
                          "updated_at": "2017-05-24T11:01:47.607+02:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        "destination": {
                          "id": 77,
                          "account_id": 86,
                          "name": "Frédérique Faure",
                          "email": "sylvain+faure@vinosoft.com",
                          "note": "",
                          "accepts_emailing": true,
                          "created_at": "2017-05-24T11:08:51.608+02:00",
                          "updated_at": "2017-07-31T23:17:24.897+02:00",
                          "sales_agent_id": null,
                          "price_grid_id": 109,
                          "reference": null,
                          "accepts_mailing": true,
                          "warehouse_id": 86,
                          "visibility": "all",
                          "channel": null,
                          "customer_category_id": 505,
                          "deleted_at": null,
                          "payment_method": "",
                          "payment_period": "",
                          "code": "000005",
                          "vinosoft_id": null,
                          "accounted_at": "2018-01-18T16:55:33.241+01:00",
                          "hid": null,
                          "user_id": null,
                          "automatic_discount_rate": null,
                          "sponsor_id": null,
                          "commission_rate": null,
                          "invoice_preference": null,
                          "block_orders": false,
                          "sticky_note": false,
                          "invoice_template_id": null
                        },
                        "fulfillment_lines": [
                          {
                            "id": 125445,
                            "fulfillment_id": 60593,
                            "order_line_id": null,
                            "quantity": "12.0",
                            "created_at": "2020-06-16T16:35:18.749+02:00",
                            "updated_at": "2020-06-16T16:35:18.749+02:00",
                            "product_variant_id": 1702,
                            "product_label_id": null,
                            "capsule_id": null,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 1702,
                              "product_size_id": 14,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2019-02-12T10:14:25.050+01:00",
                              "updated_at": "2019-12-22T14:09:38.166+01:00",
                              "product_packaging_id": 482,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 1297,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 0,
                              "cost_price_currency": "EUR",
                              "marketable": false,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          }
                        ]
                      },
                      {
                        "id": 60069,
                        "order_id": 144805,
                        "status": "validated",
                        "fulfillment_service_id": null,
                        "created_at": "2020-06-10T11:17:30.852+02:00",
                        "updated_at": "2020-06-10T11:17:30.907+02:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 874,
                        "note": null,
                        "date": null,
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "suspended",
                        "cancelled_at": null,
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": null,
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 86,
                        "destination_type": "Customer",
                        "destination_id": 164003,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 86,
                          "account_id": 86,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:01:47.607+02:00",
                          "updated_at": "2017-05-24T11:01:47.607+02:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        "destination": {
                          "id": 164003,
                          "account_id": 86,
                          "name": "Sylvain Gautier",
                          "email": "",
                          "note": null,
                          "accepts_emailing": true,
                          "created_at": "2020-05-11T16:27:50.592+02:00",
                          "updated_at": "2020-06-10T11:16:31.192+02:00",
                          "sales_agent_id": null,
                          "price_grid_id": null,
                          "reference": null,
                          "accepts_mailing": true,
                          "warehouse_id": null,
                          "visibility": "all",
                          "channel": null,
                          "customer_category_id": null,
                          "deleted_at": null,
                          "payment_method": null,
                          "payment_period": null,
                          "code": "GAUTI3",
                          "vinosoft_id": null,
                          "accounted_at": null,
                          "hid": null,
                          "user_id": null,
                          "automatic_discount_rate": null,
                          "sponsor_id": null,
                          "commission_rate": null,
                          "invoice_preference": null,
                          "block_orders": false,
                          "sticky_note": false,
                          "invoice_template_id": null
                        },
                        "fulfillment_lines": [
                          {
                            "id": 124451,
                            "fulfillment_id": 60069,
                            "order_line_id": 379274,
                            "quantity": "12.0",
                            "created_at": "2020-06-10T11:17:30.855+02:00",
                            "updated_at": "2020-06-10T11:17:30.855+02:00",
                            "product_variant_id": 6074,
                            "product_label_id": null,
                            "capsule_id": null,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 6074,
                              "product_size_id": 18,
                              "sku": null,
                              "default_barcode": "",
                              "created_at": "2019-12-27T12:36:18.596+01:00",
                              "updated_at": "2019-12-27T12:36:18.596+01:00",
                              "product_packaging_id": 484,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 4333,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 0,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          }
                        ]
                      },
                      {
                        "id": 60065,
                        "order_id": 144803,
                        "status": "fulfilled",
                        "fulfillment_service_id": null,
                        "created_at": "2020-06-10T10:18:10.778+02:00",
                        "updated_at": "2020-06-10T10:18:11.446+02:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 872,
                        "note": null,
                        "date": "2020-06-10",
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "pay",
                        "cancelled_at": null,
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": null,
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 86,
                        "destination_type": null,
                        "destination_id": null,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 86,
                          "account_id": 86,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:01:47.607+02:00",
                          "updated_at": "2017-05-24T11:01:47.607+02:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        "fulfillment_lines": [
                          {
                            "id": 124445,
                            "fulfillment_id": 60065,
                            "order_line_id": 379270,
                            "quantity": "6.0",
                            "created_at": "2020-06-10T10:18:10.781+02:00",
                            "updated_at": "2020-06-10T10:18:10.781+02:00",
                            "product_variant_id": 679,
                            "product_label_id": null,
                            "capsule_id": 31,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 679,
                              "product_size_id": 2,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2018-06-05T22:14:36.892+02:00",
                              "updated_at": "2018-06-05T22:14:36.892+02:00",
                              "product_packaging_id": 887,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 557,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 0,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          },
                          {
                            "id": 124446,
                            "fulfillment_id": 60065,
                            "order_line_id": 379271,
                            "quantity": "6.0",
                            "created_at": "2020-06-10T10:18:10.856+02:00",
                            "updated_at": "2020-06-10T10:18:10.856+02:00",
                            "product_variant_id": 718,
                            "product_label_id": 159,
                            "capsule_id": 22,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 718,
                              "product_size_id": 2,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2018-07-13T14:38:33.863+02:00",
                              "updated_at": "2018-10-10T14:51:30.316+02:00",
                              "product_packaging_id": 484,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 590,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 450,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          },
                          {
                            "id": 124447,
                            "fulfillment_id": 60065,
                            "order_line_id": 379272,
                            "quantity": "6.0",
                            "created_at": "2020-06-10T10:18:10.863+02:00",
                            "updated_at": "2020-06-10T10:18:10.863+02:00",
                            "product_variant_id": 1690,
                            "product_label_id": null,
                            "capsule_id": 37,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 1690,
                              "product_size_id": 2,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2019-02-04T09:04:51.446+01:00",
                              "updated_at": "2019-02-04T09:05:16.820+01:00",
                              "product_packaging_id": 484,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 1287,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 500,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          }
                        ]
                      },
                      {
                        "id": 60064,
                        "order_id": 144802,
                        "status": "fulfilled",
                        "fulfillment_service_id": null,
                        "created_at": "2020-06-10T10:17:37.339+02:00",
                        "updated_at": "2020-06-10T10:17:38.068+02:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 871,
                        "note": null,
                        "date": "2020-06-10",
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "pay",
                        "cancelled_at": null,
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": null,
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 86,
                        "destination_type": null,
                        "destination_id": null,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 86,
                          "account_id": 86,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:01:47.607+02:00",
                          "updated_at": "2017-05-24T11:01:47.607+02:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        "fulfillment_lines": [
                          {
                            "id": 124444,
                            "fulfillment_id": 60064,
                            "order_line_id": 379269,
                            "quantity": "6.0",
                            "created_at": "2020-06-10T10:17:37.358+02:00",
                            "updated_at": "2020-06-10T10:17:37.358+02:00",
                            "product_variant_id": 718,
                            "product_label_id": 159,
                            "capsule_id": 22,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 718,
                              "product_size_id": 2,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2018-07-13T14:38:33.863+02:00",
                              "updated_at": "2018-10-10T14:51:30.316+02:00",
                              "product_packaging_id": 484,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 590,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 450,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          }
                        ]
                      },
                      {
                        "id": 58960,
                        "order_id": 121402,
                        "status": "validated",
                        "fulfillment_service_id": null,
                        "created_at": "2020-05-07T09:22:28.570+02:00",
                        "updated_at": "2020-05-07T09:22:28.621+02:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 870,
                        "note": null,
                        "date": null,
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "pay",
                        "cancelled_at": null,
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": null,
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 86,
                        "destination_type": "Customer",
                        "destination_id": 77,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 86,
                          "account_id": 86,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:01:47.607+02:00",
                          "updated_at": "2017-05-24T11:01:47.607+02:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        "destination": {
                          "id": 77,
                          "account_id": 86,
                          "name": "Frédérique Faure",
                          "email": "sylvain+faure@vinosoft.com",
                          "note": "",
                          "accepts_emailing": true,
                          "created_at": "2017-05-24T11:08:51.608+02:00",
                          "updated_at": "2017-07-31T23:17:24.897+02:00",
                          "sales_agent_id": null,
                          "price_grid_id": 109,
                          "reference": null,
                          "accepts_mailing": true,
                          "warehouse_id": 86,
                          "visibility": "all",
                          "channel": null,
                          "customer_category_id": 505,
                          "deleted_at": null,
                          "payment_method": "",
                          "payment_period": "",
                          "code": "000005",
                          "vinosoft_id": null,
                          "accounted_at": "2018-01-18T16:55:33.241+01:00",
                          "hid": null,
                          "user_id": null,
                          "automatic_discount_rate": null,
                          "sponsor_id": null,
                          "commission_rate": null,
                          "invoice_preference": null,
                          "block_orders": false,
                          "sticky_note": false,
                          "invoice_template_id": null
                        },
                        "fulfillment_lines": [
                          {
                            "id": 122283,
                            "fulfillment_id": 58960,
                            "order_line_id": 308949,
                            "quantity": "1.0",
                            "created_at": "2020-05-07T09:22:28.573+02:00",
                            "updated_at": "2020-05-07T09:22:28.573+02:00",
                            "product_variant_id": 1701,
                            "product_label_id": null,
                            "capsule_id": 22,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 1701,
                              "product_size_id": 2,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2019-02-12T10:14:04.243+01:00",
                              "updated_at": "2019-03-19T12:34:23.064+01:00",
                              "product_packaging_id": 484,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 1296,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 0,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          }
                        ]
                      },
                      {
                        "id": 58588,
                        "order_id": 109296,
                        "status": "validated",
                        "fulfillment_service_id": null,
                        "created_at": "2020-04-24T14:29:39.196+02:00",
                        "updated_at": "2020-04-24T14:29:39.424+02:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 867,
                        "note": null,
                        "date": null,
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "pay",
                        "cancelled_at": null,
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": null,
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 86,
                        "destination_type": "Customer",
                        "destination_id": 79,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 86,
                          "account_id": 86,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:01:47.607+02:00",
                          "updated_at": "2017-05-24T11:01:47.607+02:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        "destination": {
                          "id": 79,
                          "account_id": 86,
                          "name": "Mr Benoit Taillefert",
                          "email": "benoit.taillefert@gmail.com, benoit@vinosoft.com",
                          "note": "",
                          "accepts_emailing": true,
                          "created_at": "2017-05-24T12:48:11.989+02:00",
                          "updated_at": "2020-04-29T06:24:41.501+02:00",
                          "sales_agent_id": null,
                          "price_grid_id": 109,
                          "reference": "130002",
                          "accepts_mailing": true,
                          "warehouse_id": 86,
                          "visibility": "all",
                          "channel": null,
                          "customer_category_id": 505,
                          "deleted_at": null,
                          "payment_method": null,
                          "payment_period": null,
                          "code": "000007",
                          "vinosoft_id": null,
                          "accounted_at": "2018-01-18T16:55:33.241+01:00",
                          "hid": "60c330fa-0777-48cf-86ad-b5b46e41c65b",
                          "user_id": 108,
                          "automatic_discount_rate": null,
                          "sponsor_id": null,
                          "commission_rate": null,
                          "invoice_preference": null,
                          "block_orders": false,
                          "sticky_note": false,
                          "invoice_template_id": 930
                        },
                        "fulfillment_lines": [
                          {
                            "id": 121570,
                            "fulfillment_id": 58588,
                            "order_line_id": 309683,
                            "quantity": "1.0",
                            "created_at": "2020-04-24T14:29:39.213+02:00",
                            "updated_at": "2020-04-24T14:29:39.213+02:00",
                            "product_variant_id": 2279,
                            "product_label_id": null,
                            "capsule_id": 32,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 2279,
                              "product_size_id": 11,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2019-05-17T11:02:53.928+02:00",
                              "updated_at": "2020-05-22T16:01:40.462+02:00",
                              "product_packaging_id": 484,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 1296,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 0,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": "",
                              "ttb_id": ""
                            }
                          }
                        ]
                      },
                      {
                        "id": 58587,
                        "order_id": 110071,
                        "status": "validated",
                        "fulfillment_service_id": null,
                        "created_at": "2020-04-24T14:27:57.284+02:00",
                        "updated_at": "2020-04-24T14:27:57.608+02:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 866,
                        "note": null,
                        "date": null,
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "pay",
                        "cancelled_at": null,
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": null,
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 86,
                        "destination_type": "Customer",
                        "destination_id": 79,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 86,
                          "account_id": 86,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:01:47.607+02:00",
                          "updated_at": "2017-05-24T11:01:47.607+02:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        "destination": {
                          "id": 79,
                          "account_id": 86,
                          "name": "Mr Benoit Taillefert",
                          "email": "benoit.taillefert@gmail.com, benoit@vinosoft.com",
                          "note": "",
                          "accepts_emailing": true,
                          "created_at": "2017-05-24T12:48:11.989+02:00",
                          "updated_at": "2020-04-29T06:24:41.501+02:00",
                          "sales_agent_id": null,
                          "price_grid_id": 109,
                          "reference": "130002",
                          "accepts_mailing": true,
                          "warehouse_id": 86,
                          "visibility": "all",
                          "channel": null,
                          "customer_category_id": 505,
                          "deleted_at": null,
                          "payment_method": null,
                          "payment_period": null,
                          "code": "000007",
                          "vinosoft_id": null,
                          "accounted_at": "2018-01-18T16:55:33.241+01:00",
                          "hid": "60c330fa-0777-48cf-86ad-b5b46e41c65b",
                          "user_id": 108,
                          "automatic_discount_rate": null,
                          "sponsor_id": null,
                          "commission_rate": null,
                          "invoice_preference": null,
                          "block_orders": false,
                          "sticky_note": false,
                          "invoice_template_id": 930
                        },
                        "fulfillment_lines": [
                          {
                            "id": 121569,
                            "fulfillment_id": 58587,
                            "order_line_id": 263918,
                            "quantity": "12.0",
                            "created_at": "2020-04-24T14:27:57.301+02:00",
                            "updated_at": "2020-04-24T14:27:57.301+02:00",
                            "product_variant_id": 2279,
                            "product_label_id": null,
                            "capsule_id": 22,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 2279,
                              "product_size_id": 11,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2019-05-17T11:02:53.928+02:00",
                              "updated_at": "2020-05-22T16:01:40.462+02:00",
                              "product_packaging_id": 484,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 1296,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 0,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": "",
                              "ttb_id": ""
                            }
                          }
                        ]
                      },
                      {
                        "id": 58586,
                        "order_id": 109296,
                        "status": "cancelled",
                        "fulfillment_service_id": null,
                        "created_at": "2020-04-24T14:26:44.601+02:00",
                        "updated_at": "2020-04-24T14:28:49.920+02:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 865,
                        "note": "",
                        "date": "2020-04-24",
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "suspended",
                        "cancelled_at": "2020-04-24T00:00:00.000+02:00",
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": null,
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 86,
                        "destination_type": "Customer",
                        "destination_id": 79,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 86,
                          "account_id": 86,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:01:47.607+02:00",
                          "updated_at": "2017-05-24T11:01:47.607+02:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        "destination": {
                          "id": 79,
                          "account_id": 86,
                          "name": "Mr Benoit Taillefert",
                          "email": "benoit.taillefert@gmail.com, benoit@vinosoft.com",
                          "note": "",
                          "accepts_emailing": true,
                          "created_at": "2017-05-24T12:48:11.989+02:00",
                          "updated_at": "2020-04-29T06:24:41.501+02:00",
                          "sales_agent_id": null,
                          "price_grid_id": 109,
                          "reference": "130002",
                          "accepts_mailing": true,
                          "warehouse_id": 86,
                          "visibility": "all",
                          "channel": null,
                          "customer_category_id": 505,
                          "deleted_at": null,
                          "payment_method": null,
                          "payment_period": null,
                          "code": "000007",
                          "vinosoft_id": null,
                          "accounted_at": "2018-01-18T16:55:33.241+01:00",
                          "hid": "60c330fa-0777-48cf-86ad-b5b46e41c65b",
                          "user_id": 108,
                          "automatic_discount_rate": null,
                          "sponsor_id": null,
                          "commission_rate": null,
                          "invoice_preference": null,
                          "block_orders": false,
                          "sticky_note": false,
                          "invoice_template_id": 930
                        },
                        "fulfillment_lines": [
                          {
                            "id": 121568,
                            "fulfillment_id": 58586,
                            "order_line_id": 309683,
                            "quantity": "1.0",
                            "created_at": "2020-04-24T14:26:44.618+02:00",
                            "updated_at": "2020-04-24T14:26:44.618+02:00",
                            "product_variant_id": 2279,
                            "product_label_id": null,
                            "capsule_id": 32,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 2279,
                              "product_size_id": 11,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2019-05-17T11:02:53.928+02:00",
                              "updated_at": "2020-05-22T16:01:40.462+02:00",
                              "product_packaging_id": 484,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 1296,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 0,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": "",
                              "ttb_id": ""
                            }
                          }
                        ]
                      },
                      {
                        "id": 58585,
                        "order_id": 121268,
                        "status": "validated",
                        "fulfillment_service_id": null,
                        "created_at": "2020-04-24T14:23:46.701+02:00",
                        "updated_at": "2020-04-24T14:23:47.033+02:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 864,
                        "note": null,
                        "date": null,
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "pay",
                        "cancelled_at": null,
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": null,
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 86,
                        "destination_type": "Customer",
                        "destination_id": 77,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 86,
                          "account_id": 86,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:01:47.607+02:00",
                          "updated_at": "2017-05-24T11:01:47.607+02:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        "destination": {
                          "id": 77,
                          "account_id": 86,
                          "name": "Frédérique Faure",
                          "email": "sylvain+faure@vinosoft.com",
                          "note": "",
                          "accepts_emailing": true,
                          "created_at": "2017-05-24T11:08:51.608+02:00",
                          "updated_at": "2017-07-31T23:17:24.897+02:00",
                          "sales_agent_id": null,
                          "price_grid_id": 109,
                          "reference": null,
                          "accepts_mailing": true,
                          "warehouse_id": 86,
                          "visibility": "all",
                          "channel": null,
                          "customer_category_id": 505,
                          "deleted_at": null,
                          "payment_method": "",
                          "payment_period": "",
                          "code": "000005",
                          "vinosoft_id": null,
                          "accounted_at": "2018-01-18T16:55:33.241+01:00",
                          "hid": null,
                          "user_id": null,
                          "automatic_discount_rate": null,
                          "sponsor_id": null,
                          "commission_rate": null,
                          "invoice_preference": null,
                          "block_orders": false,
                          "sticky_note": false,
                          "invoice_template_id": null
                        },
                        "fulfillment_lines": [
                          {
                            "id": 121567,
                            "fulfillment_id": 58585,
                            "order_line_id": 308683,
                            "quantity": "12.0",
                            "created_at": "2020-04-24T14:23:46.718+02:00",
                            "updated_at": "2020-04-24T14:23:46.718+02:00",
                            "product_variant_id": 2191,
                            "product_label_id": null,
                            "capsule_id": 31,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 2191,
                              "product_size_id": 2,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2019-05-02T11:29:47.155+02:00",
                              "updated_at": "2019-05-02T11:34:07.935+02:00",
                              "product_packaging_id": 886,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 1679,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 0,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          }
                        ]
                      },
                      {
                        "id": 58584,
                        "order_id": 121246,
                        "status": "fulfilled",
                        "fulfillment_service_id": null,
                        "created_at": "2020-04-24T14:23:06.407+02:00",
                        "updated_at": "2020-04-24T14:23:32.308+02:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 863,
                        "note": "",
                        "date": "2020-04-24",
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "suspended",
                        "cancelled_at": null,
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": null,
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 86,
                        "destination_type": "Customer",
                        "destination_id": 77,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 86,
                          "account_id": 86,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:01:47.607+02:00",
                          "updated_at": "2017-05-24T11:01:47.607+02:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        "destination": {
                          "id": 77,
                          "account_id": 86,
                          "name": "Frédérique Faure",
                          "email": "sylvain+faure@vinosoft.com",
                          "note": "",
                          "accepts_emailing": true,
                          "created_at": "2017-05-24T11:08:51.608+02:00",
                          "updated_at": "2017-07-31T23:17:24.897+02:00",
                          "sales_agent_id": null,
                          "price_grid_id": 109,
                          "reference": null,
                          "accepts_mailing": true,
                          "warehouse_id": 86,
                          "visibility": "all",
                          "channel": null,
                          "customer_category_id": 505,
                          "deleted_at": null,
                          "payment_method": "",
                          "payment_period": "",
                          "code": "000005",
                          "vinosoft_id": null,
                          "accounted_at": "2018-01-18T16:55:33.241+01:00",
                          "hid": null,
                          "user_id": null,
                          "automatic_discount_rate": null,
                          "sponsor_id": null,
                          "commission_rate": null,
                          "invoice_preference": null,
                          "block_orders": false,
                          "sticky_note": false,
                          "invoice_template_id": null
                        },
                        "fulfillment_lines": [
                          {
                            "id": 121566,
                            "fulfillment_id": 58584,
                            "order_line_id": 308656,
                            "quantity": "5.0",
                            "created_at": "2020-04-24T14:23:06.437+02:00",
                            "updated_at": "2020-04-24T14:23:06.437+02:00",
                            "product_variant_id": 1701,
                            "product_label_id": null,
                            "capsule_id": 22,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 1701,
                              "product_size_id": 2,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2019-02-12T10:14:04.243+01:00",
                              "updated_at": "2019-03-19T12:34:23.064+01:00",
                              "product_packaging_id": 484,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 1296,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 0,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          }
                        ]
                      },
                      {
                        "id": 57932,
                        "order_id": 121117,
                        "status": "validated",
                        "fulfillment_service_id": null,
                        "created_at": "2020-04-03T12:01:10.067+02:00",
                        "updated_at": "2020-04-03T12:01:10.816+02:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 860,
                        "note": null,
                        "date": null,
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "pay",
                        "cancelled_at": null,
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": null,
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 86,
                        "destination_type": "Customer",
                        "destination_id": 77,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 86,
                          "account_id": 86,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:01:47.607+02:00",
                          "updated_at": "2017-05-24T11:01:47.607+02:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        "destination": {
                          "id": 77,
                          "account_id": 86,
                          "name": "Frédérique Faure",
                          "email": "sylvain+faure@vinosoft.com",
                          "note": "",
                          "accepts_emailing": true,
                          "created_at": "2017-05-24T11:08:51.608+02:00",
                          "updated_at": "2017-07-31T23:17:24.897+02:00",
                          "sales_agent_id": null,
                          "price_grid_id": 109,
                          "reference": null,
                          "accepts_mailing": true,
                          "warehouse_id": 86,
                          "visibility": "all",
                          "channel": null,
                          "customer_category_id": 505,
                          "deleted_at": null,
                          "payment_method": "",
                          "payment_period": "",
                          "code": "000005",
                          "vinosoft_id": null,
                          "accounted_at": "2018-01-18T16:55:33.241+01:00",
                          "hid": null,
                          "user_id": null,
                          "automatic_discount_rate": null,
                          "sponsor_id": null,
                          "commission_rate": null,
                          "invoice_preference": null,
                          "block_orders": false,
                          "sticky_note": false,
                          "invoice_template_id": null
                        },
                        "fulfillment_lines": [
                          {
                            "id": 120292,
                            "fulfillment_id": 57932,
                            "order_line_id": 308412,
                            "quantity": "1.0",
                            "created_at": "2020-04-03T12:01:10.119+02:00",
                            "updated_at": "2020-04-03T12:01:10.119+02:00",
                            "product_variant_id": 931,
                            "product_label_id": 158,
                            "capsule_id": 22,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 931,
                              "product_size_id": 2,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2018-10-10T14:51:24.805+02:00",
                              "updated_at": "2018-10-10T14:51:24.805+02:00",
                              "product_packaging_id": 483,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 590,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 0,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          }
                        ]
                      },
                      {
                        "id": 57407,
                        "order_id": 110072,
                        "status": "fulfilled",
                        "fulfillment_service_id": null,
                        "created_at": "2020-03-10T15:09:30.178+01:00",
                        "updated_at": "2020-03-10T15:11:34.760+01:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 859,
                        "note": "",
                        "date": "2020-03-10",
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "pay",
                        "cancelled_at": null,
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": null,
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 86,
                        "destination_type": "Customer",
                        "destination_id": 79,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 86,
                          "account_id": 86,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:01:47.607+02:00",
                          "updated_at": "2017-05-24T11:01:47.607+02:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        "destination": {
                          "id": 79,
                          "account_id": 86,
                          "name": "Mr Benoit Taillefert",
                          "email": "benoit.taillefert@gmail.com, benoit@vinosoft.com",
                          "note": "",
                          "accepts_emailing": true,
                          "created_at": "2017-05-24T12:48:11.989+02:00",
                          "updated_at": "2020-04-29T06:24:41.501+02:00",
                          "sales_agent_id": null,
                          "price_grid_id": 109,
                          "reference": "130002",
                          "accepts_mailing": true,
                          "warehouse_id": 86,
                          "visibility": "all",
                          "channel": null,
                          "customer_category_id": 505,
                          "deleted_at": null,
                          "payment_method": null,
                          "payment_period": null,
                          "code": "000007",
                          "vinosoft_id": null,
                          "accounted_at": "2018-01-18T16:55:33.241+01:00",
                          "hid": "60c330fa-0777-48cf-86ad-b5b46e41c65b",
                          "user_id": 108,
                          "automatic_discount_rate": null,
                          "sponsor_id": null,
                          "commission_rate": null,
                          "invoice_preference": null,
                          "block_orders": false,
                          "sticky_note": false,
                          "invoice_template_id": 930
                        },
                        "fulfillment_lines": [
                          {
                            "id": 119087,
                            "fulfillment_id": 57407,
                            "order_line_id": 263919,
                            "quantity": "12.0",
                            "created_at": "2020-03-10T15:09:37.899+01:00",
                            "updated_at": "2020-03-10T15:11:34.903+01:00",
                            "product_variant_id": 1702,
                            "product_label_id": null,
                            "capsule_id": null,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 1702,
                              "product_size_id": 14,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2019-02-12T10:14:25.050+01:00",
                              "updated_at": "2019-12-22T14:09:38.166+01:00",
                              "product_packaging_id": 482,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 1297,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 0,
                              "cost_price_currency": "EUR",
                              "marketable": false,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          }
                        ]
                      },
                      {
                        "id": 57065,
                        "order_id": 109725,
                        "status": "validated",
                        "fulfillment_service_id": null,
                        "created_at": "2020-03-06T12:30:41.992+01:00",
                        "updated_at": "2020-03-06T12:30:43.398+01:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 857,
                        "note": null,
                        "date": null,
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "pay",
                        "cancelled_at": null,
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": null,
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 86,
                        "destination_type": "Customer",
                        "destination_id": 79,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 86,
                          "account_id": 86,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:01:47.607+02:00",
                          "updated_at": "2017-05-24T11:01:47.607+02:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        "destination": {
                          "id": 79,
                          "account_id": 86,
                          "name": "Mr Benoit Taillefert",
                          "email": "benoit.taillefert@gmail.com, benoit@vinosoft.com",
                          "note": "",
                          "accepts_emailing": true,
                          "created_at": "2017-05-24T12:48:11.989+02:00",
                          "updated_at": "2020-04-29T06:24:41.501+02:00",
                          "sales_agent_id": null,
                          "price_grid_id": 109,
                          "reference": "130002",
                          "accepts_mailing": true,
                          "warehouse_id": 86,
                          "visibility": "all",
                          "channel": null,
                          "customer_category_id": 505,
                          "deleted_at": null,
                          "payment_method": null,
                          "payment_period": null,
                          "code": "000007",
                          "vinosoft_id": null,
                          "accounted_at": "2018-01-18T16:55:33.241+01:00",
                          "hid": "60c330fa-0777-48cf-86ad-b5b46e41c65b",
                          "user_id": 108,
                          "automatic_discount_rate": null,
                          "sponsor_id": null,
                          "commission_rate": null,
                          "invoice_preference": null,
                          "block_orders": false,
                          "sticky_note": false,
                          "invoice_template_id": 930
                        },
                        "fulfillment_lines": [
                          {
                            "id": 118408,
                            "fulfillment_id": 57065,
                            "order_line_id": 263234,
                            "quantity": "1.0",
                            "created_at": "2020-03-06T12:30:42.090+01:00",
                            "updated_at": "2020-03-06T12:30:42.090+01:00",
                            "product_variant_id": 718,
                            "product_label_id": 159,
                            "capsule_id": 22,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 718,
                              "product_size_id": 2,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2018-07-13T14:38:33.863+02:00",
                              "updated_at": "2018-10-10T14:51:30.316+02:00",
                              "product_packaging_id": 484,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 590,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 450,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          }
                        ]
                      },
                      {
                        "id": 52633,
                        "order_id": 92822,
                        "status": "cancelled",
                        "fulfillment_service_id": null,
                        "created_at": "2020-01-21T09:59:54.820+01:00",
                        "updated_at": "2020-03-05T17:19:33.340+01:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 856,
                        "note": "",
                        "date": "2020-03-05",
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "pay",
                        "cancelled_at": "2020-03-05T00:00:00.000+01:00",
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": null,
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 86,
                        "destination_type": "Customer",
                        "destination_id": 87627,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 86,
                          "account_id": 86,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:01:47.607+02:00",
                          "updated_at": "2017-05-24T11:01:47.607+02:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        "destination": {
                          "id": 87627,
                          "account_id": 86,
                          "name": "Bill Gates",
                          "email": "sylvain+bill@baqio.com",
                          "note": "",
                          "accepts_emailing": true,
                          "created_at": "2019-07-09T17:18:55.383+02:00",
                          "updated_at": "2020-01-30T18:25:17.185+01:00",
                          "sales_agent_id": null,
                          "price_grid_id": 109,
                          "reference": null,
                          "accepts_mailing": true,
                          "warehouse_id": null,
                          "visibility": "all",
                          "channel": null,
                          "customer_category_id": 505,
                          "deleted_at": null,
                          "payment_method": null,
                          "payment_period": null,
                          "code": "GATESB",
                          "vinosoft_id": null,
                          "accounted_at": null,
                          "hid": null,
                          "user_id": null,
                          "automatic_discount_rate": null,
                          "sponsor_id": null,
                          "commission_rate": null,
                          "invoice_preference": null,
                          "block_orders": false,
                          "sticky_note": false,
                          "invoice_template_id": null
                        },
                        "fulfillment_lines": [
                          {
                            "id": 109091,
                            "fulfillment_id": 52633,
                            "order_line_id": 218290,
                            "quantity": "20.0",
                            "created_at": "2020-01-21T09:59:54.837+01:00",
                            "updated_at": "2020-01-21T09:59:54.837+01:00",
                            "product_variant_id": 1690,
                            "product_label_id": null,
                            "capsule_id": null,
                            "batch_id": null,
                            "capsule_kind": "",
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 1690,
                              "product_size_id": 2,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2019-02-04T09:04:51.446+01:00",
                              "updated_at": "2019-02-04T09:05:16.820+01:00",
                              "product_packaging_id": 484,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 1287,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 500,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          }
                        ]
                      },
                      {
                        "id": 52353,
                        "order_id": 92544,
                        "status": "fulfilled",
                        "fulfillment_service_id": null,
                        "created_at": "2020-01-15T16:09:32.989+01:00",
                        "updated_at": "2020-01-15T16:09:34.168+01:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 854,
                        "note": null,
                        "date": "2020-01-15",
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "pay",
                        "cancelled_at": null,
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": null,
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 86,
                        "destination_type": null,
                        "destination_id": null,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 86,
                          "account_id": 86,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:01:47.607+02:00",
                          "updated_at": "2017-05-24T11:01:47.607+02:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        "fulfillment_lines": [
                          {
                            "id": 108555,
                            "fulfillment_id": 52353,
                            "order_line_id": 217757,
                            "quantity": "1.0",
                            "created_at": "2020-01-15T16:09:33.010+01:00",
                            "updated_at": "2020-01-15T16:09:33.010+01:00",
                            "product_variant_id": 679,
                            "product_label_id": null,
                            "capsule_id": 31,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 679,
                              "product_size_id": 2,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2018-06-05T22:14:36.892+02:00",
                              "updated_at": "2018-06-05T22:14:36.892+02:00",
                              "product_packaging_id": 887,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 557,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 0,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          }
                        ]
                      },
                      {
                        "id": 52352,
                        "order_id": 92541,
                        "status": "validated",
                        "fulfillment_service_id": null,
                        "created_at": "2020-01-15T15:30:01.606+01:00",
                        "updated_at": "2020-01-15T16:12:54.388+01:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 853,
                        "note": null,
                        "date": null,
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "suspended",
                        "cancelled_at": null,
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": "2020-01-15T16:12:54.371+01:00",
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 86,
                        "destination_type": "Customer",
                        "destination_id": 1318,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 86,
                          "account_id": 86,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:01:47.607+02:00",
                          "updated_at": "2017-05-24T11:01:47.607+02:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        "destination": {
                          "id": 1318,
                          "account_id": 86,
                          "name": "Worldwide Vineyards ",
                          "email": "alfons@klippel-stahmann.de",
                          "note": null,
                          "accepts_emailing": false,
                          "created_at": "2017-12-04T15:15:35.222+01:00",
                          "updated_at": "2020-04-29T06:24:57.899+02:00",
                          "sales_agent_id": null,
                          "price_grid_id": 109,
                          "reference": null,
                          "accepts_mailing": true,
                          "warehouse_id": null,
                          "visibility": "all",
                          "channel": null,
                          "customer_category_id": 505,
                          "deleted_at": null,
                          "payment_method": null,
                          "payment_period": null,
                          "code": "000020",
                          "vinosoft_id": null,
                          "accounted_at": "2018-01-18T16:55:33.241+01:00",
                          "hid": null,
                          "user_id": null,
                          "automatic_discount_rate": null,
                          "sponsor_id": null,
                          "commission_rate": null,
                          "invoice_preference": null,
                          "block_orders": false,
                          "sticky_note": false,
                          "invoice_template_id": 935
                        },
                        "fulfillment_lines": [
                          {
                            "id": 108554,
                            "fulfillment_id": 52352,
                            "order_line_id": 217753,
                            "quantity": "36.0",
                            "created_at": "2020-01-15T15:30:01.627+01:00",
                            "updated_at": "2020-01-15T15:30:01.627+01:00",
                            "product_variant_id": 6072,
                            "product_label_id": null,
                            "capsule_id": 31,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 6072,
                              "product_size_id": 2,
                              "sku": "AST2075UC6",
                              "default_barcode": "",
                              "created_at": "2019-12-27T12:36:18.057+01:00",
                              "updated_at": "2019-12-27T12:36:18.057+01:00",
                              "product_packaging_id": 482,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 4333,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": "0.75",
                              "tare": "0.45",
                              "functional_code": "",
                              "cost_price_cents": 500,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          }
                        ]
                      },
                      {
                        "id": 52350,
                        "order_id": 92537,
                        "status": "fulfilled",
                        "fulfillment_service_id": null,
                        "created_at": "2020-01-15T13:40:58.808+01:00",
                        "updated_at": "2020-01-15T13:41:01.486+01:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 851,
                        "note": null,
                        "date": "2020-01-15",
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "pay",
                        "cancelled_at": null,
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": null,
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 86,
                        "destination_type": null,
                        "destination_id": null,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 86,
                          "account_id": 86,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:01:47.607+02:00",
                          "updated_at": "2017-05-24T11:01:47.607+02:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        "fulfillment_lines": [
                          {
                            "id": 108551,
                            "fulfillment_id": 52350,
                            "order_line_id": 217749,
                            "quantity": "1.0",
                            "created_at": "2020-01-15T13:40:58.828+01:00",
                            "updated_at": "2020-01-15T13:40:58.828+01:00",
                            "product_variant_id": 679,
                            "product_label_id": null,
                            "capsule_id": 31,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 679,
                              "product_size_id": 2,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2018-06-05T22:14:36.892+02:00",
                              "updated_at": "2018-06-05T22:14:36.892+02:00",
                              "product_packaging_id": 887,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 557,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 0,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          },
                          {
                            "id": 108552,
                            "fulfillment_id": 52350,
                            "order_line_id": 217750,
                            "quantity": "6.0",
                            "created_at": "2020-01-15T13:40:58.861+01:00",
                            "updated_at": "2020-01-15T13:40:58.861+01:00",
                            "product_variant_id": 165,
                            "product_label_id": null,
                            "capsule_id": null,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 165,
                              "product_size_id": 2,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2017-05-24T11:15:03.105+02:00",
                              "updated_at": "2019-09-06T09:44:46.934+02:00",
                              "product_packaging_id": 482,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 145,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 0,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          }
                        ]
                      },
                      {
                        "id": 52349,
                        "order_id": 92536,
                        "status": "validated",
                        "fulfillment_service_id": null,
                        "created_at": "2020-01-15T11:51:36.493+01:00",
                        "updated_at": "2020-01-15T11:51:36.855+01:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 850,
                        "note": null,
                        "date": null,
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "pay",
                        "cancelled_at": null,
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": null,
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 86,
                        "destination_type": "Customer",
                        "destination_id": 1759,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 86,
                          "account_id": 86,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:01:47.607+02:00",
                          "updated_at": "2017-05-24T11:01:47.607+02:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        "destination": {
                          "id": 1759,
                          "account_id": 86,
                          "name": "Benoit Taillefert",
                          "email": "benoit@vinosoft.com",
                          "note": "",
                          "accepts_emailing": true,
                          "created_at": "2018-10-26T17:52:01.324+02:00",
                          "updated_at": "2019-09-06T10:28:42.743+02:00",
                          "sales_agent_id": null,
                          "price_grid_id": 109,
                          "reference": null,
                          "accepts_mailing": true,
                          "warehouse_id": null,
                          "visibility": "all",
                          "channel": null,
                          "customer_category_id": null,
                          "deleted_at": null,
                          "payment_method": null,
                          "payment_period": null,
                          "code": "TAILLE",
                          "vinosoft_id": null,
                          "accounted_at": null,
                          "hid": null,
                          "user_id": 87,
                          "automatic_discount_rate": null,
                          "sponsor_id": null,
                          "commission_rate": null,
                          "invoice_preference": null,
                          "block_orders": false,
                          "sticky_note": false,
                          "invoice_template_id": null
                        },
                        "fulfillment_lines": [
                          {
                            "id": 108549,
                            "fulfillment_id": 52349,
                            "order_line_id": 217747,
                            "quantity": "12.0",
                            "created_at": "2020-01-15T11:51:36.540+01:00",
                            "updated_at": "2020-01-15T11:51:36.540+01:00",
                            "product_variant_id": 346,
                            "product_label_id": null,
                            "capsule_id": 37,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 346,
                              "product_size_id": 2,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2017-12-13T18:32:18.104+01:00",
                              "updated_at": "2018-11-05T10:31:11.776+01:00",
                              "product_packaging_id": 482,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 274,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": null,
                              "cost_price_cents": 300,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          },
                          {
                            "id": 108550,
                            "fulfillment_id": 52349,
                            "order_line_id": 217748,
                            "quantity": "1.0",
                            "created_at": "2020-01-15T11:51:36.580+01:00",
                            "updated_at": "2020-01-15T11:51:36.580+01:00",
                            "product_variant_id": 6071,
                            "product_label_id": null,
                            "capsule_id": 31,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 6071,
                              "product_size_id": 2,
                              "sku": "AST2075C6",
                              "default_barcode": "",
                              "created_at": "2019-12-27T12:36:17.284+01:00",
                              "updated_at": "2019-12-27T12:36:17.284+01:00",
                              "product_packaging_id": 484,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 4333,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": "4.5",
                              "tare": "2.7",
                              "functional_code": "",
                              "cost_price_cents": 3000,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          }
                        ]
                      },
                      {
                        "id": 52348,
                        "order_id": 92532,
                        "status": "fulfilled",
                        "fulfillment_service_id": null,
                        "created_at": "2020-01-15T08:27:14.946+01:00",
                        "updated_at": "2020-01-15T08:27:17.048+01:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 849,
                        "note": null,
                        "date": "2020-01-15",
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "pay",
                        "cancelled_at": null,
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": null,
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 86,
                        "destination_type": null,
                        "destination_id": null,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 86,
                          "account_id": 86,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:01:47.607+02:00",
                          "updated_at": "2017-05-24T11:01:47.607+02:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        "fulfillment_lines": [
                          {
                            "id": 108548,
                            "fulfillment_id": 52348,
                            "order_line_id": 217742,
                            "quantity": "6.0",
                            "created_at": "2020-01-15T08:27:14.994+01:00",
                            "updated_at": "2020-01-15T08:27:14.994+01:00",
                            "product_variant_id": 165,
                            "product_label_id": null,
                            "capsule_id": null,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 165,
                              "product_size_id": 2,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2017-05-24T11:15:03.105+02:00",
                              "updated_at": "2019-09-06T09:44:46.934+02:00",
                              "product_packaging_id": 482,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 145,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 0,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          }
                        ]
                      },
                      {
                        "id": 52342,
                        "order_id": 92525,
                        "status": "fulfilled",
                        "fulfillment_service_id": null,
                        "created_at": "2020-01-14T13:26:49.885+01:00",
                        "updated_at": "2020-01-14T13:26:51.038+01:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 848,
                        "note": null,
                        "date": "2020-01-14",
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "pay",
                        "cancelled_at": null,
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": null,
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 86,
                        "destination_type": null,
                        "destination_id": null,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 86,
                          "account_id": 86,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:01:47.607+02:00",
                          "updated_at": "2017-05-24T11:01:47.607+02:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        "fulfillment_lines": [
                          {
                            "id": 108542,
                            "fulfillment_id": 52342,
                            "order_line_id": 217736,
                            "quantity": "1.0",
                            "created_at": "2020-01-14T13:26:49.903+01:00",
                            "updated_at": "2020-01-14T13:26:49.903+01:00",
                            "product_variant_id": 718,
                            "product_label_id": 159,
                            "capsule_id": 22,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 718,
                              "product_size_id": 2,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2018-07-13T14:38:33.863+02:00",
                              "updated_at": "2018-10-10T14:51:30.316+02:00",
                              "product_packaging_id": 484,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 590,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 450,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          }
                        ]
                      },
                      {
                        "id": 52341,
                        "order_id": 92524,
                        "status": "validated",
                        "fulfillment_service_id": null,
                        "created_at": "2020-01-14T13:24:57.352+01:00",
                        "updated_at": "2020-01-14T13:24:58.110+01:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 847,
                        "note": null,
                        "date": null,
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "pay",
                        "cancelled_at": null,
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": null,
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 86,
                        "destination_type": null,
                        "destination_id": null,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 86,
                          "account_id": 86,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:01:47.607+02:00",
                          "updated_at": "2017-05-24T11:01:47.607+02:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        "fulfillment_lines": [
                          {
                            "id": 108541,
                            "fulfillment_id": 52341,
                            "order_line_id": 217735,
                            "quantity": "36.0",
                            "created_at": "2020-01-14T13:24:57.458+01:00",
                            "updated_at": "2020-01-14T13:24:57.458+01:00",
                            "product_variant_id": 290,
                            "product_label_id": null,
                            "capsule_id": 31,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 290,
                              "product_size_id": 2,
                              "sku": "AST1375C6",
                              "default_barcode": "",
                              "created_at": "2017-09-26T19:03:56.189+02:00",
                              "updated_at": "2018-10-10T11:06:48.915+02:00",
                              "product_packaging_id": 484,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 224,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": "4.5",
                              "tare": "2.7",
                              "functional_code": "",
                              "cost_price_cents": 3000,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          }
                        ]
                      },
                      {
                        "id": 50473,
                        "order_id": 90047,
                        "status": "fulfilled",
                        "fulfillment_service_id": null,
                        "created_at": "2019-12-19T16:07:16.907+01:00",
                        "updated_at": "2019-12-19T16:07:27.144+01:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 846,
                        "note": "",
                        "date": "2019-11-27",
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "pay",
                        "cancelled_at": null,
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": null,
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 86,
                        "destination_type": "Customer",
                        "destination_id": 122944,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 86,
                          "account_id": 86,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:01:47.607+02:00",
                          "updated_at": "2017-05-24T11:01:47.607+02:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        "destination": {
                          "id": 122944,
                          "account_id": 86,
                          "name": "Aurelien D",
                          "email": "",
                          "note": "",
                          "accepts_emailing": true,
                          "created_at": "2019-11-28T14:14:57.892+01:00",
                          "updated_at": "2020-01-15T13:45:02.328+01:00",
                          "sales_agent_id": null,
                          "price_grid_id": 761,
                          "reference": null,
                          "accepts_mailing": true,
                          "warehouse_id": null,
                          "visibility": "all",
                          "channel": null,
                          "customer_category_id": null,
                          "deleted_at": null,
                          "payment_method": null,
                          "payment_period": null,
                          "code": "DAUREL",
                          "vinosoft_id": null,
                          "accounted_at": null,
                          "hid": null,
                          "user_id": null,
                          "automatic_discount_rate": null,
                          "sponsor_id": 1739,
                          "commission_rate": null,
                          "invoice_preference": null,
                          "block_orders": false,
                          "sticky_note": false,
                          "invoice_template_id": null
                        },
                        "fulfillment_lines": [
                          {
                            "id": 104842,
                            "fulfillment_id": 50473,
                            "order_line_id": 213127,
                            "quantity": "12.0",
                            "created_at": "2019-12-19T16:07:16.941+01:00",
                            "updated_at": "2019-12-19T16:07:16.941+01:00",
                            "product_variant_id": 2191,
                            "product_label_id": null,
                            "capsule_id": 43,
                            "batch_id": null,
                            "capsule_kind": "",
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 2191,
                              "product_size_id": 2,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2019-05-02T11:29:47.155+02:00",
                              "updated_at": "2019-05-02T11:34:07.935+02:00",
                              "product_packaging_id": 886,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 1679,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 0,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          }
                        ]
                      },
                      {
                        "id": 50347,
                        "order_id": 90049,
                        "status": "validated",
                        "fulfillment_service_id": null,
                        "created_at": "2019-12-19T15:34:08.408+01:00",
                        "updated_at": "2019-12-19T15:34:08.697+01:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 845,
                        "note": null,
                        "date": null,
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "suspended",
                        "cancelled_at": null,
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": null,
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 86,
                        "destination_type": "Customer",
                        "destination_id": 122435,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 86,
                          "account_id": 86,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:01:47.607+02:00",
                          "updated_at": "2017-05-24T11:01:47.607+02:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        "destination": {
                          "id": 122435,
                          "account_id": 86,
                          "name": "SARL Vinosoft",
                          "email": "",
                          "note": "",
                          "accepts_emailing": true,
                          "created_at": "2019-10-14T17:18:53.903+02:00",
                          "updated_at": "2019-10-14T17:18:53.903+02:00",
                          "sales_agent_id": null,
                          "price_grid_id": 149,
                          "reference": null,
                          "accepts_mailing": true,
                          "warehouse_id": null,
                          "visibility": "all",
                          "channel": null,
                          "customer_category_id": 509,
                          "deleted_at": null,
                          "payment_method": null,
                          "payment_period": null,
                          "code": "SARLVI",
                          "vinosoft_id": null,
                          "accounted_at": null,
                          "hid": null,
                          "user_id": null,
                          "automatic_discount_rate": null,
                          "sponsor_id": null,
                          "commission_rate": null,
                          "invoice_preference": null,
                          "block_orders": false,
                          "sticky_note": false,
                          "invoice_template_id": null
                        },
                        "fulfillment_lines": [
                          {
                            "id": 104651,
                            "fulfillment_id": 50347,
                            "order_line_id": 213129,
                            "quantity": "600.0",
                            "created_at": "2019-12-19T15:34:08.426+01:00",
                            "updated_at": "2019-12-19T15:34:08.426+01:00",
                            "product_variant_id": 718,
                            "product_label_id": 159,
                            "capsule_id": 22,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 718,
                              "product_size_id": 2,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2018-07-13T14:38:33.863+02:00",
                              "updated_at": "2018-10-10T14:51:30.316+02:00",
                              "product_packaging_id": 484,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 590,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 450,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          },
                          {
                            "id": 104652,
                            "fulfillment_id": 50347,
                            "order_line_id": 213130,
                            "quantity": "1.0",
                            "created_at": "2019-12-19T15:34:08.445+01:00",
                            "updated_at": "2019-12-19T15:34:08.445+01:00",
                            "product_variant_id": 6040,
                            "product_label_id": null,
                            "capsule_id": null,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 6040,
                              "product_size_id": null,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2019-12-18T11:03:56.247+01:00",
                              "updated_at": "2019-12-18T11:03:56.247+01:00",
                              "product_packaging_id": null,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 4309,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 0,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          }
                        ]
                      },
                      {
                        "id": 50333,
                        "order_id": 90049,
                        "status": "cancelled",
                        "fulfillment_service_id": null,
                        "created_at": "2019-12-19T15:32:03.495+01:00",
                        "updated_at": "2019-12-19T15:32:50.406+01:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 844,
                        "note": "",
                        "date": "2019-11-06",
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "suspended",
                        "cancelled_at": "2019-11-19T00:00:00.000+01:00",
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": null,
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 86,
                        "destination_type": "Customer",
                        "destination_id": 122435,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 86,
                          "account_id": 86,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:01:47.607+02:00",
                          "updated_at": "2017-05-24T11:01:47.607+02:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        "destination": {
                          "id": 122435,
                          "account_id": 86,
                          "name": "SARL Vinosoft",
                          "email": "",
                          "note": "",
                          "accepts_emailing": true,
                          "created_at": "2019-10-14T17:18:53.903+02:00",
                          "updated_at": "2019-10-14T17:18:53.903+02:00",
                          "sales_agent_id": null,
                          "price_grid_id": 149,
                          "reference": null,
                          "accepts_mailing": true,
                          "warehouse_id": null,
                          "visibility": "all",
                          "channel": null,
                          "customer_category_id": 509,
                          "deleted_at": null,
                          "payment_method": null,
                          "payment_period": null,
                          "code": "SARLVI",
                          "vinosoft_id": null,
                          "accounted_at": null,
                          "hid": null,
                          "user_id": null,
                          "automatic_discount_rate": null,
                          "sponsor_id": null,
                          "commission_rate": null,
                          "invoice_preference": null,
                          "block_orders": false,
                          "sticky_note": false,
                          "invoice_template_id": null
                        },
                        "fulfillment_lines": [
                          {
                            "id": 104629,
                            "fulfillment_id": 50333,
                            "order_line_id": 213129,
                            "quantity": "600.0",
                            "created_at": "2019-12-19T15:32:03.547+01:00",
                            "updated_at": "2019-12-19T15:32:03.547+01:00",
                            "product_variant_id": 718,
                            "product_label_id": 159,
                            "capsule_id": 22,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 718,
                              "product_size_id": 2,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2018-07-13T14:38:33.863+02:00",
                              "updated_at": "2018-10-10T14:51:30.316+02:00",
                              "product_packaging_id": 484,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 590,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 450,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          },
                          {
                            "id": 104630,
                            "fulfillment_id": 50333,
                            "order_line_id": 213130,
                            "quantity": "1.0",
                            "created_at": "2019-12-19T15:32:03.580+01:00",
                            "updated_at": "2019-12-19T15:32:03.580+01:00",
                            "product_variant_id": 6040,
                            "product_label_id": null,
                            "capsule_id": null,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 6040,
                              "product_size_id": null,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2019-12-18T11:03:56.247+01:00",
                              "updated_at": "2019-12-18T11:03:56.247+01:00",
                              "product_packaging_id": null,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 4309,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 0,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          }
                        ]
                      },
                      {
                        "id": 49876,
                        "order_id": 90046,
                        "status": "validated",
                        "fulfillment_service_id": null,
                        "created_at": "2019-12-17T10:55:14.509+01:00",
                        "updated_at": "2019-12-17T10:55:15.197+01:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 842,
                        "note": null,
                        "date": null,
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "pay",
                        "cancelled_at": null,
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": null,
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 86,
                        "destination_type": "Customer",
                        "destination_id": 122944,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 86,
                          "account_id": 86,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:01:47.607+02:00",
                          "updated_at": "2017-05-24T11:01:47.607+02:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        "destination": {
                          "id": 122944,
                          "account_id": 86,
                          "name": "Aurelien D",
                          "email": "",
                          "note": "",
                          "accepts_emailing": true,
                          "created_at": "2019-11-28T14:14:57.892+01:00",
                          "updated_at": "2020-01-15T13:45:02.328+01:00",
                          "sales_agent_id": null,
                          "price_grid_id": 761,
                          "reference": null,
                          "accepts_mailing": true,
                          "warehouse_id": null,
                          "visibility": "all",
                          "channel": null,
                          "customer_category_id": null,
                          "deleted_at": null,
                          "payment_method": null,
                          "payment_period": null,
                          "code": "DAUREL",
                          "vinosoft_id": null,
                          "accounted_at": null,
                          "hid": null,
                          "user_id": null,
                          "automatic_discount_rate": null,
                          "sponsor_id": 1739,
                          "commission_rate": null,
                          "invoice_preference": null,
                          "block_orders": false,
                          "sticky_note": false,
                          "invoice_template_id": null
                        },
                        "fulfillment_lines": [
                          {
                            "id": 103940,
                            "fulfillment_id": 49876,
                            "order_line_id": 213126,
                            "quantity": "12.0",
                            "created_at": "2019-12-17T10:55:14.572+01:00",
                            "updated_at": "2019-12-17T10:55:14.572+01:00",
                            "product_variant_id": 931,
                            "product_label_id": 158,
                            "capsule_id": 22,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 931,
                              "product_size_id": 2,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2018-10-10T14:51:24.805+02:00",
                              "updated_at": "2018-10-10T14:51:24.805+02:00",
                              "product_packaging_id": 483,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 590,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 0,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          }
                        ]
                      },
                      {
                        "id": 47223,
                        "order_id": 85859,
                        "status": "validated",
                        "fulfillment_service_id": null,
                        "created_at": "2019-12-09T09:54:46.075+01:00",
                        "updated_at": "2019-12-09T09:54:46.393+01:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 841,
                        "note": null,
                        "date": null,
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "pay",
                        "cancelled_at": null,
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": null,
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 86,
                        "destination_type": "Customer",
                        "destination_id": 122944,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 86,
                          "account_id": 86,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:01:47.607+02:00",
                          "updated_at": "2017-05-24T11:01:47.607+02:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        "destination": {
                          "id": 122944,
                          "account_id": 86,
                          "name": "Aurelien D",
                          "email": "",
                          "note": "",
                          "accepts_emailing": true,
                          "created_at": "2019-11-28T14:14:57.892+01:00",
                          "updated_at": "2020-01-15T13:45:02.328+01:00",
                          "sales_agent_id": null,
                          "price_grid_id": 761,
                          "reference": null,
                          "accepts_mailing": true,
                          "warehouse_id": null,
                          "visibility": "all",
                          "channel": null,
                          "customer_category_id": null,
                          "deleted_at": null,
                          "payment_method": null,
                          "payment_period": null,
                          "code": "DAUREL",
                          "vinosoft_id": null,
                          "accounted_at": null,
                          "hid": null,
                          "user_id": null,
                          "automatic_discount_rate": null,
                          "sponsor_id": 1739,
                          "commission_rate": null,
                          "invoice_preference": null,
                          "block_orders": false,
                          "sticky_note": false,
                          "invoice_template_id": null
                        },
                        "fulfillment_lines": [
                          {
                            "id": 99919,
                            "fulfillment_id": 47223,
                            "order_line_id": 207007,
                            "quantity": "60.0",
                            "created_at": "2019-12-09T09:54:46.096+01:00",
                            "updated_at": "2019-12-09T09:54:46.096+01:00",
                            "product_variant_id": 718,
                            "product_label_id": 159,
                            "capsule_id": 22,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 718,
                              "product_size_id": 2,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2018-07-13T14:38:33.863+02:00",
                              "updated_at": "2018-10-10T14:51:30.316+02:00",
                              "product_packaging_id": 484,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 590,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 450,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          },
                          {
                            "id": 99920,
                            "fulfillment_id": 47223,
                            "order_line_id": 208446,
                            "quantity": "36.0",
                            "created_at": "2019-12-09T09:54:46.115+01:00",
                            "updated_at": "2019-12-09T09:54:46.115+01:00",
                            "product_variant_id": 1701,
                            "product_label_id": null,
                            "capsule_id": 22,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 1701,
                              "product_size_id": 2,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2019-02-12T10:14:04.243+01:00",
                              "updated_at": "2019-03-19T12:34:23.064+01:00",
                              "product_packaging_id": 484,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 1296,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 0,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          },
                          {
                            "id": 99921,
                            "fulfillment_id": 47223,
                            "order_line_id": 208447,
                            "quantity": "10.0",
                            "created_at": "2019-12-09T09:54:46.133+01:00",
                            "updated_at": "2019-12-09T09:54:46.133+01:00",
                            "product_variant_id": 1690,
                            "product_label_id": null,
                            "capsule_id": 37,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 1690,
                              "product_size_id": 2,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2019-02-04T09:04:51.446+01:00",
                              "updated_at": "2019-02-04T09:05:16.820+01:00",
                              "product_packaging_id": 484,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 1287,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 500,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          }
                        ]
                      },
                      {
                        "id": 47215,
                        "order_id": 85859,
                        "status": "cancelled",
                        "fulfillment_service_id": null,
                        "created_at": "2019-12-09T09:53:02.294+01:00",
                        "updated_at": "2019-12-09T09:54:09.118+01:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 840,
                        "note": "",
                        "date": "2019-12-09",
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "pay",
                        "cancelled_at": "2019-12-09T00:00:00.000+01:00",
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": null,
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 86,
                        "destination_type": "Customer",
                        "destination_id": 122944,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 86,
                          "account_id": 86,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:01:47.607+02:00",
                          "updated_at": "2017-05-24T11:01:47.607+02:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        "destination": {
                          "id": 122944,
                          "account_id": 86,
                          "name": "Aurelien D",
                          "email": "",
                          "note": "",
                          "accepts_emailing": true,
                          "created_at": "2019-11-28T14:14:57.892+01:00",
                          "updated_at": "2020-01-15T13:45:02.328+01:00",
                          "sales_agent_id": null,
                          "price_grid_id": 761,
                          "reference": null,
                          "accepts_mailing": true,
                          "warehouse_id": null,
                          "visibility": "all",
                          "channel": null,
                          "customer_category_id": null,
                          "deleted_at": null,
                          "payment_method": null,
                          "payment_period": null,
                          "code": "DAUREL",
                          "vinosoft_id": null,
                          "accounted_at": null,
                          "hid": null,
                          "user_id": null,
                          "automatic_discount_rate": null,
                          "sponsor_id": 1739,
                          "commission_rate": null,
                          "invoice_preference": null,
                          "block_orders": false,
                          "sticky_note": false,
                          "invoice_template_id": null
                        },
                        "fulfillment_lines": [
                          {
                            "id": 99905,
                            "fulfillment_id": 47215,
                            "order_line_id": 207007,
                            "quantity": "60.0",
                            "created_at": "2019-12-09T09:53:02.347+01:00",
                            "updated_at": "2019-12-09T09:53:02.347+01:00",
                            "product_variant_id": 718,
                            "product_label_id": 159,
                            "capsule_id": 22,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 718,
                              "product_size_id": 2,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2018-07-13T14:38:33.863+02:00",
                              "updated_at": "2018-10-10T14:51:30.316+02:00",
                              "product_packaging_id": 484,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 590,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 450,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          },
                          {
                            "id": 99906,
                            "fulfillment_id": 47215,
                            "order_line_id": 208446,
                            "quantity": "36.0",
                            "created_at": "2019-12-09T09:53:02.499+01:00",
                            "updated_at": "2019-12-09T09:53:02.499+01:00",
                            "product_variant_id": 1701,
                            "product_label_id": null,
                            "capsule_id": 22,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 1701,
                              "product_size_id": 2,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2019-02-12T10:14:04.243+01:00",
                              "updated_at": "2019-03-19T12:34:23.064+01:00",
                              "product_packaging_id": 484,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 1296,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 0,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          },
                          {
                            "id": 99907,
                            "fulfillment_id": 47215,
                            "order_line_id": 208447,
                            "quantity": "20.0",
                            "created_at": "2019-12-09T09:53:02.564+01:00",
                            "updated_at": "2019-12-09T09:53:02.564+01:00",
                            "product_variant_id": 1690,
                            "product_label_id": null,
                            "capsule_id": 37,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 1690,
                              "product_size_id": 2,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2019-02-04T09:04:51.446+01:00",
                              "updated_at": "2019-02-04T09:05:16.820+01:00",
                              "product_packaging_id": 484,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 1287,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 500,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          },
                          {
                            "id": 99908,
                            "fulfillment_id": 47215,
                            "order_line_id": 208448,
                            "quantity": "36.0",
                            "created_at": "2019-12-09T09:53:02.620+01:00",
                            "updated_at": "2019-12-09T09:53:02.620+01:00",
                            "product_variant_id": 598,
                            "product_label_id": null,
                            "capsule_id": 22,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 598,
                              "product_size_id": 2,
                              "sku": "MELOB201775",
                              "default_barcode": "",
                              "created_at": "2018-05-07T15:16:34.449+02:00",
                              "updated_at": "2018-06-27T10:36:08.117+02:00",
                              "product_packaging_id": 887,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 161,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 200,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          }
                        ]
                      },
                      {
                        "id": 46060,
                        "order_id": 86191,
                        "status": "fulfilled",
                        "fulfillment_service_id": null,
                        "created_at": "2019-11-29T21:01:11.061+01:00",
                        "updated_at": "2019-11-29T21:01:12.776+01:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 837,
                        "note": null,
                        "date": "2019-11-29",
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "pay",
                        "cancelled_at": null,
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": null,
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 86,
                        "destination_type": null,
                        "destination_id": null,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 86,
                          "account_id": 86,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:01:47.607+02:00",
                          "updated_at": "2017-05-24T11:01:47.607+02:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        "fulfillment_lines": [
                          {
                            "id": 98176,
                            "fulfillment_id": 46060,
                            "order_line_id": 207343,
                            "quantity": "12.0",
                            "created_at": "2019-11-29T21:01:11.080+01:00",
                            "updated_at": "2019-11-29T21:01:11.080+01:00",
                            "product_variant_id": 290,
                            "product_label_id": null,
                            "capsule_id": 31,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 290,
                              "product_size_id": 2,
                              "sku": "AST1375C6",
                              "default_barcode": "",
                              "created_at": "2017-09-26T19:03:56.189+02:00",
                              "updated_at": "2018-10-10T11:06:48.915+02:00",
                              "product_packaging_id": 484,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 224,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": "4.5",
                              "tare": "2.7",
                              "functional_code": "",
                              "cost_price_cents": 3000,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          },
                          {
                            "id": 98177,
                            "fulfillment_id": 46060,
                            "order_line_id": 207344,
                            "quantity": "12.0",
                            "created_at": "2019-11-29T21:01:11.142+01:00",
                            "updated_at": "2019-11-29T21:01:11.142+01:00",
                            "product_variant_id": 1690,
                            "product_label_id": null,
                            "capsule_id": 37,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 1690,
                              "product_size_id": 2,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2019-02-04T09:04:51.446+01:00",
                              "updated_at": "2019-02-04T09:05:16.820+01:00",
                              "product_packaging_id": 484,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 1287,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 500,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          }
                        ]
                      },
                      {
                        "id": 46059,
                        "order_id": 85860,
                        "status": "fulfilled",
                        "fulfillment_service_id": null,
                        "created_at": "2019-11-29T20:56:01.456+01:00",
                        "updated_at": "2019-11-29T20:56:02.824+01:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 836,
                        "note": null,
                        "date": "2019-11-29",
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "pay",
                        "cancelled_at": null,
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": null,
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 86,
                        "destination_type": null,
                        "destination_id": null,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 86,
                          "account_id": 86,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:01:47.607+02:00",
                          "updated_at": "2017-05-24T11:01:47.607+02:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        "fulfillment_lines": [
                          {
                            "id": 98175,
                            "fulfillment_id": 46059,
                            "order_line_id": 207342,
                            "quantity": "1.0",
                            "created_at": "2019-11-29T20:56:01.478+01:00",
                            "updated_at": "2019-11-29T20:56:01.478+01:00",
                            "product_variant_id": 165,
                            "product_label_id": null,
                            "capsule_id": null,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 165,
                              "product_size_id": 2,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2017-05-24T11:15:03.105+02:00",
                              "updated_at": "2019-09-06T09:44:46.934+02:00",
                              "product_packaging_id": 482,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 145,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 0,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          }
                        ]
                      },
                      {
                        "id": 45730,
                        "order_id": 85855,
                        "status": "fulfilled",
                        "fulfillment_service_id": null,
                        "created_at": "2019-11-28T14:10:54.164+01:00",
                        "updated_at": "2019-11-28T14:10:55.739+01:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 835,
                        "note": null,
                        "date": "2019-11-28",
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "pay",
                        "cancelled_at": null,
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": null,
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 86,
                        "destination_type": null,
                        "destination_id": null,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 86,
                          "account_id": 86,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:01:47.607+02:00",
                          "updated_at": "2017-05-24T11:01:47.607+02:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        "fulfillment_lines": [
                          {
                            "id": 97845,
                            "fulfillment_id": 45730,
                            "order_line_id": 207005,
                            "quantity": "6.0",
                            "created_at": "2019-11-28T14:10:54.185+01:00",
                            "updated_at": "2019-11-28T14:10:54.185+01:00",
                            "product_variant_id": 718,
                            "product_label_id": 159,
                            "capsule_id": 22,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 718,
                              "product_size_id": 2,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2018-07-13T14:38:33.863+02:00",
                              "updated_at": "2018-10-10T14:51:30.316+02:00",
                              "product_packaging_id": 484,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 590,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 450,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          }
                        ]
                      },
                      {
                        "id": 45729,
                        "order_id": 85856,
                        "status": "validated",
                        "fulfillment_service_id": null,
                        "created_at": "2019-11-28T13:15:29.766+01:00",
                        "updated_at": "2019-11-28T13:15:30.218+01:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 834,
                        "note": null,
                        "date": null,
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "suspended",
                        "cancelled_at": null,
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": null,
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 86,
                        "destination_type": "Customer",
                        "destination_id": 122906,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 86,
                          "account_id": 86,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:01:47.607+02:00",
                          "updated_at": "2017-05-24T11:01:47.607+02:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        "destination": {
                          "id": 122906,
                          "account_id": 86,
                          "name": "MR Benoit Taillefert",
                          "email": "",
                          "note": "",
                          "accepts_emailing": true,
                          "created_at": "2019-10-28T15:22:38.951+01:00",
                          "updated_at": "2019-10-30T09:11:07.690+01:00",
                          "sales_agent_id": null,
                          "price_grid_id": null,
                          "reference": null,
                          "accepts_mailing": true,
                          "warehouse_id": null,
                          "visibility": "all",
                          "channel": null,
                          "customer_category_id": null,
                          "deleted_at": null,
                          "payment_method": null,
                          "payment_period": null,
                          "code": "TAILL1",
                          "vinosoft_id": null,
                          "accounted_at": null,
                          "hid": null,
                          "user_id": null,
                          "automatic_discount_rate": null,
                          "sponsor_id": null,
                          "commission_rate": null,
                          "invoice_preference": null,
                          "block_orders": false,
                          "sticky_note": false,
                          "invoice_template_id": null
                        },
                        "fulfillment_lines": [
                          {
                            "id": 97844,
                            "fulfillment_id": 45729,
                            "order_line_id": 207006,
                            "quantity": "36.0",
                            "created_at": "2019-11-28T13:15:29.805+01:00",
                            "updated_at": "2019-11-28T13:15:29.805+01:00",
                            "product_variant_id": 5281,
                            "product_label_id": null,
                            "capsule_id": 32,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 5281,
                              "product_size_id": 3,
                              "sku": "HAR17M",
                              "default_barcode": "",
                              "created_at": "2019-10-10T14:36:02.061+02:00",
                              "updated_at": "2019-10-10T14:36:02.061+02:00",
                              "product_packaging_id": 482,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 3668,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": null,
                              "cost_price_cents": 0,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          }
                        ]
                      },
                      {
                        "id": 45728,
                        "order_id": 85846,
                        "status": "fulfilled",
                        "fulfillment_service_id": null,
                        "created_at": "2019-11-27T15:25:50.702+01:00",
                        "updated_at": "2019-11-27T15:26:17.717+01:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 833,
                        "note": "",
                        "date": "2019-11-27",
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "pay",
                        "cancelled_at": null,
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": null,
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 86,
                        "destination_type": "Customer",
                        "destination_id": 79,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 86,
                          "account_id": 86,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:01:47.607+02:00",
                          "updated_at": "2017-05-24T11:01:47.607+02:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        "destination": {
                          "id": 79,
                          "account_id": 86,
                          "name": "Mr Benoit Taillefert",
                          "email": "benoit.taillefert@gmail.com, benoit@vinosoft.com",
                          "note": "",
                          "accepts_emailing": true,
                          "created_at": "2017-05-24T12:48:11.989+02:00",
                          "updated_at": "2020-04-29T06:24:41.501+02:00",
                          "sales_agent_id": null,
                          "price_grid_id": 109,
                          "reference": "130002",
                          "accepts_mailing": true,
                          "warehouse_id": 86,
                          "visibility": "all",
                          "channel": null,
                          "customer_category_id": 505,
                          "deleted_at": null,
                          "payment_method": null,
                          "payment_period": null,
                          "code": "000007",
                          "vinosoft_id": null,
                          "accounted_at": "2018-01-18T16:55:33.241+01:00",
                          "hid": "60c330fa-0777-48cf-86ad-b5b46e41c65b",
                          "user_id": 108,
                          "automatic_discount_rate": null,
                          "sponsor_id": null,
                          "commission_rate": null,
                          "invoice_preference": null,
                          "block_orders": false,
                          "sticky_note": false,
                          "invoice_template_id": 930
                        },
                        "fulfillment_lines": [
                          {
                            "id": 97843,
                            "fulfillment_id": 45728,
                            "order_line_id": 206999,
                            "quantity": "36.0",
                            "created_at": "2019-11-27T15:25:50.723+01:00",
                            "updated_at": "2019-11-27T15:25:50.723+01:00",
                            "product_variant_id": 1701,
                            "product_label_id": null,
                            "capsule_id": 22,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 1701,
                              "product_size_id": 2,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2019-02-12T10:14:04.243+01:00",
                              "updated_at": "2019-03-19T12:34:23.064+01:00",
                              "product_packaging_id": 484,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 1296,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 0,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          }
                        ]
                      },
                      {
                        "id": 45727,
                        "order_id": null,
                        "status": "pending",
                        "fulfillment_service_id": null,
                        "created_at": "2019-11-27T15:16:57.987+01:00",
                        "updated_at": "2019-11-27T15:16:58.157+01:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 832,
                        "note": null,
                        "date": null,
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "suspended",
                        "cancelled_at": null,
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": null,
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 86,
                        "destination_type": "Warehouse",
                        "destination_id": 191,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 86,
                          "account_id": 86,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:01:47.607+02:00",
                          "updated_at": "2017-05-24T11:01:47.607+02:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        "destination": {
                          "id": 191,
                          "account_id": 86,
                          "name": "Benoit Taillefert",
                          "deleted_at": null,
                          "created_at": "2018-03-12T18:32:54.923+01:00",
                          "updated_at": "2018-03-12T18:32:54.923+01:00",
                          "default": false,
                          "excise_duty_suspended": true
                        },
                        "fulfillment_lines": []
                      },
                      {
                        "id": 45726,
                        "order_id": 85841,
                        "status": "validated",
                        "fulfillment_service_id": null,
                        "created_at": "2019-11-27T15:09:27.540+01:00",
                        "updated_at": "2019-11-27T15:09:27.922+01:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 831,
                        "note": null,
                        "date": null,
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "pay",
                        "cancelled_at": null,
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": null,
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 86,
                        "destination_type": "Customer",
                        "destination_id": 77,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 86,
                          "account_id": 86,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:01:47.607+02:00",
                          "updated_at": "2017-05-24T11:01:47.607+02:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        "destination": {
                          "id": 77,
                          "account_id": 86,
                          "name": "Frédérique Faure",
                          "email": "sylvain+faure@vinosoft.com",
                          "note": "",
                          "accepts_emailing": true,
                          "created_at": "2017-05-24T11:08:51.608+02:00",
                          "updated_at": "2017-07-31T23:17:24.897+02:00",
                          "sales_agent_id": null,
                          "price_grid_id": 109,
                          "reference": null,
                          "accepts_mailing": true,
                          "warehouse_id": 86,
                          "visibility": "all",
                          "channel": null,
                          "customer_category_id": 505,
                          "deleted_at": null,
                          "payment_method": "",
                          "payment_period": "",
                          "code": "000005",
                          "vinosoft_id": null,
                          "accounted_at": "2018-01-18T16:55:33.241+01:00",
                          "hid": null,
                          "user_id": null,
                          "automatic_discount_rate": null,
                          "sponsor_id": null,
                          "commission_rate": null,
                          "invoice_preference": null,
                          "block_orders": false,
                          "sticky_note": false,
                          "invoice_template_id": null
                        },
                        "fulfillment_lines": [
                          {
                            "id": 97842,
                            "fulfillment_id": 45726,
                            "order_line_id": 206995,
                            "quantity": "1.0",
                            "created_at": "2019-11-27T15:09:27.574+01:00",
                            "updated_at": "2019-11-27T15:09:27.574+01:00",
                            "product_variant_id": 679,
                            "product_label_id": null,
                            "capsule_id": 31,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 679,
                              "product_size_id": 2,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2018-06-05T22:14:36.892+02:00",
                              "updated_at": "2018-06-05T22:14:36.892+02:00",
                              "product_packaging_id": 887,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 557,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 0,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          }
                        ]
                      },
                      {
                        "id": 45725,
                        "order_id": 85845,
                        "status": "validated",
                        "fulfillment_service_id": null,
                        "created_at": "2019-11-27T13:51:23.999+01:00",
                        "updated_at": "2019-11-27T13:51:24.303+01:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 830,
                        "note": null,
                        "date": null,
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "pay",
                        "cancelled_at": null,
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": null,
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 86,
                        "destination_type": "Customer",
                        "destination_id": 1759,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 86,
                          "account_id": 86,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:01:47.607+02:00",
                          "updated_at": "2017-05-24T11:01:47.607+02:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        "destination": {
                          "id": 1759,
                          "account_id": 86,
                          "name": "Benoit Taillefert",
                          "email": "benoit@vinosoft.com",
                          "note": "",
                          "accepts_emailing": true,
                          "created_at": "2018-10-26T17:52:01.324+02:00",
                          "updated_at": "2019-09-06T10:28:42.743+02:00",
                          "sales_agent_id": null,
                          "price_grid_id": 109,
                          "reference": null,
                          "accepts_mailing": true,
                          "warehouse_id": null,
                          "visibility": "all",
                          "channel": null,
                          "customer_category_id": null,
                          "deleted_at": null,
                          "payment_method": null,
                          "payment_period": null,
                          "code": "TAILLE",
                          "vinosoft_id": null,
                          "accounted_at": null,
                          "hid": null,
                          "user_id": 87,
                          "automatic_discount_rate": null,
                          "sponsor_id": null,
                          "commission_rate": null,
                          "invoice_preference": null,
                          "block_orders": false,
                          "sticky_note": false,
                          "invoice_template_id": null
                        },
                        "fulfillment_lines": [
                          {
                            "id": 97841,
                            "fulfillment_id": 45725,
                            "order_line_id": 206998,
                            "quantity": "1.0",
                            "created_at": "2019-11-27T13:51:24.031+01:00",
                            "updated_at": "2019-11-27T13:51:24.031+01:00",
                            "product_variant_id": 2279,
                            "product_label_id": null,
                            "capsule_id": 22,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 2279,
                              "product_size_id": 11,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2019-05-17T11:02:53.928+02:00",
                              "updated_at": "2020-05-22T16:01:40.462+02:00",
                              "product_packaging_id": 484,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 1296,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 0,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": "",
                              "ttb_id": ""
                            }
                          }
                        ]
                      },
                      {
                        "id": 45724,
                        "order_id": 85843,
                        "status": "fulfilled",
                        "fulfillment_service_id": null,
                        "created_at": "2019-11-27T12:52:11.163+01:00",
                        "updated_at": "2019-11-27T12:52:12.471+01:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 829,
                        "note": null,
                        "date": "2019-11-27",
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "pay",
                        "cancelled_at": null,
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": null,
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 86,
                        "destination_type": null,
                        "destination_id": null,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 86,
                          "account_id": 86,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:01:47.607+02:00",
                          "updated_at": "2017-05-24T11:01:47.607+02:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        "fulfillment_lines": [
                          {
                            "id": 97840,
                            "fulfillment_id": 45724,
                            "order_line_id": 206997,
                            "quantity": "60.0",
                            "created_at": "2019-11-27T12:52:11.186+01:00",
                            "updated_at": "2019-11-27T12:52:11.186+01:00",
                            "product_variant_id": 3037,
                            "product_label_id": null,
                            "capsule_id": null,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 3037,
                              "product_size_id": 2,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2019-09-10T10:02:32.463+02:00",
                              "updated_at": "2019-09-10T10:02:32.463+02:00",
                              "product_packaging_id": 484,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 2298,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 0,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          }
                        ]
                      },
                      {
                        "id": 45723,
                        "order_id": 85839,
                        "status": "validated",
                        "fulfillment_service_id": null,
                        "created_at": "2019-11-27T11:14:11.862+01:00",
                        "updated_at": "2019-11-27T11:14:12.451+01:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 828,
                        "note": null,
                        "date": null,
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "suspended",
                        "cancelled_at": null,
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": null,
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 86,
                        "destination_type": "Customer",
                        "destination_id": 1318,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 86,
                          "account_id": 86,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:01:47.607+02:00",
                          "updated_at": "2017-05-24T11:01:47.607+02:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        "destination": {
                          "id": 1318,
                          "account_id": 86,
                          "name": "Worldwide Vineyards ",
                          "email": "alfons@klippel-stahmann.de",
                          "note": null,
                          "accepts_emailing": false,
                          "created_at": "2017-12-04T15:15:35.222+01:00",
                          "updated_at": "2020-04-29T06:24:57.899+02:00",
                          "sales_agent_id": null,
                          "price_grid_id": 109,
                          "reference": null,
                          "accepts_mailing": true,
                          "warehouse_id": null,
                          "visibility": "all",
                          "channel": null,
                          "customer_category_id": 505,
                          "deleted_at": null,
                          "payment_method": null,
                          "payment_period": null,
                          "code": "000020",
                          "vinosoft_id": null,
                          "accounted_at": "2018-01-18T16:55:33.241+01:00",
                          "hid": null,
                          "user_id": null,
                          "automatic_discount_rate": null,
                          "sponsor_id": null,
                          "commission_rate": null,
                          "invoice_preference": null,
                          "block_orders": false,
                          "sticky_note": false,
                          "invoice_template_id": 935
                        },
                        "fulfillment_lines": [
                          {
                            "id": 97839,
                            "fulfillment_id": 45723,
                            "order_line_id": 206993,
                            "quantity": "1.0",
                            "created_at": "2019-11-27T11:14:11.888+01:00",
                            "updated_at": "2019-11-27T11:14:11.888+01:00",
                            "product_variant_id": 2279,
                            "product_label_id": null,
                            "capsule_id": 32,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 2279,
                              "product_size_id": 11,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2019-05-17T11:02:53.928+02:00",
                              "updated_at": "2020-05-22T16:01:40.462+02:00",
                              "product_packaging_id": 484,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 1296,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 0,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": "",
                              "ttb_id": ""
                            }
                          }
                        ]
                      },
                      {
                        "id": 45722,
                        "order_id": 85837,
                        "status": "validated",
                        "fulfillment_service_id": null,
                        "created_at": "2019-11-27T09:39:41.180+01:00",
                        "updated_at": "2019-11-27T09:41:04.164+01:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 827,
                        "note": null,
                        "date": null,
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "pay",
                        "cancelled_at": null,
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": "2019-11-27T09:40:56.330+01:00",
                        "picking_started_at": "2019-11-27T09:41:04.146+01:00",
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 86,
                        "destination_type": "Customer",
                        "destination_id": 1318,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 86,
                          "account_id": 86,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:01:47.607+02:00",
                          "updated_at": "2017-05-24T11:01:47.607+02:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        "destination": {
                          "id": 1318,
                          "account_id": 86,
                          "name": "Worldwide Vineyards ",
                          "email": "alfons@klippel-stahmann.de",
                          "note": null,
                          "accepts_emailing": false,
                          "created_at": "2017-12-04T15:15:35.222+01:00",
                          "updated_at": "2020-04-29T06:24:57.899+02:00",
                          "sales_agent_id": null,
                          "price_grid_id": 109,
                          "reference": null,
                          "accepts_mailing": true,
                          "warehouse_id": null,
                          "visibility": "all",
                          "channel": null,
                          "customer_category_id": 505,
                          "deleted_at": null,
                          "payment_method": null,
                          "payment_period": null,
                          "code": "000020",
                          "vinosoft_id": null,
                          "accounted_at": "2018-01-18T16:55:33.241+01:00",
                          "hid": null,
                          "user_id": null,
                          "automatic_discount_rate": null,
                          "sponsor_id": null,
                          "commission_rate": null,
                          "invoice_preference": null,
                          "block_orders": false,
                          "sticky_note": false,
                          "invoice_template_id": 935
                        },
                        "fulfillment_lines": [
                          {
                            "id": 97837,
                            "fulfillment_id": 45722,
                            "order_line_id": 206989,
                            "quantity": "36.0",
                            "created_at": "2019-11-27T09:39:41.262+01:00",
                            "updated_at": "2019-11-27T09:39:41.262+01:00",
                            "product_variant_id": 2191,
                            "product_label_id": null,
                            "capsule_id": 31,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 2191,
                              "product_size_id": 2,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2019-05-02T11:29:47.155+02:00",
                              "updated_at": "2019-05-02T11:34:07.935+02:00",
                              "product_packaging_id": 886,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 1679,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 0,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          },
                          {
                            "id": 97838,
                            "fulfillment_id": 45722,
                            "order_line_id": 206990,
                            "quantity": "36.0",
                            "created_at": "2019-11-27T09:39:41.336+01:00",
                            "updated_at": "2019-11-27T09:39:41.336+01:00",
                            "product_variant_id": 1701,
                            "product_label_id": 169,
                            "capsule_id": 22,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 1701,
                              "product_size_id": 2,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2019-02-12T10:14:04.243+01:00",
                              "updated_at": "2019-03-19T12:34:23.064+01:00",
                              "product_packaging_id": 484,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 1296,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 0,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          }
                        ]
                      },
                      {
                        "id": 45721,
                        "order_id": 85835,
                        "status": "fulfilled",
                        "fulfillment_service_id": null,
                        "created_at": "2019-11-27T09:12:10.400+01:00",
                        "updated_at": "2019-11-27T09:12:12.294+01:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 826,
                        "note": null,
                        "date": "2019-11-27",
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "pay",
                        "cancelled_at": null,
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": null,
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 86,
                        "destination_type": null,
                        "destination_id": null,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 86,
                          "account_id": 86,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:01:47.607+02:00",
                          "updated_at": "2017-05-24T11:01:47.607+02:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        "fulfillment_lines": [
                          {
                            "id": 97835,
                            "fulfillment_id": 45721,
                            "order_line_id": 206987,
                            "quantity": "6.0",
                            "created_at": "2019-11-27T09:12:10.420+01:00",
                            "updated_at": "2019-11-27T09:12:10.420+01:00",
                            "product_variant_id": 718,
                            "product_label_id": 159,
                            "capsule_id": 22,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 718,
                              "product_size_id": 2,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2018-07-13T14:38:33.863+02:00",
                              "updated_at": "2018-10-10T14:51:30.316+02:00",
                              "product_packaging_id": 484,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 590,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 450,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          },
                          {
                            "id": 97836,
                            "fulfillment_id": 45721,
                            "order_line_id": 206988,
                            "quantity": "6.0",
                            "created_at": "2019-11-27T09:12:10.443+01:00",
                            "updated_at": "2019-11-27T09:12:10.443+01:00",
                            "product_variant_id": 1701,
                            "product_label_id": null,
                            "capsule_id": 22,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 1701,
                              "product_size_id": 2,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2019-02-12T10:14:04.243+01:00",
                              "updated_at": "2019-03-19T12:34:23.064+01:00",
                              "product_packaging_id": 484,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 1296,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 0,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          }
                        ]
                      },
                      {
                        "id": 45720,
                        "order_id": 85831,
                        "status": "fulfilled",
                        "fulfillment_service_id": null,
                        "created_at": "2019-11-26T13:52:18.942+01:00",
                        "updated_at": "2019-11-26T13:52:21.561+01:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 825,
                        "note": null,
                        "date": "2019-11-26",
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "pay",
                        "cancelled_at": null,
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": null,
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 86,
                        "destination_type": "Customer",
                        "destination_id": 77,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 86,
                          "account_id": 86,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:01:47.607+02:00",
                          "updated_at": "2017-05-24T11:01:47.607+02:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        "destination": {
                          "id": 77,
                          "account_id": 86,
                          "name": "Frédérique Faure",
                          "email": "sylvain+faure@vinosoft.com",
                          "note": "",
                          "accepts_emailing": true,
                          "created_at": "2017-05-24T11:08:51.608+02:00",
                          "updated_at": "2017-07-31T23:17:24.897+02:00",
                          "sales_agent_id": null,
                          "price_grid_id": 109,
                          "reference": null,
                          "accepts_mailing": true,
                          "warehouse_id": 86,
                          "visibility": "all",
                          "channel": null,
                          "customer_category_id": 505,
                          "deleted_at": null,
                          "payment_method": "",
                          "payment_period": "",
                          "code": "000005",
                          "vinosoft_id": null,
                          "accounted_at": "2018-01-18T16:55:33.241+01:00",
                          "hid": null,
                          "user_id": null,
                          "automatic_discount_rate": null,
                          "sponsor_id": null,
                          "commission_rate": null,
                          "invoice_preference": null,
                          "block_orders": false,
                          "sticky_note": false,
                          "invoice_template_id": null
                        },
                        "fulfillment_lines": [
                          {
                            "id": 97834,
                            "fulfillment_id": 45720,
                            "order_line_id": 206981,
                            "quantity": "6.0",
                            "created_at": "2019-11-26T13:52:18.963+01:00",
                            "updated_at": "2019-11-26T13:52:18.963+01:00",
                            "product_variant_id": 1690,
                            "product_label_id": null,
                            "capsule_id": 37,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 1690,
                              "product_size_id": 2,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2019-02-04T09:04:51.446+01:00",
                              "updated_at": "2019-02-04T09:05:16.820+01:00",
                              "product_packaging_id": 484,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 1287,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 500,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          }
                        ]
                      },
                      {
                        "id": 45719,
                        "order_id": 85829,
                        "status": "fulfilled",
                        "fulfillment_service_id": null,
                        "created_at": "2019-11-26T13:50:10.436+01:00",
                        "updated_at": "2019-11-26T13:50:11.675+01:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 824,
                        "note": null,
                        "date": "2019-11-26",
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "pay",
                        "cancelled_at": null,
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": null,
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 86,
                        "destination_type": null,
                        "destination_id": null,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 86,
                          "account_id": 86,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:01:47.607+02:00",
                          "updated_at": "2017-05-24T11:01:47.607+02:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        "fulfillment_lines": [
                          {
                            "id": 97833,
                            "fulfillment_id": 45719,
                            "order_line_id": 206979,
                            "quantity": "7.0",
                            "created_at": "2019-11-26T13:50:10.455+01:00",
                            "updated_at": "2019-11-26T13:50:10.455+01:00",
                            "product_variant_id": 718,
                            "product_label_id": 159,
                            "capsule_id": 22,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 718,
                              "product_size_id": 2,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2018-07-13T14:38:33.863+02:00",
                              "updated_at": "2018-10-10T14:51:30.316+02:00",
                              "product_packaging_id": 484,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 590,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 450,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          }
                        ]
                      },
                      {
                        "id": 45718,
                        "order_id": 85830,
                        "status": "validated",
                        "fulfillment_service_id": null,
                        "created_at": "2019-11-26T13:49:17.127+01:00",
                        "updated_at": "2019-11-26T13:49:17.668+01:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 823,
                        "note": null,
                        "date": null,
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "pay",
                        "cancelled_at": null,
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": null,
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 86,
                        "destination_type": "Customer",
                        "destination_id": 77,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 86,
                          "account_id": 86,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:01:47.607+02:00",
                          "updated_at": "2017-05-24T11:01:47.607+02:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        "destination": {
                          "id": 77,
                          "account_id": 86,
                          "name": "Frédérique Faure",
                          "email": "sylvain+faure@vinosoft.com",
                          "note": "",
                          "accepts_emailing": true,
                          "created_at": "2017-05-24T11:08:51.608+02:00",
                          "updated_at": "2017-07-31T23:17:24.897+02:00",
                          "sales_agent_id": null,
                          "price_grid_id": 109,
                          "reference": null,
                          "accepts_mailing": true,
                          "warehouse_id": 86,
                          "visibility": "all",
                          "channel": null,
                          "customer_category_id": 505,
                          "deleted_at": null,
                          "payment_method": "",
                          "payment_period": "",
                          "code": "000005",
                          "vinosoft_id": null,
                          "accounted_at": "2018-01-18T16:55:33.241+01:00",
                          "hid": null,
                          "user_id": null,
                          "automatic_discount_rate": null,
                          "sponsor_id": null,
                          "commission_rate": null,
                          "invoice_preference": null,
                          "block_orders": false,
                          "sticky_note": false,
                          "invoice_template_id": null
                        },
                        "fulfillment_lines": [
                          {
                            "id": 97832,
                            "fulfillment_id": 45718,
                            "order_line_id": 206980,
                            "quantity": "36.0",
                            "created_at": "2019-11-26T13:49:17.167+01:00",
                            "updated_at": "2019-11-26T13:49:17.167+01:00",
                            "product_variant_id": 1701,
                            "product_label_id": null,
                            "capsule_id": 22,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 1701,
                              "product_size_id": 2,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2019-02-12T10:14:04.243+01:00",
                              "updated_at": "2019-03-19T12:34:23.064+01:00",
                              "product_packaging_id": 484,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 1296,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 0,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          }
                        ]
                      },
                      {
                        "id": 45717,
                        "order_id": 85827,
                        "status": "validated",
                        "fulfillment_service_id": null,
                        "created_at": "2019-11-26T12:23:23.980+01:00",
                        "updated_at": "2019-11-26T12:30:43.728+01:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 822,
                        "note": null,
                        "date": null,
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "pay",
                        "cancelled_at": null,
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": "2019-11-26T12:29:42.457+01:00",
                        "picking_started_at": "2019-11-26T12:30:43.711+01:00",
                        "picking_completed_at": "2019-11-26T12:30:43.711+01:00",
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 86,
                        "destination_type": "Customer",
                        "destination_id": 1318,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 86,
                          "account_id": 86,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:01:47.607+02:00",
                          "updated_at": "2017-05-24T11:01:47.607+02:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        "destination": {
                          "id": 1318,
                          "account_id": 86,
                          "name": "Worldwide Vineyards ",
                          "email": "alfons@klippel-stahmann.de",
                          "note": null,
                          "accepts_emailing": false,
                          "created_at": "2017-12-04T15:15:35.222+01:00",
                          "updated_at": "2020-04-29T06:24:57.899+02:00",
                          "sales_agent_id": null,
                          "price_grid_id": 109,
                          "reference": null,
                          "accepts_mailing": true,
                          "warehouse_id": null,
                          "visibility": "all",
                          "channel": null,
                          "customer_category_id": 505,
                          "deleted_at": null,
                          "payment_method": null,
                          "payment_period": null,
                          "code": "000020",
                          "vinosoft_id": null,
                          "accounted_at": "2018-01-18T16:55:33.241+01:00",
                          "hid": null,
                          "user_id": null,
                          "automatic_discount_rate": null,
                          "sponsor_id": null,
                          "commission_rate": null,
                          "invoice_preference": null,
                          "block_orders": false,
                          "sticky_note": false,
                          "invoice_template_id": 935
                        },
                        "fulfillment_lines": [
                          {
                            "id": 97831,
                            "fulfillment_id": 45717,
                            "order_line_id": 206972,
                            "quantity": "36.0",
                            "created_at": "2019-11-26T12:23:24.052+01:00",
                            "updated_at": "2019-11-26T12:23:24.052+01:00",
                            "product_variant_id": 931,
                            "product_label_id": 158,
                            "capsule_id": 22,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 931,
                              "product_size_id": 2,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2018-10-10T14:51:24.805+02:00",
                              "updated_at": "2018-10-10T14:51:24.805+02:00",
                              "product_packaging_id": 483,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 590,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 0,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          }
                        ]
                      },
                      {
                        "id": 45716,
                        "order_id": 85824,
                        "status": "fulfilled",
                        "fulfillment_service_id": null,
                        "created_at": "2019-11-26T11:44:06.540+01:00",
                        "updated_at": "2019-11-26T11:44:07.716+01:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 821,
                        "note": null,
                        "date": "2019-11-26",
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "pay",
                        "cancelled_at": null,
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": null,
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 86,
                        "destination_type": null,
                        "destination_id": null,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 86,
                          "account_id": 86,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:01:47.607+02:00",
                          "updated_at": "2017-05-24T11:01:47.607+02:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        "fulfillment_lines": [
                          {
                            "id": 97830,
                            "fulfillment_id": 45716,
                            "order_line_id": 206970,
                            "quantity": "6.0",
                            "created_at": "2019-11-26T11:44:06.559+01:00",
                            "updated_at": "2019-11-26T11:44:06.559+01:00",
                            "product_variant_id": 718,
                            "product_label_id": 159,
                            "capsule_id": 22,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 718,
                              "product_size_id": 2,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2018-07-13T14:38:33.863+02:00",
                              "updated_at": "2018-10-10T14:51:30.316+02:00",
                              "product_packaging_id": 484,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 590,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 450,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          }
                        ]
                      },
                      {
                        "id": 45715,
                        "order_id": 85821,
                        "status": "fulfilled",
                        "fulfillment_service_id": null,
                        "created_at": "2019-11-26T09:59:48.677+01:00",
                        "updated_at": "2019-11-26T09:59:50.409+01:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 820,
                        "note": null,
                        "date": "2019-11-26",
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "pay",
                        "cancelled_at": null,
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": null,
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 86,
                        "destination_type": null,
                        "destination_id": null,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 86,
                          "account_id": 86,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:01:47.607+02:00",
                          "updated_at": "2017-05-24T11:01:47.607+02:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        "fulfillment_lines": [
                          {
                            "id": 97828,
                            "fulfillment_id": 45715,
                            "order_line_id": 206966,
                            "quantity": "6.0",
                            "created_at": "2019-11-26T09:59:48.713+01:00",
                            "updated_at": "2019-11-26T09:59:48.713+01:00",
                            "product_variant_id": 718,
                            "product_label_id": 159,
                            "capsule_id": 22,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 718,
                              "product_size_id": 2,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2018-07-13T14:38:33.863+02:00",
                              "updated_at": "2018-10-10T14:51:30.316+02:00",
                              "product_packaging_id": 484,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 590,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 450,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          },
                          {
                            "id": 97829,
                            "fulfillment_id": 45715,
                            "order_line_id": 206967,
                            "quantity": "3.0",
                            "created_at": "2019-11-26T09:59:48.731+01:00",
                            "updated_at": "2019-11-26T09:59:48.731+01:00",
                            "product_variant_id": 679,
                            "product_label_id": null,
                            "capsule_id": 31,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 679,
                              "product_size_id": 2,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2018-06-05T22:14:36.892+02:00",
                              "updated_at": "2018-06-05T22:14:36.892+02:00",
                              "product_packaging_id": 887,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 557,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 0,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          }
                        ]
                      },
                      {
                        "id": 45714,
                        "order_id": 85820,
                        "status": "fulfilled",
                        "fulfillment_service_id": null,
                        "created_at": "2019-11-26T09:56:09.863+01:00",
                        "updated_at": "2019-11-26T09:56:12.210+01:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 819,
                        "note": null,
                        "date": "2019-11-26",
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "pay",
                        "cancelled_at": null,
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": null,
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 86,
                        "destination_type": null,
                        "destination_id": null,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 86,
                          "account_id": 86,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:01:47.607+02:00",
                          "updated_at": "2017-05-24T11:01:47.607+02:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        "fulfillment_lines": [
                          {
                            "id": 97827,
                            "fulfillment_id": 45714,
                            "order_line_id": 206965,
                            "quantity": "6.0",
                            "created_at": "2019-11-26T09:56:09.900+01:00",
                            "updated_at": "2019-11-26T09:56:09.900+01:00",
                            "product_variant_id": 718,
                            "product_label_id": 159,
                            "capsule_id": 22,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 718,
                              "product_size_id": 2,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2018-07-13T14:38:33.863+02:00",
                              "updated_at": "2018-10-10T14:51:30.316+02:00",
                              "product_packaging_id": 484,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 590,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 450,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          }
                        ]
                      },
                      {
                        "id": 45630,
                        "order_id": 85729,
                        "status": "fulfilled",
                        "fulfillment_service_id": null,
                        "created_at": "2019-11-20T10:00:56.069+01:00",
                        "updated_at": "2019-11-20T10:00:57.167+01:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 818,
                        "note": null,
                        "date": "2019-11-20",
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "pay",
                        "cancelled_at": null,
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": null,
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 87,
                        "destination_type": null,
                        "destination_id": null,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 87,
                          "account_id": 86,
                          "name": "Plugwine",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:54:01.681+02:00",
                          "updated_at": "2017-05-24T11:54:01.681+02:00",
                          "default": false,
                          "excise_duty_suspended": true
                        },
                        "fulfillment_lines": [
                          {
                            "id": 97731,
                            "fulfillment_id": 45630,
                            "order_line_id": 206864,
                            "quantity": "6.0",
                            "created_at": "2019-11-20T10:00:56.091+01:00",
                            "updated_at": "2019-11-20T10:00:56.091+01:00",
                            "product_variant_id": 582,
                            "product_label_id": null,
                            "capsule_id": 37,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 582,
                              "product_size_id": 3,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2018-04-23T14:53:49.621+02:00",
                              "updated_at": "2018-04-23T14:53:49.621+02:00",
                              "product_packaging_id": 887,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 483,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 0,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          }
                        ]
                      },
                      {
                        "id": 45629,
                        "order_id": 85728,
                        "status": "cancelled",
                        "fulfillment_service_id": null,
                        "created_at": "2019-11-20T09:59:33.496+01:00",
                        "updated_at": "2019-11-20T10:00:02.573+01:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 817,
                        "note": null,
                        "date": "2019-11-20",
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "pay",
                        "cancelled_at": "2019-11-20T00:00:00.000+01:00",
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": null,
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 87,
                        "destination_type": null,
                        "destination_id": null,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 87,
                          "account_id": 86,
                          "name": "Plugwine",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:54:01.681+02:00",
                          "updated_at": "2017-05-24T11:54:01.681+02:00",
                          "default": false,
                          "excise_duty_suspended": true
                        },
                        "fulfillment_lines": [
                          {
                            "id": 97728,
                            "fulfillment_id": 45629,
                            "order_line_id": 206861,
                            "quantity": "1.0",
                            "created_at": "2019-11-20T09:59:33.550+01:00",
                            "updated_at": "2019-11-20T09:59:33.550+01:00",
                            "product_variant_id": 720,
                            "product_label_id": null,
                            "capsule_id": 22,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 720,
                              "product_size_id": 3,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2018-07-13T15:31:27.628+02:00",
                              "updated_at": "2018-07-13T15:33:45.528+02:00",
                              "product_packaging_id": 887,
                              "deleted_at": "2018-07-13T15:33:45.521+02:00",
                              "product_label_id": null,
                              "product_vintage_id": 591,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 0,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          },
                          {
                            "id": 97729,
                            "fulfillment_id": 45629,
                            "order_line_id": 206862,
                            "quantity": "1.0",
                            "created_at": "2019-11-20T09:59:33.643+01:00",
                            "updated_at": "2019-11-20T09:59:33.643+01:00",
                            "product_variant_id": 598,
                            "product_label_id": null,
                            "capsule_id": 22,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 598,
                              "product_size_id": 2,
                              "sku": "MELOB201775",
                              "default_barcode": "",
                              "created_at": "2018-05-07T15:16:34.449+02:00",
                              "updated_at": "2018-06-27T10:36:08.117+02:00",
                              "product_packaging_id": 887,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 161,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 200,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          },
                          {
                            "id": 97730,
                            "fulfillment_id": 45629,
                            "order_line_id": 206863,
                            "quantity": "1.0",
                            "created_at": "2019-11-20T09:59:33.670+01:00",
                            "updated_at": "2019-11-20T09:59:33.670+01:00",
                            "product_variant_id": 582,
                            "product_label_id": null,
                            "capsule_id": 37,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 582,
                              "product_size_id": 3,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2018-04-23T14:53:49.621+02:00",
                              "updated_at": "2018-04-23T14:53:49.621+02:00",
                              "product_packaging_id": 887,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 483,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 0,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          }
                        ]
                      },
                      {
                        "id": 45613,
                        "order_id": 85706,
                        "status": "fulfilled",
                        "fulfillment_service_id": null,
                        "created_at": "2019-11-12T10:52:16.875+01:00",
                        "updated_at": "2019-11-12T10:52:26.224+01:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 816,
                        "note": "",
                        "date": "2019-11-12",
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "pay",
                        "cancelled_at": null,
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": null,
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 86,
                        "destination_type": "Customer",
                        "destination_id": 77,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 86,
                          "account_id": 86,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:01:47.607+02:00",
                          "updated_at": "2017-05-24T11:01:47.607+02:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        "destination": {
                          "id": 77,
                          "account_id": 86,
                          "name": "Frédérique Faure",
                          "email": "sylvain+faure@vinosoft.com",
                          "note": "",
                          "accepts_emailing": true,
                          "created_at": "2017-05-24T11:08:51.608+02:00",
                          "updated_at": "2017-07-31T23:17:24.897+02:00",
                          "sales_agent_id": null,
                          "price_grid_id": 109,
                          "reference": null,
                          "accepts_mailing": true,
                          "warehouse_id": 86,
                          "visibility": "all",
                          "channel": null,
                          "customer_category_id": 505,
                          "deleted_at": null,
                          "payment_method": "",
                          "payment_period": "",
                          "code": "000005",
                          "vinosoft_id": null,
                          "accounted_at": "2018-01-18T16:55:33.241+01:00",
                          "hid": null,
                          "user_id": null,
                          "automatic_discount_rate": null,
                          "sponsor_id": null,
                          "commission_rate": null,
                          "invoice_preference": null,
                          "block_orders": false,
                          "sticky_note": false,
                          "invoice_template_id": null
                        },
                        "fulfillment_lines": [
                          {
                            "id": 97709,
                            "fulfillment_id": 45613,
                            "order_line_id": 206835,
                            "quantity": "36.0",
                            "created_at": "2019-11-12T10:52:16.911+01:00",
                            "updated_at": "2019-11-12T10:52:16.911+01:00",
                            "product_variant_id": 5623,
                            "product_label_id": null,
                            "capsule_id": 37,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 5623,
                              "product_size_id": 2,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2019-11-12T10:10:49.415+01:00",
                              "updated_at": "2019-11-12T10:10:49.415+01:00",
                              "product_packaging_id": 484,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 3951,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 0,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          }
                        ]
                      },
                      {
                        "id": 45611,
                        "order_id": 85704,
                        "status": "fulfilled",
                        "fulfillment_service_id": null,
                        "created_at": "2019-11-12T10:13:32.095+01:00",
                        "updated_at": "2019-11-12T10:13:43.479+01:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 815,
                        "note": "",
                        "date": "2019-11-12",
                        "picking_note": null,
                        "account_id": 86,
                        "warehouse_id": null,
                        "customer_id": null,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "pay",
                        "cancelled_at": null,
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": null,
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 86,
                        "destination_type": "Customer",
                        "destination_id": 77,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "source": {
                          "id": 86,
                          "account_id": 86,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2017-05-24T11:01:47.607+02:00",
                          "updated_at": "2017-05-24T11:01:47.607+02:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        "destination": {
                          "id": 77,
                          "account_id": 86,
                          "name": "Frédérique Faure",
                          "email": "sylvain+faure@vinosoft.com",
                          "note": "",
                          "accepts_emailing": true,
                          "created_at": "2017-05-24T11:08:51.608+02:00",
                          "updated_at": "2017-07-31T23:17:24.897+02:00",
                          "sales_agent_id": null,
                          "price_grid_id": 109,
                          "reference": null,
                          "accepts_mailing": true,
                          "warehouse_id": 86,
                          "visibility": "all",
                          "channel": null,
                          "customer_category_id": 505,
                          "deleted_at": null,
                          "payment_method": "",
                          "payment_period": "",
                          "code": "000005",
                          "vinosoft_id": null,
                          "accounted_at": "2018-01-18T16:55:33.241+01:00",
                          "hid": null,
                          "user_id": null,
                          "automatic_discount_rate": null,
                          "sponsor_id": null,
                          "commission_rate": null,
                          "invoice_preference": null,
                          "block_orders": false,
                          "sticky_note": false,
                          "invoice_template_id": null
                        },
                        "fulfillment_lines": [
                          {
                            "id": 97707,
                            "fulfillment_id": 45611,
                            "order_line_id": 206833,
                            "quantity": "100.0",
                            "created_at": "2019-11-12T10:13:32.335+01:00",
                            "updated_at": "2019-11-12T10:16:41.844+01:00",
                            "product_variant_id": 5623,
                            "product_label_id": null,
                            "capsule_id": 37,
                            "batch_id": null,
                            "capsule_kind": null,
                            "supplier_order_line_id": null,
                            "product_variant": {
                              "id": 5623,
                              "product_size_id": 2,
                              "sku": "",
                              "default_barcode": "",
                              "created_at": "2019-11-12T10:10:49.415+01:00",
                              "updated_at": "2019-11-12T10:10:49.415+01:00",
                              "product_packaging_id": 484,
                              "deleted_at": null,
                              "product_label_id": null,
                              "product_vintage_id": 3951,
                              "nc8_code": "",
                              "vinosoft_id": null,
                              "net_weight": null,
                              "tare": null,
                              "functional_code": "",
                              "cost_price_cents": 0,
                              "cost_price_currency": "EUR",
                              "marketable": true,
                              "fulfillable": true,
                              "capsule_id": null,
                              "neutral_capsule_id": null,
                              "sales_unit": 1,
                              "cspc": null,
                              "ttb_id": null
                            }
                          }
                        ]
                      }
                    ]
                  }
                }
              }
            }
          },
          "": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "operationId": "get-fulfillments",
        "description": "Liste des expéditions.",
        "tags": [
          "Expéditions"
        ],
        "parameters": [
          {
            "schema": {
              "type": "object",
              "additionalProperties": true
            },
            "in": "query",
            "name": "q",
            "style": "deepObject",
            "explode": true,
            "description": "Filtres de recherche Ransack (voir « Recherche »). Exemples : `q[status_eq]=fulfilled`, `q[order_id_eq]=107580`, `q[updated_at_gteq]=2026-01-01`."
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "default": 1
            },
            "in": "query",
            "name": "page",
            "description": "Numéro de page (50 éléments par page). Voir « Pagination »."
          }
        ]
      },
      "parameters": []
    },
    "/fulfillments/{id}": {
      "parameters": [
        {
          "schema": {
            "type": "string"
          },
          "name": "id",
          "in": "path",
          "required": true,
          "description": "ID de l'expédition"
        }
      ],
      "get": {
        "summary": "Informations sur une expédition",
        "operationId": "get-fulfillments-id",
        "description": "Récupère les informations d'une expédition, avec ses lignes.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Fulfillment"
                }
              }
            }
          },
          "404": {
            "description": "Ressource introuvable"
          },
          "401": {
            "description": "Authentification invalide"
          }
        },
        "tags": [
          "Expéditions"
        ]
      }
    },
    "/price_grids": {
      "get": {
        "summary": "Liste des grilles tarifaires",
        "responses": {
          "200": {
            "description": "Tableau contenant des grilles tarifaires.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PriceGrid"
                  }
                },
                "examples": {}
              }
            }
          }
        },
        "operationId": "get-price_grids",
        "parameters": [],
        "description": "Récupération de la liste des grilles tarifaires du compte.",
        "tags": [
          "Grilles tarifaires"
        ]
      }
    },
    "/payment_sources": {
      "get": {
        "summary": "Liste des modes de paiement",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PaymentSource"
                  }
                }
              }
            }
          }
        },
        "operationId": "get-payment_sources",
        "description": "Récupère la liste des modes de paiements.",
        "tags": [
          "Modes de paiements"
        ]
      }
    },
    "/payments": {
      "get": {
        "summary": "Liste des règlements",
        "operationId": "get-payments",
        "description": "Règlements et remboursements du compte, hors règlements supprimés, du plus récent au plus ancien (par `date` puis par `id`), par pages de 50.\n\nChaque règlement est renvoyé avec son mode de paiement (`payment_source`) et ses affectations (`payment_links_not_deleted`).\n\nLes avances et acomptes non affectés sont inclus : leur montant restant à affecter est dans `not_associated_amount_cents`. Le filtre `q[payment_association]` accepte `not_associated` (règlements ayant un montant restant à affecter), `associated` (règlements entièrement affectés) et `all`.\n\nLes écarts de caisse sont aussi renvoyés, avec `kind` égal à `cash_error` : ignorez-les si besoin en testant `kind` dans la réponse.\n\nSi la clé API est limitée à un représentant, seuls les règlements de ses clients sont renvoyés, donc aucun règlement sans client.",
        "parameters": [
          {
            "schema": {
              "type": "object",
              "additionalProperties": true
            },
            "in": "query",
            "name": "q",
            "style": "deepObject",
            "explode": true,
            "description": "Filtres de recherche Ransack (voir « Recherche »). Exemples : `q[date_gteq]=2026-11-01`, `q[updated_at_gteq]=2026-11-01`, `q[customer_id_eq]=124389`, `q[payment_source_id_eq]=1052`, `q[payment_association]=not_associated`."
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "default": 1
            },
            "in": "query",
            "name": "page",
            "description": "Numéro de page (50 éléments par page). Voir « Pagination »."
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/Payment"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "payment_links_not_deleted": {
                            "type": "array",
                            "description": "Affectations du règlement, hors affectations supprimées. Vide pour un règlement qui n'est affecté à aucune commande.",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "integer"
                                },
                                "payment_id": {
                                  "type": "integer"
                                },
                                "parent_id": {
                                  "type": "integer",
                                  "description": "ID de l'objet réglé (la commande quand `parent_type` vaut `Order`)"
                                },
                                "parent_type": {
                                  "type": "string"
                                },
                                "amount_cents": {
                                  "type": "integer",
                                  "description": "Part du règlement affectée à cet objet"
                                },
                                "amount_currency": {
                                  "type": "string"
                                },
                                "deleted_at": {
                                  "type": "string"
                                },
                                "created_at": {
                                  "type": "string"
                                },
                                "updated_at": {
                                  "type": "string"
                                },
                                "accounting_date": {
                                  "type": "string"
                                },
                                "accounted_at": {
                                  "type": "string"
                                },
                                "down_payment_id": {
                                  "type": "integer"
                                }
                              }
                            }
                          }
                        }
                      }
                    ]
                  }
                },
                "examples": {
                  "example": {
                    "value": [
                      {
                        "id": 265301,
                        "account_id": 128,
                        "date": "2026-11-18",
                        "customer_id": 151091,
                        "amount_cents": 3000,
                        "amount_currency": "EUR",
                        "kind": "payment",
                        "source_name": null,
                        "source_reference": "VIR-2026-0057",
                        "created_at": "2026-11-18T10:12:03.104+01:00",
                        "updated_at": "2026-11-18T10:12:03.104+01:00",
                        "stripe": null,
                        "refunded": null,
                        "deleted_at": null,
                        "refund_amount_cents": 0,
                        "refund_amount_currency": "EUR",
                        "accounted_at": null,
                        "payment_source_id": 1052,
                        "bank_name": null,
                        "comment": "Acompte",
                        "customer_name": null,
                        "register_id": null,
                        "not_associated_amount_cents": 3000,
                        "not_associated_amount_currency": "EUR",
                        "payment_source": {
                          "id": 1052,
                          "account_id": 128,
                          "custom_name": null,
                          "handle": "transfer",
                          "displayed": true,
                          "deletable": false,
                          "deleted_at": null,
                          "created_at": "2019-07-04T16:31:29.659+02:00",
                          "updated_at": "2019-07-04T16:31:29.659+02:00",
                          "website": false,
                          "before_instruction": null,
                          "after_instruction": null
                        },
                        "payment_links_not_deleted": []
                      },
                      {
                        "id": 265265,
                        "account_id": 128,
                        "date": "2026-11-16",
                        "customer_id": 151091,
                        "amount_cents": 4000,
                        "amount_currency": "EUR",
                        "kind": "payment",
                        "source_name": null,
                        "source_reference": "VIR-2026-0042",
                        "created_at": "2026-11-16T09:04:44.519+01:00",
                        "updated_at": "2026-11-16T09:04:44.631+01:00",
                        "stripe": null,
                        "refunded": null,
                        "deleted_at": null,
                        "refund_amount_cents": 0,
                        "refund_amount_currency": "EUR",
                        "accounted_at": null,
                        "payment_source_id": 1052,
                        "bank_name": null,
                        "comment": "Réglé par virement",
                        "customer_name": null,
                        "register_id": null,
                        "not_associated_amount_cents": 0,
                        "not_associated_amount_currency": "EUR",
                        "payment_source": {
                          "id": 1052,
                          "account_id": 128,
                          "custom_name": null,
                          "handle": "transfer",
                          "displayed": true,
                          "deletable": false,
                          "deleted_at": null,
                          "created_at": "2019-07-04T16:31:29.659+02:00",
                          "updated_at": "2019-07-04T16:31:29.659+02:00",
                          "website": false,
                          "before_instruction": null,
                          "after_instruction": null
                        },
                        "payment_links_not_deleted": [
                          {
                            "id": 266521,
                            "payment_id": 265265,
                            "parent_id": 319889,
                            "parent_type": "Order",
                            "amount_cents": 4000,
                            "amount_currency": "EUR",
                            "deleted_at": null,
                            "created_at": "2026-11-16T09:04:44.563+01:00",
                            "updated_at": "2026-11-16T09:04:44.792+01:00",
                            "accounting_date": null,
                            "accounted_at": null,
                            "down_payment_id": null
                          }
                        ]
                      }
                    ]
                  }
                }
              }
            }
          },
          "401": {
            "description": "Authentification invalide"
          }
        },
        "tags": [
          "Paiements"
        ]
      }
    },
    "/orders/{id}": {
      "parameters": [
        {
          "schema": {
            "type": "string"
          },
          "name": "id",
          "in": "path",
          "required": true
        }
      ],
      "get": {
        "summary": "Informations sur une commande",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Order"
                },
                "examples": {
                  "example-1": {}
                }
              }
            }
          }
        },
        "operationId": "get-orders-id",
        "description": "Récupère les informations sur une commande.",
        "tags": [
          "Commandes"
        ]
      },
      "put": {
        "summary": "Mise à jour d'une commande",
        "operationId": "put-orders-id",
        "description": "Met à jour l'en-tête d'une commande (référence, note, date, entrepôt, informations de facturation et de livraison…). Les lignes de commande ne sont pas modifiables par ce endpoint. Accepte aussi la méthode `PATCH`.\n\nLa requête doit être signée avec l'en-tête `X-Baqio-Hmac-Sha256` (voir Authentification).",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "order": {
                    "$ref": "#/components/schemas/Order"
                  }
                }
              },
              "examples": {
                "example": {
                  "value": {
                    "order": {
                      "reference": "CMD-2026-001",
                      "note": "Livrer avant midi"
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "404": {
            "description": "Commande introuvable"
          },
          "422": {
            "description": "Erreurs de validation (corps vide), ou tags de commande inconnus",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "errors": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                },
                "examples": {
                  "tag_inconnu": {
                    "value": {
                      "errors": [
                        "order tag 999 doesn't exist"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Authentification invalide"
          }
        },
        "tags": [
          "Commandes"
        ]
      }
    },
    "/orders/{order_id}/account_events": {
      "get": {
        "summary": "Historique d'une commande",
        "operationId": "get-orders-id-account-events",
        "description": "Événements de l'historique affiché en bas de la fiche commande : événements de la commande et de ses expéditions, et commentaires saisis par les équipes (relance, appel, rendez-vous…). Du plus récent au plus ancien, par pages de 50.\n\nPour les commentaires, le champ `customer_note` contient le détail de la note (texte, type, auteur). Les notes supprimées ne sont pas exposées (`customer_note` vaut `null`).",
        "parameters": [
          {
            "schema": {
              "type": "string"
            },
            "name": "order_id",
            "in": "path",
            "required": true,
            "description": "ID de la commande"
          },
          {
            "schema": {
              "type": "string"
            },
            "in": "query",
            "name": "topic",
            "description": "Filtre exact sur le sujet de l'événement, ex. `customer_note.created` pour ne récupérer que les commentaires"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "default": 1
            },
            "in": "query",
            "name": "page",
            "description": "Numéro de page (50 éléments par page). Voir « Pagination »."
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/OrderAccountEvent"
                  }
                },
                "examples": {
                  "example": {
                    "value": [
                      {
                        "id": 98245,
                        "topic": "customer_note.created",
                        "resource_type": "CustomerNote",
                        "resource_id": 5531,
                        "reference_type": "Order",
                        "reference_id": 107580,
                        "customer_id": 124389,
                        "user_id": 812,
                        "created_at": "2026-10-20T09:30:00.000+02:00",
                        "customer_note": {
                          "id": 5531,
                          "customer_id": 124389,
                          "contact_id": null,
                          "user_id": 812,
                          "kind": "phone",
                          "body": "Relance effectuée, pas de réponse du client",
                          "created_at": "2026-10-20T09:30:00.000+02:00",
                          "updated_at": "2026-10-20T09:30:00.000+02:00"
                        }
                      },
                      {
                        "id": 98231,
                        "topic": "order.invoiced",
                        "resource_type": "Order",
                        "resource_id": 107580,
                        "reference_type": null,
                        "reference_id": null,
                        "customer_id": 124389,
                        "user_id": 812,
                        "created_at": "2026-10-16T10:00:00.000+02:00",
                        "customer_note": null
                      }
                    ]
                  }
                }
              }
            }
          },
          "401": {
            "description": "Authentification invalide"
          },
          "404": {
            "description": "Commande introuvable (ou brouillon)"
          }
        },
        "tags": [
          "Commandes"
        ]
      }
    },
    "/orders/{order_id}/payments": {
      "post": {
        "summary": "Ajouter un règlement à une commande",
        "operationId": "post-orders-id-payments",
        "description": "Enregistre un règlement pour le client d'une commande et l'affecte à cette commande. Le traitement est synchrone : le montant payé (`paid_amount_cents`) et le statut de paiement (`payment_status`) de la commande sont à jour dès la réponse, et le webhook `order.update_paid_amount` est émis.\n\nRègles appliquées :\n\n- La commande ne doit pas être un brouillon (404) et doit avoir un reste à payer (422 sinon).\n- Le règlement est toujours un encaissement : un remboursement ne peut pas être créé par cet endpoint.\n- Si le montant dépasse le reste à payer, l'affectation à la commande est plafonnée au reste à payer. L'excédent reste sur le règlement comme avance client non affectée (`payment.not_associated_amount_cents`).\n- Une date située dans une période comptable clôturée ou couverte par une clôture de caisse est refusée (422).\n- Si la clé API est limitée à un représentant, seules ses commandes sont accessibles (404 sinon).\n\n### Idempotence\n\nPour éviter un doublon quand une requête est renvoyée (coupure réseau, délai dépassé), transmettez un en-tête `Idempotency-Key` contenant une valeur unique par règlement, par exemple un UUID. L'en-tête est facultatif : sans lui, deux envois identiques créent deux règlements.\n\n| Situation | Réponse |\n|---|---|\n| Premier envoi avec la clé | `201`, règlement créé |\n| Même requête renvoyée avec la même clé | `201` avec le règlement déjà créé et l'en-tête `Idempotent-Replayed: true`, sans nouveau règlement |\n| Même clé avec un autre corps ou pour une autre commande | `422` |\n| Première requête encore en cours, ou interrompue par une erreur serveur | `409` |\n| Première requête refusée en `422` | La clé est libérée : la requête corrigée peut la réutiliser |\n\nLe corps est comparé à l'octet près : renvoyez exactement le même JSON que lors du premier envoi. Après un `409` qui persiste, vérifiez les règlements de la commande (`GET /orders/{id}`) avant de réessayer avec une nouvelle clé. Une clé est propre à la clé API qui l'a envoyée.\n\nLa requête doit être signée avec l'en-tête `X-Baqio-Hmac-Sha256` (voir Authentification).",
        "parameters": [
          {
            "schema": {
              "type": "string"
            },
            "name": "order_id",
            "in": "path",
            "required": true,
            "description": "ID de la commande"
          },
          {
            "schema": {
              "type": "string",
              "maxLength": 255
            },
            "name": "Idempotency-Key",
            "in": "header",
            "required": false,
            "description": "Clé d'idempotence, unique par règlement (ex. un UUID), 255 caractères au plus. Voir « Idempotence »."
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "payment"
                ],
                "properties": {
                  "payment": {
                    "type": "object",
                    "required": [
                      "date",
                      "amount",
                      "payment_source_id"
                    ],
                    "properties": {
                      "date": {
                        "type": "string",
                        "description": "Date du règlement, au format ISO 8601 (`2026-11-16`) ou `jj/mm/aaaa` (`16/11/2026`)"
                      },
                      "amount": {
                        "type": "number",
                        "description": "Montant du règlement en unités monétaires, et non en centimes (ex. `40.5` pour 40,50 €). Doit être supérieur à 0."
                      },
                      "payment_source_id": {
                        "type": "integer",
                        "description": "ID du mode de paiement (voir `GET /payment_sources`). Il doit appartenir au compte et ne pas être supprimé."
                      },
                      "source_reference": {
                        "type": "string",
                        "description": "Référence du règlement (numéro de virement, de chèque…)"
                      },
                      "comment": {
                        "type": "string",
                        "description": "Commentaire libre"
                      }
                    }
                  }
                }
              },
              "examples": {
                "example": {
                  "value": {
                    "payment": {
                      "date": "2026-11-16",
                      "amount": 40,
                      "payment_source_id": 1052,
                      "source_reference": "VIR-2026-0042",
                      "comment": "Réglé par virement"
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Règlement créé et affecté à la commande. Renvoie le lien de règlement, au même format que les `payment_links` d'une commande.",
            "headers": {
              "Idempotent-Replayed": {
                "schema": {
                  "type": "string",
                  "enum": [
                    "true"
                  ]
                },
                "description": "Présent uniquement quand la réponse est celle d'une requête déjà traitée avec la même `Idempotency-Key`."
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentLink"
                },
                "examples": {
                  "example": {
                    "value": {
                      "id": 266521,
                      "payment_id": 265265,
                      "parent_id": 319889,
                      "parent_type": "Order",
                      "amount_cents": 4000,
                      "amount_currency": "EUR",
                      "deleted_at": null,
                      "created_at": "2026-11-16T09:04:44.563+01:00",
                      "updated_at": "2026-11-16T09:04:44.792+01:00",
                      "accounting_date": null,
                      "accounted_at": null,
                      "down_payment_id": null,
                      "payment": {
                        "id": 265265,
                        "account_id": 128,
                        "date": "2026-11-16",
                        "customer_id": 151091,
                        "amount_cents": 4000,
                        "amount_currency": "EUR",
                        "kind": "payment",
                        "source_name": null,
                        "source_reference": "VIR-2026-0042",
                        "created_at": "2026-11-16T09:04:44.519+01:00",
                        "updated_at": "2026-11-16T09:04:44.631+01:00",
                        "stripe": null,
                        "refunded": null,
                        "deleted_at": null,
                        "refund_amount_cents": 0,
                        "refund_amount_currency": "EUR",
                        "accounted_at": null,
                        "payment_source_id": 1052,
                        "bank_name": null,
                        "comment": "Réglé par virement",
                        "customer_name": null,
                        "register_id": null,
                        "not_associated_amount_cents": 0,
                        "not_associated_amount_currency": "EUR",
                        "payment_source": {
                          "id": 1052,
                          "account_id": 128,
                          "custom_name": null,
                          "handle": "transfer",
                          "displayed": true,
                          "deletable": false,
                          "deleted_at": null,
                          "created_at": "2019-07-04T16:31:29.659+02:00",
                          "updated_at": "2019-07-04T16:31:29.659+02:00",
                          "website": false,
                          "before_instruction": null,
                          "after_instruction": null
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Corps de la requête illisible (JSON invalide)"
          },
          "401": {
            "description": "Authentification ou signature invalide"
          },
          "404": {
            "description": "Commande introuvable, en brouillon ou hors du périmètre de la clé API"
          },
          "409": {
            "description": "Une requête précédente avec la même `Idempotency-Key` n'a pas renvoyé de résultat (encore en cours, ou interrompue). Aucun règlement n'est créé par cet appel.",
            "content": {
              "application/json": {
                "examples": {
                  "example": {
                    "value": {
                      "errors": [
                        "a previous request with this Idempotency-Key returned no result: check what it created before retrying with a new key"
                      ]
                    }
                  }
                }
              }
            }
          },
          "422": {
            "description": "Règlement refusé. `errors` contient un ou plusieurs messages : commande sans reste à payer, date absente ou invalide, montant nul ou négatif, mode de paiement inconnu, date dans une période clôturée, `Idempotency-Key` déjà utilisée avec une requête différente ou trop longue.",
            "content": {
              "application/json": {
                "examples": {
                  "validation": {
                    "summary": "Règlement invalide",
                    "value": {
                      "errors": [
                        "order has nothing left to pay",
                        "amount must be greater than 0"
                      ]
                    }
                  },
                  "idempotency": {
                    "summary": "Clé déjà utilisée avec une autre requête",
                    "value": {
                      "errors": [
                        "Idempotency-Key was already used with a different request"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Paiements"
        ]
      }
    },
    "/bookings": {
      "get": {
        "summary": "Liste des réservations",
        "operationId": "get-bookings",
        "description": "Liste des commandes de type réservation (hors brouillons), par pages de 50. Le format est identique à celui des commandes.",
        "parameters": [
          {
            "schema": {
              "type": "object",
              "additionalProperties": true
            },
            "in": "query",
            "name": "q",
            "style": "deepObject",
            "explode": true,
            "description": "Filtres de recherche Ransack (voir « Recherche »). Exemples : `q[reference_eq]=CMD-001`, `q[customer_id_eq]=124389`, `q[date_gteq]=2026-01-01`."
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "default": 1
            },
            "in": "query",
            "name": "page",
            "description": "Numéro de page (50 éléments par page). Voir « Pagination »."
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Order"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Authentification invalide"
          }
        },
        "tags": [
          "Commandes"
        ]
      }
    },
    "/bookings/{id}": {
      "parameters": [
        {
          "schema": {
            "type": "string"
          },
          "name": "id",
          "in": "path",
          "required": true,
          "description": "ID de la réservation"
        }
      ],
      "get": {
        "summary": "Informations sur une réservation",
        "operationId": "get-bookings-id",
        "description": "Récupère une commande de type réservation.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Order"
                }
              }
            }
          },
          "404": {
            "description": "Ressource introuvable"
          },
          "401": {
            "description": "Authentification invalide"
          }
        },
        "tags": [
          "Commandes"
        ]
      }
    },
    "/order_campaigns": {
      "get": {
        "summary": "Liste des campagnes de commandes",
        "operationId": "get-order_campaigns",
        "description": "Liste des campagnes de commandes du compte.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/OrderCampaign"
                  }
                },
                "examples": {
                  "example": {
                    "value": [
                      {
                        "id": 34,
                        "account_id": 520,
                        "name": "Primeurs 2026",
                        "price_grid_id": 4287,
                        "deleted_at": null,
                        "created_at": "2026-10-16T10:00:00.000+02:00",
                        "updated_at": "2026-10-16T10:00:00.000+02:00"
                      }
                    ]
                  }
                }
              }
            }
          },
          "401": {
            "description": "Authentification invalide"
          }
        },
        "tags": [
          "Commandes"
        ]
      }
    },
    "/order_tags": {
      "get": {
        "summary": "Liste des tags de commandes",
        "operationId": "get-order_tags",
        "description": "Liste des tags de commandes du compte, triés par nom, avec leur `id` et leur `name`. Les ids servent à renseigner le champ `order_tag_ids` lors de la création ou de la mise à jour.",
        "parameters": [
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "default": 1
            },
            "in": "query",
            "name": "page",
            "description": "Numéro de page (50 éléments par page). Voir « Pagination »."
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/OrderTag"
                  }
                },
                "examples": {
                  "example": {
                    "value": [
                      {
                        "id": 12,
                        "name": "Parrainage"
                      },
                      {
                        "id": 7,
                        "name": "Salon Vinexpo 2026"
                      }
                    ]
                  }
                }
              }
            }
          },
          "401": {
            "description": "Authentification invalide"
          }
        },
        "tags": [
          "Commandes"
        ]
      }
    },
    "/markets": {
      "get": {
        "summary": "Liste des marchés",
        "operationId": "get-markets",
        "description": "Liste des marchés du compte, triés par nom.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Market"
                  }
                },
                "examples": {
                  "example": {
                    "value": [
                      {
                        "id": 12,
                        "account_id": 520,
                        "name": "Export",
                        "parent_id": null,
                        "deleted_at": null,
                        "created_at": "2026-10-16T10:00:00.000+02:00",
                        "updated_at": "2026-10-16T10:00:00.000+02:00"
                      }
                    ]
                  }
                }
              }
            }
          },
          "401": {
            "description": "Authentification invalide"
          }
        },
        "tags": [
          "Commandes"
        ]
      }
    },
    "/accountings/invoices/{id}": {
      "parameters": [
        {
          "schema": {
            "type": "integer"
          },
          "name": "id",
          "in": "path",
          "required": true,
          "description": "ID de la facture",
          "style": "matrix"
        }
      ],
      "get": {
        "summary": "Récupération d'une facture",
        "responses": {
          "200": {
            "description": "Facture au format binaire encodé en base 64. "
          }
        },
        "operationId": "get-accountings-invoices-id",
        "description": "Récupère la facture au format PDF.",
        "parameters": [],
        "tags": [
          "Comptabilité"
        ]
      }
    },
    "/accountings/entries": {
      "get": {
        "summary": "Récupère les écritures comptables sur une période donnée.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountingEntry"
                  }
                },
                "examples": {
                  "example": {
                    "value": [
                      {
                        "journal": "VEL",
                        "date": "24/12/2019",
                        "reference": "FA-1001",
                        "number": "411GAUTIE",
                        "name": "Facture FA-1001",
                        "customer_name": "Sylvain Gautier",
                        "debit": "452,00",
                        "credit": "0,00",
                        "code": "",
                        "lettering_alpha": "A",
                        "quantity": "36,00",
                        "internal_reference": "89510"
                      },
                      {
                        "journal": "VEL",
                        "date": "24/12/2019",
                        "reference": "FA-1001",
                        "number": "7010060",
                        "name": "Vin",
                        "customer_name": "Sylvain Gautier",
                        "debit": "0,00",
                        "credit": "360,00",
                        "code": "V1",
                        "lettering_alpha": "",
                        "quantity": "36,00",
                        "internal_reference": "89510"
                      },
                      {
                        "journal": "VEL",
                        "date": "24/12/2019",
                        "reference": "FA-1001",
                        "number": "7010080",
                        "name": "Livraison",
                        "customer_name": "Sylvain Gautier",
                        "debit": "0,00",
                        "credit": "16,67",
                        "code": "V1",
                        "lettering_alpha": "",
                        "quantity": "1",
                        "internal_reference": "89510"
                      },
                      {
                        "journal": "VEL",
                        "date": "24/12/2019",
                        "reference": "FA-1001",
                        "number": "4457150",
                        "name": "TVA France (20,00%)",
                        "customer_name": "Sylvain Gautier",
                        "debit": "0,00",
                        "credit": "75,33",
                        "code": "",
                        "lettering_alpha": "",
                        "quantity": "",
                        "internal_reference": "89510"
                      },
                      {
                        "journal": "B01",
                        "date": "24/12/2019",
                        "reference": "40977",
                        "number": "411GAUTIE",
                        "name": "Carte Bancaire : FA-1001",
                        "customer_name": "Sylvain Gautier",
                        "debit": "0,00",
                        "credit": "452,00",
                        "code": "",
                        "lettering_alpha": "A",
                        "quantity": "",
                        "internal_reference": "40977"
                      },
                      {
                        "journal": "B01",
                        "date": "24/12/2019",
                        "reference": "40977",
                        "number": "5111000",
                        "name": "Carte Bancaire : FA-1001",
                        "customer_name": "Sylvain Gautier",
                        "debit": "452,00",
                        "credit": "0,00",
                        "code": "",
                        "lettering_alpha": "",
                        "quantity": "",
                        "internal_reference": "40977"
                      }
                    ]
                  }
                }
              }
            }
          }
        },
        "operationId": "get-accountings-entries",
        "parameters": [
          {
            "schema": {
              "type": "string"
            },
            "in": "query",
            "name": "start_date",
            "required": true,
            "description": " date de début de la période récupérée"
          },
          {
            "schema": {
              "type": "string"
            },
            "in": "query",
            "name": "end_date",
            "required": true,
            "description": "date de fin de la période récupérée"
          }
        ],
        "description": "Récupère les écritures comptables sur une période donnée. ",
        "tags": [
          "Comptabilité"
        ]
      }
    },
    "/capsules": {
      "get": {
        "summary": "Liste des capsules",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Capsule"
                  }
                },
                "examples": {
                  "example": {
                    "value": [
                      {
                        "id": 31,
                        "account_id": 86,
                        "color": "blue",
                        "deleted_at": null,
                        "created_at": "2017-09-15T16:32:10.397+02:00",
                        "updated_at": "2019-10-09T16:53:22.428+02:00",
                        "kind": "collective",
                        "label": "",
                        "product_category_id": null,
                        "name": "Bleue (C)"
                      },
                      {
                        "id": 22,
                        "account_id": 86,
                        "color": "green",
                        "deleted_at": null,
                        "created_at": "2017-05-24T11:42:50.031+02:00",
                        "updated_at": "2019-10-09T16:53:21.878+02:00",
                        "kind": "collective",
                        "label": null,
                        "product_category_id": null,
                        "name": "Verte (C)"
                      },
                      {
                        "id": 38,
                        "account_id": 86,
                        "color": "green",
                        "deleted_at": null,
                        "created_at": "2017-12-14T19:17:20.468+01:00",
                        "updated_at": "2019-10-09T16:53:22.708+02:00",
                        "kind": "custom",
                        "label": "",
                        "product_category_id": null,
                        "name": "Verte (P)"
                      },
                      {
                        "id": 43,
                        "account_id": 86,
                        "color": "none",
                        "deleted_at": null,
                        "created_at": "2018-01-09T17:19:12.592+01:00",
                        "updated_at": "2019-10-09T16:53:22.987+02:00",
                        "kind": "collective",
                        "label": "",
                        "product_category_id": null,
                        "name": "Neutre (C)"
                      },
                      {
                        "id": 32,
                        "account_id": 86,
                        "color": "none",
                        "deleted_at": null,
                        "created_at": "2017-09-15T16:32:29.307+02:00",
                        "updated_at": "2019-10-09T16:53:22.493+02:00",
                        "kind": "collective",
                        "label": "Transparente Thermo",
                        "product_category_id": null,
                        "name": "Transparente Thermo - Neutre (C)"
                      },
                      {
                        "id": 37,
                        "account_id": 86,
                        "color": "wine",
                        "deleted_at": null,
                        "created_at": "2017-11-29T12:13:33.261+01:00",
                        "updated_at": "2019-10-09T16:53:22.657+02:00",
                        "kind": "collective",
                        "label": "",
                        "product_category_id": null,
                        "name": "Rouge lie-de-vin (C)"
                      }
                    ]
                  }
                }
              }
            }
          }
        },
        "operationId": "get-capsules",
        "description": "Liste des capsules",
        "tags": [
          "Capsules"
        ]
      }
    },
    "/product_families": {
      "get": {
        "summary": "Liste des familles de produits",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProductFamily"
                  }
                },
                "examples": {
                  "example": {
                    "value": [
                      {
                        "id": 511,
                        "account_id": 86,
                        "name": "Vin",
                        "handle": "standard",
                        "displayed": true,
                        "deletable": false,
                        "deleted_at": null,
                        "created_at": "2017-07-19T12:11:43.222+02:00",
                        "updated_at": "2018-09-04T23:10:57.954+02:00",
                        "position": 10,
                        "inventory": true,
                        "kind": "standard"
                      },
                      {
                        "id": 512,
                        "account_id": 86,
                        "name": "Coffret",
                        "handle": "pack",
                        "displayed": true,
                        "deletable": false,
                        "deleted_at": null,
                        "created_at": "2017-07-19T12:11:43.226+02:00",
                        "updated_at": "2018-09-04T23:10:57.959+02:00",
                        "position": 9,
                        "inventory": true,
                        "kind": "pack"
                      },
                      {
                        "id": 611,
                        "account_id": 86,
                        "name": "Ateliers",
                        "handle": "ateliers",
                        "displayed": true,
                        "deletable": true,
                        "deleted_at": null,
                        "created_at": "2017-09-26T19:12:43.254+02:00",
                        "updated_at": "2018-09-04T23:10:58.392+02:00",
                        "position": 0,
                        "inventory": false,
                        "kind": "other"
                      },
                      {
                        "id": 514,
                        "account_id": 86,
                        "name": "Avoir",
                        "handle": "refund",
                        "displayed": true,
                        "deletable": false,
                        "deleted_at": null,
                        "created_at": "2017-07-19T12:11:43.246+02:00",
                        "updated_at": "2018-11-13T18:34:39.710+01:00",
                        "position": 0,
                        "inventory": false,
                        "kind": "other"
                      },
                      {
                        "id": 610,
                        "account_id": 86,
                        "name": "Boutique",
                        "handle": "boutique",
                        "displayed": false,
                        "deletable": true,
                        "deleted_at": null,
                        "created_at": "2017-09-26T19:12:24.285+02:00",
                        "updated_at": "2018-09-04T23:10:59.893+02:00",
                        "position": 0,
                        "inventory": true,
                        "kind": "other"
                      },
                      {
                        "id": 609,
                        "account_id": 86,
                        "name": "Caisses bois",
                        "handle": "conditionnements",
                        "displayed": true,
                        "deletable": true,
                        "deleted_at": null,
                        "created_at": "2017-09-14T14:32:01.057+02:00",
                        "updated_at": "2018-09-04T23:10:58.386+02:00",
                        "position": 0,
                        "inventory": true,
                        "kind": "other"
                      },
                      {
                        "id": 2761,
                        "account_id": 86,
                        "name": "Champagne",
                        "handle": "champagne",
                        "displayed": true,
                        "deletable": true,
                        "deleted_at": null,
                        "created_at": "2019-10-17T14:10:31.077+02:00",
                        "updated_at": "2019-10-17T14:10:31.077+02:00",
                        "position": 0,
                        "inventory": true,
                        "kind": "standard"
                      },
                      {
                        "id": 516,
                        "account_id": 86,
                        "name": "Commission",
                        "handle": "commission",
                        "displayed": false,
                        "deletable": false,
                        "deleted_at": null,
                        "created_at": "2017-07-19T12:11:43.258+02:00",
                        "updated_at": "2018-09-04T23:10:58.080+02:00",
                        "position": 0,
                        "inventory": false,
                        "kind": "other"
                      },
                      {
                        "id": 612,
                        "account_id": 86,
                        "name": "Formules",
                        "handle": "formules",
                        "displayed": false,
                        "deletable": true,
                        "deleted_at": null,
                        "created_at": "2017-09-26T19:12:56.887+02:00",
                        "updated_at": "2018-09-04T23:10:58.576+02:00",
                        "position": 0,
                        "inventory": false,
                        "kind": "other"
                      },
                      {
                        "id": 1504,
                        "account_id": 86,
                        "name": "Port fournisseurs",
                        "handle": "port-fournisseurs",
                        "displayed": true,
                        "deletable": true,
                        "deleted_at": null,
                        "created_at": "2018-07-04T10:40:22.083+02:00",
                        "updated_at": "2018-09-04T23:11:03.542+02:00",
                        "position": 0,
                        "inventory": true,
                        "kind": "other"
                      },
                      {
                        "id": 851,
                        "account_id": 86,
                        "name": "Prestation",
                        "handle": "service",
                        "displayed": true,
                        "deletable": true,
                        "deleted_at": null,
                        "created_at": "2017-12-28T15:31:00.557+01:00",
                        "updated_at": "2018-09-04T23:11:00.175+02:00",
                        "position": 0,
                        "inventory": false,
                        "kind": "other"
                      },
                      {
                        "id": 515,
                        "account_id": 86,
                        "name": "Remise / Promotion",
                        "handle": "discount",
                        "displayed": false,
                        "deletable": false,
                        "deleted_at": null,
                        "created_at": "2017-07-19T12:11:43.254+02:00",
                        "updated_at": "2018-09-04T23:10:58.086+02:00",
                        "position": 0,
                        "inventory": false,
                        "kind": "other"
                      },
                      {
                        "id": 2762,
                        "account_id": 86,
                        "name": "Spiritueux",
                        "handle": "spiritueux",
                        "displayed": true,
                        "deletable": true,
                        "deleted_at": null,
                        "created_at": "2019-10-17T14:10:46.023+02:00",
                        "updated_at": "2019-10-17T14:10:46.023+02:00",
                        "position": 0,
                        "inventory": true,
                        "kind": "standard"
                      },
                      {
                        "id": 1421,
                        "account_id": 86,
                        "name": "Taxes",
                        "handle": "taxes",
                        "displayed": true,
                        "deletable": true,
                        "deleted_at": null,
                        "created_at": "2018-06-05T11:15:47.506+02:00",
                        "updated_at": "2018-09-04T23:11:03.158+02:00",
                        "position": 0,
                        "inventory": false,
                        "kind": "other"
                      },
                      {
                        "id": 513,
                        "account_id": 86,
                        "name": "Transport",
                        "handle": "transport",
                        "displayed": false,
                        "deletable": false,
                        "deleted_at": null,
                        "created_at": "2017-07-19T12:11:43.231+02:00",
                        "updated_at": "2018-09-04T23:10:58.089+02:00",
                        "position": 0,
                        "inventory": false,
                        "kind": "other"
                      }
                    ]
                  }
                }
              }
            }
          }
        },
        "operationId": "get-product_families",
        "description": "",
        "tags": [
          "Produits"
        ]
      }
    },
    "/product_packagings": {
      "get": {
        "summary": "Liste des conditionnements",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProductPackaging"
                  }
                }
              }
            }
          }
        },
        "operationId": "get-product_packagings",
        "description": "Récupération de la liste des conditionnements.",
        "tags": [
          "Conditionnements"
        ]
      }
    },
    "/product_variants": {
      "get": {
        "summary": "Liste des variantes produits",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProductVariant"
                  }
                },
                "examples": {
                  "example": {
                    "value": [
                      {
                        "id": 165,
                        "product_size_id": 2,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2017-05-24T11:15:03.105+02:00",
                        "updated_at": "2019-09-06T09:44:46.934+02:00",
                        "product_packaging_id": 482,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 145,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": "",
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": 2016,
                        "stock_all": "11787.0",
                        "product": {
                          "id": 130,
                          "account_id": 86,
                          "name": "Vin de pays Chardonnay",
                          "product_color_id": 2,
                          "created_at": "2017-05-24T11:15:02.992+02:00",
                          "updated_at": "2018-09-04T23:11:05.690+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 3,
                          "inao_appellation_id": 6,
                          "inao_denomination_id": 15,
                          "inao_product_id": 100,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": null,
                          "interprofessional_code": null,
                          "vinosoft_id": null,
                          "zone_code": null,
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "IGP Val de Loire Maine-et-Loire",
                          "product_color": {
                            "id": 2,
                            "name": "Blanc",
                            "position": 1,
                            "created_at": "2015-06-30T14:39:54.120+02:00",
                            "updated_at": "2018-09-28T17:31:41.763+02:00",
                            "handle": "white"
                          }
                        },
                        "product_vintage": {
                          "id": 145,
                          "product_id": 130,
                          "vintage": 2016,
                          "summary": "",
                          "body_html": "<p>Mon super vin.</p>",
                          "abv": null,
                          "created_at": "2017-05-24T11:15:03.071+02:00",
                          "updated_at": "2019-09-06T09:49:34.491+02:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "Syrah",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "12 mois en barrique.",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "10°",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": "",
                          "parent_id": null,
                          "product_images": [
                            {
                              "id": 19,
                              "position": 1,
                              "alt": null,
                              "image_url": "https://vinosoft-staging.s3-eu-west-3.amazonaws.com/uploads/product_image/image/19/vin-de-pays-chardonnay-2016.jpg?X-Amz-Expires=600&X-Amz-Date=20200616T153126Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJQAEM4Z3DPIKNLLQ%2F20200616%2Feu-west-3%2Fs3%2Faws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=549c09102178738aef06d4f746a090028bb7f02743037a340f955b82156c1f77"
                            }
                          ]
                        },
                        "product_size": {
                          "id": 2,
                          "name": "Bouteille (75 cl)",
                          "position": 0,
                          "milliliters": 750,
                          "created_at": "2015-06-30T14:39:54.153+02:00",
                          "updated_at": "2016-06-06T16:08:31.135+02:00",
                          "short_name": "75 cl",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 482,
                          "account_id": 86,
                          "name": "Unité (C6)",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.233+02:00",
                          "updated_at": "2018-01-16T17:03:33.170+01:00",
                          "deleted_at": null,
                          "packing_quantity": 6,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [
                          {
                            "id": 173,
                            "product_variant_id": 165,
                            "quantity": "1.0",
                            "created_at": "2017-05-24T11:38:34.412+02:00",
                            "updated_at": "2017-05-24T11:39:05.390+02:00",
                            "deleted_at": "2017-05-24T11:39:05.384+02:00",
                            "price_cents": 600,
                            "price_currency": "EUR",
                            "price_grid_id": 108,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 108,
                              "name": "CHR",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.472+02:00",
                              "updated_at": "2019-11-26T12:34:57.350+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "36.0",
                                "1.0",
                                "120.0",
                                "60.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 181,
                            "product_variant_id": 165,
                            "quantity": "1.0",
                            "created_at": "2017-05-24T12:01:48.314+02:00",
                            "updated_at": "2017-05-24T12:01:48.314+02:00",
                            "deleted_at": null,
                            "price_cents": 350,
                            "price_currency": "EUR",
                            "price_grid_id": 108,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 108,
                              "name": "CHR",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.472+02:00",
                              "updated_at": "2019-11-26T12:34:57.350+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "36.0",
                                "1.0",
                                "120.0",
                                "60.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 183,
                            "product_variant_id": 165,
                            "quantity": "36.0",
                            "created_at": "2017-05-24T12:02:01.422+02:00",
                            "updated_at": "2017-05-24T12:02:01.422+02:00",
                            "deleted_at": null,
                            "price_cents": 350,
                            "price_currency": "EUR",
                            "price_grid_id": 108,
                            "customer_id": null,
                            "free_shipping": true,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 108,
                              "name": "CHR",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.472+02:00",
                              "updated_at": "2019-11-26T12:34:57.350+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "36.0",
                                "1.0",
                                "120.0",
                                "60.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 176,
                            "product_variant_id": 165,
                            "quantity": "1.0",
                            "created_at": "2017-05-24T11:41:24.027+02:00",
                            "updated_at": "2017-09-15T10:05:24.508+02:00",
                            "deleted_at": null,
                            "price_cents": 583,
                            "price_currency": "EUR",
                            "price_grid_id": 109,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 700,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 109,
                              "name": "Particulier 2",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.516+02:00",
                              "updated_at": "2020-04-29T06:12:45.597+02:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 1,
                              "calculation_method": "product_variant",
                              "payment_method": "credit_card",
                              "payment_period": "at_once",
                              "displayed": false,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 645
                            }
                          },
                          {
                            "id": 185,
                            "product_variant_id": 165,
                            "quantity": "60.0",
                            "created_at": "2017-05-24T12:02:12.447+02:00",
                            "updated_at": "2018-01-19T14:03:52.771+01:00",
                            "deleted_at": "2018-01-19T14:03:52.767+01:00",
                            "price_cents": 330,
                            "price_currency": "EUR",
                            "price_grid_id": 108,
                            "customer_id": null,
                            "free_shipping": true,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 108,
                              "name": "CHR",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.472+02:00",
                              "updated_at": "2019-11-26T12:34:57.350+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "36.0",
                                "1.0",
                                "120.0",
                                "60.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          }
                        ],
                        "catalogs": [
                          {
                            "id": 231,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2017-11-26T23:32:34.566+01:00",
                            "updated_at": "2017-11-26T23:32:34.566+01:00",
                            "price_grid_id": null,
                            "warehouse_id": null,
                            "catalogable_id": 102,
                            "catalogable_type": "Register"
                          },
                          {
                            "id": 259,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2017-11-27T09:41:36.659+01:00",
                            "updated_at": "2019-10-15T11:17:19.090+02:00",
                            "price_grid_id": 761,
                            "warehouse_id": 87,
                            "catalogable_id": 130,
                            "catalogable_type": "Register"
                          },
                          {
                            "id": 86,
                            "account_id": 86,
                            "name": "Site web",
                            "handle": "site-web",
                            "deletable": false,
                            "deleted_at": null,
                            "created_at": "2017-05-24T11:01:47.901+02:00",
                            "updated_at": "2019-01-28T19:08:23.079+01:00",
                            "price_grid_id": 109,
                            "warehouse_id": 86,
                            "catalogable_id": 86,
                            "catalogable_type": "Website"
                          },
                          {
                            "id": 990,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2019-11-26T09:26:00.485+01:00",
                            "updated_at": "2019-11-26T09:26:00.485+01:00",
                            "price_grid_id": 761,
                            "warehouse_id": 86,
                            "catalogable_id": 510,
                            "catalogable_type": "Register"
                          }
                        ]
                      },
                      {
                        "id": 3011,
                        "product_size_id": 3,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2019-09-06T09:45:16.270+02:00",
                        "updated_at": "2019-09-06T09:45:16.270+02:00",
                        "product_packaging_id": 484,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 145,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": "",
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": 2016,
                        "stock_all": "0.0",
                        "product": {
                          "id": 130,
                          "account_id": 86,
                          "name": "Vin de pays Chardonnay",
                          "product_color_id": 2,
                          "created_at": "2017-05-24T11:15:02.992+02:00",
                          "updated_at": "2018-09-04T23:11:05.690+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 3,
                          "inao_appellation_id": 6,
                          "inao_denomination_id": 15,
                          "inao_product_id": 100,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": null,
                          "interprofessional_code": null,
                          "vinosoft_id": null,
                          "zone_code": null,
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "IGP Val de Loire Maine-et-Loire",
                          "product_color": {
                            "id": 2,
                            "name": "Blanc",
                            "position": 1,
                            "created_at": "2015-06-30T14:39:54.120+02:00",
                            "updated_at": "2018-09-28T17:31:41.763+02:00",
                            "handle": "white"
                          }
                        },
                        "product_vintage": {
                          "id": 145,
                          "product_id": 130,
                          "vintage": 2016,
                          "summary": "",
                          "body_html": "<p>Mon super vin.</p>",
                          "abv": null,
                          "created_at": "2017-05-24T11:15:03.071+02:00",
                          "updated_at": "2019-09-06T09:49:34.491+02:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "Syrah",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "12 mois en barrique.",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "10°",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": "",
                          "parent_id": null,
                          "product_images": [
                            {
                              "id": 19,
                              "position": 1,
                              "alt": null,
                              "image_url": "https://vinosoft-staging.s3-eu-west-3.amazonaws.com/uploads/product_image/image/19/vin-de-pays-chardonnay-2016.jpg?X-Amz-Expires=600&X-Amz-Date=20200616T153126Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJQAEM4Z3DPIKNLLQ%2F20200616%2Feu-west-3%2Fs3%2Faws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=549c09102178738aef06d4f746a090028bb7f02743037a340f955b82156c1f77"
                            }
                          ]
                        },
                        "product_size": {
                          "id": 3,
                          "name": "Magnum (1,5 l)",
                          "position": 2,
                          "milliliters": 1500,
                          "created_at": "2015-06-30T14:39:54.159+02:00",
                          "updated_at": "2015-10-16T09:13:12.025+02:00",
                          "short_name": "1,5 l",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 484,
                          "account_id": 86,
                          "name": "Carton 6",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.282+02:00",
                          "updated_at": "2018-10-10T14:57:15.759+02:00",
                          "deleted_at": null,
                          "packing_quantity": 6,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [],
                        "catalogs": [
                          {
                            "id": 86,
                            "account_id": 86,
                            "name": "Site web",
                            "handle": "site-web",
                            "deletable": false,
                            "deleted_at": null,
                            "created_at": "2017-05-24T11:01:47.901+02:00",
                            "updated_at": "2019-01-28T19:08:23.079+01:00",
                            "price_grid_id": 109,
                            "warehouse_id": 86,
                            "catalogable_id": 86,
                            "catalogable_type": "Website"
                          },
                          {
                            "id": 259,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2017-11-27T09:41:36.659+01:00",
                            "updated_at": "2019-10-15T11:17:19.090+02:00",
                            "price_grid_id": 761,
                            "warehouse_id": 87,
                            "catalogable_id": 130,
                            "catalogable_type": "Register"
                          },
                          {
                            "id": 231,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2017-11-26T23:32:34.566+01:00",
                            "updated_at": "2017-11-26T23:32:34.566+01:00",
                            "price_grid_id": null,
                            "warehouse_id": null,
                            "catalogable_id": 102,
                            "catalogable_type": "Register"
                          }
                        ]
                      },
                      {
                        "id": 278,
                        "product_size_id": null,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2017-09-14T14:37:49.188+02:00",
                        "updated_at": "2017-09-14T14:37:49.188+02:00",
                        "product_packaging_id": 482,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 216,
                        "nc8_code": null,
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": null,
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": null,
                        "stock_all": "0.0",
                        "product": {
                          "id": 183,
                          "account_id": 86,
                          "name": "Coffret Réserve - Rosé - Tradition",
                          "product_color_id": null,
                          "created_at": "2017-09-14T14:37:48.753+02:00",
                          "updated_at": "2018-11-12T12:08:22.612+01:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": null,
                          "country_code": null,
                          "classification": null,
                          "position": 0,
                          "product_certification_id": null,
                          "inao_appellation_id": null,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": null,
                          "kind": "pack",
                          "capsule_id": 22,
                          "interprofessional_code": null,
                          "vinosoft_id": null,
                          "zone_code": null,
                          "product_family_id": 512,
                          "neutral_capsule_id": null,
                          "appellation": null
                        },
                        "product_vintage": {
                          "id": 216,
                          "product_id": 183,
                          "vintage": null,
                          "summary": "",
                          "body_html": null,
                          "abv": null,
                          "created_at": "2017-09-14T14:37:49.058+02:00",
                          "updated_at": "2017-09-14T14:37:49.058+02:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": null,
                          "vineyard_work": null,
                          "winemaking": null,
                          "wine_ageing": null,
                          "wine_preparation": null,
                          "bottling": null,
                          "traceability": null,
                          "operating_temperature": null,
                          "tasting_advice": null,
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_packaging": {
                          "id": 482,
                          "account_id": 86,
                          "name": "Unité (C6)",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.233+02:00",
                          "updated_at": "2018-01-16T17:03:33.170+01:00",
                          "deleted_at": null,
                          "packing_quantity": 6,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [
                          {
                            "id": 276,
                            "product_variant_id": 278,
                            "quantity": "1.0",
                            "created_at": "2017-10-25T14:30:48.992+02:00",
                            "updated_at": "2017-10-25T14:30:55.068+02:00",
                            "deleted_at": "2017-10-25T14:30:55.062+02:00",
                            "price_cents": 1600,
                            "price_currency": "EUR",
                            "price_grid_id": 108,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 108,
                              "name": "CHR",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.472+02:00",
                              "updated_at": "2019-11-26T12:34:57.350+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "36.0",
                                "1.0",
                                "120.0",
                                "60.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          }
                        ],
                        "catalogs": []
                      },
                      {
                        "id": 280,
                        "product_size_id": null,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2017-09-15T09:47:53.192+02:00",
                        "updated_at": "2017-09-15T09:47:53.192+02:00",
                        "product_packaging_id": null,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 218,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": null,
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": null,
                        "stock_all": "-48.0",
                        "product": {
                          "id": 185,
                          "account_id": 86,
                          "name": "Caisse bois 12",
                          "product_color_id": null,
                          "created_at": "2017-09-15T09:47:53.180+02:00",
                          "updated_at": "2018-09-04T23:11:06.176+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": null,
                          "country_code": null,
                          "classification": null,
                          "position": 0,
                          "product_certification_id": null,
                          "inao_appellation_id": null,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": null,
                          "kind": "other",
                          "capsule_id": null,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": null,
                          "product_family_id": 609,
                          "neutral_capsule_id": null,
                          "appellation": null
                        },
                        "product_vintage": {
                          "id": 218,
                          "product_id": 185,
                          "vintage": null,
                          "summary": "",
                          "body_html": null,
                          "abv": null,
                          "created_at": "2017-09-15T09:47:53.188+02:00",
                          "updated_at": "2017-09-15T09:47:53.188+02:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": null,
                          "vineyard_work": null,
                          "winemaking": null,
                          "wine_ageing": null,
                          "wine_preparation": null,
                          "bottling": null,
                          "traceability": null,
                          "operating_temperature": null,
                          "tasting_advice": null,
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_prices": [
                          {
                            "id": 321,
                            "product_variant_id": 280,
                            "quantity": "10.0",
                            "created_at": "2017-12-16T23:42:56.634+01:00",
                            "updated_at": "2018-01-19T13:58:51.006+01:00",
                            "deleted_at": "2018-01-19T13:58:50.997+01:00",
                            "price_cents": 300,
                            "price_currency": "EUR",
                            "price_grid_id": 108,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 100,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 108,
                              "name": "CHR",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.472+02:00",
                              "updated_at": "2019-11-26T12:34:57.350+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "36.0",
                                "1.0",
                                "120.0",
                                "60.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 320,
                            "product_variant_id": 280,
                            "quantity": "1.0",
                            "created_at": "2017-12-16T23:42:13.357+01:00",
                            "updated_at": "2018-01-19T13:58:54.815+01:00",
                            "deleted_at": "2018-01-19T13:58:54.812+01:00",
                            "price_cents": 0,
                            "price_currency": "EUR",
                            "price_grid_id": 108,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 108,
                              "name": "CHR",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.472+02:00",
                              "updated_at": "2019-11-26T12:34:57.350+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "36.0",
                                "1.0",
                                "120.0",
                                "60.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 698,
                            "product_variant_id": 280,
                            "quantity": "10.0",
                            "created_at": "2018-06-18T16:39:27.506+02:00",
                            "updated_at": "2018-06-18T16:39:27.506+02:00",
                            "deleted_at": null,
                            "price_cents": 100,
                            "price_currency": "EUR",
                            "price_grid_id": 440,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 440,
                              "name": "Fournisseur",
                              "deleted_at": null,
                              "created_at": "2018-06-18T16:39:27.428+02:00",
                              "updated_at": "2019-02-05T16:28:17.799+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": null,
                              "calculation_method": null,
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": false,
                              "quantities": [
                                "1.0",
                                "10.0",
                                "36.0"
                              ],
                              "supplier": true,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          }
                        ],
                        "catalogs": []
                      },
                      {
                        "id": 282,
                        "product_size_id": 2,
                        "sku": "HAR16B",
                        "default_barcode": "",
                        "created_at": "2017-09-15T18:09:32.952+02:00",
                        "updated_at": "2017-09-15T18:09:32.952+02:00",
                        "product_packaging_id": 482,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 219,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": null,
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": 2016,
                        "stock_all": "-82.0",
                        "product": {
                          "id": 186,
                          "account_id": 86,
                          "name": "Cuvée Harmonie",
                          "product_color_id": 2,
                          "created_at": "2017-09-15T18:09:32.872+02:00",
                          "updated_at": "2018-09-04T23:11:06.185+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 1,
                          "inao_appellation_id": 141,
                          "inao_denomination_id": 302,
                          "inao_product_id": 1712,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": 22,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": null,
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOC Anjou",
                          "product_color": {
                            "id": 2,
                            "name": "Blanc",
                            "position": 1,
                            "created_at": "2015-06-30T14:39:54.120+02:00",
                            "updated_at": "2018-09-28T17:31:41.763+02:00",
                            "handle": "white"
                          }
                        },
                        "product_vintage": {
                          "id": 219,
                          "product_id": 186,
                          "vintage": 2016,
                          "summary": "",
                          "body_html": "<p><br></p>",
                          "abv": "12.5",
                          "created_at": "2017-09-15T18:09:32.939+02:00",
                          "updated_at": "2017-09-15T18:09:32.939+02:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 2,
                          "name": "Bouteille (75 cl)",
                          "position": 0,
                          "milliliters": 750,
                          "created_at": "2015-06-30T14:39:54.153+02:00",
                          "updated_at": "2016-06-06T16:08:31.135+02:00",
                          "short_name": "75 cl",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 482,
                          "account_id": 86,
                          "name": "Unité (C6)",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.233+02:00",
                          "updated_at": "2018-01-16T17:03:33.170+01:00",
                          "deleted_at": null,
                          "packing_quantity": 6,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [
                          {
                            "id": 277,
                            "product_variant_id": 282,
                            "quantity": "1.0",
                            "created_at": "2017-10-26T13:53:52.426+02:00",
                            "updated_at": "2017-10-26T13:53:52.426+02:00",
                            "deleted_at": null,
                            "price_cents": 667,
                            "price_currency": "EUR",
                            "price_grid_id": 109,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 800,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 109,
                              "name": "Particulier 2",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.516+02:00",
                              "updated_at": "2020-04-29T06:12:45.597+02:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 1,
                              "calculation_method": "product_variant",
                              "payment_method": "credit_card",
                              "payment_period": "at_once",
                              "displayed": false,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 645
                            }
                          },
                          {
                            "id": 2498,
                            "product_variant_id": 282,
                            "quantity": "1.0",
                            "created_at": "2019-10-10T14:36:25.172+02:00",
                            "updated_at": "2019-10-10T14:36:25.172+02:00",
                            "deleted_at": null,
                            "price_cents": 1200,
                            "price_currency": "EUR",
                            "price_grid_id": 226,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 226,
                              "name": "Degustation",
                              "deleted_at": null,
                              "created_at": "2017-12-20T08:31:10.312+01:00",
                              "updated_at": "2019-06-03T11:11:10.375+02:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 2499,
                            "product_variant_id": 282,
                            "quantity": "1.0",
                            "created_at": "2019-10-10T14:36:32.597+02:00",
                            "updated_at": "2019-10-10T14:36:32.597+02:00",
                            "deleted_at": null,
                            "price_cents": 800,
                            "price_currency": "EUR",
                            "price_grid_id": 149,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 149,
                              "name": "Export",
                              "deleted_at": null,
                              "created_at": "2017-09-26T19:08:50.486+02:00",
                              "updated_at": "2020-04-29T06:12:56.472+02:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": "transfer",
                              "payment_period": "",
                              "displayed": true,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 649
                            }
                          },
                          {
                            "id": 2500,
                            "product_variant_id": 282,
                            "quantity": "1.0",
                            "created_at": "2019-10-10T14:36:38.127+02:00",
                            "updated_at": "2019-10-10T14:36:38.127+02:00",
                            "deleted_at": null,
                            "price_cents": 1322,
                            "price_currency": "EUR",
                            "price_grid_id": 761,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 1600,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 761,
                              "name": "Particulier",
                              "deleted_at": null,
                              "created_at": "2019-02-26T17:51:07.692+01:00",
                              "updated_at": "2019-02-26T17:51:07.692+01:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 2,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          }
                        ],
                        "catalogs": [
                          {
                            "id": 231,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2017-11-26T23:32:34.566+01:00",
                            "updated_at": "2017-11-26T23:32:34.566+01:00",
                            "price_grid_id": null,
                            "warehouse_id": null,
                            "catalogable_id": 102,
                            "catalogable_type": "Register"
                          },
                          {
                            "id": 259,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2017-11-27T09:41:36.659+01:00",
                            "updated_at": "2019-10-15T11:17:19.090+02:00",
                            "price_grid_id": 761,
                            "warehouse_id": 87,
                            "catalogable_id": 130,
                            "catalogable_type": "Register"
                          }
                        ]
                      },
                      {
                        "id": 283,
                        "product_size_id": 3,
                        "sku": "HAR16M",
                        "default_barcode": "",
                        "created_at": "2017-09-16T18:21:03.180+02:00",
                        "updated_at": "2017-09-16T18:21:03.180+02:00",
                        "product_packaging_id": 482,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 219,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": null,
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": 2016,
                        "stock_all": "1630.0",
                        "product": {
                          "id": 186,
                          "account_id": 86,
                          "name": "Cuvée Harmonie",
                          "product_color_id": 2,
                          "created_at": "2017-09-15T18:09:32.872+02:00",
                          "updated_at": "2018-09-04T23:11:06.185+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 1,
                          "inao_appellation_id": 141,
                          "inao_denomination_id": 302,
                          "inao_product_id": 1712,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": 22,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": null,
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOC Anjou",
                          "product_color": {
                            "id": 2,
                            "name": "Blanc",
                            "position": 1,
                            "created_at": "2015-06-30T14:39:54.120+02:00",
                            "updated_at": "2018-09-28T17:31:41.763+02:00",
                            "handle": "white"
                          }
                        },
                        "product_vintage": {
                          "id": 219,
                          "product_id": 186,
                          "vintage": 2016,
                          "summary": "",
                          "body_html": "<p><br></p>",
                          "abv": "12.5",
                          "created_at": "2017-09-15T18:09:32.939+02:00",
                          "updated_at": "2017-09-15T18:09:32.939+02:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 3,
                          "name": "Magnum (1,5 l)",
                          "position": 2,
                          "milliliters": 1500,
                          "created_at": "2015-06-30T14:39:54.159+02:00",
                          "updated_at": "2015-10-16T09:13:12.025+02:00",
                          "short_name": "1,5 l",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 482,
                          "account_id": 86,
                          "name": "Unité (C6)",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.233+02:00",
                          "updated_at": "2018-01-16T17:03:33.170+01:00",
                          "deleted_at": null,
                          "packing_quantity": 6,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [
                          {
                            "id": 278,
                            "product_variant_id": 283,
                            "quantity": "1.0",
                            "created_at": "2017-10-26T13:53:59.274+02:00",
                            "updated_at": "2017-10-26T13:53:59.274+02:00",
                            "deleted_at": null,
                            "price_cents": 1333,
                            "price_currency": "EUR",
                            "price_grid_id": 109,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 1600,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 109,
                              "name": "Particulier 2",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.516+02:00",
                              "updated_at": "2020-04-29T06:12:45.597+02:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 1,
                              "calculation_method": "product_variant",
                              "payment_method": "credit_card",
                              "payment_period": "at_once",
                              "displayed": false,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 645
                            }
                          }
                        ],
                        "catalogs": [
                          {
                            "id": 231,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2017-11-26T23:32:34.566+01:00",
                            "updated_at": "2017-11-26T23:32:34.566+01:00",
                            "price_grid_id": null,
                            "warehouse_id": null,
                            "catalogable_id": 102,
                            "catalogable_type": "Register"
                          }
                        ]
                      },
                      {
                        "id": 5280,
                        "product_size_id": 2,
                        "sku": "HAR17B",
                        "default_barcode": "",
                        "created_at": "2019-10-10T14:36:01.723+02:00",
                        "updated_at": "2019-10-10T14:36:01.723+02:00",
                        "product_packaging_id": 482,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 3668,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": null,
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": 2017,
                        "stock_all": "0.0",
                        "product": {
                          "id": 186,
                          "account_id": 86,
                          "name": "Cuvée Harmonie",
                          "product_color_id": 2,
                          "created_at": "2017-09-15T18:09:32.872+02:00",
                          "updated_at": "2018-09-04T23:11:06.185+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 1,
                          "inao_appellation_id": 141,
                          "inao_denomination_id": 302,
                          "inao_product_id": 1712,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": 22,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": null,
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOC Anjou",
                          "product_color": {
                            "id": 2,
                            "name": "Blanc",
                            "position": 1,
                            "created_at": "2015-06-30T14:39:54.120+02:00",
                            "updated_at": "2018-09-28T17:31:41.763+02:00",
                            "handle": "white"
                          }
                        },
                        "product_vintage": {
                          "id": 3668,
                          "product_id": 186,
                          "vintage": 2017,
                          "summary": null,
                          "body_html": null,
                          "abv": null,
                          "created_at": "2019-10-10T14:36:01.648+02:00",
                          "updated_at": "2019-10-10T14:36:01.648+02:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": null,
                          "vineyard_work": null,
                          "winemaking": null,
                          "wine_ageing": null,
                          "wine_preparation": null,
                          "bottling": null,
                          "traceability": null,
                          "operating_temperature": null,
                          "tasting_advice": null,
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 2,
                          "name": "Bouteille (75 cl)",
                          "position": 0,
                          "milliliters": 750,
                          "created_at": "2015-06-30T14:39:54.153+02:00",
                          "updated_at": "2016-06-06T16:08:31.135+02:00",
                          "short_name": "75 cl",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 482,
                          "account_id": 86,
                          "name": "Unité (C6)",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.233+02:00",
                          "updated_at": "2018-01-16T17:03:33.170+01:00",
                          "deleted_at": null,
                          "packing_quantity": 6,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [
                          {
                            "id": 2501,
                            "product_variant_id": 5280,
                            "quantity": "1.0",
                            "created_at": "2019-10-10T14:36:46.435+02:00",
                            "updated_at": "2019-10-10T14:36:46.435+02:00",
                            "deleted_at": null,
                            "price_cents": 1322,
                            "price_currency": "EUR",
                            "price_grid_id": 761,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 1600,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 761,
                              "name": "Particulier",
                              "deleted_at": null,
                              "created_at": "2019-02-26T17:51:07.692+01:00",
                              "updated_at": "2019-02-26T17:51:07.692+01:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 2,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 2502,
                            "product_variant_id": 5280,
                            "quantity": "1.0",
                            "created_at": "2019-10-10T14:36:46.528+02:00",
                            "updated_at": "2019-10-10T14:36:46.528+02:00",
                            "deleted_at": null,
                            "price_cents": 800,
                            "price_currency": "EUR",
                            "price_grid_id": 149,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 149,
                              "name": "Export",
                              "deleted_at": null,
                              "created_at": "2017-09-26T19:08:50.486+02:00",
                              "updated_at": "2020-04-29T06:12:56.472+02:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": "transfer",
                              "payment_period": "",
                              "displayed": true,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 649
                            }
                          },
                          {
                            "id": 2503,
                            "product_variant_id": 5280,
                            "quantity": "1.0",
                            "created_at": "2019-10-10T14:36:46.616+02:00",
                            "updated_at": "2019-10-10T14:36:46.616+02:00",
                            "deleted_at": null,
                            "price_cents": 1200,
                            "price_currency": "EUR",
                            "price_grid_id": 226,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 226,
                              "name": "Degustation",
                              "deleted_at": null,
                              "created_at": "2017-12-20T08:31:10.312+01:00",
                              "updated_at": "2019-06-03T11:11:10.375+02:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 2496,
                            "product_variant_id": 5280,
                            "quantity": "1.0",
                            "created_at": "2019-10-10T14:36:01.970+02:00",
                            "updated_at": "2019-10-10T14:36:46.729+02:00",
                            "deleted_at": "2019-10-10T14:36:46.686+02:00",
                            "price_cents": 667,
                            "price_currency": "EUR",
                            "price_grid_id": 109,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 800,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 109,
                              "name": "Particulier 2",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.516+02:00",
                              "updated_at": "2020-04-29T06:12:45.597+02:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 1,
                              "calculation_method": "product_variant",
                              "payment_method": "credit_card",
                              "payment_period": "at_once",
                              "displayed": false,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 645
                            }
                          },
                          {
                            "id": 2504,
                            "product_variant_id": 5280,
                            "quantity": "1.0",
                            "created_at": "2019-10-10T14:36:46.820+02:00",
                            "updated_at": "2019-10-10T14:36:46.820+02:00",
                            "deleted_at": null,
                            "price_cents": 667,
                            "price_currency": "EUR",
                            "price_grid_id": 109,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 800,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 109,
                              "name": "Particulier 2",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.516+02:00",
                              "updated_at": "2020-04-29T06:12:45.597+02:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 1,
                              "calculation_method": "product_variant",
                              "payment_method": "credit_card",
                              "payment_period": "at_once",
                              "displayed": false,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 645
                            }
                          }
                        ],
                        "catalogs": []
                      },
                      {
                        "id": 5281,
                        "product_size_id": 3,
                        "sku": "HAR17M",
                        "default_barcode": "",
                        "created_at": "2019-10-10T14:36:02.061+02:00",
                        "updated_at": "2019-10-10T14:36:02.061+02:00",
                        "product_packaging_id": 482,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 3668,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": null,
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": 2017,
                        "stock_all": "0.0",
                        "product": {
                          "id": 186,
                          "account_id": 86,
                          "name": "Cuvée Harmonie",
                          "product_color_id": 2,
                          "created_at": "2017-09-15T18:09:32.872+02:00",
                          "updated_at": "2018-09-04T23:11:06.185+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 1,
                          "inao_appellation_id": 141,
                          "inao_denomination_id": 302,
                          "inao_product_id": 1712,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": 22,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": null,
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOC Anjou",
                          "product_color": {
                            "id": 2,
                            "name": "Blanc",
                            "position": 1,
                            "created_at": "2015-06-30T14:39:54.120+02:00",
                            "updated_at": "2018-09-28T17:31:41.763+02:00",
                            "handle": "white"
                          }
                        },
                        "product_vintage": {
                          "id": 3668,
                          "product_id": 186,
                          "vintage": 2017,
                          "summary": null,
                          "body_html": null,
                          "abv": null,
                          "created_at": "2019-10-10T14:36:01.648+02:00",
                          "updated_at": "2019-10-10T14:36:01.648+02:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": null,
                          "vineyard_work": null,
                          "winemaking": null,
                          "wine_ageing": null,
                          "wine_preparation": null,
                          "bottling": null,
                          "traceability": null,
                          "operating_temperature": null,
                          "tasting_advice": null,
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 3,
                          "name": "Magnum (1,5 l)",
                          "position": 2,
                          "milliliters": 1500,
                          "created_at": "2015-06-30T14:39:54.159+02:00",
                          "updated_at": "2015-10-16T09:13:12.025+02:00",
                          "short_name": "1,5 l",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 482,
                          "account_id": 86,
                          "name": "Unité (C6)",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.233+02:00",
                          "updated_at": "2018-01-16T17:03:33.170+01:00",
                          "deleted_at": null,
                          "packing_quantity": 6,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [
                          {
                            "id": 2497,
                            "product_variant_id": 5281,
                            "quantity": "1.0",
                            "created_at": "2019-10-10T14:36:02.201+02:00",
                            "updated_at": "2019-10-10T14:36:46.999+02:00",
                            "deleted_at": "2019-10-10T14:36:46.960+02:00",
                            "price_cents": 1333,
                            "price_currency": "EUR",
                            "price_grid_id": 109,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 1600,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 109,
                              "name": "Particulier 2",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.516+02:00",
                              "updated_at": "2020-04-29T06:12:45.597+02:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 1,
                              "calculation_method": "product_variant",
                              "payment_method": "credit_card",
                              "payment_period": "at_once",
                              "displayed": false,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 645
                            }
                          },
                          {
                            "id": 2505,
                            "product_variant_id": 5281,
                            "quantity": "1.0",
                            "created_at": "2019-10-10T14:36:47.095+02:00",
                            "updated_at": "2019-10-10T14:36:47.095+02:00",
                            "deleted_at": null,
                            "price_cents": 1333,
                            "price_currency": "EUR",
                            "price_grid_id": 109,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 1600,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 109,
                              "name": "Particulier 2",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.516+02:00",
                              "updated_at": "2020-04-29T06:12:45.597+02:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 1,
                              "calculation_method": "product_variant",
                              "payment_method": "credit_card",
                              "payment_period": "at_once",
                              "displayed": false,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 645
                            }
                          }
                        ],
                        "catalogs": []
                      },
                      {
                        "id": 279,
                        "product_size_id": null,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2017-09-15T09:47:32.571+02:00",
                        "updated_at": "2017-09-15T09:47:32.571+02:00",
                        "product_packaging_id": null,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 217,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": null,
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": null,
                        "stock_all": "0.0",
                        "product": {
                          "id": 184,
                          "account_id": 86,
                          "name": "Caisse bois 6",
                          "product_color_id": null,
                          "created_at": "2017-09-15T09:47:32.548+02:00",
                          "updated_at": "2018-09-04T23:11:06.167+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": null,
                          "country_code": null,
                          "classification": null,
                          "position": 0,
                          "product_certification_id": null,
                          "inao_appellation_id": null,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": null,
                          "kind": "other",
                          "capsule_id": null,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": null,
                          "product_family_id": 609,
                          "neutral_capsule_id": null,
                          "appellation": null
                        },
                        "product_vintage": {
                          "id": 217,
                          "product_id": 184,
                          "vintage": null,
                          "summary": "",
                          "body_html": null,
                          "abv": null,
                          "created_at": "2017-09-15T09:47:32.564+02:00",
                          "updated_at": "2017-09-15T09:47:32.564+02:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": null,
                          "vineyard_work": null,
                          "winemaking": null,
                          "wine_ageing": null,
                          "wine_preparation": null,
                          "bottling": null,
                          "traceability": null,
                          "operating_temperature": null,
                          "tasting_advice": null,
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_prices": [],
                        "catalogs": []
                      },
                      {
                        "id": 284,
                        "product_size_id": null,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2017-09-18T16:23:00.553+02:00",
                        "updated_at": "2017-09-18T16:23:00.553+02:00",
                        "product_packaging_id": null,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 220,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": null,
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": null,
                        "stock_all": "0.0",
                        "product": {
                          "id": 187,
                          "account_id": 86,
                          "name": "mvb",
                          "product_color_id": null,
                          "created_at": "2017-09-18T16:23:00.538+02:00",
                          "updated_at": "2018-09-04T23:11:06.193+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": null,
                          "country_code": null,
                          "classification": null,
                          "position": 0,
                          "product_certification_id": null,
                          "inao_appellation_id": null,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": null,
                          "kind": "other",
                          "capsule_id": null,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": null,
                          "product_family_id": 516,
                          "neutral_capsule_id": null,
                          "appellation": null
                        },
                        "product_vintage": {
                          "id": 220,
                          "product_id": 187,
                          "vintage": null,
                          "summary": "",
                          "body_html": null,
                          "abv": null,
                          "created_at": "2017-09-18T16:23:00.548+02:00",
                          "updated_at": "2017-09-18T16:23:00.548+02:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": null,
                          "vineyard_work": null,
                          "winemaking": null,
                          "wine_ageing": null,
                          "wine_preparation": null,
                          "bottling": null,
                          "traceability": null,
                          "operating_temperature": null,
                          "tasting_advice": null,
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_prices": [],
                        "catalogs": []
                      },
                      {
                        "id": 293,
                        "product_size_id": null,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2017-09-26T19:13:32.296+02:00",
                        "updated_at": "2017-09-26T19:13:32.296+02:00",
                        "product_packaging_id": null,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 226,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": null,
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": null,
                        "stock_all": "-5006.0",
                        "product": {
                          "id": 191,
                          "account_id": 86,
                          "name": "Livre en anglais",
                          "product_color_id": null,
                          "created_at": "2017-09-26T19:13:32.279+02:00",
                          "updated_at": "2018-09-04T23:11:06.232+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "<p>Livre vin anglais&nbsp;</p>",
                          "text": null,
                          "product_category_id": null,
                          "country_code": null,
                          "classification": null,
                          "position": 0,
                          "product_certification_id": null,
                          "inao_appellation_id": null,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": null,
                          "kind": "other",
                          "capsule_id": null,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": null,
                          "product_family_id": 610,
                          "neutral_capsule_id": null,
                          "appellation": null
                        },
                        "product_vintage": {
                          "id": 226,
                          "product_id": 191,
                          "vintage": null,
                          "summary": "",
                          "body_html": null,
                          "abv": null,
                          "created_at": "2017-09-26T19:13:32.293+02:00",
                          "updated_at": "2017-09-26T19:13:32.293+02:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": null,
                          "vineyard_work": null,
                          "winemaking": null,
                          "wine_ageing": null,
                          "wine_preparation": null,
                          "bottling": null,
                          "traceability": null,
                          "operating_temperature": null,
                          "tasting_advice": null,
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_prices": [
                          {
                            "id": 268,
                            "product_variant_id": 293,
                            "quantity": "1.0",
                            "created_at": "2017-09-26T19:13:53.369+02:00",
                            "updated_at": "2017-10-25T14:31:03.209+02:00",
                            "deleted_at": null,
                            "price_cents": 1000,
                            "price_currency": "EUR",
                            "price_grid_id": 109,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 1200,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 109,
                              "name": "Particulier 2",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.516+02:00",
                              "updated_at": "2020-04-29T06:12:45.597+02:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 1,
                              "calculation_method": "product_variant",
                              "payment_method": "credit_card",
                              "payment_period": "at_once",
                              "displayed": false,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 645
                            }
                          }
                        ],
                        "catalogs": []
                      },
                      {
                        "id": 329,
                        "product_size_id": 2,
                        "sku": "CUVCOP1675",
                        "default_barcode": "",
                        "created_at": "2017-11-29T12:12:09.983+01:00",
                        "updated_at": "2017-11-29T12:12:09.983+01:00",
                        "product_packaging_id": 482,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 259,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": null,
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": 2016,
                        "stock_all": "7863.0",
                        "product": {
                          "id": 219,
                          "account_id": 86,
                          "name": "Cuvée des copains",
                          "product_color_id": 1,
                          "created_at": "2017-11-29T12:12:09.944+01:00",
                          "updated_at": "2018-09-04T23:11:06.512+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 6,
                          "inao_appellation_id": null,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": 37,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": null,
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": null,
                          "product_color": {
                            "id": 1,
                            "name": "Rouge",
                            "position": 0,
                            "created_at": "2015-06-30T14:39:54.110+02:00",
                            "updated_at": "2018-09-28T17:31:41.753+02:00",
                            "handle": "red"
                          }
                        },
                        "product_vintage": {
                          "id": 259,
                          "product_id": 219,
                          "vintage": 2016,
                          "summary": "",
                          "body_html": "<p><br></p>",
                          "abv": "12.5",
                          "created_at": "2017-11-29T12:12:09.980+01:00",
                          "updated_at": "2017-11-29T12:12:09.980+01:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 2,
                          "name": "Bouteille (75 cl)",
                          "position": 0,
                          "milliliters": 750,
                          "created_at": "2015-06-30T14:39:54.153+02:00",
                          "updated_at": "2016-06-06T16:08:31.135+02:00",
                          "short_name": "75 cl",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 482,
                          "account_id": 86,
                          "name": "Unité (C6)",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.233+02:00",
                          "updated_at": "2018-01-16T17:03:33.170+01:00",
                          "deleted_at": null,
                          "packing_quantity": 6,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [
                          {
                            "id": 302,
                            "product_variant_id": 329,
                            "quantity": "1.0",
                            "created_at": "2017-11-29T12:47:17.496+01:00",
                            "updated_at": "2017-11-29T12:47:17.496+01:00",
                            "deleted_at": null,
                            "price_cents": 1000,
                            "price_currency": "EUR",
                            "price_grid_id": 109,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 1200,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 109,
                              "name": "Particulier 2",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.516+02:00",
                              "updated_at": "2020-04-29T06:12:45.597+02:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 1,
                              "calculation_method": "product_variant",
                              "payment_method": "credit_card",
                              "payment_period": "at_once",
                              "displayed": false,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 645
                            }
                          }
                        ],
                        "catalogs": [
                          {
                            "id": 231,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2017-11-26T23:32:34.566+01:00",
                            "updated_at": "2017-11-26T23:32:34.566+01:00",
                            "price_grid_id": null,
                            "warehouse_id": null,
                            "catalogable_id": 102,
                            "catalogable_type": "Register"
                          },
                          {
                            "id": 259,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2017-11-27T09:41:36.659+01:00",
                            "updated_at": "2019-10-15T11:17:19.090+02:00",
                            "price_grid_id": 761,
                            "warehouse_id": 87,
                            "catalogable_id": 130,
                            "catalogable_type": "Register"
                          }
                        ]
                      },
                      {
                        "id": 333,
                        "product_size_id": 2,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2017-11-30T11:26:34.055+01:00",
                        "updated_at": "2017-11-30T11:26:34.055+01:00",
                        "product_packaging_id": 482,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 263,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": null,
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": 2015,
                        "stock_all": "1050.0",
                        "product": {
                          "id": 223,
                          "account_id": 86,
                          "name": "Chipie",
                          "product_color_id": 1,
                          "created_at": "2017-11-30T11:26:34.043+01:00",
                          "updated_at": "2018-09-04T23:11:06.549+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 2,
                          "inao_appellation_id": 277,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": 37,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": null,
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOP Languedoc",
                          "product_color": {
                            "id": 1,
                            "name": "Rouge",
                            "position": 0,
                            "created_at": "2015-06-30T14:39:54.110+02:00",
                            "updated_at": "2018-09-28T17:31:41.753+02:00",
                            "handle": "red"
                          }
                        },
                        "product_vintage": {
                          "id": 263,
                          "product_id": 223,
                          "vintage": 2015,
                          "summary": "",
                          "body_html": "<p><br></p>",
                          "abv": null,
                          "created_at": "2017-11-30T11:26:34.051+01:00",
                          "updated_at": "2017-11-30T11:26:34.051+01:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 2,
                          "name": "Bouteille (75 cl)",
                          "position": 0,
                          "milliliters": 750,
                          "created_at": "2015-06-30T14:39:54.153+02:00",
                          "updated_at": "2016-06-06T16:08:31.135+02:00",
                          "short_name": "75 cl",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 482,
                          "account_id": 86,
                          "name": "Unité (C6)",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.233+02:00",
                          "updated_at": "2018-01-16T17:03:33.170+01:00",
                          "deleted_at": null,
                          "packing_quantity": 6,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [
                          {
                            "id": 305,
                            "product_variant_id": 333,
                            "quantity": "1.0",
                            "created_at": "2017-11-30T11:27:57.979+01:00",
                            "updated_at": "2017-11-30T11:27:57.979+01:00",
                            "deleted_at": null,
                            "price_cents": 1250,
                            "price_currency": "EUR",
                            "price_grid_id": 109,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 1500,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 109,
                              "name": "Particulier 2",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.516+02:00",
                              "updated_at": "2020-04-29T06:12:45.597+02:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 1,
                              "calculation_method": "product_variant",
                              "payment_method": "credit_card",
                              "payment_period": "at_once",
                              "displayed": false,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 645
                            }
                          },
                          {
                            "id": 306,
                            "product_variant_id": 333,
                            "quantity": "1.0",
                            "created_at": "2017-11-30T11:28:46.402+01:00",
                            "updated_at": "2017-11-30T11:28:46.402+01:00",
                            "deleted_at": null,
                            "price_cents": 1000,
                            "price_currency": "EUR",
                            "price_grid_id": null,
                            "customer_id": 79,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 1200,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR"
                          }
                        ],
                        "catalogs": []
                      },
                      {
                        "id": 334,
                        "product_size_id": 1,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2017-11-30T11:26:48.121+01:00",
                        "updated_at": "2018-01-16T12:29:09.700+01:00",
                        "product_packaging_id": 886,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 263,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": null,
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": 2015,
                        "stock_all": "5612.0",
                        "product": {
                          "id": 223,
                          "account_id": 86,
                          "name": "Chipie",
                          "product_color_id": 1,
                          "created_at": "2017-11-30T11:26:34.043+01:00",
                          "updated_at": "2018-09-04T23:11:06.549+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 2,
                          "inao_appellation_id": 277,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": 37,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": null,
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOP Languedoc",
                          "product_color": {
                            "id": 1,
                            "name": "Rouge",
                            "position": 0,
                            "created_at": "2015-06-30T14:39:54.110+02:00",
                            "updated_at": "2018-09-28T17:31:41.753+02:00",
                            "handle": "red"
                          }
                        },
                        "product_vintage": {
                          "id": 263,
                          "product_id": 223,
                          "vintage": 2015,
                          "summary": "",
                          "body_html": "<p><br></p>",
                          "abv": null,
                          "created_at": "2017-11-30T11:26:34.051+01:00",
                          "updated_at": "2017-11-30T11:26:34.051+01:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 1,
                          "name": "Demi Bouteille (37,5 cl)",
                          "position": 1,
                          "milliliters": 375,
                          "created_at": "2015-06-30T14:39:54.144+02:00",
                          "updated_at": "2016-06-06T16:08:19.380+02:00",
                          "short_name": "37,5 cl",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 886,
                          "account_id": 86,
                          "name": "Unité (C12)",
                          "quantity": 1,
                          "created_at": "2018-01-16T12:27:38.421+01:00",
                          "updated_at": "2018-01-16T12:27:38.421+01:00",
                          "deleted_at": null,
                          "packing_quantity": 12,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [
                          {
                            "id": 369,
                            "product_variant_id": 334,
                            "quantity": "1.0",
                            "created_at": "2018-02-05T10:59:26.651+01:00",
                            "updated_at": "2018-02-05T10:59:26.651+01:00",
                            "deleted_at": null,
                            "price_cents": 750,
                            "price_currency": "EUR",
                            "price_grid_id": 109,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 900,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 109,
                              "name": "Particulier 2",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.516+02:00",
                              "updated_at": "2020-04-29T06:12:45.597+02:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 1,
                              "calculation_method": "product_variant",
                              "payment_method": "credit_card",
                              "payment_period": "at_once",
                              "displayed": false,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 645
                            }
                          }
                        ],
                        "catalogs": [
                          {
                            "id": 231,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2017-11-26T23:32:34.566+01:00",
                            "updated_at": "2017-11-26T23:32:34.566+01:00",
                            "price_grid_id": null,
                            "warehouse_id": null,
                            "catalogable_id": 102,
                            "catalogable_type": "Register"
                          },
                          {
                            "id": 259,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2017-11-27T09:41:36.659+01:00",
                            "updated_at": "2019-10-15T11:17:19.090+02:00",
                            "price_grid_id": 761,
                            "warehouse_id": 87,
                            "catalogable_id": 130,
                            "catalogable_type": "Register"
                          }
                        ]
                      },
                      {
                        "id": 338,
                        "product_size_id": 2,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2017-12-06T10:28:54.014+01:00",
                        "updated_at": "2017-12-06T10:28:54.014+01:00",
                        "product_packaging_id": 482,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 267,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": null,
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": 2015,
                        "stock_all": "-89.0",
                        "product": {
                          "id": 227,
                          "account_id": 86,
                          "name": "Château Camarsac",
                          "product_color_id": 1,
                          "created_at": "2017-12-06T10:28:53.965+01:00",
                          "updated_at": "2018-09-04T23:11:06.592+02:00",
                          "deleted_at": null,
                          "supplier_id": 11,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 1,
                          "inao_appellation_id": 94,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": 37,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": null,
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOC Bordeaux",
                          "product_color": {
                            "id": 1,
                            "name": "Rouge",
                            "position": 0,
                            "created_at": "2015-06-30T14:39:54.110+02:00",
                            "updated_at": "2018-09-28T17:31:41.753+02:00",
                            "handle": "red"
                          },
                          "supplier": {
                            "id": 11,
                            "name": "Passion des Terroirs",
                            "email": "",
                            "note": "",
                            "deleted_at": null,
                            "created_at": "2017-12-06T10:27:01.541+01:00",
                            "updated_at": "2018-11-05T10:30:02.910+01:00"
                          }
                        },
                        "product_vintage": {
                          "id": 267,
                          "product_id": 227,
                          "vintage": 2015,
                          "summary": "",
                          "body_html": "<p><br></p>",
                          "abv": null,
                          "created_at": "2017-12-06T10:28:54.008+01:00",
                          "updated_at": "2017-12-06T10:28:54.008+01:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 2,
                          "name": "Bouteille (75 cl)",
                          "position": 0,
                          "milliliters": 750,
                          "created_at": "2015-06-30T14:39:54.153+02:00",
                          "updated_at": "2016-06-06T16:08:31.135+02:00",
                          "short_name": "75 cl",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 482,
                          "account_id": 86,
                          "name": "Unité (C6)",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.233+02:00",
                          "updated_at": "2018-01-16T17:03:33.170+01:00",
                          "deleted_at": null,
                          "packing_quantity": 6,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [
                          {
                            "id": 311,
                            "product_variant_id": 338,
                            "quantity": "1.0",
                            "created_at": "2017-12-06T10:29:35.628+01:00",
                            "updated_at": "2017-12-06T10:29:35.628+01:00",
                            "deleted_at": null,
                            "price_cents": 500,
                            "price_currency": "EUR",
                            "price_grid_id": 108,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 300,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 108,
                              "name": "CHR",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.472+02:00",
                              "updated_at": "2019-11-26T12:34:57.350+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "36.0",
                                "1.0",
                                "120.0",
                                "60.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 368,
                            "product_variant_id": 338,
                            "quantity": "1.0",
                            "created_at": "2018-02-05T10:58:23.084+01:00",
                            "updated_at": "2018-02-05T10:58:23.084+01:00",
                            "deleted_at": null,
                            "price_cents": 583,
                            "price_currency": "EUR",
                            "price_grid_id": 109,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 700,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 109,
                              "name": "Particulier 2",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.516+02:00",
                              "updated_at": "2020-04-29T06:12:45.597+02:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 1,
                              "calculation_method": "product_variant",
                              "payment_method": "credit_card",
                              "payment_period": "at_once",
                              "displayed": false,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 645
                            }
                          },
                          {
                            "id": 697,
                            "product_variant_id": 338,
                            "quantity": "1.0",
                            "created_at": "2018-06-18T16:39:27.462+02:00",
                            "updated_at": "2018-06-18T16:39:27.462+02:00",
                            "deleted_at": null,
                            "price_cents": 300,
                            "price_currency": "EUR",
                            "price_grid_id": 440,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 440,
                              "name": "Fournisseur",
                              "deleted_at": null,
                              "created_at": "2018-06-18T16:39:27.428+02:00",
                              "updated_at": "2019-02-05T16:28:17.799+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": null,
                              "calculation_method": null,
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": false,
                              "quantities": [
                                "1.0",
                                "10.0",
                                "36.0"
                              ],
                              "supplier": true,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          }
                        ],
                        "catalogs": []
                      },
                      {
                        "id": 345,
                        "product_size_id": 3,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2017-12-13T16:13:32.529+01:00",
                        "updated_at": "2018-11-05T10:31:16.346+01:00",
                        "product_packaging_id": 482,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 273,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": null,
                        "cost_price_cents": 600,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": 2017,
                        "stock_all": "-25.0",
                        "product": {
                          "id": 227,
                          "account_id": 86,
                          "name": "Château Camarsac",
                          "product_color_id": 1,
                          "created_at": "2017-12-06T10:28:53.965+01:00",
                          "updated_at": "2018-09-04T23:11:06.592+02:00",
                          "deleted_at": null,
                          "supplier_id": 11,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 1,
                          "inao_appellation_id": 94,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": 37,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": null,
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOC Bordeaux",
                          "product_color": {
                            "id": 1,
                            "name": "Rouge",
                            "position": 0,
                            "created_at": "2015-06-30T14:39:54.110+02:00",
                            "updated_at": "2018-09-28T17:31:41.753+02:00",
                            "handle": "red"
                          },
                          "supplier": {
                            "id": 11,
                            "name": "Passion des Terroirs",
                            "email": "",
                            "note": "",
                            "deleted_at": null,
                            "created_at": "2017-12-06T10:27:01.541+01:00",
                            "updated_at": "2018-11-05T10:30:02.910+01:00"
                          }
                        },
                        "product_vintage": {
                          "id": 273,
                          "product_id": 227,
                          "vintage": 2017,
                          "summary": "",
                          "body_html": "<p><br></p>",
                          "abv": null,
                          "created_at": "2017-12-13T16:13:27.077+01:00",
                          "updated_at": "2017-12-13T16:13:27.077+01:00",
                          "deleted_at": null,
                          "primeur": true,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 3,
                          "name": "Magnum (1,5 l)",
                          "position": 2,
                          "milliliters": 1500,
                          "created_at": "2015-06-30T14:39:54.159+02:00",
                          "updated_at": "2015-10-16T09:13:12.025+02:00",
                          "short_name": "1,5 l",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 482,
                          "account_id": 86,
                          "name": "Unité (C6)",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.233+02:00",
                          "updated_at": "2018-01-16T17:03:33.170+01:00",
                          "deleted_at": null,
                          "packing_quantity": 6,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [
                          {
                            "id": 317,
                            "product_variant_id": 345,
                            "quantity": "1.0",
                            "created_at": "2017-12-13T16:15:10.707+01:00",
                            "updated_at": "2017-12-13T16:15:10.707+01:00",
                            "deleted_at": null,
                            "price_cents": 2500,
                            "price_currency": "EUR",
                            "price_grid_id": 109,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 3000,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 109,
                              "name": "Particulier 2",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.516+02:00",
                              "updated_at": "2020-04-29T06:12:45.597+02:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 1,
                              "calculation_method": "product_variant",
                              "payment_method": "credit_card",
                              "payment_period": "at_once",
                              "displayed": false,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 645
                            }
                          },
                          {
                            "id": 1174,
                            "product_variant_id": 345,
                            "quantity": "1.0",
                            "created_at": "2018-11-05T10:31:16.338+01:00",
                            "updated_at": "2018-11-05T10:31:16.338+01:00",
                            "deleted_at": null,
                            "price_cents": 600,
                            "price_currency": "EUR",
                            "price_grid_id": 440,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 440,
                              "name": "Fournisseur",
                              "deleted_at": null,
                              "created_at": "2018-06-18T16:39:27.428+02:00",
                              "updated_at": "2019-02-05T16:28:17.799+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": null,
                              "calculation_method": null,
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": false,
                              "quantities": [
                                "1.0",
                                "10.0",
                                "36.0"
                              ],
                              "supplier": true,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          }
                        ],
                        "catalogs": [
                          {
                            "id": 231,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2017-11-26T23:32:34.566+01:00",
                            "updated_at": "2017-11-26T23:32:34.566+01:00",
                            "price_grid_id": null,
                            "warehouse_id": null,
                            "catalogable_id": 102,
                            "catalogable_type": "Register"
                          }
                        ]
                      },
                      {
                        "id": 344,
                        "product_size_id": 2,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2017-12-13T16:13:27.099+01:00",
                        "updated_at": "2018-11-05T10:31:23.769+01:00",
                        "product_packaging_id": 482,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 273,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": null,
                        "cost_price_cents": 400,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": 2017,
                        "stock_all": "-12.0",
                        "product": {
                          "id": 227,
                          "account_id": 86,
                          "name": "Château Camarsac",
                          "product_color_id": 1,
                          "created_at": "2017-12-06T10:28:53.965+01:00",
                          "updated_at": "2018-09-04T23:11:06.592+02:00",
                          "deleted_at": null,
                          "supplier_id": 11,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 1,
                          "inao_appellation_id": 94,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": 37,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": null,
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOC Bordeaux",
                          "product_color": {
                            "id": 1,
                            "name": "Rouge",
                            "position": 0,
                            "created_at": "2015-06-30T14:39:54.110+02:00",
                            "updated_at": "2018-09-28T17:31:41.753+02:00",
                            "handle": "red"
                          },
                          "supplier": {
                            "id": 11,
                            "name": "Passion des Terroirs",
                            "email": "",
                            "note": "",
                            "deleted_at": null,
                            "created_at": "2017-12-06T10:27:01.541+01:00",
                            "updated_at": "2018-11-05T10:30:02.910+01:00"
                          }
                        },
                        "product_vintage": {
                          "id": 273,
                          "product_id": 227,
                          "vintage": 2017,
                          "summary": "",
                          "body_html": "<p><br></p>",
                          "abv": null,
                          "created_at": "2017-12-13T16:13:27.077+01:00",
                          "updated_at": "2017-12-13T16:13:27.077+01:00",
                          "deleted_at": null,
                          "primeur": true,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 2,
                          "name": "Bouteille (75 cl)",
                          "position": 0,
                          "milliliters": 750,
                          "created_at": "2015-06-30T14:39:54.153+02:00",
                          "updated_at": "2016-06-06T16:08:31.135+02:00",
                          "short_name": "75 cl",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 482,
                          "account_id": 86,
                          "name": "Unité (C6)",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.233+02:00",
                          "updated_at": "2018-01-16T17:03:33.170+01:00",
                          "deleted_at": null,
                          "packing_quantity": 6,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [
                          {
                            "id": 316,
                            "product_variant_id": 344,
                            "quantity": "1.0",
                            "created_at": "2017-12-13T16:15:03.383+01:00",
                            "updated_at": "2017-12-13T16:15:03.383+01:00",
                            "deleted_at": null,
                            "price_cents": 1250,
                            "price_currency": "EUR",
                            "price_grid_id": 109,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 1500,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 109,
                              "name": "Particulier 2",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.516+02:00",
                              "updated_at": "2020-04-29T06:12:45.597+02:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 1,
                              "calculation_method": "product_variant",
                              "payment_method": "credit_card",
                              "payment_period": "at_once",
                              "displayed": false,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 645
                            }
                          },
                          {
                            "id": 1175,
                            "product_variant_id": 344,
                            "quantity": "1.0",
                            "created_at": "2018-11-05T10:31:23.757+01:00",
                            "updated_at": "2018-11-05T10:31:23.757+01:00",
                            "deleted_at": null,
                            "price_cents": 400,
                            "price_currency": "EUR",
                            "price_grid_id": 440,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 440,
                              "name": "Fournisseur",
                              "deleted_at": null,
                              "created_at": "2018-06-18T16:39:27.428+02:00",
                              "updated_at": "2019-02-05T16:28:17.799+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": null,
                              "calculation_method": null,
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": false,
                              "quantities": [
                                "1.0",
                                "10.0",
                                "36.0"
                              ],
                              "supplier": true,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          }
                        ],
                        "catalogs": []
                      },
                      {
                        "id": 346,
                        "product_size_id": 2,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2017-12-13T18:32:18.104+01:00",
                        "updated_at": "2018-11-05T10:31:11.776+01:00",
                        "product_packaging_id": 482,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 274,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": null,
                        "cost_price_cents": 300,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": 2016,
                        "stock_all": "-157.0",
                        "product": {
                          "id": 227,
                          "account_id": 86,
                          "name": "Château Camarsac",
                          "product_color_id": 1,
                          "created_at": "2017-12-06T10:28:53.965+01:00",
                          "updated_at": "2018-09-04T23:11:06.592+02:00",
                          "deleted_at": null,
                          "supplier_id": 11,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 1,
                          "inao_appellation_id": 94,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": 37,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": null,
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOC Bordeaux",
                          "product_color": {
                            "id": 1,
                            "name": "Rouge",
                            "position": 0,
                            "created_at": "2015-06-30T14:39:54.110+02:00",
                            "updated_at": "2018-09-28T17:31:41.753+02:00",
                            "handle": "red"
                          },
                          "supplier": {
                            "id": 11,
                            "name": "Passion des Terroirs",
                            "email": "",
                            "note": "",
                            "deleted_at": null,
                            "created_at": "2017-12-06T10:27:01.541+01:00",
                            "updated_at": "2018-11-05T10:30:02.910+01:00"
                          }
                        },
                        "product_vintage": {
                          "id": 274,
                          "product_id": 227,
                          "vintage": 2016,
                          "summary": "",
                          "body_html": "<p><br></p>",
                          "abv": null,
                          "created_at": "2017-12-13T18:32:18.101+01:00",
                          "updated_at": "2017-12-13T18:32:18.101+01:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 2,
                          "name": "Bouteille (75 cl)",
                          "position": 0,
                          "milliliters": 750,
                          "created_at": "2015-06-30T14:39:54.153+02:00",
                          "updated_at": "2016-06-06T16:08:31.135+02:00",
                          "short_name": "75 cl",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 482,
                          "account_id": 86,
                          "name": "Unité (C6)",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.233+02:00",
                          "updated_at": "2018-01-16T17:03:33.170+01:00",
                          "deleted_at": null,
                          "packing_quantity": 6,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [
                          {
                            "id": 367,
                            "product_variant_id": 346,
                            "quantity": "1.0",
                            "created_at": "2018-02-05T10:58:14.237+01:00",
                            "updated_at": "2018-02-05T10:58:35.881+01:00",
                            "deleted_at": null,
                            "price_cents": 667,
                            "price_currency": "EUR",
                            "price_grid_id": 109,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 800,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 109,
                              "name": "Particulier 2",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.516+02:00",
                              "updated_at": "2020-04-29T06:12:45.597+02:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 1,
                              "calculation_method": "product_variant",
                              "payment_method": "credit_card",
                              "payment_period": "at_once",
                              "displayed": false,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 645
                            }
                          },
                          {
                            "id": 1173,
                            "product_variant_id": 346,
                            "quantity": "1.0",
                            "created_at": "2018-11-05T10:31:11.762+01:00",
                            "updated_at": "2018-11-05T10:31:11.762+01:00",
                            "deleted_at": null,
                            "price_cents": 300,
                            "price_currency": "EUR",
                            "price_grid_id": 440,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 440,
                              "name": "Fournisseur",
                              "deleted_at": null,
                              "created_at": "2018-06-18T16:39:27.428+02:00",
                              "updated_at": "2019-02-05T16:28:17.799+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": null,
                              "calculation_method": null,
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": false,
                              "quantities": [
                                "1.0",
                                "10.0",
                                "36.0"
                              ],
                              "supplier": true,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          }
                        ],
                        "catalogs": []
                      },
                      {
                        "id": 387,
                        "product_size_id": null,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2018-01-19T10:20:05.226+01:00",
                        "updated_at": "2018-01-19T10:20:05.226+01:00",
                        "product_packaging_id": null,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 309,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": null,
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": null,
                        "stock_all": "0.0",
                        "product": {
                          "id": 262,
                          "account_id": 86,
                          "name": "Test non / def",
                          "product_color_id": null,
                          "created_at": "2018-01-19T10:20:05.217+01:00",
                          "updated_at": "2018-09-04T23:11:07.076+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": null,
                          "country_code": null,
                          "classification": null,
                          "position": 0,
                          "product_certification_id": null,
                          "inao_appellation_id": null,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": null,
                          "kind": "other",
                          "capsule_id": null,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": null,
                          "product_family_id": 851,
                          "neutral_capsule_id": null,
                          "appellation": null
                        },
                        "product_vintage": {
                          "id": 309,
                          "product_id": 262,
                          "vintage": null,
                          "summary": "",
                          "body_html": null,
                          "abv": null,
                          "created_at": "2018-01-19T10:20:05.222+01:00",
                          "updated_at": "2018-01-19T10:20:05.222+01:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": null,
                          "vineyard_work": null,
                          "winemaking": null,
                          "wine_ageing": null,
                          "wine_preparation": null,
                          "bottling": null,
                          "traceability": null,
                          "operating_temperature": null,
                          "tasting_advice": null,
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_prices": [
                          {
                            "id": 353,
                            "product_variant_id": 387,
                            "quantity": "1.0",
                            "created_at": "2018-01-19T10:22:01.622+01:00",
                            "updated_at": "2018-01-19T10:22:01.622+01:00",
                            "deleted_at": null,
                            "price_cents": 8333,
                            "price_currency": "EUR",
                            "price_grid_id": 109,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 10000,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 109,
                              "name": "Particulier 2",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.516+02:00",
                              "updated_at": "2020-04-29T06:12:45.597+02:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 1,
                              "calculation_method": "product_variant",
                              "payment_method": "credit_card",
                              "payment_period": "at_once",
                              "displayed": false,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 645
                            }
                          }
                        ],
                        "catalogs": []
                      },
                      {
                        "id": 386,
                        "product_size_id": null,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2018-01-19T10:13:12.635+01:00",
                        "updated_at": "2018-01-19T10:13:12.635+01:00",
                        "product_packaging_id": null,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 308,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": null,
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": null,
                        "stock_all": "0.0",
                        "product": {
                          "id": 261,
                          "account_id": 86,
                          "name": "Test Def / Def",
                          "product_color_id": null,
                          "created_at": "2018-01-19T10:13:12.610+01:00",
                          "updated_at": "2018-09-04T23:11:07.065+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": null,
                          "country_code": null,
                          "classification": null,
                          "position": 0,
                          "product_certification_id": null,
                          "inao_appellation_id": null,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": null,
                          "kind": "other",
                          "capsule_id": null,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": null,
                          "product_family_id": 851,
                          "neutral_capsule_id": null,
                          "appellation": null
                        },
                        "product_vintage": {
                          "id": 308,
                          "product_id": 261,
                          "vintage": null,
                          "summary": "",
                          "body_html": null,
                          "abv": null,
                          "created_at": "2018-01-19T10:13:12.631+01:00",
                          "updated_at": "2018-01-19T10:13:12.631+01:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": null,
                          "vineyard_work": null,
                          "winemaking": null,
                          "wine_ageing": null,
                          "wine_preparation": null,
                          "bottling": null,
                          "traceability": null,
                          "operating_temperature": null,
                          "tasting_advice": null,
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_prices": [
                          {
                            "id": 351,
                            "product_variant_id": 386,
                            "quantity": "1.0",
                            "created_at": "2018-01-19T10:16:19.983+01:00",
                            "updated_at": "2018-01-19T10:16:19.983+01:00",
                            "deleted_at": null,
                            "price_cents": 8333,
                            "price_currency": "EUR",
                            "price_grid_id": 109,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 10000,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 109,
                              "name": "Particulier 2",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.516+02:00",
                              "updated_at": "2020-04-29T06:12:45.597+02:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 1,
                              "calculation_method": "product_variant",
                              "payment_method": "credit_card",
                              "payment_period": "at_once",
                              "displayed": false,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 645
                            }
                          }
                        ],
                        "catalogs": []
                      },
                      {
                        "id": 281,
                        "product_size_id": 2,
                        "sku": "MELOC201575",
                        "default_barcode": "",
                        "created_at": "2017-09-15T10:06:49.631+02:00",
                        "updated_at": "2019-01-28T19:00:22.822+01:00",
                        "product_packaging_id": 484,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 147,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": "",
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": 2015,
                        "stock_all": "3313.0",
                        "product": {
                          "id": 132,
                          "account_id": 86,
                          "name": "Saumur - Cuvée Mélodie",
                          "product_color_id": 2,
                          "created_at": "2017-05-24T11:32:29.239+02:00",
                          "updated_at": "2018-09-04T23:11:05.714+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 1,
                          "inao_appellation_id": 166,
                          "inao_denomination_id": 330,
                          "inao_product_id": 1756,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": 22,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": null,
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOC Saumur",
                          "product_color": {
                            "id": 2,
                            "name": "Blanc",
                            "position": 1,
                            "created_at": "2015-06-30T14:39:54.120+02:00",
                            "updated_at": "2018-09-28T17:31:41.763+02:00",
                            "handle": "white"
                          }
                        },
                        "product_vintage": {
                          "id": 147,
                          "product_id": 132,
                          "vintage": 2015,
                          "summary": "",
                          "body_html": "<p><br></p>",
                          "abv": null,
                          "created_at": "2017-05-24T11:32:29.265+02:00",
                          "updated_at": "2017-05-24T11:32:29.265+02:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 2,
                          "name": "Bouteille (75 cl)",
                          "position": 0,
                          "milliliters": 750,
                          "created_at": "2015-06-30T14:39:54.153+02:00",
                          "updated_at": "2016-06-06T16:08:31.135+02:00",
                          "short_name": "75 cl",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 484,
                          "account_id": 86,
                          "name": "Carton 6",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.282+02:00",
                          "updated_at": "2018-10-10T14:57:15.759+02:00",
                          "deleted_at": null,
                          "packing_quantity": 6,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [
                          {
                            "id": 253,
                            "product_variant_id": 281,
                            "quantity": "1.0",
                            "created_at": "2017-09-15T10:06:58.780+02:00",
                            "updated_at": "2017-09-15T10:06:58.780+02:00",
                            "deleted_at": null,
                            "price_cents": 3333,
                            "price_currency": "EUR",
                            "price_grid_id": 109,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 4000,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 109,
                              "name": "Particulier 2",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.516+02:00",
                              "updated_at": "2020-04-29T06:12:45.597+02:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 1,
                              "calculation_method": "product_variant",
                              "payment_method": "credit_card",
                              "payment_period": "at_once",
                              "displayed": false,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 645
                            }
                          }
                        ],
                        "catalogs": [
                          {
                            "id": 231,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2017-11-26T23:32:34.566+01:00",
                            "updated_at": "2017-11-26T23:32:34.566+01:00",
                            "price_grid_id": null,
                            "warehouse_id": null,
                            "catalogable_id": 102,
                            "catalogable_type": "Register"
                          }
                        ]
                      },
                      {
                        "id": 167,
                        "product_size_id": 2,
                        "sku": "MELOB201575",
                        "default_barcode": "1234567890",
                        "created_at": "2017-05-24T11:32:29.275+02:00",
                        "updated_at": "2019-01-28T19:00:19.237+01:00",
                        "product_packaging_id": 482,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 147,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": "",
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": 2015,
                        "stock_all": "3313.0",
                        "product": {
                          "id": 132,
                          "account_id": 86,
                          "name": "Saumur - Cuvée Mélodie",
                          "product_color_id": 2,
                          "created_at": "2017-05-24T11:32:29.239+02:00",
                          "updated_at": "2018-09-04T23:11:05.714+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 1,
                          "inao_appellation_id": 166,
                          "inao_denomination_id": 330,
                          "inao_product_id": 1756,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": 22,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": null,
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOC Saumur",
                          "product_color": {
                            "id": 2,
                            "name": "Blanc",
                            "position": 1,
                            "created_at": "2015-06-30T14:39:54.120+02:00",
                            "updated_at": "2018-09-28T17:31:41.763+02:00",
                            "handle": "white"
                          }
                        },
                        "product_vintage": {
                          "id": 147,
                          "product_id": 132,
                          "vintage": 2015,
                          "summary": "",
                          "body_html": "<p><br></p>",
                          "abv": null,
                          "created_at": "2017-05-24T11:32:29.265+02:00",
                          "updated_at": "2017-05-24T11:32:29.265+02:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 2,
                          "name": "Bouteille (75 cl)",
                          "position": 0,
                          "milliliters": 750,
                          "created_at": "2015-06-30T14:39:54.153+02:00",
                          "updated_at": "2016-06-06T16:08:31.135+02:00",
                          "short_name": "75 cl",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 482,
                          "account_id": 86,
                          "name": "Unité (C6)",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.233+02:00",
                          "updated_at": "2018-01-16T17:03:33.170+01:00",
                          "deleted_at": null,
                          "packing_quantity": 6,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [
                          {
                            "id": 172,
                            "product_variant_id": 167,
                            "quantity": "1.0",
                            "created_at": "2017-05-24T11:38:30.222+02:00",
                            "updated_at": "2017-05-24T11:38:44.006+02:00",
                            "deleted_at": "2017-05-24T11:38:43.995+02:00",
                            "price_cents": 600,
                            "price_currency": "EUR",
                            "price_grid_id": 108,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 108,
                              "name": "CHR",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.472+02:00",
                              "updated_at": "2019-11-26T12:34:57.350+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "36.0",
                                "1.0",
                                "120.0",
                                "60.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 179,
                            "product_variant_id": 167,
                            "quantity": "36.0",
                            "created_at": "2017-05-24T12:01:19.264+02:00",
                            "updated_at": "2017-05-24T12:01:19.264+02:00",
                            "deleted_at": null,
                            "price_cents": 350,
                            "price_currency": "EUR",
                            "price_grid_id": 108,
                            "customer_id": null,
                            "free_shipping": true,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 108,
                              "name": "CHR",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.472+02:00",
                              "updated_at": "2019-11-26T12:34:57.350+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "36.0",
                                "1.0",
                                "120.0",
                                "60.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 178,
                            "product_variant_id": 167,
                            "quantity": "1.0",
                            "created_at": "2017-05-24T12:01:06.207+02:00",
                            "updated_at": "2017-09-19T10:55:21.296+02:00",
                            "deleted_at": null,
                            "price_cents": 360,
                            "price_currency": "EUR",
                            "price_grid_id": 108,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 108,
                              "name": "CHR",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.472+02:00",
                              "updated_at": "2019-11-26T12:34:57.350+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "36.0",
                                "1.0",
                                "120.0",
                                "60.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 180,
                            "product_variant_id": 167,
                            "quantity": "60.0",
                            "created_at": "2017-05-24T12:01:29.613+02:00",
                            "updated_at": "2018-01-19T14:03:47.016+01:00",
                            "deleted_at": "2018-01-19T14:03:47.013+01:00",
                            "price_cents": 330,
                            "price_currency": "EUR",
                            "price_grid_id": 108,
                            "customer_id": null,
                            "free_shipping": true,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 108,
                              "name": "CHR",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.472+02:00",
                              "updated_at": "2019-11-26T12:34:57.350+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "36.0",
                                "1.0",
                                "120.0",
                                "60.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 175,
                            "product_variant_id": 167,
                            "quantity": "1.0",
                            "created_at": "2017-05-24T11:41:18.992+02:00",
                            "updated_at": "2017-09-15T10:05:19.477+02:00",
                            "deleted_at": null,
                            "price_cents": 583,
                            "price_currency": "EUR",
                            "price_grid_id": 109,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 700,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 109,
                              "name": "Particulier 2",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.516+02:00",
                              "updated_at": "2020-04-29T06:12:45.597+02:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 1,
                              "calculation_method": "product_variant",
                              "payment_method": "credit_card",
                              "payment_period": "at_once",
                              "displayed": false,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 645
                            }
                          },
                          {
                            "id": 261,
                            "product_variant_id": 167,
                            "quantity": "1.0",
                            "created_at": "2017-09-19T11:05:11.481+02:00",
                            "updated_at": "2017-09-19T11:05:30.110+02:00",
                            "deleted_at": "2017-09-19T11:05:30.104+02:00",
                            "price_cents": 500,
                            "price_currency": "EUR",
                            "price_grid_id": null,
                            "customer_id": 79,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 600,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR"
                          },
                          {
                            "id": 262,
                            "product_variant_id": 167,
                            "quantity": "1.0",
                            "created_at": "2017-09-19T11:06:13.959+02:00",
                            "updated_at": "2017-10-25T14:31:22.047+02:00",
                            "deleted_at": null,
                            "price_cents": 583,
                            "price_currency": "EUR",
                            "price_grid_id": null,
                            "customer_id": 79,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 700,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR"
                          }
                        ],
                        "catalogs": [
                          {
                            "id": 231,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2017-11-26T23:32:34.566+01:00",
                            "updated_at": "2017-11-26T23:32:34.566+01:00",
                            "price_grid_id": null,
                            "warehouse_id": null,
                            "catalogable_id": 102,
                            "catalogable_type": "Register"
                          },
                          {
                            "id": 259,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2017-11-27T09:41:36.659+01:00",
                            "updated_at": "2019-10-15T11:17:19.090+02:00",
                            "price_grid_id": 761,
                            "warehouse_id": 87,
                            "catalogable_id": 130,
                            "catalogable_type": "Register"
                          }
                        ]
                      },
                      {
                        "id": 598,
                        "product_size_id": 2,
                        "sku": "MELOB201775",
                        "default_barcode": "",
                        "created_at": "2018-05-07T15:16:34.449+02:00",
                        "updated_at": "2018-06-27T10:36:08.117+02:00",
                        "product_packaging_id": 887,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 161,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": "",
                        "cost_price_cents": 200,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": 2017,
                        "stock_all": "407.0",
                        "product": {
                          "id": 132,
                          "account_id": 86,
                          "name": "Saumur - Cuvée Mélodie",
                          "product_color_id": 2,
                          "created_at": "2017-05-24T11:32:29.239+02:00",
                          "updated_at": "2018-09-04T23:11:05.714+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 1,
                          "inao_appellation_id": 166,
                          "inao_denomination_id": 330,
                          "inao_product_id": 1756,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": 22,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": null,
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOC Saumur",
                          "product_color": {
                            "id": 2,
                            "name": "Blanc",
                            "position": 1,
                            "created_at": "2015-06-30T14:39:54.120+02:00",
                            "updated_at": "2018-09-28T17:31:41.763+02:00",
                            "handle": "white"
                          }
                        },
                        "product_vintage": {
                          "id": 161,
                          "product_id": 132,
                          "vintage": 2017,
                          "summary": "",
                          "body_html": "<p><br></p>",
                          "abv": null,
                          "created_at": "2017-06-19T10:01:14.972+02:00",
                          "updated_at": "2017-06-19T10:01:14.972+02:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 2,
                          "name": "Bouteille (75 cl)",
                          "position": 0,
                          "milliliters": 750,
                          "created_at": "2015-06-30T14:39:54.153+02:00",
                          "updated_at": "2016-06-06T16:08:31.135+02:00",
                          "short_name": "75 cl",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 887,
                          "account_id": 86,
                          "name": "Bouteille",
                          "quantity": 1,
                          "created_at": "2018-01-18T12:09:34.546+01:00",
                          "updated_at": "2018-03-14T15:30:28.363+01:00",
                          "deleted_at": null,
                          "packing_quantity": 1,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [
                          {
                            "id": 804,
                            "product_variant_id": 598,
                            "quantity": "1.0",
                            "created_at": "2018-06-27T10:36:17.741+02:00",
                            "updated_at": "2018-06-27T10:36:17.741+02:00",
                            "deleted_at": null,
                            "price_cents": 500,
                            "price_currency": "EUR",
                            "price_grid_id": 108,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 108,
                              "name": "CHR",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.472+02:00",
                              "updated_at": "2019-11-26T12:34:57.350+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "36.0",
                                "1.0",
                                "120.0",
                                "60.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 805,
                            "product_variant_id": 598,
                            "quantity": "36.0",
                            "created_at": "2018-06-27T10:36:21.733+02:00",
                            "updated_at": "2018-06-27T10:36:21.733+02:00",
                            "deleted_at": null,
                            "price_cents": 500,
                            "price_currency": "EUR",
                            "price_grid_id": 108,
                            "customer_id": null,
                            "free_shipping": true,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 108,
                              "name": "CHR",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.472+02:00",
                              "updated_at": "2019-11-26T12:34:57.350+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "36.0",
                                "1.0",
                                "120.0",
                                "60.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 806,
                            "product_variant_id": 598,
                            "quantity": "60.0",
                            "created_at": "2018-06-27T10:36:26.194+02:00",
                            "updated_at": "2018-06-27T10:36:26.194+02:00",
                            "deleted_at": null,
                            "price_cents": 480,
                            "price_currency": "EUR",
                            "price_grid_id": 108,
                            "customer_id": null,
                            "free_shipping": true,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 108,
                              "name": "CHR",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.472+02:00",
                              "updated_at": "2019-11-26T12:34:57.350+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "36.0",
                                "1.0",
                                "120.0",
                                "60.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 807,
                            "product_variant_id": 598,
                            "quantity": "120.0",
                            "created_at": "2018-06-27T10:36:31.421+02:00",
                            "updated_at": "2018-06-27T10:36:31.421+02:00",
                            "deleted_at": null,
                            "price_cents": 470,
                            "price_currency": "EUR",
                            "price_grid_id": 108,
                            "customer_id": null,
                            "free_shipping": true,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 108,
                              "name": "CHR",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.472+02:00",
                              "updated_at": "2019-11-26T12:34:57.350+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "36.0",
                                "1.0",
                                "120.0",
                                "60.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 1091,
                            "product_variant_id": 598,
                            "quantity": "1.0",
                            "created_at": "2018-10-10T11:07:45.047+02:00",
                            "updated_at": "2018-10-10T11:07:45.047+02:00",
                            "deleted_at": null,
                            "price_cents": 750,
                            "price_currency": "EUR",
                            "price_grid_id": 109,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 900,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 109,
                              "name": "Particulier 2",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.516+02:00",
                              "updated_at": "2020-04-29T06:12:45.597+02:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 1,
                              "calculation_method": "product_variant",
                              "payment_method": "credit_card",
                              "payment_period": "at_once",
                              "displayed": false,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 645
                            }
                          }
                        ],
                        "catalogs": [
                          {
                            "id": 231,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2017-11-26T23:32:34.566+01:00",
                            "updated_at": "2017-11-26T23:32:34.566+01:00",
                            "price_grid_id": null,
                            "warehouse_id": null,
                            "catalogable_id": 102,
                            "catalogable_type": "Register"
                          },
                          {
                            "id": 259,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2017-11-27T09:41:36.659+01:00",
                            "updated_at": "2019-10-15T11:17:19.090+02:00",
                            "price_grid_id": 761,
                            "warehouse_id": 87,
                            "catalogable_id": 130,
                            "catalogable_type": "Register"
                          },
                          {
                            "id": 990,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2019-11-26T09:26:00.485+01:00",
                            "updated_at": "2019-11-26T09:26:00.485+01:00",
                            "price_grid_id": 761,
                            "warehouse_id": 86,
                            "catalogable_id": 510,
                            "catalogable_type": "Register"
                          }
                        ]
                      },
                      {
                        "id": 385,
                        "product_size_id": null,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2018-01-19T10:12:47.320+01:00",
                        "updated_at": "2018-01-19T10:12:47.320+01:00",
                        "product_packaging_id": null,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 307,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": null,
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": null,
                        "stock_all": "0.0",
                        "product": {
                          "id": 260,
                          "account_id": 86,
                          "name": "Test oui / def",
                          "product_color_id": null,
                          "created_at": "2018-01-19T10:12:47.292+01:00",
                          "updated_at": "2018-09-04T23:11:07.054+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": null,
                          "country_code": null,
                          "classification": null,
                          "position": 0,
                          "product_certification_id": null,
                          "inao_appellation_id": null,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": null,
                          "kind": "other",
                          "capsule_id": null,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": null,
                          "product_family_id": 851,
                          "neutral_capsule_id": null,
                          "appellation": null
                        },
                        "product_vintage": {
                          "id": 307,
                          "product_id": 260,
                          "vintage": null,
                          "summary": "",
                          "body_html": null,
                          "abv": null,
                          "created_at": "2018-01-19T10:12:47.314+01:00",
                          "updated_at": "2018-01-19T10:12:47.314+01:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": null,
                          "vineyard_work": null,
                          "winemaking": null,
                          "wine_ageing": null,
                          "wine_preparation": null,
                          "bottling": null,
                          "traceability": null,
                          "operating_temperature": null,
                          "tasting_advice": null,
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_prices": [
                          {
                            "id": 352,
                            "product_variant_id": 385,
                            "quantity": "1.0",
                            "created_at": "2018-01-19T10:16:23.079+01:00",
                            "updated_at": "2018-01-19T10:16:23.079+01:00",
                            "deleted_at": null,
                            "price_cents": 8333,
                            "price_currency": "EUR",
                            "price_grid_id": 109,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 10000,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 109,
                              "name": "Particulier 2",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.516+02:00",
                              "updated_at": "2020-04-29T06:12:45.597+02:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 1,
                              "calculation_method": "product_variant",
                              "payment_method": "credit_card",
                              "payment_period": "at_once",
                              "displayed": false,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 645
                            }
                          }
                        ],
                        "catalogs": []
                      },
                      {
                        "id": 396,
                        "product_size_id": 13,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2018-01-31T16:13:20.724+01:00",
                        "updated_at": "2019-01-28T18:59:24.000+01:00",
                        "product_packaging_id": 887,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 313,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": "",
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": 2015,
                        "stock_all": "-13.0",
                        "product": {
                          "id": 266,
                          "account_id": 86,
                          "name": "BIB AOC",
                          "product_color_id": 1,
                          "created_at": "2018-01-31T16:13:07.814+01:00",
                          "updated_at": "2018-09-04T23:11:07.116+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 1,
                          "inao_appellation_id": 107,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": null,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": null,
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOC Gaillac",
                          "product_color": {
                            "id": 1,
                            "name": "Rouge",
                            "position": 0,
                            "created_at": "2015-06-30T14:39:54.110+02:00",
                            "updated_at": "2018-09-28T17:31:41.753+02:00",
                            "handle": "red"
                          }
                        },
                        "product_vintage": {
                          "id": 313,
                          "product_id": 266,
                          "vintage": 2015,
                          "summary": "",
                          "body_html": "<p><br></p>",
                          "abv": "12.0",
                          "created_at": "2018-01-31T16:13:07.821+01:00",
                          "updated_at": "2018-01-31T16:13:07.821+01:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 13,
                          "name": "Bib (10 l)",
                          "position": 12,
                          "milliliters": 10000,
                          "created_at": "2016-12-02T11:18:06.830+01:00",
                          "updated_at": "2018-01-15T15:33:11.204+01:00",
                          "short_name": "10 l",
                          "kind": "bib"
                        },
                        "product_packaging": {
                          "id": 887,
                          "account_id": 86,
                          "name": "Bouteille",
                          "quantity": 1,
                          "created_at": "2018-01-18T12:09:34.546+01:00",
                          "updated_at": "2018-03-14T15:30:28.363+01:00",
                          "deleted_at": null,
                          "packing_quantity": 1,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [
                          {
                            "id": 366,
                            "product_variant_id": 396,
                            "quantity": "1.0",
                            "created_at": "2018-02-05T10:58:04.102+01:00",
                            "updated_at": "2018-02-05T10:58:04.102+01:00",
                            "deleted_at": null,
                            "price_cents": 1417,
                            "price_currency": "EUR",
                            "price_grid_id": 109,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 1700,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 109,
                              "name": "Particulier 2",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.516+02:00",
                              "updated_at": "2020-04-29T06:12:45.597+02:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 1,
                              "calculation_method": "product_variant",
                              "payment_method": "credit_card",
                              "payment_period": "at_once",
                              "displayed": false,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 645
                            }
                          }
                        ],
                        "catalogs": [
                          {
                            "id": 231,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2017-11-26T23:32:34.566+01:00",
                            "updated_at": "2017-11-26T23:32:34.566+01:00",
                            "price_grid_id": null,
                            "warehouse_id": null,
                            "catalogable_id": 102,
                            "catalogable_type": "Register"
                          }
                        ]
                      },
                      {
                        "id": 394,
                        "product_size_id": 11,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2018-01-31T16:13:07.824+01:00",
                        "updated_at": "2018-08-09T12:37:32.969+02:00",
                        "product_packaging_id": 887,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 313,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": null,
                        "cost_price_cents": 400,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": 2015,
                        "stock_all": "-39.0",
                        "product": {
                          "id": 266,
                          "account_id": 86,
                          "name": "BIB AOC",
                          "product_color_id": 1,
                          "created_at": "2018-01-31T16:13:07.814+01:00",
                          "updated_at": "2018-09-04T23:11:07.116+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 1,
                          "inao_appellation_id": 107,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": null,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": null,
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOC Gaillac",
                          "product_color": {
                            "id": 1,
                            "name": "Rouge",
                            "position": 0,
                            "created_at": "2015-06-30T14:39:54.110+02:00",
                            "updated_at": "2018-09-28T17:31:41.753+02:00",
                            "handle": "red"
                          }
                        },
                        "product_vintage": {
                          "id": 313,
                          "product_id": 266,
                          "vintage": 2015,
                          "summary": "",
                          "body_html": "<p><br></p>",
                          "abv": "12.0",
                          "created_at": "2018-01-31T16:13:07.821+01:00",
                          "updated_at": "2018-01-31T16:13:07.821+01:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 11,
                          "name": "Bib (3 l)",
                          "position": 10,
                          "milliliters": 3000,
                          "created_at": "2016-12-02T11:17:51.027+01:00",
                          "updated_at": "2018-01-15T15:33:02.302+01:00",
                          "short_name": "3 l",
                          "kind": "bib"
                        },
                        "product_packaging": {
                          "id": 887,
                          "account_id": 86,
                          "name": "Bouteille",
                          "quantity": 1,
                          "created_at": "2018-01-18T12:09:34.546+01:00",
                          "updated_at": "2018-03-14T15:30:28.363+01:00",
                          "deleted_at": null,
                          "packing_quantity": 1,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [
                          {
                            "id": 364,
                            "product_variant_id": 394,
                            "quantity": "1.0",
                            "created_at": "2018-02-05T10:57:44.750+01:00",
                            "updated_at": "2018-02-05T10:57:44.750+01:00",
                            "deleted_at": null,
                            "price_cents": 583,
                            "price_currency": "EUR",
                            "price_grid_id": 109,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 700,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 109,
                              "name": "Particulier 2",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.516+02:00",
                              "updated_at": "2020-04-29T06:12:45.597+02:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 1,
                              "calculation_method": "product_variant",
                              "payment_method": "credit_card",
                              "payment_period": "at_once",
                              "displayed": false,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 645
                            }
                          },
                          {
                            "id": 689,
                            "product_variant_id": 394,
                            "quantity": "1.0",
                            "created_at": "2018-06-13T09:50:35.703+02:00",
                            "updated_at": "2018-06-13T09:50:45.020+02:00",
                            "deleted_at": "2018-06-13T09:50:44.999+02:00",
                            "price_cents": 800,
                            "price_currency": "EUR",
                            "price_grid_id": 108,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 108,
                              "name": "CHR",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.472+02:00",
                              "updated_at": "2019-11-26T12:34:57.350+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "36.0",
                                "1.0",
                                "120.0",
                                "60.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 914,
                            "product_variant_id": 394,
                            "quantity": "1.0",
                            "created_at": "2018-08-09T12:37:21.368+02:00",
                            "updated_at": "2018-08-09T12:37:21.368+02:00",
                            "deleted_at": null,
                            "price_cents": 300,
                            "price_currency": "EUR",
                            "price_grid_id": 108,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 108,
                              "name": "CHR",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.472+02:00",
                              "updated_at": "2019-11-26T12:34:57.350+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "36.0",
                                "1.0",
                                "120.0",
                                "60.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 915,
                            "product_variant_id": 394,
                            "quantity": "1.0",
                            "created_at": "2018-08-09T12:37:32.959+02:00",
                            "updated_at": "2018-08-09T12:37:32.959+02:00",
                            "deleted_at": null,
                            "price_cents": 400,
                            "price_currency": "EUR",
                            "price_grid_id": 440,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 440,
                              "name": "Fournisseur",
                              "deleted_at": null,
                              "created_at": "2018-06-18T16:39:27.428+02:00",
                              "updated_at": "2019-02-05T16:28:17.799+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": null,
                              "calculation_method": null,
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": false,
                              "quantities": [
                                "1.0",
                                "10.0",
                                "36.0"
                              ],
                              "supplier": true,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          }
                        ],
                        "catalogs": []
                      },
                      {
                        "id": 800,
                        "product_size_id": 3,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2018-08-14T17:39:43.030+02:00",
                        "updated_at": "2018-08-14T17:39:43.030+02:00",
                        "product_packaging_id": 886,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 313,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": "",
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": 2015,
                        "stock_all": "-18.0",
                        "product": {
                          "id": 266,
                          "account_id": 86,
                          "name": "BIB AOC",
                          "product_color_id": 1,
                          "created_at": "2018-01-31T16:13:07.814+01:00",
                          "updated_at": "2018-09-04T23:11:07.116+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 1,
                          "inao_appellation_id": 107,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": null,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": null,
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOC Gaillac",
                          "product_color": {
                            "id": 1,
                            "name": "Rouge",
                            "position": 0,
                            "created_at": "2015-06-30T14:39:54.110+02:00",
                            "updated_at": "2018-09-28T17:31:41.753+02:00",
                            "handle": "red"
                          }
                        },
                        "product_vintage": {
                          "id": 313,
                          "product_id": 266,
                          "vintage": 2015,
                          "summary": "",
                          "body_html": "<p><br></p>",
                          "abv": "12.0",
                          "created_at": "2018-01-31T16:13:07.821+01:00",
                          "updated_at": "2018-01-31T16:13:07.821+01:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 3,
                          "name": "Magnum (1,5 l)",
                          "position": 2,
                          "milliliters": 1500,
                          "created_at": "2015-06-30T14:39:54.159+02:00",
                          "updated_at": "2015-10-16T09:13:12.025+02:00",
                          "short_name": "1,5 l",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 886,
                          "account_id": 86,
                          "name": "Unité (C12)",
                          "quantity": 1,
                          "created_at": "2018-01-16T12:27:38.421+01:00",
                          "updated_at": "2018-01-16T12:27:38.421+01:00",
                          "deleted_at": null,
                          "packing_quantity": 12,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [
                          {
                            "id": 1098,
                            "product_variant_id": 800,
                            "quantity": "1.0",
                            "created_at": "2018-10-10T11:09:32.182+02:00",
                            "updated_at": "2018-10-10T11:09:32.182+02:00",
                            "deleted_at": null,
                            "price_cents": 333,
                            "price_currency": "EUR",
                            "price_grid_id": 109,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 400,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 109,
                              "name": "Particulier 2",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.516+02:00",
                              "updated_at": "2020-04-29T06:12:45.597+02:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 1,
                              "calculation_method": "product_variant",
                              "payment_method": "credit_card",
                              "payment_period": "at_once",
                              "displayed": false,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 645
                            }
                          }
                        ],
                        "catalogs": [
                          {
                            "id": 231,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2017-11-26T23:32:34.566+01:00",
                            "updated_at": "2017-11-26T23:32:34.566+01:00",
                            "price_grid_id": null,
                            "warehouse_id": null,
                            "catalogable_id": 102,
                            "catalogable_type": "Register"
                          }
                        ]
                      },
                      {
                        "id": 395,
                        "product_size_id": 12,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2018-01-31T16:13:12.721+01:00",
                        "updated_at": "2019-01-28T18:59:20.698+01:00",
                        "product_packaging_id": 887,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 313,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": "",
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": 2015,
                        "stock_all": "-30.0",
                        "product": {
                          "id": 266,
                          "account_id": 86,
                          "name": "BIB AOC",
                          "product_color_id": 1,
                          "created_at": "2018-01-31T16:13:07.814+01:00",
                          "updated_at": "2018-09-04T23:11:07.116+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 1,
                          "inao_appellation_id": 107,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": null,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": null,
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOC Gaillac",
                          "product_color": {
                            "id": 1,
                            "name": "Rouge",
                            "position": 0,
                            "created_at": "2015-06-30T14:39:54.110+02:00",
                            "updated_at": "2018-09-28T17:31:41.753+02:00",
                            "handle": "red"
                          }
                        },
                        "product_vintage": {
                          "id": 313,
                          "product_id": 266,
                          "vintage": 2015,
                          "summary": "",
                          "body_html": "<p><br></p>",
                          "abv": "12.0",
                          "created_at": "2018-01-31T16:13:07.821+01:00",
                          "updated_at": "2018-01-31T16:13:07.821+01:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 12,
                          "name": "Bib (5 l)",
                          "position": 11,
                          "milliliters": 5000,
                          "created_at": "2016-12-02T11:17:57.988+01:00",
                          "updated_at": "2018-01-15T15:33:06.661+01:00",
                          "short_name": "5 l",
                          "kind": "bib"
                        },
                        "product_packaging": {
                          "id": 887,
                          "account_id": 86,
                          "name": "Bouteille",
                          "quantity": 1,
                          "created_at": "2018-01-18T12:09:34.546+01:00",
                          "updated_at": "2018-03-14T15:30:28.363+01:00",
                          "deleted_at": null,
                          "packing_quantity": 1,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [
                          {
                            "id": 365,
                            "product_variant_id": 395,
                            "quantity": "1.0",
                            "created_at": "2018-02-05T10:57:53.780+01:00",
                            "updated_at": "2018-02-05T10:57:53.780+01:00",
                            "deleted_at": null,
                            "price_cents": 833,
                            "price_currency": "EUR",
                            "price_grid_id": 109,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 1000,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 109,
                              "name": "Particulier 2",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.516+02:00",
                              "updated_at": "2020-04-29T06:12:45.597+02:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 1,
                              "calculation_method": "product_variant",
                              "payment_method": "credit_card",
                              "payment_period": "at_once",
                              "displayed": false,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 645
                            }
                          }
                        ],
                        "catalogs": [
                          {
                            "id": 231,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2017-11-26T23:32:34.566+01:00",
                            "updated_at": "2017-11-26T23:32:34.566+01:00",
                            "price_grid_id": null,
                            "warehouse_id": null,
                            "catalogable_id": 102,
                            "catalogable_type": "Register"
                          }
                        ]
                      },
                      {
                        "id": 706,
                        "product_size_id": 2,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2018-07-05T14:07:30.719+02:00",
                        "updated_at": "2018-07-05T14:07:30.719+02:00",
                        "product_packaging_id": 887,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 580,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": "",
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": null,
                        "stock_all": "975.0",
                        "product": {
                          "id": 266,
                          "account_id": 86,
                          "name": "BIB AOC",
                          "product_color_id": 1,
                          "created_at": "2018-01-31T16:13:07.814+01:00",
                          "updated_at": "2018-09-04T23:11:07.116+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 1,
                          "inao_appellation_id": 107,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": null,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": null,
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOC Gaillac",
                          "product_color": {
                            "id": 1,
                            "name": "Rouge",
                            "position": 0,
                            "created_at": "2015-06-30T14:39:54.110+02:00",
                            "updated_at": "2018-09-28T17:31:41.753+02:00",
                            "handle": "red"
                          }
                        },
                        "product_vintage": {
                          "id": 580,
                          "product_id": 266,
                          "vintage": null,
                          "summary": "",
                          "body_html": "",
                          "abv": null,
                          "created_at": "2018-07-05T14:07:30.712+02:00",
                          "updated_at": "2018-07-05T14:07:30.712+02:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 2,
                          "name": "Bouteille (75 cl)",
                          "position": 0,
                          "milliliters": 750,
                          "created_at": "2015-06-30T14:39:54.153+02:00",
                          "updated_at": "2016-06-06T16:08:31.135+02:00",
                          "short_name": "75 cl",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 887,
                          "account_id": 86,
                          "name": "Bouteille",
                          "quantity": 1,
                          "created_at": "2018-01-18T12:09:34.546+01:00",
                          "updated_at": "2018-03-14T15:30:28.363+01:00",
                          "deleted_at": null,
                          "packing_quantity": 1,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [
                          {
                            "id": 1099,
                            "product_variant_id": 706,
                            "quantity": "1.0",
                            "created_at": "2018-10-10T11:09:36.848+02:00",
                            "updated_at": "2018-10-10T11:09:36.848+02:00",
                            "deleted_at": null,
                            "price_cents": 417,
                            "price_currency": "EUR",
                            "price_grid_id": 109,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 500,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 109,
                              "name": "Particulier 2",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.516+02:00",
                              "updated_at": "2020-04-29T06:12:45.597+02:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 1,
                              "calculation_method": "product_variant",
                              "payment_method": "credit_card",
                              "payment_period": "at_once",
                              "displayed": false,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 645
                            }
                          }
                        ],
                        "catalogs": []
                      },
                      {
                        "id": 397,
                        "product_size_id": null,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2018-02-06T10:14:50.059+01:00",
                        "updated_at": "2018-02-06T10:14:50.059+01:00",
                        "product_packaging_id": null,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 314,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": null,
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": null,
                        "stock_all": "0.0",
                        "product": {
                          "id": 267,
                          "account_id": 86,
                          "name": "Remise",
                          "product_color_id": null,
                          "created_at": "2018-02-06T10:14:50.030+01:00",
                          "updated_at": "2018-09-04T23:11:07.126+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": null,
                          "country_code": null,
                          "classification": null,
                          "position": 0,
                          "product_certification_id": null,
                          "inao_appellation_id": null,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": null,
                          "kind": "other",
                          "capsule_id": null,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": null,
                          "product_family_id": 851,
                          "neutral_capsule_id": null,
                          "appellation": null
                        },
                        "product_vintage": {
                          "id": 314,
                          "product_id": 267,
                          "vintage": null,
                          "summary": "",
                          "body_html": null,
                          "abv": null,
                          "created_at": "2018-02-06T10:14:50.056+01:00",
                          "updated_at": "2018-02-06T10:14:50.056+01:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": null,
                          "vineyard_work": null,
                          "winemaking": null,
                          "wine_ageing": null,
                          "wine_preparation": null,
                          "bottling": null,
                          "traceability": null,
                          "operating_temperature": null,
                          "tasting_advice": null,
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_prices": [],
                        "catalogs": []
                      },
                      {
                        "id": 402,
                        "product_size_id": null,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2018-02-09T11:26:41.726+01:00",
                        "updated_at": "2019-08-07T18:03:55.228+02:00",
                        "product_packaging_id": null,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 317,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": "",
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": false,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": null,
                        "stock_all": "0.0",
                        "product": {
                          "id": 270,
                          "account_id": 86,
                          "name": "Produit à 20%",
                          "product_color_id": null,
                          "created_at": "2018-02-09T11:26:41.718+01:00",
                          "updated_at": "2018-09-04T23:11:07.152+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": null,
                          "country_code": null,
                          "classification": null,
                          "position": 0,
                          "product_certification_id": null,
                          "inao_appellation_id": null,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": null,
                          "kind": "other",
                          "capsule_id": null,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": null,
                          "product_family_id": 851,
                          "neutral_capsule_id": null,
                          "appellation": null
                        },
                        "product_vintage": {
                          "id": 317,
                          "product_id": 270,
                          "vintage": null,
                          "summary": "",
                          "body_html": null,
                          "abv": null,
                          "created_at": "2018-02-09T11:26:41.724+01:00",
                          "updated_at": "2019-08-07T18:03:55.217+02:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": null,
                          "vineyard_work": null,
                          "winemaking": null,
                          "wine_ageing": null,
                          "wine_preparation": null,
                          "bottling": null,
                          "traceability": null,
                          "operating_temperature": null,
                          "tasting_advice": null,
                          "vinosoft_id": null,
                          "complement": "",
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_prices": [],
                        "catalogs": []
                      },
                      {
                        "id": 403,
                        "product_size_id": null,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2018-02-09T11:27:05.097+01:00",
                        "updated_at": "2018-02-09T11:27:05.097+01:00",
                        "product_packaging_id": null,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 318,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": null,
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": null,
                        "stock_all": "0.0",
                        "product": {
                          "id": 271,
                          "account_id": 86,
                          "name": "Produit à 5.5%",
                          "product_color_id": null,
                          "created_at": "2018-02-09T11:27:05.091+01:00",
                          "updated_at": "2018-09-04T23:11:07.161+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": null,
                          "country_code": null,
                          "classification": null,
                          "position": 0,
                          "product_certification_id": null,
                          "inao_appellation_id": null,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": null,
                          "kind": "other",
                          "capsule_id": null,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": null,
                          "product_family_id": 851,
                          "neutral_capsule_id": null,
                          "appellation": null
                        },
                        "product_vintage": {
                          "id": 318,
                          "product_id": 271,
                          "vintage": null,
                          "summary": "",
                          "body_html": null,
                          "abv": null,
                          "created_at": "2018-02-09T11:27:05.095+01:00",
                          "updated_at": "2018-02-09T11:27:05.095+01:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": null,
                          "vineyard_work": null,
                          "winemaking": null,
                          "wine_ageing": null,
                          "wine_preparation": null,
                          "bottling": null,
                          "traceability": null,
                          "operating_temperature": null,
                          "tasting_advice": null,
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_prices": [],
                        "catalogs": []
                      },
                      {
                        "id": 437,
                        "product_size_id": 2,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2018-03-13T17:18:18.048+01:00",
                        "updated_at": "2018-03-13T17:18:18.048+01:00",
                        "product_packaging_id": 887,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 346,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": null,
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": null,
                        "stock_all": "48.0",
                        "product": {
                          "id": 297,
                          "account_id": 86,
                          "name": "Blancs de Blancs",
                          "product_color_id": 2,
                          "created_at": "2018-03-13T17:18:18.025+01:00",
                          "updated_at": "2018-09-04T23:11:07.435+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": 2,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 1,
                          "inao_appellation_id": 370,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": null,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": null,
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOC Champagne ",
                          "product_color": {
                            "id": 2,
                            "name": "Blanc",
                            "position": 1,
                            "created_at": "2015-06-30T14:39:54.120+02:00",
                            "updated_at": "2018-09-28T17:31:41.763+02:00",
                            "handle": "white"
                          }
                        },
                        "product_vintage": {
                          "id": 346,
                          "product_id": 297,
                          "vintage": null,
                          "summary": "",
                          "body_html": "<p><br></p>",
                          "abv": null,
                          "created_at": "2018-03-13T17:18:18.043+01:00",
                          "updated_at": "2018-03-13T17:18:18.043+01:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 2,
                          "name": "Bouteille (75 cl)",
                          "position": 0,
                          "milliliters": 750,
                          "created_at": "2015-06-30T14:39:54.153+02:00",
                          "updated_at": "2016-06-06T16:08:31.135+02:00",
                          "short_name": "75 cl",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 887,
                          "account_id": 86,
                          "name": "Bouteille",
                          "quantity": 1,
                          "created_at": "2018-01-18T12:09:34.546+01:00",
                          "updated_at": "2018-03-14T15:30:28.363+01:00",
                          "deleted_at": null,
                          "packing_quantity": 1,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [
                          {
                            "id": 1097,
                            "product_variant_id": 437,
                            "quantity": "1.0",
                            "created_at": "2018-10-10T11:09:23.040+02:00",
                            "updated_at": "2018-10-10T11:09:23.040+02:00",
                            "deleted_at": null,
                            "price_cents": 2083,
                            "price_currency": "EUR",
                            "price_grid_id": 109,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 2500,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 109,
                              "name": "Particulier 2",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.516+02:00",
                              "updated_at": "2020-04-29T06:12:45.597+02:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 1,
                              "calculation_method": "product_variant",
                              "payment_method": "credit_card",
                              "payment_period": "at_once",
                              "displayed": false,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 645
                            }
                          }
                        ],
                        "catalogs": []
                      },
                      {
                        "id": 439,
                        "product_size_id": 2,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2018-03-14T14:53:02.367+01:00",
                        "updated_at": "2018-03-14T14:53:02.367+01:00",
                        "product_packaging_id": 887,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 348,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": null,
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": 2017,
                        "stock_all": "4905.0",
                        "product": {
                          "id": 299,
                          "account_id": 86,
                          "name": "L'inopiné",
                          "product_color_id": 1,
                          "created_at": "2018-03-14T14:53:02.351+01:00",
                          "updated_at": "2018-09-04T23:11:07.459+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 2,
                          "inao_appellation_id": 342,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": 37,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": null,
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOP Luberon",
                          "product_color": {
                            "id": 1,
                            "name": "Rouge",
                            "position": 0,
                            "created_at": "2015-06-30T14:39:54.110+02:00",
                            "updated_at": "2018-09-28T17:31:41.753+02:00",
                            "handle": "red"
                          }
                        },
                        "product_vintage": {
                          "id": 348,
                          "product_id": 299,
                          "vintage": 2017,
                          "summary": "",
                          "body_html": "<p><br></p>",
                          "abv": null,
                          "created_at": "2018-03-14T14:53:02.358+01:00",
                          "updated_at": "2018-03-14T14:53:02.358+01:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 2,
                          "name": "Bouteille (75 cl)",
                          "position": 0,
                          "milliliters": 750,
                          "created_at": "2015-06-30T14:39:54.153+02:00",
                          "updated_at": "2016-06-06T16:08:31.135+02:00",
                          "short_name": "75 cl",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 887,
                          "account_id": 86,
                          "name": "Bouteille",
                          "quantity": 1,
                          "created_at": "2018-01-18T12:09:34.546+01:00",
                          "updated_at": "2018-03-14T15:30:28.363+01:00",
                          "deleted_at": null,
                          "packing_quantity": 1,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [
                          {
                            "id": 1095,
                            "product_variant_id": 439,
                            "quantity": "1.0",
                            "created_at": "2018-10-10T11:08:34.686+02:00",
                            "updated_at": "2018-10-10T11:08:37.051+02:00",
                            "deleted_at": null,
                            "price_cents": 1083,
                            "price_currency": "EUR",
                            "price_grid_id": 109,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 1300,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 109,
                              "name": "Particulier 2",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.516+02:00",
                              "updated_at": "2020-04-29T06:12:45.597+02:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 1,
                              "calculation_method": "product_variant",
                              "payment_method": "credit_card",
                              "payment_period": "at_once",
                              "displayed": false,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 645
                            }
                          }
                        ],
                        "catalogs": []
                      },
                      {
                        "id": 440,
                        "product_size_id": 2,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2018-03-14T14:53:31.666+01:00",
                        "updated_at": "2019-01-28T19:00:02.969+01:00",
                        "product_packaging_id": 484,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 348,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": "",
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": 2017,
                        "stock_all": "4905.0",
                        "product": {
                          "id": 299,
                          "account_id": 86,
                          "name": "L'inopiné",
                          "product_color_id": 1,
                          "created_at": "2018-03-14T14:53:02.351+01:00",
                          "updated_at": "2018-09-04T23:11:07.459+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 2,
                          "inao_appellation_id": 342,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": 37,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": null,
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOP Luberon",
                          "product_color": {
                            "id": 1,
                            "name": "Rouge",
                            "position": 0,
                            "created_at": "2015-06-30T14:39:54.110+02:00",
                            "updated_at": "2018-09-28T17:31:41.753+02:00",
                            "handle": "red"
                          }
                        },
                        "product_vintage": {
                          "id": 348,
                          "product_id": 299,
                          "vintage": 2017,
                          "summary": "",
                          "body_html": "<p><br></p>",
                          "abv": null,
                          "created_at": "2018-03-14T14:53:02.358+01:00",
                          "updated_at": "2018-03-14T14:53:02.358+01:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 2,
                          "name": "Bouteille (75 cl)",
                          "position": 0,
                          "milliliters": 750,
                          "created_at": "2015-06-30T14:39:54.153+02:00",
                          "updated_at": "2016-06-06T16:08:31.135+02:00",
                          "short_name": "75 cl",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 484,
                          "account_id": 86,
                          "name": "Carton 6",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.282+02:00",
                          "updated_at": "2018-10-10T14:57:15.759+02:00",
                          "deleted_at": null,
                          "packing_quantity": 6,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [
                          {
                            "id": 1094,
                            "product_variant_id": 440,
                            "quantity": "1.0",
                            "created_at": "2018-10-10T11:08:32.011+02:00",
                            "updated_at": "2018-10-10T11:08:32.011+02:00",
                            "deleted_at": null,
                            "price_cents": 6250,
                            "price_currency": "EUR",
                            "price_grid_id": 109,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 7500,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 109,
                              "name": "Particulier 2",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.516+02:00",
                              "updated_at": "2020-04-29T06:12:45.597+02:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 1,
                              "calculation_method": "product_variant",
                              "payment_method": "credit_card",
                              "payment_period": "at_once",
                              "displayed": false,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 645
                            }
                          }
                        ],
                        "catalogs": [
                          {
                            "id": 231,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2017-11-26T23:32:34.566+01:00",
                            "updated_at": "2017-11-26T23:32:34.566+01:00",
                            "price_grid_id": null,
                            "warehouse_id": null,
                            "catalogable_id": 102,
                            "catalogable_type": "Register"
                          },
                          {
                            "id": 259,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2017-11-27T09:41:36.659+01:00",
                            "updated_at": "2019-10-15T11:17:19.090+02:00",
                            "price_grid_id": 761,
                            "warehouse_id": 87,
                            "catalogable_id": 130,
                            "catalogable_type": "Register"
                          }
                        ]
                      },
                      {
                        "id": 1010,
                        "product_size_id": 2,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2018-11-05T17:11:12.510+01:00",
                        "updated_at": "2018-11-05T17:11:12.510+01:00",
                        "product_packaging_id": 887,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 806,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": "",
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": 2012,
                        "stock_all": "0.0",
                        "product": {
                          "id": 696,
                          "account_id": 86,
                          "name": "Cuvée TURENNE",
                          "product_color_id": 1,
                          "created_at": "2018-11-05T17:11:12.470+01:00",
                          "updated_at": "2018-11-05T17:12:22.802+01:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 1,
                          "inao_appellation_id": 277,
                          "inao_denomination_id": 1208,
                          "inao_product_id": null,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": null,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": "",
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOC Languedoc Grès de Montpellier",
                          "product_color": {
                            "id": 1,
                            "name": "Rouge",
                            "position": 0,
                            "created_at": "2015-06-30T14:39:54.110+02:00",
                            "updated_at": "2018-09-28T17:31:41.753+02:00",
                            "handle": "red"
                          }
                        },
                        "product_vintage": {
                          "id": 806,
                          "product_id": 696,
                          "vintage": 2012,
                          "summary": "",
                          "body_html": "",
                          "abv": null,
                          "created_at": "2018-11-05T17:11:12.501+01:00",
                          "updated_at": "2018-11-05T17:11:12.501+01:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 2,
                          "name": "Bouteille (75 cl)",
                          "position": 0,
                          "milliliters": 750,
                          "created_at": "2015-06-30T14:39:54.153+02:00",
                          "updated_at": "2016-06-06T16:08:31.135+02:00",
                          "short_name": "75 cl",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 887,
                          "account_id": 86,
                          "name": "Bouteille",
                          "quantity": 1,
                          "created_at": "2018-01-18T12:09:34.546+01:00",
                          "updated_at": "2018-03-14T15:30:28.363+01:00",
                          "deleted_at": null,
                          "packing_quantity": 1,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [],
                        "catalogs": []
                      },
                      {
                        "id": 1069,
                        "product_size_id": 2,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2018-11-22T15:25:25.280+01:00",
                        "updated_at": "2018-11-22T15:28:19.951+01:00",
                        "product_packaging_id": 484,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 861,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": "",
                        "cost_price_cents": 600,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": null,
                        "stock_all": "-300.0",
                        "product": {
                          "id": 739,
                          "account_id": 86,
                          "name": "trebiac",
                          "product_color_id": 1,
                          "created_at": "2018-11-22T15:25:25.266+01:00",
                          "updated_at": "2018-11-22T15:25:25.266+01:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 1,
                          "inao_appellation_id": 109,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": "paid",
                          "kind": "standard",
                          "capsule_id": 22,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": "",
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOC Graves",
                          "product_color": {
                            "id": 1,
                            "name": "Rouge",
                            "position": 0,
                            "created_at": "2015-06-30T14:39:54.110+02:00",
                            "updated_at": "2018-09-28T17:31:41.753+02:00",
                            "handle": "red"
                          }
                        },
                        "product_vintage": {
                          "id": 861,
                          "product_id": 739,
                          "vintage": null,
                          "summary": "",
                          "body_html": "",
                          "abv": null,
                          "created_at": "2018-11-22T15:25:25.276+01:00",
                          "updated_at": "2018-11-22T15:25:25.276+01:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": "",
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 2,
                          "name": "Bouteille (75 cl)",
                          "position": 0,
                          "milliliters": 750,
                          "created_at": "2015-06-30T14:39:54.153+02:00",
                          "updated_at": "2016-06-06T16:08:31.135+02:00",
                          "short_name": "75 cl",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 484,
                          "account_id": 86,
                          "name": "Carton 6",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.282+02:00",
                          "updated_at": "2018-10-10T14:57:15.759+02:00",
                          "deleted_at": null,
                          "packing_quantity": 6,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [
                          {
                            "id": 1228,
                            "product_variant_id": 1069,
                            "quantity": "1.0",
                            "created_at": "2018-11-22T15:28:19.941+01:00",
                            "updated_at": "2018-11-22T15:28:19.941+01:00",
                            "deleted_at": null,
                            "price_cents": 600,
                            "price_currency": "EUR",
                            "price_grid_id": 440,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 440,
                              "name": "Fournisseur",
                              "deleted_at": null,
                              "created_at": "2018-06-18T16:39:27.428+02:00",
                              "updated_at": "2019-02-05T16:28:17.799+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": null,
                              "calculation_method": null,
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": false,
                              "quantities": [
                                "1.0",
                                "10.0",
                                "36.0"
                              ],
                              "supplier": true,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 1229,
                            "product_variant_id": 1069,
                            "quantity": "1.0",
                            "created_at": "2018-11-22T15:28:35.596+01:00",
                            "updated_at": "2018-11-22T15:28:35.596+01:00",
                            "deleted_at": null,
                            "price_cents": 790,
                            "price_currency": "EUR",
                            "price_grid_id": 108,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 108,
                              "name": "CHR",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.472+02:00",
                              "updated_at": "2019-11-26T12:34:57.350+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "36.0",
                                "1.0",
                                "120.0",
                                "60.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          }
                        ],
                        "catalogs": []
                      },
                      {
                        "id": 1054,
                        "product_size_id": 2,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2018-11-21T10:38:57.560+01:00",
                        "updated_at": "2018-11-21T10:38:57.560+01:00",
                        "product_packaging_id": 484,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 846,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": "",
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": 2017,
                        "stock_all": "-96.0",
                        "product": {
                          "id": 728,
                          "account_id": 86,
                          "name": "Bordeaux Grand Cru",
                          "product_color_id": 1,
                          "created_at": "2018-11-21T10:38:57.515+01:00",
                          "updated_at": "2018-12-19T09:31:39.696+01:00",
                          "deleted_at": null,
                          "supplier_id": 48,
                          "appellation_id": null,
                          "body_html": "",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 2,
                          "inao_appellation_id": 117,
                          "inao_denomination_id": 278,
                          "inao_product_id": 1678,
                          "excise_duty_state": "paid",
                          "kind": "standard",
                          "capsule_id": 22,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": "",
                          "product_family_id": 511,
                          "neutral_capsule_id": 43,
                          "appellation": "AOP Lussac-Saint-Emilion",
                          "product_color": {
                            "id": 1,
                            "name": "Rouge",
                            "position": 0,
                            "created_at": "2015-06-30T14:39:54.110+02:00",
                            "updated_at": "2018-09-28T17:31:41.753+02:00",
                            "handle": "red"
                          },
                          "supplier": {
                            "id": 48,
                            "name": "Mon fournisseur",
                            "email": "",
                            "note": "",
                            "deleted_at": null,
                            "created_at": "2018-11-21T10:37:11.513+01:00",
                            "updated_at": "2018-11-21T10:37:11.513+01:00"
                          }
                        },
                        "product_vintage": {
                          "id": 846,
                          "product_id": 728,
                          "vintage": 2017,
                          "summary": "",
                          "body_html": "",
                          "abv": "12.5",
                          "created_at": "2018-11-21T10:38:57.556+01:00",
                          "updated_at": "2018-11-21T10:38:57.556+01:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": "",
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 2,
                          "name": "Bouteille (75 cl)",
                          "position": 0,
                          "milliliters": 750,
                          "created_at": "2015-06-30T14:39:54.153+02:00",
                          "updated_at": "2016-06-06T16:08:31.135+02:00",
                          "short_name": "75 cl",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 484,
                          "account_id": 86,
                          "name": "Carton 6",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.282+02:00",
                          "updated_at": "2018-10-10T14:57:15.759+02:00",
                          "deleted_at": null,
                          "packing_quantity": 6,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [],
                        "catalogs": []
                      },
                      {
                        "id": 1035,
                        "product_size_id": null,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2018-11-13T18:35:12.821+01:00",
                        "updated_at": "2018-11-13T18:35:12.821+01:00",
                        "product_packaging_id": null,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 828,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": "",
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": null,
                        "stock_all": "0.0",
                        "product": {
                          "id": 715,
                          "account_id": 86,
                          "name": "Remise",
                          "product_color_id": null,
                          "created_at": "2018-11-13T18:35:12.764+01:00",
                          "updated_at": "2018-11-13T18:35:12.764+01:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "",
                          "text": null,
                          "product_category_id": null,
                          "country_code": null,
                          "classification": null,
                          "position": 0,
                          "product_certification_id": null,
                          "inao_appellation_id": null,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": null,
                          "kind": "other",
                          "capsule_id": null,
                          "interprofessional_code": null,
                          "vinosoft_id": null,
                          "zone_code": null,
                          "product_family_id": 514,
                          "neutral_capsule_id": null,
                          "appellation": null
                        },
                        "product_vintage": {
                          "id": 828,
                          "product_id": 715,
                          "vintage": null,
                          "summary": "",
                          "body_html": null,
                          "abv": null,
                          "created_at": "2018-11-13T18:35:12.809+01:00",
                          "updated_at": "2018-11-13T18:35:12.809+01:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": null,
                          "vineyard_work": null,
                          "winemaking": null,
                          "wine_ageing": null,
                          "wine_preparation": null,
                          "bottling": null,
                          "traceability": null,
                          "operating_temperature": null,
                          "tasting_advice": null,
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_prices": [],
                        "catalogs": []
                      },
                      {
                        "id": 553,
                        "product_size_id": null,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2018-04-06T17:56:12.316+02:00",
                        "updated_at": "2018-04-06T17:56:12.316+02:00",
                        "product_packaging_id": 887,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 459,
                        "nc8_code": null,
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": null,
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": null,
                        "stock_all": "-1.0",
                        "product": {
                          "id": 409,
                          "account_id": 86,
                          "name": "Test",
                          "product_color_id": null,
                          "created_at": "2018-04-06T17:56:12.249+02:00",
                          "updated_at": "2018-09-04T23:11:09.349+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "",
                          "text": null,
                          "product_category_id": null,
                          "country_code": null,
                          "classification": null,
                          "position": 0,
                          "product_certification_id": null,
                          "inao_appellation_id": null,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": null,
                          "kind": "pack",
                          "capsule_id": null,
                          "interprofessional_code": null,
                          "vinosoft_id": null,
                          "zone_code": null,
                          "product_family_id": 512,
                          "neutral_capsule_id": null,
                          "appellation": null
                        },
                        "product_vintage": {
                          "id": 459,
                          "product_id": 409,
                          "vintage": null,
                          "summary": "",
                          "body_html": null,
                          "abv": null,
                          "created_at": "2018-04-06T17:56:12.302+02:00",
                          "updated_at": "2018-04-06T17:56:12.302+02:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": null,
                          "vineyard_work": null,
                          "winemaking": null,
                          "wine_ageing": null,
                          "wine_preparation": null,
                          "bottling": null,
                          "traceability": null,
                          "operating_temperature": null,
                          "tasting_advice": null,
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_packaging": {
                          "id": 887,
                          "account_id": 86,
                          "name": "Bouteille",
                          "quantity": 1,
                          "created_at": "2018-01-18T12:09:34.546+01:00",
                          "updated_at": "2018-03-14T15:30:28.363+01:00",
                          "deleted_at": null,
                          "packing_quantity": 1,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [],
                        "catalogs": []
                      },
                      {
                        "id": 554,
                        "product_size_id": 2,
                        "sku": "BA001",
                        "default_barcode": "",
                        "created_at": "2018-04-07T10:34:09.367+02:00",
                        "updated_at": "2018-04-07T10:34:26.867+02:00",
                        "product_packaging_id": 484,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 460,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": "",
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": null,
                        "stock_all": "6000.0",
                        "product": {
                          "id": 410,
                          "account_id": 86,
                          "name": "CREMANT DE BOURGOGNE BRUT AUTHENTIQUE",
                          "product_color_id": 2,
                          "created_at": "2018-04-07T10:34:09.304+02:00",
                          "updated_at": "2018-09-04T23:11:09.368+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "<p>C'est vraiment un super mais alors super super super produit.<br></p>",
                          "text": null,
                          "product_category_id": 2,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 1,
                          "inao_appellation_id": 376,
                          "inao_denomination_id": 1438,
                          "inao_product_id": 4352,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": 22,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": "",
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOC Crémant de Bourgogne",
                          "product_color": {
                            "id": 2,
                            "name": "Blanc",
                            "position": 1,
                            "created_at": "2015-06-30T14:39:54.120+02:00",
                            "updated_at": "2018-09-28T17:31:41.763+02:00",
                            "handle": "white"
                          }
                        },
                        "product_vintage": {
                          "id": 460,
                          "product_id": 410,
                          "vintage": null,
                          "summary": "",
                          "body_html": "",
                          "abv": "12.0",
                          "created_at": "2018-04-07T10:34:09.353+02:00",
                          "updated_at": "2018-04-07T10:34:09.353+02:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 2,
                          "name": "Bouteille (75 cl)",
                          "position": 0,
                          "milliliters": 750,
                          "created_at": "2015-06-30T14:39:54.153+02:00",
                          "updated_at": "2016-06-06T16:08:31.135+02:00",
                          "short_name": "75 cl",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 484,
                          "account_id": 86,
                          "name": "Carton 6",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.282+02:00",
                          "updated_at": "2018-10-10T14:57:15.759+02:00",
                          "deleted_at": null,
                          "packing_quantity": 6,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [
                          {
                            "id": 1092,
                            "product_variant_id": 554,
                            "quantity": "1.0",
                            "created_at": "2018-10-10T11:08:14.801+02:00",
                            "updated_at": "2018-10-10T11:08:19.850+02:00",
                            "deleted_at": null,
                            "price_cents": 5000,
                            "price_currency": "EUR",
                            "price_grid_id": 109,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 6000,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 109,
                              "name": "Particulier 2",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.516+02:00",
                              "updated_at": "2020-04-29T06:12:45.597+02:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 1,
                              "calculation_method": "product_variant",
                              "payment_method": "credit_card",
                              "payment_period": "at_once",
                              "displayed": false,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 645
                            }
                          }
                        ],
                        "catalogs": []
                      },
                      {
                        "id": 555,
                        "product_size_id": 3,
                        "sku": "BA002",
                        "default_barcode": "",
                        "created_at": "2018-04-07T10:35:31.069+02:00",
                        "updated_at": "2018-04-07T10:35:50.078+02:00",
                        "product_packaging_id": 1068,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 460,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": "",
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": null,
                        "stock_all": "11985.0",
                        "product": {
                          "id": 410,
                          "account_id": 86,
                          "name": "CREMANT DE BOURGOGNE BRUT AUTHENTIQUE",
                          "product_color_id": 2,
                          "created_at": "2018-04-07T10:34:09.304+02:00",
                          "updated_at": "2018-09-04T23:11:09.368+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "<p>C'est vraiment un super mais alors super super super produit.<br></p>",
                          "text": null,
                          "product_category_id": 2,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 1,
                          "inao_appellation_id": 376,
                          "inao_denomination_id": 1438,
                          "inao_product_id": 4352,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": 22,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": "",
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOC Crémant de Bourgogne",
                          "product_color": {
                            "id": 2,
                            "name": "Blanc",
                            "position": 1,
                            "created_at": "2015-06-30T14:39:54.120+02:00",
                            "updated_at": "2018-09-28T17:31:41.763+02:00",
                            "handle": "white"
                          }
                        },
                        "product_vintage": {
                          "id": 460,
                          "product_id": 410,
                          "vintage": null,
                          "summary": "",
                          "body_html": "",
                          "abv": "12.0",
                          "created_at": "2018-04-07T10:34:09.353+02:00",
                          "updated_at": "2018-04-07T10:34:09.353+02:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 3,
                          "name": "Magnum (1,5 l)",
                          "position": 2,
                          "milliliters": 1500,
                          "created_at": "2015-06-30T14:39:54.159+02:00",
                          "updated_at": "2015-10-16T09:13:12.025+02:00",
                          "short_name": "1,5 l",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 1068,
                          "account_id": 86,
                          "name": "Caisse 1",
                          "quantity": 1,
                          "created_at": "2018-03-12T15:07:47.692+01:00",
                          "updated_at": "2018-03-12T15:07:47.692+01:00",
                          "deleted_at": null,
                          "packing_quantity": 1,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [
                          {
                            "id": 1093,
                            "product_variant_id": 555,
                            "quantity": "1.0",
                            "created_at": "2018-10-10T11:08:24.679+02:00",
                            "updated_at": "2018-10-10T11:08:24.679+02:00",
                            "deleted_at": null,
                            "price_cents": 1667,
                            "price_currency": "EUR",
                            "price_grid_id": 109,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 2000,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 109,
                              "name": "Particulier 2",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.516+02:00",
                              "updated_at": "2020-04-29T06:12:45.597+02:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 1,
                              "calculation_method": "product_variant",
                              "payment_method": "credit_card",
                              "payment_period": "at_once",
                              "displayed": false,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 645
                            }
                          }
                        ],
                        "catalogs": [
                          {
                            "id": 231,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2017-11-26T23:32:34.566+01:00",
                            "updated_at": "2017-11-26T23:32:34.566+01:00",
                            "price_grid_id": null,
                            "warehouse_id": null,
                            "catalogable_id": 102,
                            "catalogable_type": "Register"
                          }
                        ]
                      },
                      {
                        "id": 581,
                        "product_size_id": 2,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2018-04-23T14:53:40.123+02:00",
                        "updated_at": "2018-04-23T14:53:40.123+02:00",
                        "product_packaging_id": 887,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 483,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": "",
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": null,
                        "stock_all": "987.0",
                        "product": {
                          "id": 433,
                          "account_id": 86,
                          "name": "Origine",
                          "product_color_id": 1,
                          "created_at": "2018-04-23T14:53:40.043+02:00",
                          "updated_at": "2018-09-04T23:11:09.676+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 3,
                          "inao_appellation_id": 48,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": 37,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": "",
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "IGP Côtes Catalanes",
                          "product_color": {
                            "id": 1,
                            "name": "Rouge",
                            "position": 0,
                            "created_at": "2015-06-30T14:39:54.110+02:00",
                            "updated_at": "2018-09-28T17:31:41.753+02:00",
                            "handle": "red"
                          }
                        },
                        "product_vintage": {
                          "id": 483,
                          "product_id": 433,
                          "vintage": null,
                          "summary": "",
                          "body_html": "",
                          "abv": null,
                          "created_at": "2018-04-23T14:53:40.088+02:00",
                          "updated_at": "2018-04-23T14:53:40.088+02:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 2,
                          "name": "Bouteille (75 cl)",
                          "position": 0,
                          "milliliters": 750,
                          "created_at": "2015-06-30T14:39:54.153+02:00",
                          "updated_at": "2016-06-06T16:08:31.135+02:00",
                          "short_name": "75 cl",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 887,
                          "account_id": 86,
                          "name": "Bouteille",
                          "quantity": 1,
                          "created_at": "2018-01-18T12:09:34.546+01:00",
                          "updated_at": "2018-03-14T15:30:28.363+01:00",
                          "deleted_at": null,
                          "packing_quantity": 1,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [
                          {
                            "id": 1089,
                            "product_variant_id": 581,
                            "quantity": "1.0",
                            "created_at": "2018-10-10T11:07:19.273+02:00",
                            "updated_at": "2018-10-10T11:07:19.273+02:00",
                            "deleted_at": null,
                            "price_cents": 1000,
                            "price_currency": "EUR",
                            "price_grid_id": 109,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 1200,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 109,
                              "name": "Particulier 2",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.516+02:00",
                              "updated_at": "2020-04-29T06:12:45.597+02:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 1,
                              "calculation_method": "product_variant",
                              "payment_method": "credit_card",
                              "payment_period": "at_once",
                              "displayed": false,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 645
                            }
                          }
                        ],
                        "catalogs": []
                      },
                      {
                        "id": 582,
                        "product_size_id": 3,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2018-04-23T14:53:49.621+02:00",
                        "updated_at": "2018-04-23T14:53:49.621+02:00",
                        "product_packaging_id": 887,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 483,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": "",
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": null,
                        "stock_all": "817.0",
                        "product": {
                          "id": 433,
                          "account_id": 86,
                          "name": "Origine",
                          "product_color_id": 1,
                          "created_at": "2018-04-23T14:53:40.043+02:00",
                          "updated_at": "2018-09-04T23:11:09.676+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 3,
                          "inao_appellation_id": 48,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": 37,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": "",
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "IGP Côtes Catalanes",
                          "product_color": {
                            "id": 1,
                            "name": "Rouge",
                            "position": 0,
                            "created_at": "2015-06-30T14:39:54.110+02:00",
                            "updated_at": "2018-09-28T17:31:41.753+02:00",
                            "handle": "red"
                          }
                        },
                        "product_vintage": {
                          "id": 483,
                          "product_id": 433,
                          "vintage": null,
                          "summary": "",
                          "body_html": "",
                          "abv": null,
                          "created_at": "2018-04-23T14:53:40.088+02:00",
                          "updated_at": "2018-04-23T14:53:40.088+02:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 3,
                          "name": "Magnum (1,5 l)",
                          "position": 2,
                          "milliliters": 1500,
                          "created_at": "2015-06-30T14:39:54.159+02:00",
                          "updated_at": "2015-10-16T09:13:12.025+02:00",
                          "short_name": "1,5 l",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 887,
                          "account_id": 86,
                          "name": "Bouteille",
                          "quantity": 1,
                          "created_at": "2018-01-18T12:09:34.546+01:00",
                          "updated_at": "2018-03-14T15:30:28.363+01:00",
                          "deleted_at": null,
                          "packing_quantity": 1,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [
                          {
                            "id": 1090,
                            "product_variant_id": 582,
                            "quantity": "1.0",
                            "created_at": "2018-10-10T11:07:22.587+02:00",
                            "updated_at": "2018-10-10T11:07:22.587+02:00",
                            "deleted_at": null,
                            "price_cents": 2083,
                            "price_currency": "EUR",
                            "price_grid_id": 109,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 2500,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 109,
                              "name": "Particulier 2",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.516+02:00",
                              "updated_at": "2020-04-29T06:12:45.597+02:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 1,
                              "calculation_method": "product_variant",
                              "payment_method": "credit_card",
                              "payment_period": "at_once",
                              "displayed": false,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 645
                            }
                          }
                        ],
                        "catalogs": [
                          {
                            "id": 231,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2017-11-26T23:32:34.566+01:00",
                            "updated_at": "2017-11-26T23:32:34.566+01:00",
                            "price_grid_id": null,
                            "warehouse_id": null,
                            "catalogable_id": 102,
                            "catalogable_type": "Register"
                          },
                          {
                            "id": 259,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2017-11-27T09:41:36.659+01:00",
                            "updated_at": "2019-10-15T11:17:19.090+02:00",
                            "price_grid_id": 761,
                            "warehouse_id": 87,
                            "catalogable_id": 130,
                            "catalogable_type": "Register"
                          }
                        ]
                      },
                      {
                        "id": 1690,
                        "product_size_id": 2,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2019-02-04T09:04:51.446+01:00",
                        "updated_at": "2019-02-04T09:05:16.820+01:00",
                        "product_packaging_id": 484,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 1287,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": "",
                        "cost_price_cents": 500,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": 2018,
                        "stock_all": "376.0",
                        "product": {
                          "id": 433,
                          "account_id": 86,
                          "name": "Origine",
                          "product_color_id": 1,
                          "created_at": "2018-04-23T14:53:40.043+02:00",
                          "updated_at": "2018-09-04T23:11:09.676+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 3,
                          "inao_appellation_id": 48,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": 37,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": "",
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "IGP Côtes Catalanes",
                          "product_color": {
                            "id": 1,
                            "name": "Rouge",
                            "position": 0,
                            "created_at": "2015-06-30T14:39:54.110+02:00",
                            "updated_at": "2018-09-28T17:31:41.753+02:00",
                            "handle": "red"
                          }
                        },
                        "product_vintage": {
                          "id": 1287,
                          "product_id": 433,
                          "vintage": 2018,
                          "summary": "",
                          "body_html": "",
                          "abv": null,
                          "created_at": "2019-02-04T09:04:51.441+01:00",
                          "updated_at": "2019-02-04T09:04:51.441+01:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": "",
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 2,
                          "name": "Bouteille (75 cl)",
                          "position": 0,
                          "milliliters": 750,
                          "created_at": "2015-06-30T14:39:54.153+02:00",
                          "updated_at": "2016-06-06T16:08:31.135+02:00",
                          "short_name": "75 cl",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 484,
                          "account_id": 86,
                          "name": "Carton 6",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.282+02:00",
                          "updated_at": "2018-10-10T14:57:15.759+02:00",
                          "deleted_at": null,
                          "packing_quantity": 6,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [
                          {
                            "id": 1455,
                            "product_variant_id": 1690,
                            "quantity": "1.0",
                            "created_at": "2019-02-04T09:05:14.249+01:00",
                            "updated_at": "2019-02-04T09:08:24.440+01:00",
                            "deleted_at": null,
                            "price_cents": 1000,
                            "price_currency": "EUR",
                            "price_grid_id": 109,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 1200,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 109,
                              "name": "Particulier 2",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.516+02:00",
                              "updated_at": "2020-04-29T06:12:45.597+02:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 1,
                              "calculation_method": "product_variant",
                              "payment_method": "credit_card",
                              "payment_period": "at_once",
                              "displayed": false,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 645
                            }
                          }
                        ],
                        "catalogs": [
                          {
                            "id": 990,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2019-11-26T09:26:00.485+01:00",
                            "updated_at": "2019-11-26T09:26:00.485+01:00",
                            "price_grid_id": 761,
                            "warehouse_id": 86,
                            "catalogable_id": 510,
                            "catalogable_type": "Register"
                          }
                        ]
                      },
                      {
                        "id": 1013,
                        "product_size_id": null,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2018-11-09T21:26:49.326+01:00",
                        "updated_at": "2018-11-09T21:26:49.326+01:00",
                        "product_packaging_id": 887,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 809,
                        "nc8_code": null,
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": null,
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": null,
                        "stock_all": "0.0",
                        "product": {
                          "id": 699,
                          "account_id": 86,
                          "name": "",
                          "product_color_id": null,
                          "created_at": "2018-11-09T21:26:49.282+01:00",
                          "updated_at": "2018-11-09T21:26:49.282+01:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "",
                          "text": null,
                          "product_category_id": null,
                          "country_code": null,
                          "classification": null,
                          "position": 0,
                          "product_certification_id": null,
                          "inao_appellation_id": null,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": null,
                          "kind": "pack",
                          "capsule_id": null,
                          "interprofessional_code": null,
                          "vinosoft_id": null,
                          "zone_code": null,
                          "product_family_id": 512,
                          "neutral_capsule_id": null,
                          "appellation": null
                        },
                        "product_vintage": {
                          "id": 809,
                          "product_id": 699,
                          "vintage": null,
                          "summary": "",
                          "body_html": null,
                          "abv": null,
                          "created_at": "2018-11-09T21:26:49.323+01:00",
                          "updated_at": "2018-11-09T21:26:49.323+01:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": null,
                          "vineyard_work": null,
                          "winemaking": null,
                          "wine_ageing": null,
                          "wine_preparation": null,
                          "bottling": null,
                          "traceability": null,
                          "operating_temperature": null,
                          "tasting_advice": null,
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_packaging": {
                          "id": 887,
                          "account_id": 86,
                          "name": "Bouteille",
                          "quantity": 1,
                          "created_at": "2018-01-18T12:09:34.546+01:00",
                          "updated_at": "2018-03-14T15:30:28.363+01:00",
                          "deleted_at": null,
                          "packing_quantity": 1,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [],
                        "catalogs": []
                      },
                      {
                        "id": 1131,
                        "product_size_id": 18,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2018-12-14T15:13:50.307+01:00",
                        "updated_at": "2018-12-14T15:13:50.307+01:00",
                        "product_packaging_id": 484,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 917,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": "",
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": 2018,
                        "stock_all": "0.0",
                        "product": {
                          "id": 777,
                          "account_id": 86,
                          "name": "Touraine VRAC",
                          "product_color_id": 1,
                          "created_at": "2018-12-14T15:13:50.293+01:00",
                          "updated_at": "2018-12-14T15:13:50.293+01:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 1,
                          "inao_appellation_id": 168,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": null,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": "",
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOC Touraine",
                          "product_color": {
                            "id": 1,
                            "name": "Rouge",
                            "position": 0,
                            "created_at": "2015-06-30T14:39:54.110+02:00",
                            "updated_at": "2018-09-28T17:31:41.753+02:00",
                            "handle": "red"
                          }
                        },
                        "product_vintage": {
                          "id": 917,
                          "product_id": 777,
                          "vintage": 2018,
                          "summary": "",
                          "body_html": "",
                          "abv": null,
                          "created_at": "2018-12-14T15:13:50.302+01:00",
                          "updated_at": "2018-12-14T15:13:50.302+01:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": "",
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 18,
                          "name": "Vrac Hectolitre (1 hl)",
                          "position": 17,
                          "milliliters": 100000,
                          "created_at": "2017-07-31T23:17:31.596+02:00",
                          "updated_at": "2017-07-31T23:17:31.596+02:00",
                          "short_name": "1 hl",
                          "kind": "bulk"
                        },
                        "product_packaging": {
                          "id": 484,
                          "account_id": 86,
                          "name": "Carton 6",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.282+02:00",
                          "updated_at": "2018-10-10T14:57:15.759+02:00",
                          "deleted_at": null,
                          "packing_quantity": 6,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [],
                        "catalogs": []
                      },
                      {
                        "id": 1771,
                        "product_size_id": 14,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2019-02-26T18:47:11.802+01:00",
                        "updated_at": "2019-02-26T18:47:11.802+01:00",
                        "product_packaging_id": 484,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 1347,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": "",
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": false,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": null,
                        "stock_all": "10000.0",
                        "product": {
                          "id": 777,
                          "account_id": 86,
                          "name": "Touraine VRAC",
                          "product_color_id": 1,
                          "created_at": "2018-12-14T15:13:50.293+01:00",
                          "updated_at": "2018-12-14T15:13:50.293+01:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 1,
                          "inao_appellation_id": 168,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": null,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": "",
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOC Touraine",
                          "product_color": {
                            "id": 1,
                            "name": "Rouge",
                            "position": 0,
                            "created_at": "2015-06-30T14:39:54.110+02:00",
                            "updated_at": "2018-09-28T17:31:41.753+02:00",
                            "handle": "red"
                          }
                        },
                        "product_vintage": {
                          "id": 1347,
                          "product_id": 777,
                          "vintage": null,
                          "summary": "",
                          "body_html": "",
                          "abv": null,
                          "created_at": "2019-02-26T18:47:11.797+01:00",
                          "updated_at": "2019-02-26T18:47:11.797+01:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": "",
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 14,
                          "name": "Vrac litre",
                          "position": 13,
                          "milliliters": 1000,
                          "created_at": "2017-03-30T14:38:36.778+02:00",
                          "updated_at": "2017-03-30T14:38:36.778+02:00",
                          "short_name": "Vrac litre",
                          "kind": "bulk"
                        },
                        "product_packaging": {
                          "id": 484,
                          "account_id": 86,
                          "name": "Carton 6",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.282+02:00",
                          "updated_at": "2018-10-10T14:57:15.759+02:00",
                          "deleted_at": null,
                          "packing_quantity": 6,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [],
                        "catalogs": []
                      },
                      {
                        "id": 1068,
                        "product_size_id": 2,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2018-11-22T11:02:36.025+01:00",
                        "updated_at": "2018-11-22T11:02:36.025+01:00",
                        "product_packaging_id": 484,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 860,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": "",
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": 2015,
                        "stock_all": "0.0",
                        "product": {
                          "id": 738,
                          "account_id": 86,
                          "name": "Chablis",
                          "product_color_id": 1,
                          "created_at": "2018-11-22T11:02:36.010+01:00",
                          "updated_at": "2018-11-22T11:02:36.010+01:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 6,
                          "inao_appellation_id": null,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": null,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": "",
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": null,
                          "product_color": {
                            "id": 1,
                            "name": "Rouge",
                            "position": 0,
                            "created_at": "2015-06-30T14:39:54.110+02:00",
                            "updated_at": "2018-09-28T17:31:41.753+02:00",
                            "handle": "red"
                          }
                        },
                        "product_vintage": {
                          "id": 860,
                          "product_id": 738,
                          "vintage": 2015,
                          "summary": "",
                          "body_html": "",
                          "abv": null,
                          "created_at": "2018-11-22T11:02:36.019+01:00",
                          "updated_at": "2019-02-26T09:39:08.297+01:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": "Vin de France",
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 2,
                          "name": "Bouteille (75 cl)",
                          "position": 0,
                          "milliliters": 750,
                          "created_at": "2015-06-30T14:39:54.153+02:00",
                          "updated_at": "2016-06-06T16:08:31.135+02:00",
                          "short_name": "75 cl",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 484,
                          "account_id": 86,
                          "name": "Carton 6",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.282+02:00",
                          "updated_at": "2018-10-10T14:57:15.759+02:00",
                          "deleted_at": null,
                          "packing_quantity": 6,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [],
                        "catalogs": []
                      },
                      {
                        "id": 1132,
                        "product_size_id": null,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2018-12-14T15:18:47.296+01:00",
                        "updated_at": "2018-12-14T15:18:47.296+01:00",
                        "product_packaging_id": null,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 918,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": "",
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": null,
                        "stock_all": "0.0",
                        "product": {
                          "id": 778,
                          "account_id": 86,
                          "name": "KG de vendange fraiche",
                          "product_color_id": null,
                          "created_at": "2018-12-14T15:18:47.288+01:00",
                          "updated_at": "2018-12-14T15:18:47.288+01:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "",
                          "text": null,
                          "product_category_id": null,
                          "country_code": null,
                          "classification": null,
                          "position": 0,
                          "product_certification_id": null,
                          "inao_appellation_id": null,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": null,
                          "kind": "other",
                          "capsule_id": null,
                          "interprofessional_code": null,
                          "vinosoft_id": null,
                          "zone_code": null,
                          "product_family_id": 611,
                          "neutral_capsule_id": null,
                          "appellation": null
                        },
                        "product_vintage": {
                          "id": 918,
                          "product_id": 778,
                          "vintage": null,
                          "summary": "",
                          "body_html": null,
                          "abv": null,
                          "created_at": "2018-12-14T15:18:47.294+01:00",
                          "updated_at": "2018-12-14T15:18:47.294+01:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": null,
                          "vineyard_work": null,
                          "winemaking": null,
                          "wine_ageing": null,
                          "wine_preparation": null,
                          "bottling": null,
                          "traceability": null,
                          "operating_temperature": null,
                          "tasting_advice": null,
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_prices": [],
                        "catalogs": []
                      },
                      {
                        "id": 931,
                        "product_size_id": 2,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2018-10-10T14:51:24.805+02:00",
                        "updated_at": "2018-10-10T14:51:24.805+02:00",
                        "product_packaging_id": 483,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 590,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": "",
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": 2016,
                        "stock_all": "2020.0",
                        "product": {
                          "id": 524,
                          "account_id": 86,
                          "name": "Agate",
                          "product_color_id": 1,
                          "created_at": "2018-07-13T14:38:33.816+02:00",
                          "updated_at": "2018-10-10T14:58:04.838+02:00",
                          "deleted_at": null,
                          "supplier_id": 45,
                          "appellation_id": null,
                          "body_html": "",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 1,
                          "inao_appellation_id": 94,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": 22,
                          "interprofessional_code": "BXR",
                          "vinosoft_id": null,
                          "zone_code": "",
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOC Bordeaux",
                          "product_color": {
                            "id": 1,
                            "name": "Rouge",
                            "position": 0,
                            "created_at": "2015-06-30T14:39:54.110+02:00",
                            "updated_at": "2018-09-28T17:31:41.753+02:00",
                            "handle": "red"
                          },
                          "supplier": {
                            "id": 45,
                            "name": "Briard",
                            "email": "",
                            "note": "",
                            "deleted_at": null,
                            "created_at": "2018-07-13T14:38:09.662+02:00",
                            "updated_at": "2018-07-13T14:38:09.662+02:00"
                          }
                        },
                        "product_vintage": {
                          "id": 590,
                          "product_id": 524,
                          "vintage": 2016,
                          "summary": "",
                          "body_html": "",
                          "abv": null,
                          "created_at": "2018-07-13T14:38:33.859+02:00",
                          "updated_at": "2018-07-13T14:38:33.859+02:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 2,
                          "name": "Bouteille (75 cl)",
                          "position": 0,
                          "milliliters": 750,
                          "created_at": "2015-06-30T14:39:54.153+02:00",
                          "updated_at": "2016-06-06T16:08:31.135+02:00",
                          "short_name": "75 cl",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 483,
                          "account_id": 86,
                          "name": "Carton 3",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.273+02:00",
                          "updated_at": "2018-10-10T14:57:20.767+02:00",
                          "deleted_at": null,
                          "packing_quantity": 3,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [],
                        "catalogs": [
                          {
                            "id": 231,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2017-11-26T23:32:34.566+01:00",
                            "updated_at": "2017-11-26T23:32:34.566+01:00",
                            "price_grid_id": null,
                            "warehouse_id": null,
                            "catalogable_id": 102,
                            "catalogable_type": "Register"
                          }
                        ]
                      },
                      {
                        "id": 718,
                        "product_size_id": 2,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2018-07-13T14:38:33.863+02:00",
                        "updated_at": "2018-10-10T14:51:30.316+02:00",
                        "product_packaging_id": 484,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 590,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": "",
                        "cost_price_cents": 450,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": 2016,
                        "stock_all": "2020.0",
                        "product": {
                          "id": 524,
                          "account_id": 86,
                          "name": "Agate",
                          "product_color_id": 1,
                          "created_at": "2018-07-13T14:38:33.816+02:00",
                          "updated_at": "2018-10-10T14:58:04.838+02:00",
                          "deleted_at": null,
                          "supplier_id": 45,
                          "appellation_id": null,
                          "body_html": "",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 1,
                          "inao_appellation_id": 94,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": 22,
                          "interprofessional_code": "BXR",
                          "vinosoft_id": null,
                          "zone_code": "",
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOC Bordeaux",
                          "product_color": {
                            "id": 1,
                            "name": "Rouge",
                            "position": 0,
                            "created_at": "2015-06-30T14:39:54.110+02:00",
                            "updated_at": "2018-09-28T17:31:41.753+02:00",
                            "handle": "red"
                          },
                          "supplier": {
                            "id": 45,
                            "name": "Briard",
                            "email": "",
                            "note": "",
                            "deleted_at": null,
                            "created_at": "2018-07-13T14:38:09.662+02:00",
                            "updated_at": "2018-07-13T14:38:09.662+02:00"
                          }
                        },
                        "product_vintage": {
                          "id": 590,
                          "product_id": 524,
                          "vintage": 2016,
                          "summary": "",
                          "body_html": "",
                          "abv": null,
                          "created_at": "2018-07-13T14:38:33.859+02:00",
                          "updated_at": "2018-07-13T14:38:33.859+02:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 2,
                          "name": "Bouteille (75 cl)",
                          "position": 0,
                          "milliliters": 750,
                          "created_at": "2015-06-30T14:39:54.153+02:00",
                          "updated_at": "2016-06-06T16:08:31.135+02:00",
                          "short_name": "75 cl",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 484,
                          "account_id": 86,
                          "name": "Carton 6",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.282+02:00",
                          "updated_at": "2018-10-10T14:57:15.759+02:00",
                          "deleted_at": null,
                          "packing_quantity": 6,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [
                          {
                            "id": 823,
                            "product_variant_id": 718,
                            "quantity": "1.0",
                            "created_at": "2018-07-13T15:39:38.293+02:00",
                            "updated_at": "2018-09-05T10:45:05.412+02:00",
                            "deleted_at": null,
                            "price_cents": 1200,
                            "price_currency": "EUR",
                            "price_grid_id": 108,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 108,
                              "name": "CHR",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.472+02:00",
                              "updated_at": "2019-11-26T12:34:57.350+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "36.0",
                                "1.0",
                                "120.0",
                                "60.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 924,
                            "product_variant_id": 718,
                            "quantity": "36.0",
                            "created_at": "2018-08-14T17:29:40.732+02:00",
                            "updated_at": "2018-09-05T10:45:09.764+02:00",
                            "deleted_at": null,
                            "price_cents": 1200,
                            "price_currency": "EUR",
                            "price_grid_id": 108,
                            "customer_id": null,
                            "free_shipping": true,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 108,
                              "name": "CHR",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.472+02:00",
                              "updated_at": "2019-11-26T12:34:57.350+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "36.0",
                                "1.0",
                                "120.0",
                                "60.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 997,
                            "product_variant_id": 718,
                            "quantity": "120.0",
                            "created_at": "2018-09-05T10:45:19.596+02:00",
                            "updated_at": "2018-09-05T10:45:19.596+02:00",
                            "deleted_at": null,
                            "price_cents": 1100,
                            "price_currency": "EUR",
                            "price_grid_id": 108,
                            "customer_id": null,
                            "free_shipping": true,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 108,
                              "name": "CHR",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.472+02:00",
                              "updated_at": "2019-11-26T12:34:57.350+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "36.0",
                                "1.0",
                                "120.0",
                                "60.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 996,
                            "product_variant_id": 718,
                            "quantity": "60.0",
                            "created_at": "2018-09-05T10:45:15.989+02:00",
                            "updated_at": "2018-09-05T10:45:21.798+02:00",
                            "deleted_at": null,
                            "price_cents": 1150,
                            "price_currency": "EUR",
                            "price_grid_id": 108,
                            "customer_id": null,
                            "free_shipping": true,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 108,
                              "name": "CHR",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.472+02:00",
                              "updated_at": "2019-11-26T12:34:57.350+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "36.0",
                                "1.0",
                                "120.0",
                                "60.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 1082,
                            "product_variant_id": 718,
                            "quantity": "1.0",
                            "created_at": "2018-10-10T11:06:22.727+02:00",
                            "updated_at": "2018-10-10T11:06:22.727+02:00",
                            "deleted_at": null,
                            "price_cents": 2083,
                            "price_currency": "EUR",
                            "price_grid_id": 109,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 2500,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 109,
                              "name": "Particulier 2",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.516+02:00",
                              "updated_at": "2020-04-29T06:12:45.597+02:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 1,
                              "calculation_method": "product_variant",
                              "payment_method": "credit_card",
                              "payment_period": "at_once",
                              "displayed": false,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 645
                            }
                          },
                          {
                            "id": 1179,
                            "product_variant_id": 718,
                            "quantity": "1.0",
                            "created_at": "2018-11-05T10:32:01.335+01:00",
                            "updated_at": "2018-11-05T10:32:01.335+01:00",
                            "deleted_at": null,
                            "price_cents": 300,
                            "price_currency": "EUR",
                            "price_grid_id": 440,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 440,
                              "name": "Fournisseur",
                              "deleted_at": null,
                              "created_at": "2018-06-18T16:39:27.428+02:00",
                              "updated_at": "2019-02-05T16:28:17.799+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": null,
                              "calculation_method": null,
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": false,
                              "quantities": [
                                "1.0",
                                "10.0",
                                "36.0"
                              ],
                              "supplier": true,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 1180,
                            "product_variant_id": 718,
                            "quantity": "10.0",
                            "created_at": "2018-11-05T10:32:05.893+01:00",
                            "updated_at": "2018-11-05T10:32:05.893+01:00",
                            "deleted_at": null,
                            "price_cents": 290,
                            "price_currency": "EUR",
                            "price_grid_id": 440,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 440,
                              "name": "Fournisseur",
                              "deleted_at": null,
                              "created_at": "2018-06-18T16:39:27.428+02:00",
                              "updated_at": "2019-02-05T16:28:17.799+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": null,
                              "calculation_method": null,
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": false,
                              "quantities": [
                                "1.0",
                                "10.0",
                                "36.0"
                              ],
                              "supplier": true,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 1181,
                            "product_variant_id": 718,
                            "quantity": "36.0",
                            "created_at": "2018-11-05T10:32:10.799+01:00",
                            "updated_at": "2018-11-05T10:32:10.799+01:00",
                            "deleted_at": null,
                            "price_cents": 290,
                            "price_currency": "EUR",
                            "price_grid_id": 440,
                            "customer_id": null,
                            "free_shipping": true,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 440,
                              "name": "Fournisseur",
                              "deleted_at": null,
                              "created_at": "2018-06-18T16:39:27.428+02:00",
                              "updated_at": "2019-02-05T16:28:17.799+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": null,
                              "calculation_method": null,
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": false,
                              "quantities": [
                                "1.0",
                                "10.0",
                                "36.0"
                              ],
                              "supplier": true,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 1264,
                            "product_variant_id": 718,
                            "quantity": "1.0",
                            "created_at": "2018-12-04T10:20:37.498+01:00",
                            "updated_at": "2018-12-04T10:20:37.498+01:00",
                            "deleted_at": null,
                            "price_cents": 1000,
                            "price_currency": "EUR",
                            "price_grid_id": 149,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 149,
                              "name": "Export",
                              "deleted_at": null,
                              "created_at": "2017-09-26T19:08:50.486+02:00",
                              "updated_at": "2020-04-29T06:12:56.472+02:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": "transfer",
                              "payment_period": "",
                              "displayed": true,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 649
                            }
                          },
                          {
                            "id": 1972,
                            "product_variant_id": 718,
                            "quantity": "1.0",
                            "created_at": "2019-06-03T11:11:38.500+02:00",
                            "updated_at": "2019-06-03T11:11:38.500+02:00",
                            "deleted_at": null,
                            "price_cents": 1653,
                            "price_currency": "EUR",
                            "price_grid_id": 761,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 2000,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 761,
                              "name": "Particulier",
                              "deleted_at": null,
                              "created_at": "2019-02-26T17:51:07.692+01:00",
                              "updated_at": "2019-02-26T17:51:07.692+01:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 2,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 1973,
                            "product_variant_id": 718,
                            "quantity": "1.0",
                            "created_at": "2019-06-03T11:11:43.171+02:00",
                            "updated_at": "2019-06-03T11:11:43.171+02:00",
                            "deleted_at": null,
                            "price_cents": 1500,
                            "price_currency": "EUR",
                            "price_grid_id": 226,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 226,
                              "name": "Degustation",
                              "deleted_at": null,
                              "created_at": "2017-12-20T08:31:10.312+01:00",
                              "updated_at": "2019-06-03T11:11:10.375+02:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          }
                        ],
                        "catalogs": [
                          {
                            "id": 259,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2017-11-27T09:41:36.659+01:00",
                            "updated_at": "2019-10-15T11:17:19.090+02:00",
                            "price_grid_id": 761,
                            "warehouse_id": 87,
                            "catalogable_id": 130,
                            "catalogable_type": "Register"
                          },
                          {
                            "id": 990,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2019-11-26T09:26:00.485+01:00",
                            "updated_at": "2019-11-26T09:26:00.485+01:00",
                            "price_grid_id": 761,
                            "warehouse_id": 86,
                            "catalogable_id": 510,
                            "catalogable_type": "Register"
                          }
                        ]
                      },
                      {
                        "id": 1701,
                        "product_size_id": 2,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2019-02-12T10:14:04.243+01:00",
                        "updated_at": "2019-03-19T12:34:23.064+01:00",
                        "product_packaging_id": 484,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 1296,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": "",
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": 2017,
                        "stock_all": "4546.0",
                        "product": {
                          "id": 524,
                          "account_id": 86,
                          "name": "Agate",
                          "product_color_id": 1,
                          "created_at": "2018-07-13T14:38:33.816+02:00",
                          "updated_at": "2018-10-10T14:58:04.838+02:00",
                          "deleted_at": null,
                          "supplier_id": 45,
                          "appellation_id": null,
                          "body_html": "",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 1,
                          "inao_appellation_id": 94,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": 22,
                          "interprofessional_code": "BXR",
                          "vinosoft_id": null,
                          "zone_code": "",
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOC Bordeaux",
                          "product_color": {
                            "id": 1,
                            "name": "Rouge",
                            "position": 0,
                            "created_at": "2015-06-30T14:39:54.110+02:00",
                            "updated_at": "2018-09-28T17:31:41.753+02:00",
                            "handle": "red"
                          },
                          "supplier": {
                            "id": 45,
                            "name": "Briard",
                            "email": "",
                            "note": "",
                            "deleted_at": null,
                            "created_at": "2018-07-13T14:38:09.662+02:00",
                            "updated_at": "2018-07-13T14:38:09.662+02:00"
                          }
                        },
                        "product_vintage": {
                          "id": 1296,
                          "product_id": 524,
                          "vintage": 2017,
                          "summary": "",
                          "body_html": "",
                          "abv": null,
                          "created_at": "2019-02-12T10:14:04.238+01:00",
                          "updated_at": "2019-02-12T10:14:04.238+01:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": "",
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 2,
                          "name": "Bouteille (75 cl)",
                          "position": 0,
                          "milliliters": 750,
                          "created_at": "2015-06-30T14:39:54.153+02:00",
                          "updated_at": "2016-06-06T16:08:31.135+02:00",
                          "short_name": "75 cl",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 484,
                          "account_id": 86,
                          "name": "Carton 6",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.282+02:00",
                          "updated_at": "2018-10-10T14:57:15.759+02:00",
                          "deleted_at": null,
                          "packing_quantity": 6,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [],
                        "catalogs": [
                          {
                            "id": 990,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2019-11-26T09:26:00.485+01:00",
                            "updated_at": "2019-11-26T09:26:00.485+01:00",
                            "price_grid_id": 761,
                            "warehouse_id": 86,
                            "catalogable_id": 510,
                            "catalogable_type": "Register"
                          }
                        ]
                      },
                      {
                        "id": 2279,
                        "product_size_id": 11,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2019-05-17T11:02:53.928+02:00",
                        "updated_at": "2020-05-22T16:01:40.462+02:00",
                        "product_packaging_id": 484,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 1296,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": "",
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": "",
                        "ttb_id": "",
                        "vintage": 2017,
                        "stock_all": "0.0",
                        "product": {
                          "id": 524,
                          "account_id": 86,
                          "name": "Agate",
                          "product_color_id": 1,
                          "created_at": "2018-07-13T14:38:33.816+02:00",
                          "updated_at": "2018-10-10T14:58:04.838+02:00",
                          "deleted_at": null,
                          "supplier_id": 45,
                          "appellation_id": null,
                          "body_html": "",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 1,
                          "inao_appellation_id": 94,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": 22,
                          "interprofessional_code": "BXR",
                          "vinosoft_id": null,
                          "zone_code": "",
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOC Bordeaux",
                          "product_color": {
                            "id": 1,
                            "name": "Rouge",
                            "position": 0,
                            "created_at": "2015-06-30T14:39:54.110+02:00",
                            "updated_at": "2018-09-28T17:31:41.753+02:00",
                            "handle": "red"
                          },
                          "supplier": {
                            "id": 45,
                            "name": "Briard",
                            "email": "",
                            "note": "",
                            "deleted_at": null,
                            "created_at": "2018-07-13T14:38:09.662+02:00",
                            "updated_at": "2018-07-13T14:38:09.662+02:00"
                          }
                        },
                        "product_vintage": {
                          "id": 1296,
                          "product_id": 524,
                          "vintage": 2017,
                          "summary": "",
                          "body_html": "",
                          "abv": null,
                          "created_at": "2019-02-12T10:14:04.238+01:00",
                          "updated_at": "2019-02-12T10:14:04.238+01:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": "",
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 11,
                          "name": "Bib (3 l)",
                          "position": 10,
                          "milliliters": 3000,
                          "created_at": "2016-12-02T11:17:51.027+01:00",
                          "updated_at": "2018-01-15T15:33:02.302+01:00",
                          "short_name": "3 l",
                          "kind": "bib"
                        },
                        "product_packaging": {
                          "id": 484,
                          "account_id": 86,
                          "name": "Carton 6",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.282+02:00",
                          "updated_at": "2018-10-10T14:57:15.759+02:00",
                          "deleted_at": null,
                          "packing_quantity": 6,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [],
                        "catalogs": [
                          {
                            "id": 231,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2017-11-26T23:32:34.566+01:00",
                            "updated_at": "2017-11-26T23:32:34.566+01:00",
                            "price_grid_id": null,
                            "warehouse_id": null,
                            "catalogable_id": 102,
                            "catalogable_type": "Register"
                          },
                          {
                            "id": 259,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2017-11-27T09:41:36.659+01:00",
                            "updated_at": "2019-10-15T11:17:19.090+02:00",
                            "price_grid_id": 761,
                            "warehouse_id": 87,
                            "catalogable_id": 130,
                            "catalogable_type": "Register"
                          }
                        ]
                      },
                      {
                        "id": 1702,
                        "product_size_id": 14,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2019-02-12T10:14:25.050+01:00",
                        "updated_at": "2019-12-22T14:09:38.166+01:00",
                        "product_packaging_id": 482,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 1297,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": "",
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": false,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": 2018,
                        "stock_all": "2691.0",
                        "product": {
                          "id": 524,
                          "account_id": 86,
                          "name": "Agate",
                          "product_color_id": 1,
                          "created_at": "2018-07-13T14:38:33.816+02:00",
                          "updated_at": "2018-10-10T14:58:04.838+02:00",
                          "deleted_at": null,
                          "supplier_id": 45,
                          "appellation_id": null,
                          "body_html": "",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 1,
                          "inao_appellation_id": 94,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": 22,
                          "interprofessional_code": "BXR",
                          "vinosoft_id": null,
                          "zone_code": "",
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOC Bordeaux",
                          "product_color": {
                            "id": 1,
                            "name": "Rouge",
                            "position": 0,
                            "created_at": "2015-06-30T14:39:54.110+02:00",
                            "updated_at": "2018-09-28T17:31:41.753+02:00",
                            "handle": "red"
                          },
                          "supplier": {
                            "id": 45,
                            "name": "Briard",
                            "email": "",
                            "note": "",
                            "deleted_at": null,
                            "created_at": "2018-07-13T14:38:09.662+02:00",
                            "updated_at": "2018-07-13T14:38:09.662+02:00"
                          }
                        },
                        "product_vintage": {
                          "id": 1297,
                          "product_id": 524,
                          "vintage": 2018,
                          "summary": "",
                          "body_html": "",
                          "abv": null,
                          "created_at": "2019-02-12T10:14:25.045+01:00",
                          "updated_at": "2019-05-15T16:45:25.828+02:00",
                          "deleted_at": null,
                          "primeur": true,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": "",
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 14,
                          "name": "Vrac litre",
                          "position": 13,
                          "milliliters": 1000,
                          "created_at": "2017-03-30T14:38:36.778+02:00",
                          "updated_at": "2017-03-30T14:38:36.778+02:00",
                          "short_name": "Vrac litre",
                          "kind": "bulk"
                        },
                        "product_packaging": {
                          "id": 482,
                          "account_id": 86,
                          "name": "Unité (C6)",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.233+02:00",
                          "updated_at": "2018-01-16T17:03:33.170+01:00",
                          "deleted_at": null,
                          "packing_quantity": 6,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [],
                        "catalogs": []
                      },
                      {
                        "id": 644,
                        "product_size_id": null,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2018-06-05T11:16:10.032+02:00",
                        "updated_at": "2018-06-05T11:16:10.032+02:00",
                        "product_packaging_id": null,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 528,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": "",
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": null,
                        "stock_all": "0.0",
                        "product": {
                          "id": 474,
                          "account_id": 86,
                          "name": "Taxe Inter-Rhône",
                          "product_color_id": null,
                          "created_at": "2018-06-05T11:16:09.964+02:00",
                          "updated_at": "2018-09-04T23:11:10.202+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "",
                          "text": null,
                          "product_category_id": null,
                          "country_code": null,
                          "classification": null,
                          "position": 0,
                          "product_certification_id": null,
                          "inao_appellation_id": null,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": null,
                          "kind": "other",
                          "capsule_id": null,
                          "interprofessional_code": null,
                          "vinosoft_id": null,
                          "zone_code": null,
                          "product_family_id": 1421,
                          "neutral_capsule_id": null,
                          "appellation": null
                        },
                        "product_vintage": {
                          "id": 528,
                          "product_id": 474,
                          "vintage": null,
                          "summary": "",
                          "body_html": null,
                          "abv": null,
                          "created_at": "2018-06-05T11:16:10.023+02:00",
                          "updated_at": "2018-06-05T11:16:10.023+02:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": null,
                          "vineyard_work": null,
                          "winemaking": null,
                          "wine_ageing": null,
                          "wine_preparation": null,
                          "bottling": null,
                          "traceability": null,
                          "operating_temperature": null,
                          "tasting_advice": null,
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_prices": [],
                        "catalogs": []
                      },
                      {
                        "id": 645,
                        "product_size_id": null,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2018-06-05T11:16:41.846+02:00",
                        "updated_at": "2018-06-05T11:16:41.846+02:00",
                        "product_packaging_id": null,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 529,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": "",
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": null,
                        "stock_all": "0.0",
                        "product": {
                          "id": 475,
                          "account_id": 86,
                          "name": "Taxe de contrôle",
                          "product_color_id": null,
                          "created_at": "2018-06-05T11:16:41.809+02:00",
                          "updated_at": "2018-09-04T23:11:10.216+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "",
                          "text": null,
                          "product_category_id": null,
                          "country_code": null,
                          "classification": null,
                          "position": 0,
                          "product_certification_id": null,
                          "inao_appellation_id": null,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": null,
                          "kind": "other",
                          "capsule_id": null,
                          "interprofessional_code": null,
                          "vinosoft_id": null,
                          "zone_code": null,
                          "product_family_id": 1421,
                          "neutral_capsule_id": null,
                          "appellation": null
                        },
                        "product_vintage": {
                          "id": 529,
                          "product_id": 475,
                          "vintage": null,
                          "summary": "",
                          "body_html": null,
                          "abv": null,
                          "created_at": "2018-06-05T11:16:41.827+02:00",
                          "updated_at": "2018-06-05T11:16:41.827+02:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": null,
                          "vineyard_work": null,
                          "winemaking": null,
                          "wine_ageing": null,
                          "wine_preparation": null,
                          "bottling": null,
                          "traceability": null,
                          "operating_temperature": null,
                          "tasting_advice": null,
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_prices": [],
                        "catalogs": []
                      },
                      {
                        "id": 705,
                        "product_size_id": null,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2018-07-04T10:41:03.045+02:00",
                        "updated_at": "2018-07-04T10:41:42.804+02:00",
                        "product_packaging_id": null,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 579,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": "",
                        "cost_price_cents": 100,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": null,
                        "stock_all": "24.32",
                        "product": {
                          "id": 516,
                          "account_id": 86,
                          "name": "Port PdT",
                          "product_color_id": null,
                          "created_at": "2018-07-04T10:41:02.960+02:00",
                          "updated_at": "2018-09-04T23:11:10.803+02:00",
                          "deleted_at": null,
                          "supplier_id": 11,
                          "appellation_id": null,
                          "body_html": "",
                          "text": null,
                          "product_category_id": null,
                          "country_code": null,
                          "classification": null,
                          "position": 0,
                          "product_certification_id": null,
                          "inao_appellation_id": null,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": null,
                          "kind": "other",
                          "capsule_id": null,
                          "interprofessional_code": null,
                          "vinosoft_id": null,
                          "zone_code": null,
                          "product_family_id": 1504,
                          "neutral_capsule_id": null,
                          "appellation": null,
                          "supplier": {
                            "id": 11,
                            "name": "Passion des Terroirs",
                            "email": "",
                            "note": "",
                            "deleted_at": null,
                            "created_at": "2017-12-06T10:27:01.541+01:00",
                            "updated_at": "2018-11-05T10:30:02.910+01:00"
                          }
                        },
                        "product_vintage": {
                          "id": 579,
                          "product_id": 516,
                          "vintage": null,
                          "summary": "",
                          "body_html": null,
                          "abv": null,
                          "created_at": "2018-07-04T10:41:03.030+02:00",
                          "updated_at": "2018-07-04T10:41:03.030+02:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": null,
                          "vineyard_work": null,
                          "winemaking": null,
                          "wine_ageing": null,
                          "wine_preparation": null,
                          "bottling": null,
                          "traceability": null,
                          "operating_temperature": null,
                          "tasting_advice": null,
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_prices": [
                          {
                            "id": 808,
                            "product_variant_id": 705,
                            "quantity": "1.0",
                            "created_at": "2018-07-04T10:41:42.776+02:00",
                            "updated_at": "2018-07-04T10:41:42.776+02:00",
                            "deleted_at": null,
                            "price_cents": 100,
                            "price_currency": "EUR",
                            "price_grid_id": 440,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 440,
                              "name": "Fournisseur",
                              "deleted_at": null,
                              "created_at": "2018-06-18T16:39:27.428+02:00",
                              "updated_at": "2019-02-05T16:28:17.799+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": null,
                              "calculation_method": null,
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": false,
                              "quantities": [
                                "1.0",
                                "10.0",
                                "36.0"
                              ],
                              "supplier": true,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          }
                        ],
                        "catalogs": []
                      },
                      {
                        "id": 290,
                        "product_size_id": 2,
                        "sku": "AST1375C6",
                        "default_barcode": "",
                        "created_at": "2017-09-26T19:03:56.189+02:00",
                        "updated_at": "2018-10-10T11:06:48.915+02:00",
                        "product_packaging_id": 484,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 224,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": "4.5",
                        "tare": "2.7",
                        "functional_code": "",
                        "cost_price_cents": 3000,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": 2013,
                        "stock_all": "20480.0",
                        "product": {
                          "id": 190,
                          "account_id": 86,
                          "name": "ASTRALABE",
                          "product_color_id": 1,
                          "created_at": "2017-09-26T19:03:56.139+02:00",
                          "updated_at": "2018-09-04T23:11:06.223+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 1,
                          "inao_appellation_id": 295,
                          "inao_denomination_id": 1263,
                          "inao_product_id": 3245,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": 31,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": "",
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOC Ventoux",
                          "product_color": {
                            "id": 1,
                            "name": "Rouge",
                            "position": 0,
                            "created_at": "2015-06-30T14:39:54.110+02:00",
                            "updated_at": "2018-09-28T17:31:41.753+02:00",
                            "handle": "red"
                          }
                        },
                        "product_vintage": {
                          "id": 224,
                          "product_id": 190,
                          "vintage": 2013,
                          "summary": "",
                          "body_html": "<p><br></p>",
                          "abv": "13.0",
                          "created_at": "2017-09-26T19:03:56.177+02:00",
                          "updated_at": "2017-09-26T19:03:56.177+02:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "GRENACHE, SYRAH",
                          "vineyard_work": "YES",
                          "winemaking": "YES",
                          "wine_ageing": "YES",
                          "wine_preparation": "YES",
                          "bottling": "YES",
                          "traceability": "YES",
                          "operating_temperature": "YES",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": [
                            {
                              "id": 27,
                              "position": 1,
                              "alt": null,
                              "image_url": "https://vinosoft-staging.s3-eu-west-3.amazonaws.com/uploads/product_image/image/27/9e3580e2-47d7-43f6-8d2d-2fa9569d52f4_three_eighty.jpg?X-Amz-Expires=600&X-Amz-Date=20200616T153127Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJQAEM4Z3DPIKNLLQ%2F20200616%2Feu-west-3%2Fs3%2Faws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=ad41a8ede9c113b15374471906c839381fe1632e7e66a11fe6f76bdc9e1d6448"
                            }
                          ]
                        },
                        "product_size": {
                          "id": 2,
                          "name": "Bouteille (75 cl)",
                          "position": 0,
                          "milliliters": 750,
                          "created_at": "2015-06-30T14:39:54.153+02:00",
                          "updated_at": "2016-06-06T16:08:31.135+02:00",
                          "short_name": "75 cl",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 484,
                          "account_id": 86,
                          "name": "Carton 6",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.282+02:00",
                          "updated_at": "2018-10-10T14:57:15.759+02:00",
                          "deleted_at": null,
                          "packing_quantity": 6,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [
                          {
                            "id": 263,
                            "product_variant_id": 290,
                            "quantity": "6.0",
                            "created_at": "2017-09-26T19:06:58.313+02:00",
                            "updated_at": "2017-10-26T16:47:26.883+02:00",
                            "deleted_at": "2017-10-26T16:47:26.880+02:00",
                            "price_cents": 975,
                            "price_currency": "EUR",
                            "price_grid_id": 108,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 108,
                              "name": "CHR",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.472+02:00",
                              "updated_at": "2019-11-26T12:34:57.350+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "36.0",
                                "1.0",
                                "120.0",
                                "60.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 272,
                            "product_variant_id": 290,
                            "quantity": "1.0",
                            "created_at": "2017-10-07T13:15:43.857+02:00",
                            "updated_at": "2018-01-19T13:59:14.059+01:00",
                            "deleted_at": "2018-01-19T13:59:14.056+01:00",
                            "price_cents": 875,
                            "price_currency": "EUR",
                            "price_grid_id": 149,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 149,
                              "name": "Export",
                              "deleted_at": null,
                              "created_at": "2017-09-26T19:08:50.486+02:00",
                              "updated_at": "2020-04-29T06:12:56.472+02:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": "transfer",
                              "payment_period": "",
                              "displayed": true,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 649
                            }
                          },
                          {
                            "id": 264,
                            "product_variant_id": 290,
                            "quantity": "1.0",
                            "created_at": "2017-09-26T19:07:11.669+02:00",
                            "updated_at": "2018-01-19T14:01:13.492+01:00",
                            "deleted_at": "2018-01-19T14:01:13.487+01:00",
                            "price_cents": 6667,
                            "price_currency": "EUR",
                            "price_grid_id": 109,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 8000,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 109,
                              "name": "Particulier 2",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.516+02:00",
                              "updated_at": "2020-04-29T06:12:45.597+02:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 1,
                              "calculation_method": "product_variant",
                              "payment_method": "credit_card",
                              "payment_period": "at_once",
                              "displayed": false,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 645
                            }
                          },
                          {
                            "id": 265,
                            "product_variant_id": 290,
                            "quantity": "36.0",
                            "created_at": "2017-09-26T19:07:22.402+02:00",
                            "updated_at": "2018-01-19T14:03:28.077+01:00",
                            "deleted_at": "2018-01-19T14:03:28.074+01:00",
                            "price_cents": 925,
                            "price_currency": "EUR",
                            "price_grid_id": 108,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 108,
                              "name": "CHR",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.472+02:00",
                              "updated_at": "2019-11-26T12:34:57.350+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "36.0",
                                "1.0",
                                "120.0",
                                "60.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 266,
                            "product_variant_id": 290,
                            "quantity": "60.0",
                            "created_at": "2017-09-26T19:07:31.496+02:00",
                            "updated_at": "2018-01-19T14:03:33.302+01:00",
                            "deleted_at": "2018-01-19T14:03:33.299+01:00",
                            "price_cents": 904,
                            "price_currency": "EUR",
                            "price_grid_id": 108,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 108,
                              "name": "CHR",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.472+02:00",
                              "updated_at": "2019-11-26T12:34:57.350+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "36.0",
                                "1.0",
                                "120.0",
                                "60.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 328,
                            "product_variant_id": 290,
                            "quantity": "1.0",
                            "created_at": "2017-12-22T15:54:25.493+01:00",
                            "updated_at": "2017-12-22T15:54:25.493+01:00",
                            "deleted_at": null,
                            "price_cents": 2500,
                            "price_currency": "EUR",
                            "price_grid_id": null,
                            "customer_id": 76,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 3000,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR"
                          },
                          {
                            "id": 356,
                            "product_variant_id": 290,
                            "quantity": "1.0",
                            "created_at": "2018-01-19T14:04:31.266+01:00",
                            "updated_at": "2018-01-19T14:04:59.158+01:00",
                            "deleted_at": null,
                            "price_cents": 7000,
                            "price_currency": "EUR",
                            "price_grid_id": 108,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 108,
                              "name": "CHR",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.472+02:00",
                              "updated_at": "2019-11-26T12:34:57.350+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "36.0",
                                "1.0",
                                "120.0",
                                "60.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 361,
                            "product_variant_id": 290,
                            "quantity": "1.0",
                            "created_at": "2018-02-05T10:57:13.507+01:00",
                            "updated_at": "2018-02-05T10:57:13.507+01:00",
                            "deleted_at": null,
                            "price_cents": 7000,
                            "price_currency": "EUR",
                            "price_grid_id": 109,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 8400,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 109,
                              "name": "Particulier 2",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.516+02:00",
                              "updated_at": "2020-04-29T06:12:45.597+02:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 1,
                              "calculation_method": "product_variant",
                              "payment_method": "credit_card",
                              "payment_period": "at_once",
                              "displayed": false,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 645
                            }
                          },
                          {
                            "id": 558,
                            "product_variant_id": 290,
                            "quantity": "36.0",
                            "created_at": "2018-05-03T12:01:41.080+02:00",
                            "updated_at": "2018-05-03T12:01:41.080+02:00",
                            "deleted_at": null,
                            "price_cents": 6500,
                            "price_currency": "EUR",
                            "price_grid_id": 108,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 4500,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 108,
                              "name": "CHR",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.472+02:00",
                              "updated_at": "2019-11-26T12:34:57.350+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "36.0",
                                "1.0",
                                "120.0",
                                "60.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 789,
                            "product_variant_id": 290,
                            "quantity": "36.0",
                            "created_at": "2018-06-18T16:39:32.627+02:00",
                            "updated_at": "2018-06-18T16:39:32.627+02:00",
                            "deleted_at": null,
                            "price_cents": 4500,
                            "price_currency": "EUR",
                            "price_grid_id": 440,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 440,
                              "name": "Fournisseur",
                              "deleted_at": null,
                              "created_at": "2018-06-18T16:39:27.428+02:00",
                              "updated_at": "2019-02-05T16:28:17.799+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": null,
                              "calculation_method": null,
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": false,
                              "quantities": [
                                "1.0",
                                "10.0",
                                "36.0"
                              ],
                              "supplier": true,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          }
                        ],
                        "catalogs": [
                          {
                            "id": 990,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2019-11-26T09:26:00.485+01:00",
                            "updated_at": "2019-11-26T09:26:00.485+01:00",
                            "price_grid_id": 761,
                            "warehouse_id": 86,
                            "catalogable_id": 510,
                            "catalogable_type": "Register"
                          }
                        ]
                      },
                      {
                        "id": 696,
                        "product_size_id": 3,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2018-06-25T12:07:29.575+02:00",
                        "updated_at": "2018-06-25T12:07:29.575+02:00",
                        "product_packaging_id": 483,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 224,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": "",
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": 2013,
                        "stock_all": "476.0",
                        "product": {
                          "id": 190,
                          "account_id": 86,
                          "name": "ASTRALABE",
                          "product_color_id": 1,
                          "created_at": "2017-09-26T19:03:56.139+02:00",
                          "updated_at": "2018-09-04T23:11:06.223+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 1,
                          "inao_appellation_id": 295,
                          "inao_denomination_id": 1263,
                          "inao_product_id": 3245,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": 31,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": "",
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOC Ventoux",
                          "product_color": {
                            "id": 1,
                            "name": "Rouge",
                            "position": 0,
                            "created_at": "2015-06-30T14:39:54.110+02:00",
                            "updated_at": "2018-09-28T17:31:41.753+02:00",
                            "handle": "red"
                          }
                        },
                        "product_vintage": {
                          "id": 224,
                          "product_id": 190,
                          "vintage": 2013,
                          "summary": "",
                          "body_html": "<p><br></p>",
                          "abv": "13.0",
                          "created_at": "2017-09-26T19:03:56.177+02:00",
                          "updated_at": "2017-09-26T19:03:56.177+02:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "GRENACHE, SYRAH",
                          "vineyard_work": "YES",
                          "winemaking": "YES",
                          "wine_ageing": "YES",
                          "wine_preparation": "YES",
                          "bottling": "YES",
                          "traceability": "YES",
                          "operating_temperature": "YES",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": [
                            {
                              "id": 27,
                              "position": 1,
                              "alt": null,
                              "image_url": "https://vinosoft-staging.s3-eu-west-3.amazonaws.com/uploads/product_image/image/27/9e3580e2-47d7-43f6-8d2d-2fa9569d52f4_three_eighty.jpg?X-Amz-Expires=600&X-Amz-Date=20200616T153127Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJQAEM4Z3DPIKNLLQ%2F20200616%2Feu-west-3%2Fs3%2Faws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=ad41a8ede9c113b15374471906c839381fe1632e7e66a11fe6f76bdc9e1d6448"
                            }
                          ]
                        },
                        "product_size": {
                          "id": 3,
                          "name": "Magnum (1,5 l)",
                          "position": 2,
                          "milliliters": 1500,
                          "created_at": "2015-06-30T14:39:54.159+02:00",
                          "updated_at": "2015-10-16T09:13:12.025+02:00",
                          "short_name": "1,5 l",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 483,
                          "account_id": 86,
                          "name": "Carton 3",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.273+02:00",
                          "updated_at": "2018-10-10T14:57:20.767+02:00",
                          "deleted_at": null,
                          "packing_quantity": 3,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [
                          {
                            "id": 1096,
                            "product_variant_id": 696,
                            "quantity": "1.0",
                            "created_at": "2018-10-10T11:08:47.432+02:00",
                            "updated_at": "2018-10-10T11:08:53.190+02:00",
                            "deleted_at": null,
                            "price_cents": 8333,
                            "price_currency": "EUR",
                            "price_grid_id": 109,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 10000,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 109,
                              "name": "Particulier 2",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.516+02:00",
                              "updated_at": "2020-04-29T06:12:45.597+02:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 1,
                              "calculation_method": "product_variant",
                              "payment_method": "credit_card",
                              "payment_period": "at_once",
                              "displayed": false,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 645
                            }
                          }
                        ],
                        "catalogs": [
                          {
                            "id": 86,
                            "account_id": 86,
                            "name": "Site web",
                            "handle": "site-web",
                            "deletable": false,
                            "deleted_at": null,
                            "created_at": "2017-05-24T11:01:47.901+02:00",
                            "updated_at": "2019-01-28T19:08:23.079+01:00",
                            "price_grid_id": 109,
                            "warehouse_id": 86,
                            "catalogable_id": 86,
                            "catalogable_type": "Website"
                          },
                          {
                            "id": 231,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2017-11-26T23:32:34.566+01:00",
                            "updated_at": "2017-11-26T23:32:34.566+01:00",
                            "price_grid_id": null,
                            "warehouse_id": null,
                            "catalogable_id": 102,
                            "catalogable_type": "Register"
                          }
                        ]
                      },
                      {
                        "id": 389,
                        "product_size_id": 2,
                        "sku": "AST1375UC6",
                        "default_barcode": "",
                        "created_at": "2018-01-19T14:02:32.620+01:00",
                        "updated_at": "2018-06-27T11:10:54.466+02:00",
                        "product_packaging_id": 482,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 224,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": "0.75",
                        "tare": "0.45",
                        "functional_code": "",
                        "cost_price_cents": 500,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": 2013,
                        "stock_all": "20480.0",
                        "product": {
                          "id": 190,
                          "account_id": 86,
                          "name": "ASTRALABE",
                          "product_color_id": 1,
                          "created_at": "2017-09-26T19:03:56.139+02:00",
                          "updated_at": "2018-09-04T23:11:06.223+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 1,
                          "inao_appellation_id": 295,
                          "inao_denomination_id": 1263,
                          "inao_product_id": 3245,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": 31,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": "",
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOC Ventoux",
                          "product_color": {
                            "id": 1,
                            "name": "Rouge",
                            "position": 0,
                            "created_at": "2015-06-30T14:39:54.110+02:00",
                            "updated_at": "2018-09-28T17:31:41.753+02:00",
                            "handle": "red"
                          }
                        },
                        "product_vintage": {
                          "id": 224,
                          "product_id": 190,
                          "vintage": 2013,
                          "summary": "",
                          "body_html": "<p><br></p>",
                          "abv": "13.0",
                          "created_at": "2017-09-26T19:03:56.177+02:00",
                          "updated_at": "2017-09-26T19:03:56.177+02:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "GRENACHE, SYRAH",
                          "vineyard_work": "YES",
                          "winemaking": "YES",
                          "wine_ageing": "YES",
                          "wine_preparation": "YES",
                          "bottling": "YES",
                          "traceability": "YES",
                          "operating_temperature": "YES",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": [
                            {
                              "id": 27,
                              "position": 1,
                              "alt": null,
                              "image_url": "https://vinosoft-staging.s3-eu-west-3.amazonaws.com/uploads/product_image/image/27/9e3580e2-47d7-43f6-8d2d-2fa9569d52f4_three_eighty.jpg?X-Amz-Expires=600&X-Amz-Date=20200616T153127Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJQAEM4Z3DPIKNLLQ%2F20200616%2Feu-west-3%2Fs3%2Faws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=ad41a8ede9c113b15374471906c839381fe1632e7e66a11fe6f76bdc9e1d6448"
                            }
                          ]
                        },
                        "product_size": {
                          "id": 2,
                          "name": "Bouteille (75 cl)",
                          "position": 0,
                          "milliliters": 750,
                          "created_at": "2015-06-30T14:39:54.153+02:00",
                          "updated_at": "2016-06-06T16:08:31.135+02:00",
                          "short_name": "75 cl",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 482,
                          "account_id": 86,
                          "name": "Unité (C6)",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.233+02:00",
                          "updated_at": "2018-01-16T17:03:33.170+01:00",
                          "deleted_at": null,
                          "packing_quantity": 6,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [
                          {
                            "id": 359,
                            "product_variant_id": 389,
                            "quantity": "1.0",
                            "created_at": "2018-01-30T14:26:00.562+01:00",
                            "updated_at": "2018-01-30T14:26:00.562+01:00",
                            "deleted_at": null,
                            "price_cents": 833,
                            "price_currency": "EUR",
                            "price_grid_id": null,
                            "customer_id": 79,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 1000,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR"
                          },
                          {
                            "id": 360,
                            "product_variant_id": 389,
                            "quantity": "1.0",
                            "created_at": "2018-02-05T10:56:56.513+01:00",
                            "updated_at": "2018-02-05T10:56:56.513+01:00",
                            "deleted_at": null,
                            "price_cents": 1167,
                            "price_currency": "EUR",
                            "price_grid_id": 109,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 1400,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 109,
                              "name": "Particulier 2",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.516+02:00",
                              "updated_at": "2020-04-29T06:12:45.597+02:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 1,
                              "calculation_method": "product_variant",
                              "payment_method": "credit_card",
                              "payment_period": "at_once",
                              "displayed": false,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 645
                            }
                          },
                          {
                            "id": 374,
                            "product_variant_id": 389,
                            "quantity": "1.0",
                            "created_at": "2018-02-13T09:39:07.885+01:00",
                            "updated_at": "2018-02-13T09:39:07.885+01:00",
                            "deleted_at": null,
                            "price_cents": 700,
                            "price_currency": "EUR",
                            "price_grid_id": 149,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 149,
                              "name": "Export",
                              "deleted_at": null,
                              "created_at": "2017-09-26T19:08:50.486+02:00",
                              "updated_at": "2020-04-29T06:12:56.472+02:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": "transfer",
                              "payment_period": "",
                              "displayed": true,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 649
                            }
                          },
                          {
                            "id": 382,
                            "product_variant_id": 389,
                            "quantity": "120.0",
                            "created_at": "2018-03-12T15:01:53.887+01:00",
                            "updated_at": "2018-03-12T15:01:53.887+01:00",
                            "deleted_at": null,
                            "price_cents": 1100,
                            "price_currency": "EUR",
                            "price_grid_id": 108,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 108,
                              "name": "CHR",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.472+02:00",
                              "updated_at": "2019-11-26T12:34:57.350+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "36.0",
                                "1.0",
                                "120.0",
                                "60.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 355,
                            "product_variant_id": 389,
                            "quantity": "1.0",
                            "created_at": "2018-01-19T14:04:25.485+01:00",
                            "updated_at": "2018-03-16T11:07:35.951+01:00",
                            "deleted_at": null,
                            "price_cents": 1230,
                            "price_currency": "EUR",
                            "price_grid_id": 108,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 108,
                              "name": "CHR",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.472+02:00",
                              "updated_at": "2019-11-26T12:34:57.350+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "36.0",
                                "1.0",
                                "120.0",
                                "60.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 381,
                            "product_variant_id": 389,
                            "quantity": "36.0",
                            "created_at": "2018-03-12T15:01:39.830+01:00",
                            "updated_at": "2018-10-10T11:06:38.265+02:00",
                            "deleted_at": null,
                            "price_cents": 1200,
                            "price_currency": "EUR",
                            "price_grid_id": 108,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 108,
                              "name": "CHR",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.472+02:00",
                              "updated_at": "2019-11-26T12:34:57.350+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "36.0",
                                "1.0",
                                "120.0",
                                "60.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 528,
                            "product_variant_id": 389,
                            "quantity": "1.0",
                            "created_at": "2018-04-12T17:17:06.802+02:00",
                            "updated_at": "2018-04-12T17:17:13.043+02:00",
                            "deleted_at": "2018-04-12T17:17:13.032+02:00",
                            "price_cents": 0,
                            "price_currency": "EUR",
                            "price_grid_id": null,
                            "customer_id": 1314,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR"
                          },
                          {
                            "id": 1084,
                            "product_variant_id": 389,
                            "quantity": "60.0",
                            "created_at": "2018-10-10T11:06:35.531+02:00",
                            "updated_at": "2018-10-10T11:06:35.531+02:00",
                            "deleted_at": null,
                            "price_cents": 1150,
                            "price_currency": "EUR",
                            "price_grid_id": 108,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 108,
                              "name": "CHR",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.472+02:00",
                              "updated_at": "2019-11-26T12:34:57.350+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "36.0",
                                "1.0",
                                "120.0",
                                "60.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          }
                        ],
                        "catalogs": [
                          {
                            "id": 231,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2017-11-26T23:32:34.566+01:00",
                            "updated_at": "2017-11-26T23:32:34.566+01:00",
                            "price_grid_id": null,
                            "warehouse_id": null,
                            "catalogable_id": 102,
                            "catalogable_type": "Register"
                          },
                          {
                            "id": 86,
                            "account_id": 86,
                            "name": "Site web",
                            "handle": "site-web",
                            "deletable": false,
                            "deleted_at": null,
                            "created_at": "2017-05-24T11:01:47.901+02:00",
                            "updated_at": "2019-01-28T19:08:23.079+01:00",
                            "price_grid_id": 109,
                            "warehouse_id": 86,
                            "catalogable_id": 86,
                            "catalogable_type": "Website"
                          },
                          {
                            "id": 259,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2017-11-27T09:41:36.659+01:00",
                            "updated_at": "2019-10-15T11:17:19.090+02:00",
                            "price_grid_id": 761,
                            "warehouse_id": 87,
                            "catalogable_id": 130,
                            "catalogable_type": "Register"
                          }
                        ]
                      },
                      {
                        "id": 1130,
                        "product_size_id": 18,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2018-12-14T15:12:20.051+01:00",
                        "updated_at": "2018-12-14T15:12:20.051+01:00",
                        "product_packaging_id": 484,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 224,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": "",
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": 2013,
                        "stock_all": "1949.775",
                        "product": {
                          "id": 190,
                          "account_id": 86,
                          "name": "ASTRALABE",
                          "product_color_id": 1,
                          "created_at": "2017-09-26T19:03:56.139+02:00",
                          "updated_at": "2018-09-04T23:11:06.223+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 1,
                          "inao_appellation_id": 295,
                          "inao_denomination_id": 1263,
                          "inao_product_id": 3245,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": 31,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": "",
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOC Ventoux",
                          "product_color": {
                            "id": 1,
                            "name": "Rouge",
                            "position": 0,
                            "created_at": "2015-06-30T14:39:54.110+02:00",
                            "updated_at": "2018-09-28T17:31:41.753+02:00",
                            "handle": "red"
                          }
                        },
                        "product_vintage": {
                          "id": 224,
                          "product_id": 190,
                          "vintage": 2013,
                          "summary": "",
                          "body_html": "<p><br></p>",
                          "abv": "13.0",
                          "created_at": "2017-09-26T19:03:56.177+02:00",
                          "updated_at": "2017-09-26T19:03:56.177+02:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "GRENACHE, SYRAH",
                          "vineyard_work": "YES",
                          "winemaking": "YES",
                          "wine_ageing": "YES",
                          "wine_preparation": "YES",
                          "bottling": "YES",
                          "traceability": "YES",
                          "operating_temperature": "YES",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": [
                            {
                              "id": 27,
                              "position": 1,
                              "alt": null,
                              "image_url": "https://vinosoft-staging.s3-eu-west-3.amazonaws.com/uploads/product_image/image/27/9e3580e2-47d7-43f6-8d2d-2fa9569d52f4_three_eighty.jpg?X-Amz-Expires=600&X-Amz-Date=20200616T153127Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJQAEM4Z3DPIKNLLQ%2F20200616%2Feu-west-3%2Fs3%2Faws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=ad41a8ede9c113b15374471906c839381fe1632e7e66a11fe6f76bdc9e1d6448"
                            }
                          ]
                        },
                        "product_size": {
                          "id": 18,
                          "name": "Vrac Hectolitre (1 hl)",
                          "position": 17,
                          "milliliters": 100000,
                          "created_at": "2017-07-31T23:17:31.596+02:00",
                          "updated_at": "2017-07-31T23:17:31.596+02:00",
                          "short_name": "1 hl",
                          "kind": "bulk"
                        },
                        "product_packaging": {
                          "id": 484,
                          "account_id": 86,
                          "name": "Carton 6",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.282+02:00",
                          "updated_at": "2018-10-10T14:57:15.759+02:00",
                          "deleted_at": null,
                          "packing_quantity": 6,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [],
                        "catalogs": [
                          {
                            "id": 86,
                            "account_id": 86,
                            "name": "Site web",
                            "handle": "site-web",
                            "deletable": false,
                            "deleted_at": null,
                            "created_at": "2017-05-24T11:01:47.901+02:00",
                            "updated_at": "2019-01-28T19:08:23.079+01:00",
                            "price_grid_id": 109,
                            "warehouse_id": 86,
                            "catalogable_id": 86,
                            "catalogable_type": "Website"
                          },
                          {
                            "id": 231,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2017-11-26T23:32:34.566+01:00",
                            "updated_at": "2017-11-26T23:32:34.566+01:00",
                            "price_grid_id": null,
                            "warehouse_id": null,
                            "catalogable_id": 102,
                            "catalogable_type": "Register"
                          }
                        ]
                      },
                      {
                        "id": 388,
                        "product_size_id": 2,
                        "sku": "AST1275C6",
                        "default_barcode": "",
                        "created_at": "2018-01-19T11:36:15.948+01:00",
                        "updated_at": "2018-01-19T14:02:06.146+01:00",
                        "product_packaging_id": 484,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 225,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": null,
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": 2012,
                        "stock_all": "1056.0",
                        "product": {
                          "id": 190,
                          "account_id": 86,
                          "name": "ASTRALABE",
                          "product_color_id": 1,
                          "created_at": "2017-09-26T19:03:56.139+02:00",
                          "updated_at": "2018-09-04T23:11:06.223+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 1,
                          "inao_appellation_id": 295,
                          "inao_denomination_id": 1263,
                          "inao_product_id": 3245,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": 31,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": "",
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOC Ventoux",
                          "product_color": {
                            "id": 1,
                            "name": "Rouge",
                            "position": 0,
                            "created_at": "2015-06-30T14:39:54.110+02:00",
                            "updated_at": "2018-09-28T17:31:41.753+02:00",
                            "handle": "red"
                          }
                        },
                        "product_vintage": {
                          "id": 225,
                          "product_id": 190,
                          "vintage": 2012,
                          "summary": "",
                          "body_html": "<p><br></p>",
                          "abv": "13.0",
                          "created_at": "2017-09-26T19:04:37.014+02:00",
                          "updated_at": "2017-09-26T19:04:37.014+02:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 2,
                          "name": "Bouteille (75 cl)",
                          "position": 0,
                          "milliliters": 750,
                          "created_at": "2015-06-30T14:39:54.153+02:00",
                          "updated_at": "2016-06-06T16:08:31.135+02:00",
                          "short_name": "75 cl",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 484,
                          "account_id": 86,
                          "name": "Carton 6",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.282+02:00",
                          "updated_at": "2018-10-10T14:57:15.759+02:00",
                          "deleted_at": null,
                          "packing_quantity": 6,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [
                          {
                            "id": 354,
                            "product_variant_id": 388,
                            "quantity": "1.0",
                            "created_at": "2018-01-19T11:38:30.454+01:00",
                            "updated_at": "2018-01-19T14:03:01.836+01:00",
                            "deleted_at": "2018-01-19T14:03:01.832+01:00",
                            "price_cents": 7500,
                            "price_currency": "EUR",
                            "price_grid_id": 109,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 9000,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 109,
                              "name": "Particulier 2",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.516+02:00",
                              "updated_at": "2020-04-29T06:12:45.597+02:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 1,
                              "calculation_method": "product_variant",
                              "payment_method": "credit_card",
                              "payment_period": "at_once",
                              "displayed": false,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 645
                            }
                          },
                          {
                            "id": 357,
                            "product_variant_id": 388,
                            "quantity": "1.0",
                            "created_at": "2018-01-19T14:04:35.822+01:00",
                            "updated_at": "2018-01-19T14:04:53.803+01:00",
                            "deleted_at": null,
                            "price_cents": 7000,
                            "price_currency": "EUR",
                            "price_grid_id": 108,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 108,
                              "name": "CHR",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.472+02:00",
                              "updated_at": "2019-11-26T12:34:57.350+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "36.0",
                                "1.0",
                                "120.0",
                                "60.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 363,
                            "product_variant_id": 388,
                            "quantity": "1.0",
                            "created_at": "2018-02-05T10:57:35.662+01:00",
                            "updated_at": "2018-02-05T10:57:35.662+01:00",
                            "deleted_at": null,
                            "price_cents": 7000,
                            "price_currency": "EUR",
                            "price_grid_id": 109,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 8400,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 109,
                              "name": "Particulier 2",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.516+02:00",
                              "updated_at": "2020-04-29T06:12:45.597+02:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 1,
                              "calculation_method": "product_variant",
                              "payment_method": "credit_card",
                              "payment_period": "at_once",
                              "displayed": false,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 645
                            }
                          }
                        ],
                        "catalogs": [
                          {
                            "id": 231,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2017-11-26T23:32:34.566+01:00",
                            "updated_at": "2017-11-26T23:32:34.566+01:00",
                            "price_grid_id": null,
                            "warehouse_id": null,
                            "catalogable_id": 102,
                            "catalogable_type": "Register"
                          }
                        ]
                      },
                      {
                        "id": 292,
                        "product_size_id": 2,
                        "sku": "AST1275UC6",
                        "default_barcode": "",
                        "created_at": "2017-09-26T19:04:37.019+02:00",
                        "updated_at": "2018-11-05T11:15:50.722+01:00",
                        "product_packaging_id": 482,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 225,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": null,
                        "cost_price_cents": 600,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": 2012,
                        "stock_all": "1056.0",
                        "product": {
                          "id": 190,
                          "account_id": 86,
                          "name": "ASTRALABE",
                          "product_color_id": 1,
                          "created_at": "2017-09-26T19:03:56.139+02:00",
                          "updated_at": "2018-09-04T23:11:06.223+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 1,
                          "inao_appellation_id": 295,
                          "inao_denomination_id": 1263,
                          "inao_product_id": 3245,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": 31,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": "",
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOC Ventoux",
                          "product_color": {
                            "id": 1,
                            "name": "Rouge",
                            "position": 0,
                            "created_at": "2015-06-30T14:39:54.110+02:00",
                            "updated_at": "2018-09-28T17:31:41.753+02:00",
                            "handle": "red"
                          }
                        },
                        "product_vintage": {
                          "id": 225,
                          "product_id": 190,
                          "vintage": 2012,
                          "summary": "",
                          "body_html": "<p><br></p>",
                          "abv": "13.0",
                          "created_at": "2017-09-26T19:04:37.014+02:00",
                          "updated_at": "2017-09-26T19:04:37.014+02:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 2,
                          "name": "Bouteille (75 cl)",
                          "position": 0,
                          "milliliters": 750,
                          "created_at": "2015-06-30T14:39:54.153+02:00",
                          "updated_at": "2016-06-06T16:08:31.135+02:00",
                          "short_name": "75 cl",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 482,
                          "account_id": 86,
                          "name": "Unité (C6)",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.233+02:00",
                          "updated_at": "2018-01-16T17:03:33.170+01:00",
                          "deleted_at": null,
                          "packing_quantity": 6,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [
                          {
                            "id": 313,
                            "product_variant_id": 292,
                            "quantity": "1.0",
                            "created_at": "2017-12-12T12:20:57.651+01:00",
                            "updated_at": "2018-01-19T14:05:03.212+01:00",
                            "deleted_at": null,
                            "price_cents": 1200,
                            "price_currency": "EUR",
                            "price_grid_id": 108,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 108,
                              "name": "CHR",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.472+02:00",
                              "updated_at": "2019-11-26T12:34:57.350+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "36.0",
                                "1.0",
                                "120.0",
                                "60.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 314,
                            "product_variant_id": 292,
                            "quantity": "36.0",
                            "created_at": "2017-12-12T12:21:06.327+01:00",
                            "updated_at": "2018-01-19T14:04:11.798+01:00",
                            "deleted_at": "2018-01-19T14:04:11.794+01:00",
                            "price_cents": 1000,
                            "price_currency": "EUR",
                            "price_grid_id": 108,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 108,
                              "name": "CHR",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.472+02:00",
                              "updated_at": "2019-11-26T12:34:57.350+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "36.0",
                                "1.0",
                                "120.0",
                                "60.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 326,
                            "product_variant_id": 292,
                            "quantity": "1.0",
                            "created_at": "2017-12-20T08:33:04.502+01:00",
                            "updated_at": "2018-01-04T12:02:17.456+01:00",
                            "deleted_at": "2018-01-04T12:02:17.449+01:00",
                            "price_cents": 0,
                            "price_currency": "EUR",
                            "price_grid_id": 226,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 226,
                              "name": "Degustation",
                              "deleted_at": null,
                              "created_at": "2017-12-20T08:31:10.312+01:00",
                              "updated_at": "2019-06-03T11:11:10.375+02:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 275,
                            "product_variant_id": 292,
                            "quantity": "1.0",
                            "created_at": "2017-10-20T11:50:56.286+02:00",
                            "updated_at": "2018-01-19T14:02:57.173+01:00",
                            "deleted_at": "2018-01-19T14:02:57.169+01:00",
                            "price_cents": 1250,
                            "price_currency": "EUR",
                            "price_grid_id": 109,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 1500,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 109,
                              "name": "Particulier 2",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.516+02:00",
                              "updated_at": "2020-04-29T06:12:45.597+02:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 1,
                              "calculation_method": "product_variant",
                              "payment_method": "credit_card",
                              "payment_period": "at_once",
                              "displayed": false,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 645
                            }
                          },
                          {
                            "id": 362,
                            "product_variant_id": 292,
                            "quantity": "1.0",
                            "created_at": "2018-02-05T10:57:26.537+01:00",
                            "updated_at": "2018-02-05T10:57:26.537+01:00",
                            "deleted_at": null,
                            "price_cents": 1167,
                            "price_currency": "EUR",
                            "price_grid_id": 109,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 1400,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 109,
                              "name": "Particulier 2",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.516+02:00",
                              "updated_at": "2020-04-29T06:12:45.597+02:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 1,
                              "calculation_method": "product_variant",
                              "payment_method": "credit_card",
                              "payment_period": "at_once",
                              "displayed": false,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 645
                            }
                          },
                          {
                            "id": 1182,
                            "product_variant_id": 292,
                            "quantity": "36.0",
                            "created_at": "2018-11-05T11:15:19.891+01:00",
                            "updated_at": "2018-11-05T11:15:24.856+01:00",
                            "deleted_at": null,
                            "price_cents": 1000,
                            "price_currency": "EUR",
                            "price_grid_id": 108,
                            "customer_id": null,
                            "free_shipping": true,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 108,
                              "name": "CHR",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.472+02:00",
                              "updated_at": "2019-11-26T12:34:57.350+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "36.0",
                                "1.0",
                                "120.0",
                                "60.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 1183,
                            "product_variant_id": 292,
                            "quantity": "60.0",
                            "created_at": "2018-11-05T11:15:35.096+01:00",
                            "updated_at": "2018-11-05T11:15:38.311+01:00",
                            "deleted_at": null,
                            "price_cents": 900,
                            "price_currency": "EUR",
                            "price_grid_id": 108,
                            "customer_id": null,
                            "free_shipping": true,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 108,
                              "name": "CHR",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.472+02:00",
                              "updated_at": "2019-11-26T12:34:57.350+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "36.0",
                                "1.0",
                                "120.0",
                                "60.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 1184,
                            "product_variant_id": 292,
                            "quantity": "1.0",
                            "created_at": "2018-11-05T11:15:50.710+01:00",
                            "updated_at": "2018-11-05T11:15:50.710+01:00",
                            "deleted_at": null,
                            "price_cents": 600,
                            "price_currency": "EUR",
                            "price_grid_id": 440,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 440,
                              "name": "Fournisseur",
                              "deleted_at": null,
                              "created_at": "2018-06-18T16:39:27.428+02:00",
                              "updated_at": "2019-02-05T16:28:17.799+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": null,
                              "calculation_method": null,
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": false,
                              "quantities": [
                                "1.0",
                                "10.0",
                                "36.0"
                              ],
                              "supplier": true,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          }
                        ],
                        "catalogs": [
                          {
                            "id": 259,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2017-11-27T09:41:36.659+01:00",
                            "updated_at": "2019-10-15T11:17:19.090+02:00",
                            "price_grid_id": 761,
                            "warehouse_id": 87,
                            "catalogable_id": 130,
                            "catalogable_type": "Register"
                          }
                        ]
                      },
                      {
                        "id": 679,
                        "product_size_id": 2,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2018-06-05T22:14:36.892+02:00",
                        "updated_at": "2018-06-05T22:14:36.892+02:00",
                        "product_packaging_id": 887,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 557,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": "",
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": 2014,
                        "stock_all": "4909.0",
                        "product": {
                          "id": 190,
                          "account_id": 86,
                          "name": "ASTRALABE",
                          "product_color_id": 1,
                          "created_at": "2017-09-26T19:03:56.139+02:00",
                          "updated_at": "2018-09-04T23:11:06.223+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 1,
                          "inao_appellation_id": 295,
                          "inao_denomination_id": 1263,
                          "inao_product_id": 3245,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": 31,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": "",
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOC Ventoux",
                          "product_color": {
                            "id": 1,
                            "name": "Rouge",
                            "position": 0,
                            "created_at": "2015-06-30T14:39:54.110+02:00",
                            "updated_at": "2018-09-28T17:31:41.753+02:00",
                            "handle": "red"
                          }
                        },
                        "product_vintage": {
                          "id": 557,
                          "product_id": 190,
                          "vintage": 2014,
                          "summary": "",
                          "body_html": "",
                          "abv": null,
                          "created_at": "2018-06-05T22:14:36.888+02:00",
                          "updated_at": "2018-06-05T22:14:36.888+02:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": [
                            {
                              "id": 745,
                              "position": 1,
                              "alt": null,
                              "image_url": "https://vinosoft-staging.s3-eu-west-3.amazonaws.com/uploads/product_image/image/745/9e3580e2-47d7-43f6-8d2d-2fa9569d52f4_three_eighty.jpg?X-Amz-Expires=600&X-Amz-Date=20200616T153127Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJQAEM4Z3DPIKNLLQ%2F20200616%2Feu-west-3%2Fs3%2Faws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=28711634d98a27e32ed3bbb7162630bedd984442aae094263cd97f8d98e2d7de"
                            }
                          ]
                        },
                        "product_size": {
                          "id": 2,
                          "name": "Bouteille (75 cl)",
                          "position": 0,
                          "milliliters": 750,
                          "created_at": "2015-06-30T14:39:54.153+02:00",
                          "updated_at": "2016-06-06T16:08:31.135+02:00",
                          "short_name": "75 cl",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 887,
                          "account_id": 86,
                          "name": "Bouteille",
                          "quantity": 1,
                          "created_at": "2018-01-18T12:09:34.546+01:00",
                          "updated_at": "2018-03-14T15:30:28.363+01:00",
                          "deleted_at": null,
                          "packing_quantity": 1,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [
                          {
                            "id": 1083,
                            "product_variant_id": 679,
                            "quantity": "1.0",
                            "created_at": "2018-10-10T11:06:28.733+02:00",
                            "updated_at": "2018-10-10T11:06:28.733+02:00",
                            "deleted_at": null,
                            "price_cents": 1167,
                            "price_currency": "EUR",
                            "price_grid_id": 109,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 1400,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 109,
                              "name": "Particulier 2",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.516+02:00",
                              "updated_at": "2020-04-29T06:12:45.597+02:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 1,
                              "calculation_method": "product_variant",
                              "payment_method": "credit_card",
                              "payment_period": "at_once",
                              "displayed": false,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 645
                            }
                          },
                          {
                            "id": 1085,
                            "product_variant_id": 679,
                            "quantity": "1.0",
                            "created_at": "2018-10-10T11:06:54.448+02:00",
                            "updated_at": "2018-10-10T11:06:54.448+02:00",
                            "deleted_at": null,
                            "price_cents": 1300,
                            "price_currency": "EUR",
                            "price_grid_id": 108,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 108,
                              "name": "CHR",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.472+02:00",
                              "updated_at": "2019-11-26T12:34:57.350+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "36.0",
                                "1.0",
                                "120.0",
                                "60.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 1086,
                            "product_variant_id": 679,
                            "quantity": "36.0",
                            "created_at": "2018-10-10T11:06:57.166+02:00",
                            "updated_at": "2018-10-10T11:06:57.166+02:00",
                            "deleted_at": null,
                            "price_cents": 1250,
                            "price_currency": "EUR",
                            "price_grid_id": 108,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 108,
                              "name": "CHR",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.472+02:00",
                              "updated_at": "2019-11-26T12:34:57.350+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "36.0",
                                "1.0",
                                "120.0",
                                "60.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 1087,
                            "product_variant_id": 679,
                            "quantity": "60.0",
                            "created_at": "2018-10-10T11:06:59.096+02:00",
                            "updated_at": "2018-10-10T11:06:59.096+02:00",
                            "deleted_at": null,
                            "price_cents": 1200,
                            "price_currency": "EUR",
                            "price_grid_id": 108,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 108,
                              "name": "CHR",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.472+02:00",
                              "updated_at": "2019-11-26T12:34:57.350+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "36.0",
                                "1.0",
                                "120.0",
                                "60.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 1088,
                            "product_variant_id": 679,
                            "quantity": "120.0",
                            "created_at": "2018-10-10T11:07:01.269+02:00",
                            "updated_at": "2018-10-10T11:07:01.269+02:00",
                            "deleted_at": null,
                            "price_cents": 1100,
                            "price_currency": "EUR",
                            "price_grid_id": 108,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 108,
                              "name": "CHR",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.472+02:00",
                              "updated_at": "2019-11-26T12:34:57.350+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "36.0",
                                "1.0",
                                "120.0",
                                "60.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 1841,
                            "product_variant_id": 679,
                            "quantity": "1.0",
                            "created_at": "2019-05-14T14:33:29.382+02:00",
                            "updated_at": "2019-05-14T14:33:29.382+02:00",
                            "deleted_at": null,
                            "price_cents": 500,
                            "price_currency": "EUR",
                            "price_grid_id": null,
                            "customer_id": 1739,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 600,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR"
                          }
                        ],
                        "catalogs": [
                          {
                            "id": 990,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2019-11-26T09:26:00.485+01:00",
                            "updated_at": "2019-11-26T09:26:00.485+01:00",
                            "price_grid_id": 761,
                            "warehouse_id": 86,
                            "catalogable_id": 510,
                            "catalogable_type": "Register"
                          }
                        ]
                      },
                      {
                        "id": 2191,
                        "product_size_id": 2,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2019-05-02T11:29:47.155+02:00",
                        "updated_at": "2019-05-02T11:34:07.935+02:00",
                        "product_packaging_id": 886,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 1679,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": "",
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": 2015,
                        "stock_all": "-48.0",
                        "product": {
                          "id": 190,
                          "account_id": 86,
                          "name": "ASTRALABE",
                          "product_color_id": 1,
                          "created_at": "2017-09-26T19:03:56.139+02:00",
                          "updated_at": "2018-09-04T23:11:06.223+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 1,
                          "inao_appellation_id": 295,
                          "inao_denomination_id": 1263,
                          "inao_product_id": 3245,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": 31,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": "",
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOC Ventoux",
                          "product_color": {
                            "id": 1,
                            "name": "Rouge",
                            "position": 0,
                            "created_at": "2015-06-30T14:39:54.110+02:00",
                            "updated_at": "2018-09-28T17:31:41.753+02:00",
                            "handle": "red"
                          }
                        },
                        "product_vintage": {
                          "id": 1679,
                          "product_id": 190,
                          "vintage": 2015,
                          "summary": "",
                          "body_html": "",
                          "abv": null,
                          "created_at": "2019-05-02T11:29:47.143+02:00",
                          "updated_at": "2019-05-02T11:29:47.143+02:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": "",
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 2,
                          "name": "Bouteille (75 cl)",
                          "position": 0,
                          "milliliters": 750,
                          "created_at": "2015-06-30T14:39:54.153+02:00",
                          "updated_at": "2016-06-06T16:08:31.135+02:00",
                          "short_name": "75 cl",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 886,
                          "account_id": 86,
                          "name": "Unité (C12)",
                          "quantity": 1,
                          "created_at": "2018-01-16T12:27:38.421+01:00",
                          "updated_at": "2018-01-16T12:27:38.421+01:00",
                          "deleted_at": null,
                          "packing_quantity": 12,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [
                          {
                            "id": 1799,
                            "product_variant_id": 2191,
                            "quantity": "1.0",
                            "created_at": "2019-05-02T11:30:04.314+02:00",
                            "updated_at": "2019-05-02T11:30:08.776+02:00",
                            "deleted_at": null,
                            "price_cents": 1240,
                            "price_currency": "EUR",
                            "price_grid_id": 761,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 1500,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 761,
                              "name": "Particulier",
                              "deleted_at": null,
                              "created_at": "2019-02-26T17:51:07.692+01:00",
                              "updated_at": "2019-02-26T17:51:07.692+01:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 2,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 2008,
                            "product_variant_id": 2191,
                            "quantity": "1.0",
                            "created_at": "2019-06-18T10:20:55.186+02:00",
                            "updated_at": "2019-06-18T10:20:55.186+02:00",
                            "deleted_at": null,
                            "price_cents": 1200,
                            "price_currency": "EUR",
                            "price_grid_id": 226,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 226,
                              "name": "Degustation",
                              "deleted_at": null,
                              "created_at": "2017-12-20T08:31:10.312+01:00",
                              "updated_at": "2019-06-03T11:11:10.375+02:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          }
                        ],
                        "catalogs": []
                      },
                      {
                        "id": 6071,
                        "product_size_id": 2,
                        "sku": "AST2075C6",
                        "default_barcode": "",
                        "created_at": "2019-12-27T12:36:17.284+01:00",
                        "updated_at": "2019-12-27T12:36:17.284+01:00",
                        "product_packaging_id": 484,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 4333,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": "4.5",
                        "tare": "2.7",
                        "functional_code": "",
                        "cost_price_cents": 3000,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": 2020,
                        "stock_all": "0.0",
                        "product": {
                          "id": 190,
                          "account_id": 86,
                          "name": "ASTRALABE",
                          "product_color_id": 1,
                          "created_at": "2017-09-26T19:03:56.139+02:00",
                          "updated_at": "2018-09-04T23:11:06.223+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 1,
                          "inao_appellation_id": 295,
                          "inao_denomination_id": 1263,
                          "inao_product_id": 3245,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": 31,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": "",
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOC Ventoux",
                          "product_color": {
                            "id": 1,
                            "name": "Rouge",
                            "position": 0,
                            "created_at": "2015-06-30T14:39:54.110+02:00",
                            "updated_at": "2018-09-28T17:31:41.753+02:00",
                            "handle": "red"
                          }
                        },
                        "product_vintage": {
                          "id": 4333,
                          "product_id": 190,
                          "vintage": 2020,
                          "summary": null,
                          "body_html": null,
                          "abv": null,
                          "created_at": "2019-12-27T12:36:14.043+01:00",
                          "updated_at": "2019-12-27T12:36:14.043+01:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": null,
                          "vineyard_work": null,
                          "winemaking": null,
                          "wine_ageing": null,
                          "wine_preparation": null,
                          "bottling": null,
                          "traceability": null,
                          "operating_temperature": null,
                          "tasting_advice": null,
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": [
                            {
                              "id": 746,
                              "position": 1,
                              "alt": null,
                              "image_url": "https://vinosoft-staging.s3-eu-west-3.amazonaws.com/uploads/product_image/image/746/9e3580e2-47d7-43f6-8d2d-2fa9569d52f4_three_eighty.jpg?X-Amz-Expires=600&X-Amz-Date=20200616T153127Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJQAEM4Z3DPIKNLLQ%2F20200616%2Feu-west-3%2Fs3%2Faws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=5b8c138f6ec2291d1463db43dc7dd6b1310ef69bce896575a0fe0e5926ede2c4"
                            }
                          ]
                        },
                        "product_size": {
                          "id": 2,
                          "name": "Bouteille (75 cl)",
                          "position": 0,
                          "milliliters": 750,
                          "created_at": "2015-06-30T14:39:54.153+02:00",
                          "updated_at": "2016-06-06T16:08:31.135+02:00",
                          "short_name": "75 cl",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 484,
                          "account_id": 86,
                          "name": "Carton 6",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.282+02:00",
                          "updated_at": "2018-10-10T14:57:15.759+02:00",
                          "deleted_at": null,
                          "packing_quantity": 6,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [],
                        "catalogs": []
                      },
                      {
                        "id": 6072,
                        "product_size_id": 2,
                        "sku": "AST2075UC6",
                        "default_barcode": "",
                        "created_at": "2019-12-27T12:36:18.057+01:00",
                        "updated_at": "2019-12-27T12:36:18.057+01:00",
                        "product_packaging_id": 482,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 4333,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": "0.75",
                        "tare": "0.45",
                        "functional_code": "",
                        "cost_price_cents": 500,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": 2020,
                        "stock_all": "0.0",
                        "product": {
                          "id": 190,
                          "account_id": 86,
                          "name": "ASTRALABE",
                          "product_color_id": 1,
                          "created_at": "2017-09-26T19:03:56.139+02:00",
                          "updated_at": "2018-09-04T23:11:06.223+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 1,
                          "inao_appellation_id": 295,
                          "inao_denomination_id": 1263,
                          "inao_product_id": 3245,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": 31,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": "",
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOC Ventoux",
                          "product_color": {
                            "id": 1,
                            "name": "Rouge",
                            "position": 0,
                            "created_at": "2015-06-30T14:39:54.110+02:00",
                            "updated_at": "2018-09-28T17:31:41.753+02:00",
                            "handle": "red"
                          }
                        },
                        "product_vintage": {
                          "id": 4333,
                          "product_id": 190,
                          "vintage": 2020,
                          "summary": null,
                          "body_html": null,
                          "abv": null,
                          "created_at": "2019-12-27T12:36:14.043+01:00",
                          "updated_at": "2019-12-27T12:36:14.043+01:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": null,
                          "vineyard_work": null,
                          "winemaking": null,
                          "wine_ageing": null,
                          "wine_preparation": null,
                          "bottling": null,
                          "traceability": null,
                          "operating_temperature": null,
                          "tasting_advice": null,
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": [
                            {
                              "id": 746,
                              "position": 1,
                              "alt": null,
                              "image_url": "https://vinosoft-staging.s3-eu-west-3.amazonaws.com/uploads/product_image/image/746/9e3580e2-47d7-43f6-8d2d-2fa9569d52f4_three_eighty.jpg?X-Amz-Expires=600&X-Amz-Date=20200616T153127Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJQAEM4Z3DPIKNLLQ%2F20200616%2Feu-west-3%2Fs3%2Faws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=5b8c138f6ec2291d1463db43dc7dd6b1310ef69bce896575a0fe0e5926ede2c4"
                            }
                          ]
                        },
                        "product_size": {
                          "id": 2,
                          "name": "Bouteille (75 cl)",
                          "position": 0,
                          "milliliters": 750,
                          "created_at": "2015-06-30T14:39:54.153+02:00",
                          "updated_at": "2016-06-06T16:08:31.135+02:00",
                          "short_name": "75 cl",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 482,
                          "account_id": 86,
                          "name": "Unité (C6)",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.233+02:00",
                          "updated_at": "2018-01-16T17:03:33.170+01:00",
                          "deleted_at": null,
                          "packing_quantity": 6,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [],
                        "catalogs": []
                      },
                      {
                        "id": 6073,
                        "product_size_id": 3,
                        "sku": null,
                        "default_barcode": "",
                        "created_at": "2019-12-27T12:36:18.331+01:00",
                        "updated_at": "2019-12-27T12:36:18.331+01:00",
                        "product_packaging_id": 483,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 4333,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": "",
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": 2020,
                        "stock_all": "0.0",
                        "product": {
                          "id": 190,
                          "account_id": 86,
                          "name": "ASTRALABE",
                          "product_color_id": 1,
                          "created_at": "2017-09-26T19:03:56.139+02:00",
                          "updated_at": "2018-09-04T23:11:06.223+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 1,
                          "inao_appellation_id": 295,
                          "inao_denomination_id": 1263,
                          "inao_product_id": 3245,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": 31,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": "",
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOC Ventoux",
                          "product_color": {
                            "id": 1,
                            "name": "Rouge",
                            "position": 0,
                            "created_at": "2015-06-30T14:39:54.110+02:00",
                            "updated_at": "2018-09-28T17:31:41.753+02:00",
                            "handle": "red"
                          }
                        },
                        "product_vintage": {
                          "id": 4333,
                          "product_id": 190,
                          "vintage": 2020,
                          "summary": null,
                          "body_html": null,
                          "abv": null,
                          "created_at": "2019-12-27T12:36:14.043+01:00",
                          "updated_at": "2019-12-27T12:36:14.043+01:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": null,
                          "vineyard_work": null,
                          "winemaking": null,
                          "wine_ageing": null,
                          "wine_preparation": null,
                          "bottling": null,
                          "traceability": null,
                          "operating_temperature": null,
                          "tasting_advice": null,
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": [
                            {
                              "id": 746,
                              "position": 1,
                              "alt": null,
                              "image_url": "https://vinosoft-staging.s3-eu-west-3.amazonaws.com/uploads/product_image/image/746/9e3580e2-47d7-43f6-8d2d-2fa9569d52f4_three_eighty.jpg?X-Amz-Expires=600&X-Amz-Date=20200616T153128Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJQAEM4Z3DPIKNLLQ%2F20200616%2Feu-west-3%2Fs3%2Faws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=24e94acc9bc28908d28983677ca7e88797b6d91899e44e265046652a262423a3"
                            }
                          ]
                        },
                        "product_size": {
                          "id": 3,
                          "name": "Magnum (1,5 l)",
                          "position": 2,
                          "milliliters": 1500,
                          "created_at": "2015-06-30T14:39:54.159+02:00",
                          "updated_at": "2015-10-16T09:13:12.025+02:00",
                          "short_name": "1,5 l",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 483,
                          "account_id": 86,
                          "name": "Carton 3",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.273+02:00",
                          "updated_at": "2018-10-10T14:57:20.767+02:00",
                          "deleted_at": null,
                          "packing_quantity": 3,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [],
                        "catalogs": []
                      },
                      {
                        "id": 6074,
                        "product_size_id": 18,
                        "sku": null,
                        "default_barcode": "",
                        "created_at": "2019-12-27T12:36:18.596+01:00",
                        "updated_at": "2019-12-27T12:36:18.596+01:00",
                        "product_packaging_id": 484,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 4333,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": "",
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": 2020,
                        "stock_all": "0.0",
                        "product": {
                          "id": 190,
                          "account_id": 86,
                          "name": "ASTRALABE",
                          "product_color_id": 1,
                          "created_at": "2017-09-26T19:03:56.139+02:00",
                          "updated_at": "2018-09-04T23:11:06.223+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 1,
                          "inao_appellation_id": 295,
                          "inao_denomination_id": 1263,
                          "inao_product_id": 3245,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": 31,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": "",
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOC Ventoux",
                          "product_color": {
                            "id": 1,
                            "name": "Rouge",
                            "position": 0,
                            "created_at": "2015-06-30T14:39:54.110+02:00",
                            "updated_at": "2018-09-28T17:31:41.753+02:00",
                            "handle": "red"
                          }
                        },
                        "product_vintage": {
                          "id": 4333,
                          "product_id": 190,
                          "vintage": 2020,
                          "summary": null,
                          "body_html": null,
                          "abv": null,
                          "created_at": "2019-12-27T12:36:14.043+01:00",
                          "updated_at": "2019-12-27T12:36:14.043+01:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": null,
                          "vineyard_work": null,
                          "winemaking": null,
                          "wine_ageing": null,
                          "wine_preparation": null,
                          "bottling": null,
                          "traceability": null,
                          "operating_temperature": null,
                          "tasting_advice": null,
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": [
                            {
                              "id": 746,
                              "position": 1,
                              "alt": null,
                              "image_url": "https://vinosoft-staging.s3-eu-west-3.amazonaws.com/uploads/product_image/image/746/9e3580e2-47d7-43f6-8d2d-2fa9569d52f4_three_eighty.jpg?X-Amz-Expires=600&X-Amz-Date=20200616T153128Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJQAEM4Z3DPIKNLLQ%2F20200616%2Feu-west-3%2Fs3%2Faws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=24e94acc9bc28908d28983677ca7e88797b6d91899e44e265046652a262423a3"
                            }
                          ]
                        },
                        "product_size": {
                          "id": 18,
                          "name": "Vrac Hectolitre (1 hl)",
                          "position": 17,
                          "milliliters": 100000,
                          "created_at": "2017-07-31T23:17:31.596+02:00",
                          "updated_at": "2017-07-31T23:17:31.596+02:00",
                          "short_name": "1 hl",
                          "kind": "bulk"
                        },
                        "product_packaging": {
                          "id": 484,
                          "account_id": 86,
                          "name": "Carton 6",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.282+02:00",
                          "updated_at": "2018-10-10T14:57:15.759+02:00",
                          "deleted_at": null,
                          "packing_quantity": 6,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [],
                        "catalogs": []
                      },
                      {
                        "id": 166,
                        "product_size_id": 2,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2017-05-24T11:30:28.563+02:00",
                        "updated_at": "2017-11-27T09:43:08.092+01:00",
                        "product_packaging_id": 482,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 146,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": null,
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": 2016,
                        "stock_all": "5783.0",
                        "product": {
                          "id": 131,
                          "account_id": 86,
                          "name": "Vin de pays Sauvignon",
                          "product_color_id": 2,
                          "created_at": "2017-05-24T11:30:28.551+02:00",
                          "updated_at": "2019-01-28T19:10:02.610+01:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 3,
                          "inao_appellation_id": 6,
                          "inao_denomination_id": 15,
                          "inao_product_id": 100,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": 22,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": "",
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "IGP Val de Loire Maine-et-Loire",
                          "product_color": {
                            "id": 2,
                            "name": "Blanc",
                            "position": 1,
                            "created_at": "2015-06-30T14:39:54.120+02:00",
                            "updated_at": "2018-09-28T17:31:41.763+02:00",
                            "handle": "white"
                          }
                        },
                        "product_vintage": {
                          "id": 146,
                          "product_id": 131,
                          "vintage": 2016,
                          "summary": "",
                          "body_html": "<p><br></p>",
                          "abv": null,
                          "created_at": "2017-05-24T11:30:28.557+02:00",
                          "updated_at": "2017-05-24T11:30:28.557+02:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": [
                            {
                              "id": 21,
                              "position": 1,
                              "alt": null,
                              "image_url": "https://vinosoft-staging.s3-eu-west-3.amazonaws.com/uploads/product_image/image/21/vin-de-pays-sauvignon-2016.jpg?X-Amz-Expires=600&X-Amz-Date=20200616T153128Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJQAEM4Z3DPIKNLLQ%2F20200616%2Feu-west-3%2Fs3%2Faws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=88587006dcb32dc9c65b9040eab6afeb383f3f00b40fb62aa2e75c14172d68d1"
                            }
                          ]
                        },
                        "product_size": {
                          "id": 2,
                          "name": "Bouteille (75 cl)",
                          "position": 0,
                          "milliliters": 750,
                          "created_at": "2015-06-30T14:39:54.153+02:00",
                          "updated_at": "2016-06-06T16:08:31.135+02:00",
                          "short_name": "75 cl",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 482,
                          "account_id": 86,
                          "name": "Unité (C6)",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.233+02:00",
                          "updated_at": "2018-01-16T17:03:33.170+01:00",
                          "deleted_at": null,
                          "packing_quantity": 6,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [
                          {
                            "id": 174,
                            "product_variant_id": 166,
                            "quantity": "1.0",
                            "created_at": "2017-05-24T11:38:38.096+02:00",
                            "updated_at": "2017-05-24T11:41:06.681+02:00",
                            "deleted_at": "2017-05-24T11:41:06.673+02:00",
                            "price_cents": 600,
                            "price_currency": "EUR",
                            "price_grid_id": 108,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 108,
                              "name": "CHR",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.472+02:00",
                              "updated_at": "2019-11-26T12:34:57.350+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "36.0",
                                "1.0",
                                "120.0",
                                "60.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 182,
                            "product_variant_id": 166,
                            "quantity": "1.0",
                            "created_at": "2017-05-24T12:01:55.138+02:00",
                            "updated_at": "2017-05-24T12:01:55.138+02:00",
                            "deleted_at": null,
                            "price_cents": 350,
                            "price_currency": "EUR",
                            "price_grid_id": 108,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 108,
                              "name": "CHR",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.472+02:00",
                              "updated_at": "2019-11-26T12:34:57.350+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "36.0",
                                "1.0",
                                "120.0",
                                "60.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 184,
                            "product_variant_id": 166,
                            "quantity": "36.0",
                            "created_at": "2017-05-24T12:02:06.438+02:00",
                            "updated_at": "2017-05-24T12:02:06.438+02:00",
                            "deleted_at": null,
                            "price_cents": 350,
                            "price_currency": "EUR",
                            "price_grid_id": 108,
                            "customer_id": null,
                            "free_shipping": true,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 108,
                              "name": "CHR",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.472+02:00",
                              "updated_at": "2019-11-26T12:34:57.350+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "36.0",
                                "1.0",
                                "120.0",
                                "60.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 177,
                            "product_variant_id": 166,
                            "quantity": "1.0",
                            "created_at": "2017-05-24T11:41:27.243+02:00",
                            "updated_at": "2017-09-15T10:05:27.969+02:00",
                            "deleted_at": null,
                            "price_cents": 583,
                            "price_currency": "EUR",
                            "price_grid_id": 109,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 700,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 109,
                              "name": "Particulier 2",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.516+02:00",
                              "updated_at": "2020-04-29T06:12:45.597+02:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 1,
                              "calculation_method": "product_variant",
                              "payment_method": "credit_card",
                              "payment_period": "at_once",
                              "displayed": false,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 645
                            }
                          },
                          {
                            "id": 186,
                            "product_variant_id": 166,
                            "quantity": "60.0",
                            "created_at": "2017-05-24T12:02:16.977+02:00",
                            "updated_at": "2018-01-19T14:03:56.779+01:00",
                            "deleted_at": "2018-01-19T14:03:56.776+01:00",
                            "price_cents": 330,
                            "price_currency": "EUR",
                            "price_grid_id": 108,
                            "customer_id": null,
                            "free_shipping": true,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 108,
                              "name": "CHR",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.472+02:00",
                              "updated_at": "2019-11-26T12:34:57.350+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": true,
                              "quantities": [
                                null,
                                "36.0",
                                "1.0",
                                "120.0",
                                "60.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          }
                        ],
                        "catalogs": [
                          {
                            "id": 86,
                            "account_id": 86,
                            "name": "Site web",
                            "handle": "site-web",
                            "deletable": false,
                            "deleted_at": null,
                            "created_at": "2017-05-24T11:01:47.901+02:00",
                            "updated_at": "2019-01-28T19:08:23.079+01:00",
                            "price_grid_id": 109,
                            "warehouse_id": 86,
                            "catalogable_id": 86,
                            "catalogable_type": "Website"
                          },
                          {
                            "id": 259,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2017-11-27T09:41:36.659+01:00",
                            "updated_at": "2019-10-15T11:17:19.090+02:00",
                            "price_grid_id": 761,
                            "warehouse_id": 87,
                            "catalogable_id": 130,
                            "catalogable_type": "Register"
                          }
                        ]
                      },
                      {
                        "id": 1691,
                        "product_size_id": null,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2019-02-04T09:19:54.536+01:00",
                        "updated_at": "2019-02-04T09:19:54.536+01:00",
                        "product_packaging_id": 484,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 1288,
                        "nc8_code": null,
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": null,
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": null,
                        "stock_all": "0.0",
                        "product": {
                          "id": 908,
                          "account_id": 86,
                          "name": "Coffret Catalan",
                          "product_color_id": null,
                          "created_at": "2019-02-04T09:19:54.516+01:00",
                          "updated_at": "2019-02-04T09:19:54.516+01:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "",
                          "text": null,
                          "product_category_id": null,
                          "country_code": null,
                          "classification": null,
                          "position": 0,
                          "product_certification_id": null,
                          "inao_appellation_id": null,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": null,
                          "kind": "pack",
                          "capsule_id": null,
                          "interprofessional_code": null,
                          "vinosoft_id": null,
                          "zone_code": null,
                          "product_family_id": 512,
                          "neutral_capsule_id": null,
                          "appellation": null
                        },
                        "product_vintage": {
                          "id": 1288,
                          "product_id": 908,
                          "vintage": null,
                          "summary": "",
                          "body_html": null,
                          "abv": null,
                          "created_at": "2019-02-04T09:19:54.531+01:00",
                          "updated_at": "2019-02-04T09:19:54.531+01:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": null,
                          "vineyard_work": null,
                          "winemaking": null,
                          "wine_ageing": null,
                          "wine_preparation": null,
                          "bottling": null,
                          "traceability": null,
                          "operating_temperature": null,
                          "tasting_advice": null,
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_packaging": {
                          "id": 484,
                          "account_id": 86,
                          "name": "Carton 6",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.282+02:00",
                          "updated_at": "2018-10-10T14:57:15.759+02:00",
                          "deleted_at": null,
                          "packing_quantity": 6,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [],
                        "catalogs": []
                      },
                      {
                        "id": 5623,
                        "product_size_id": 2,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2019-11-12T10:10:49.415+01:00",
                        "updated_at": "2019-11-12T10:10:49.415+01:00",
                        "product_packaging_id": 484,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 3951,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": "",
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": null,
                        "stock_all": "1664.0",
                        "product": {
                          "id": 2400,
                          "account_id": 86,
                          "name": "Cuvée B",
                          "product_color_id": 1,
                          "created_at": "2019-11-12T10:10:49.349+01:00",
                          "updated_at": "2019-11-12T10:10:49.349+01:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 1,
                          "inao_appellation_id": 182,
                          "inao_denomination_id": 442,
                          "inao_product_id": 1957,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": null,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": "",
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOC Bourgogne",
                          "product_color": {
                            "id": 1,
                            "name": "Rouge",
                            "position": 0,
                            "created_at": "2015-06-30T14:39:54.110+02:00",
                            "updated_at": "2018-09-28T17:31:41.753+02:00",
                            "handle": "red"
                          }
                        },
                        "product_vintage": {
                          "id": 3951,
                          "product_id": 2400,
                          "vintage": null,
                          "summary": "",
                          "body_html": "",
                          "abv": null,
                          "created_at": "2019-11-12T10:10:49.393+01:00",
                          "updated_at": "2019-11-12T10:48:50.512+01:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": "",
                          "parent_id": 3950,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 2,
                          "name": "Bouteille (75 cl)",
                          "position": 0,
                          "milliliters": 750,
                          "created_at": "2015-06-30T14:39:54.153+02:00",
                          "updated_at": "2016-06-06T16:08:31.135+02:00",
                          "short_name": "75 cl",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 484,
                          "account_id": 86,
                          "name": "Carton 6",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.282+02:00",
                          "updated_at": "2018-10-10T14:57:15.759+02:00",
                          "deleted_at": null,
                          "packing_quantity": 6,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [],
                        "catalogs": []
                      },
                      {
                        "id": 5624,
                        "product_size_id": 2,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2019-11-12T10:11:17.354+01:00",
                        "updated_at": "2019-11-12T10:11:17.354+01:00",
                        "product_packaging_id": 484,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 3952,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": "",
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": null,
                        "stock_all": "100.0",
                        "product": {
                          "id": 2401,
                          "account_id": 86,
                          "name": "Cuvée C",
                          "product_color_id": 1,
                          "created_at": "2019-11-12T10:11:17.289+01:00",
                          "updated_at": "2019-11-12T10:11:17.289+01:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 1,
                          "inao_appellation_id": 182,
                          "inao_denomination_id": 442,
                          "inao_product_id": 1957,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": null,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": "",
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOC Bourgogne",
                          "product_color": {
                            "id": 1,
                            "name": "Rouge",
                            "position": 0,
                            "created_at": "2015-06-30T14:39:54.110+02:00",
                            "updated_at": "2018-09-28T17:31:41.753+02:00",
                            "handle": "red"
                          }
                        },
                        "product_vintage": {
                          "id": 3952,
                          "product_id": 2401,
                          "vintage": null,
                          "summary": "",
                          "body_html": "",
                          "abv": null,
                          "created_at": "2019-11-12T10:11:17.331+01:00",
                          "updated_at": "2019-11-12T10:11:17.331+01:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": "",
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 2,
                          "name": "Bouteille (75 cl)",
                          "position": 0,
                          "milliliters": 750,
                          "created_at": "2015-06-30T14:39:54.153+02:00",
                          "updated_at": "2016-06-06T16:08:31.135+02:00",
                          "short_name": "75 cl",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 484,
                          "account_id": 86,
                          "name": "Carton 6",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.282+02:00",
                          "updated_at": "2018-10-10T14:57:15.759+02:00",
                          "deleted_at": null,
                          "packing_quantity": 6,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [],
                        "catalogs": []
                      },
                      {
                        "id": 6198,
                        "product_size_id": 2,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2020-01-15T13:48:01.547+01:00",
                        "updated_at": "2020-01-15T13:48:01.547+01:00",
                        "product_packaging_id": 484,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 4423,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": "",
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": null,
                        "stock_all": "0.0",
                        "product": {
                          "id": 2822,
                          "account_id": 86,
                          "name": "",
                          "product_color_id": 1,
                          "created_at": "2020-01-15T13:48:01.442+01:00",
                          "updated_at": "2020-01-15T13:48:01.442+01:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 1,
                          "inao_appellation_id": 154,
                          "inao_denomination_id": 315,
                          "inao_product_id": 1734,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": null,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": "",
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOC Muscadet",
                          "product_color": {
                            "id": 1,
                            "name": "Rouge",
                            "position": 0,
                            "created_at": "2015-06-30T14:39:54.110+02:00",
                            "updated_at": "2018-09-28T17:31:41.753+02:00",
                            "handle": "red"
                          }
                        },
                        "product_vintage": {
                          "id": 4423,
                          "product_id": 2822,
                          "vintage": null,
                          "summary": "",
                          "body_html": "",
                          "abv": null,
                          "created_at": "2020-01-15T13:48:01.525+01:00",
                          "updated_at": "2020-01-15T13:48:01.525+01:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": "",
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 2,
                          "name": "Bouteille (75 cl)",
                          "position": 0,
                          "milliliters": 750,
                          "created_at": "2015-06-30T14:39:54.153+02:00",
                          "updated_at": "2016-06-06T16:08:31.135+02:00",
                          "short_name": "75 cl",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 484,
                          "account_id": 86,
                          "name": "Carton 6",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.282+02:00",
                          "updated_at": "2018-10-10T14:57:15.759+02:00",
                          "deleted_at": null,
                          "packing_quantity": 6,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [],
                        "catalogs": []
                      },
                      {
                        "id": 6040,
                        "product_size_id": null,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2019-12-18T11:03:56.247+01:00",
                        "updated_at": "2019-12-18T11:03:56.247+01:00",
                        "product_packaging_id": null,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 4309,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": "",
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": null,
                        "stock_all": "0.0",
                        "product": {
                          "id": 2722,
                          "account_id": 86,
                          "name": "Taxe interprofessionnelle",
                          "product_color_id": null,
                          "created_at": "2019-12-18T11:03:56.099+01:00",
                          "updated_at": "2019-12-18T11:03:56.099+01:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "",
                          "text": null,
                          "product_category_id": null,
                          "country_code": null,
                          "classification": null,
                          "position": 0,
                          "product_certification_id": null,
                          "inao_appellation_id": null,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": null,
                          "kind": "other",
                          "capsule_id": null,
                          "interprofessional_code": null,
                          "vinosoft_id": null,
                          "zone_code": null,
                          "product_family_id": 1421,
                          "neutral_capsule_id": null,
                          "appellation": null
                        },
                        "product_vintage": {
                          "id": 4309,
                          "product_id": 2722,
                          "vintage": null,
                          "summary": "",
                          "body_html": null,
                          "abv": null,
                          "created_at": "2019-12-18T11:03:56.226+01:00",
                          "updated_at": "2019-12-18T11:03:56.226+01:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": null,
                          "vineyard_work": null,
                          "winemaking": null,
                          "wine_ageing": null,
                          "wine_preparation": null,
                          "bottling": null,
                          "traceability": null,
                          "operating_temperature": null,
                          "tasting_advice": null,
                          "vinosoft_id": null,
                          "complement": "",
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_prices": [],
                        "catalogs": []
                      },
                      {
                        "id": 501,
                        "product_size_id": 2,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2018-03-28T16:20:23.689+02:00",
                        "updated_at": "2018-11-05T10:31:36.777+01:00",
                        "product_packaging_id": 484,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 409,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": "",
                        "cost_price_cents": 500,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": 2016,
                        "stock_all": "-908.0",
                        "product": {
                          "id": 360,
                          "account_id": 86,
                          "name": "Bourgogne AOC",
                          "product_color_id": 1,
                          "created_at": "2018-03-28T16:20:23.587+02:00",
                          "updated_at": "2019-06-13T13:45:57.038+02:00",
                          "deleted_at": null,
                          "supplier_id": 45,
                          "appellation_id": null,
                          "body_html": "",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 1,
                          "inao_appellation_id": 182,
                          "inao_denomination_id": 439,
                          "inao_product_id": 1970,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": 38,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": "1",
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOC Bourgogne Côte Chalonnaise",
                          "product_color": {
                            "id": 1,
                            "name": "Rouge",
                            "position": 0,
                            "created_at": "2015-06-30T14:39:54.110+02:00",
                            "updated_at": "2018-09-28T17:31:41.753+02:00",
                            "handle": "red"
                          },
                          "supplier": {
                            "id": 45,
                            "name": "Briard",
                            "email": "",
                            "note": "",
                            "deleted_at": null,
                            "created_at": "2018-07-13T14:38:09.662+02:00",
                            "updated_at": "2018-07-13T14:38:09.662+02:00"
                          }
                        },
                        "product_vintage": {
                          "id": 409,
                          "product_id": 360,
                          "vintage": 2016,
                          "summary": "",
                          "body_html": "",
                          "abv": "12.0",
                          "created_at": "2018-03-28T16:20:23.676+02:00",
                          "updated_at": "2018-03-28T16:20:23.676+02:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 2,
                          "name": "Bouteille (75 cl)",
                          "position": 0,
                          "milliliters": 750,
                          "created_at": "2015-06-30T14:39:54.153+02:00",
                          "updated_at": "2016-06-06T16:08:31.135+02:00",
                          "short_name": "75 cl",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 484,
                          "account_id": 86,
                          "name": "Carton 6",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.282+02:00",
                          "updated_at": "2018-10-10T14:57:15.759+02:00",
                          "deleted_at": null,
                          "packing_quantity": 6,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [
                          {
                            "id": 477,
                            "product_variant_id": 501,
                            "quantity": "1.0",
                            "created_at": "2018-03-28T16:44:35.179+02:00",
                            "updated_at": "2018-03-28T16:44:35.179+02:00",
                            "deleted_at": null,
                            "price_cents": 833,
                            "price_currency": "EUR",
                            "price_grid_id": 109,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 1000,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 109,
                              "name": "Particulier 2",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.516+02:00",
                              "updated_at": "2020-04-29T06:12:45.597+02:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 1,
                              "calculation_method": "product_variant",
                              "payment_method": "credit_card",
                              "payment_period": "at_once",
                              "displayed": false,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 645
                            }
                          },
                          {
                            "id": 478,
                            "product_variant_id": 501,
                            "quantity": "1.0",
                            "created_at": "2018-03-28T16:45:01.830+02:00",
                            "updated_at": "2018-03-28T16:45:01.830+02:00",
                            "deleted_at": null,
                            "price_cents": 500,
                            "price_currency": "EUR",
                            "price_grid_id": 149,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 149,
                              "name": "Export",
                              "deleted_at": null,
                              "created_at": "2017-09-26T19:08:50.486+02:00",
                              "updated_at": "2020-04-29T06:12:56.472+02:00",
                              "price_kind": "without_tax",
                              "country_tax_id": 1,
                              "calculation_method": "total",
                              "payment_method": "transfer",
                              "payment_period": "",
                              "displayed": true,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 649
                            }
                          },
                          {
                            "id": 1176,
                            "product_variant_id": 501,
                            "quantity": "1.0",
                            "created_at": "2018-11-05T10:31:36.762+01:00",
                            "updated_at": "2018-11-05T10:31:36.762+01:00",
                            "deleted_at": null,
                            "price_cents": 500,
                            "price_currency": "EUR",
                            "price_grid_id": 440,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 440,
                              "name": "Fournisseur",
                              "deleted_at": null,
                              "created_at": "2018-06-18T16:39:27.428+02:00",
                              "updated_at": "2019-02-05T16:28:17.799+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": null,
                              "calculation_method": null,
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": false,
                              "quantities": [
                                "1.0",
                                "10.0",
                                "36.0"
                              ],
                              "supplier": true,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 1177,
                            "product_variant_id": 501,
                            "quantity": "10.0",
                            "created_at": "2018-11-05T10:31:41.467+01:00",
                            "updated_at": "2018-11-05T10:31:41.467+01:00",
                            "deleted_at": null,
                            "price_cents": 450,
                            "price_currency": "EUR",
                            "price_grid_id": 440,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 440,
                              "name": "Fournisseur",
                              "deleted_at": null,
                              "created_at": "2018-06-18T16:39:27.428+02:00",
                              "updated_at": "2019-02-05T16:28:17.799+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": null,
                              "calculation_method": null,
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": false,
                              "quantities": [
                                "1.0",
                                "10.0",
                                "36.0"
                              ],
                              "supplier": true,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          },
                          {
                            "id": 1178,
                            "product_variant_id": 501,
                            "quantity": "36.0",
                            "created_at": "2018-11-05T10:31:47.430+01:00",
                            "updated_at": "2018-11-05T10:31:47.430+01:00",
                            "deleted_at": null,
                            "price_cents": 450,
                            "price_currency": "EUR",
                            "price_grid_id": 440,
                            "customer_id": null,
                            "free_shipping": true,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 0,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 440,
                              "name": "Fournisseur",
                              "deleted_at": null,
                              "created_at": "2018-06-18T16:39:27.428+02:00",
                              "updated_at": "2019-02-05T16:28:17.799+01:00",
                              "price_kind": "without_tax",
                              "country_tax_id": null,
                              "calculation_method": null,
                              "payment_method": null,
                              "payment_period": null,
                              "displayed": false,
                              "quantities": [
                                "1.0",
                                "10.0",
                                "36.0"
                              ],
                              "supplier": true,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": null
                            }
                          }
                        ],
                        "catalogs": [
                          {
                            "id": 231,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2017-11-26T23:32:34.566+01:00",
                            "updated_at": "2017-11-26T23:32:34.566+01:00",
                            "price_grid_id": null,
                            "warehouse_id": null,
                            "catalogable_id": 102,
                            "catalogable_type": "Register"
                          },
                          {
                            "id": 259,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2017-11-27T09:41:36.659+01:00",
                            "updated_at": "2019-10-15T11:17:19.090+02:00",
                            "price_grid_id": 761,
                            "warehouse_id": 87,
                            "catalogable_id": 130,
                            "catalogable_type": "Register"
                          }
                        ]
                      },
                      {
                        "id": 330,
                        "product_size_id": 2,
                        "sku": "PARAROS75",
                        "default_barcode": "",
                        "created_at": "2017-11-29T12:12:51.145+01:00",
                        "updated_at": "2017-11-29T12:12:51.145+01:00",
                        "product_packaging_id": 482,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 260,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": null,
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": 2016,
                        "stock_all": "10352.0",
                        "product": {
                          "id": 220,
                          "account_id": 86,
                          "name": "Paradis",
                          "product_color_id": 3,
                          "created_at": "2017-11-29T12:12:51.112+01:00",
                          "updated_at": "2019-09-03T16:53:46.315+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 6,
                          "inao_appellation_id": null,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": "paid",
                          "kind": "standard",
                          "capsule_id": 31,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": "",
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": null,
                          "product_color": {
                            "id": 3,
                            "name": "Rosé",
                            "position": 2,
                            "created_at": "2015-06-30T14:39:54.126+02:00",
                            "updated_at": "2018-09-28T17:31:41.778+02:00",
                            "handle": "pink"
                          }
                        },
                        "product_vintage": {
                          "id": 260,
                          "product_id": 220,
                          "vintage": 2016,
                          "summary": "",
                          "body_html": "<p><br></p>",
                          "abv": "13.0",
                          "created_at": "2017-11-29T12:12:51.139+01:00",
                          "updated_at": "2017-11-29T12:12:51.139+01:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 2,
                          "name": "Bouteille (75 cl)",
                          "position": 0,
                          "milliliters": 750,
                          "created_at": "2015-06-30T14:39:54.153+02:00",
                          "updated_at": "2016-06-06T16:08:31.135+02:00",
                          "short_name": "75 cl",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 482,
                          "account_id": 86,
                          "name": "Unité (C6)",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.233+02:00",
                          "updated_at": "2018-01-16T17:03:33.170+01:00",
                          "deleted_at": null,
                          "packing_quantity": 6,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [
                          {
                            "id": 303,
                            "product_variant_id": 330,
                            "quantity": "1.0",
                            "created_at": "2017-11-29T12:47:31.965+01:00",
                            "updated_at": "2017-11-29T12:47:31.965+01:00",
                            "deleted_at": null,
                            "price_cents": 833,
                            "price_currency": "EUR",
                            "price_grid_id": 109,
                            "customer_id": null,
                            "free_shipping": false,
                            "supplier_price_cents": 0,
                            "supplier_price_currency": "EUR",
                            "price_with_tax_cents": 1000,
                            "price_with_tax_currency": "EUR",
                            "vinosoft_id": null,
                            "advance_payment_amount_cents": 0,
                            "advance_payment_amount_currency": "EUR",
                            "price_grid": {
                              "id": 109,
                              "name": "Particulier 2",
                              "deleted_at": null,
                              "created_at": "2017-05-24T11:01:47.516+02:00",
                              "updated_at": "2020-04-29T06:12:45.597+02:00",
                              "price_kind": "with_tax",
                              "country_tax_id": 1,
                              "calculation_method": "product_variant",
                              "payment_method": "credit_card",
                              "payment_period": "at_once",
                              "displayed": false,
                              "quantities": [
                                null,
                                "1.0"
                              ],
                              "supplier": false,
                              "default": false,
                              "product_variants_with_price": false,
                              "invoice_template_id": 645
                            }
                          }
                        ],
                        "catalogs": [
                          {
                            "id": 231,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2017-11-26T23:32:34.566+01:00",
                            "updated_at": "2017-11-26T23:32:34.566+01:00",
                            "price_grid_id": null,
                            "warehouse_id": null,
                            "catalogable_id": 102,
                            "catalogable_type": "Register"
                          },
                          {
                            "id": 259,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2017-11-27T09:41:36.659+01:00",
                            "updated_at": "2019-10-15T11:17:19.090+02:00",
                            "price_grid_id": 761,
                            "warehouse_id": 87,
                            "catalogable_id": 130,
                            "catalogable_type": "Register"
                          }
                        ]
                      },
                      {
                        "id": 5563,
                        "product_size_id": 6,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2019-10-29T11:57:17.370+01:00",
                        "updated_at": "2020-05-22T16:01:58.734+02:00",
                        "product_packaging_id": 484,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 260,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": "",
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": "",
                        "ttb_id": "",
                        "vintage": 2016,
                        "stock_all": "0.0",
                        "product": {
                          "id": 220,
                          "account_id": 86,
                          "name": "Paradis",
                          "product_color_id": 3,
                          "created_at": "2017-11-29T12:12:51.112+01:00",
                          "updated_at": "2019-09-03T16:53:46.315+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "<p><br></p>",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 6,
                          "inao_appellation_id": null,
                          "inao_denomination_id": null,
                          "inao_product_id": null,
                          "excise_duty_state": "paid",
                          "kind": "standard",
                          "capsule_id": 31,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": "",
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": null,
                          "product_color": {
                            "id": 3,
                            "name": "Rosé",
                            "position": 2,
                            "created_at": "2015-06-30T14:39:54.126+02:00",
                            "updated_at": "2018-09-28T17:31:41.778+02:00",
                            "handle": "pink"
                          }
                        },
                        "product_vintage": {
                          "id": 260,
                          "product_id": 220,
                          "vintage": 2016,
                          "summary": "",
                          "body_html": "<p><br></p>",
                          "abv": "13.0",
                          "created_at": "2017-11-29T12:12:51.139+01:00",
                          "updated_at": "2017-11-29T12:12:51.139+01:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": null,
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 6,
                          "name": "Jéroboam (3 l)",
                          "position": 5,
                          "milliliters": 3000,
                          "created_at": "2016-05-30T21:53:11.522+02:00",
                          "updated_at": "2016-05-30T21:53:11.522+02:00",
                          "short_name": "3 l",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 484,
                          "account_id": 86,
                          "name": "Carton 6",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.282+02:00",
                          "updated_at": "2018-10-10T14:57:15.759+02:00",
                          "deleted_at": null,
                          "packing_quantity": 6,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [],
                        "catalogs": [
                          {
                            "id": 231,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2017-11-26T23:32:34.566+01:00",
                            "updated_at": "2017-11-26T23:32:34.566+01:00",
                            "price_grid_id": null,
                            "warehouse_id": null,
                            "catalogable_id": 102,
                            "catalogable_type": "Register"
                          },
                          {
                            "id": 259,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2017-11-27T09:41:36.659+01:00",
                            "updated_at": "2019-10-15T11:17:19.090+02:00",
                            "price_grid_id": 761,
                            "warehouse_id": 87,
                            "catalogable_id": 130,
                            "catalogable_type": "Register"
                          }
                        ]
                      },
                      {
                        "id": 3037,
                        "product_size_id": 2,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2019-09-10T10:02:32.463+02:00",
                        "updated_at": "2019-09-10T10:02:32.463+02:00",
                        "product_packaging_id": 484,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 2298,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": "",
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": null,
                        "stock_all": "-60.0",
                        "product": {
                          "id": 1675,
                          "account_id": 86,
                          "name": "Muscadet Sèvre et Maine \"Sur Lie\"",
                          "product_color_id": 2,
                          "created_at": "2019-09-10T10:02:32.407+02:00",
                          "updated_at": "2019-09-10T10:02:32.407+02:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 1,
                          "inao_appellation_id": 157,
                          "inao_denomination_id": 321,
                          "inao_product_id": 4298,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": null,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": "",
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOC Muscadet Sèvre et Maine sur lie",
                          "product_color": {
                            "id": 2,
                            "name": "Blanc",
                            "position": 1,
                            "created_at": "2015-06-30T14:39:54.120+02:00",
                            "updated_at": "2018-09-28T17:31:41.763+02:00",
                            "handle": "white"
                          }
                        },
                        "product_vintage": {
                          "id": 2298,
                          "product_id": 1675,
                          "vintage": null,
                          "summary": "",
                          "body_html": "",
                          "abv": null,
                          "created_at": "2019-09-10T10:02:32.444+02:00",
                          "updated_at": "2019-09-10T10:02:32.444+02:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": "",
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 2,
                          "name": "Bouteille (75 cl)",
                          "position": 0,
                          "milliliters": 750,
                          "created_at": "2015-06-30T14:39:54.153+02:00",
                          "updated_at": "2016-06-06T16:08:31.135+02:00",
                          "short_name": "75 cl",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 484,
                          "account_id": 86,
                          "name": "Carton 6",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.282+02:00",
                          "updated_at": "2018-10-10T14:57:15.759+02:00",
                          "deleted_at": null,
                          "packing_quantity": 6,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [],
                        "catalogs": [
                          {
                            "id": 990,
                            "account_id": 86,
                            "name": null,
                            "handle": null,
                            "deletable": true,
                            "deleted_at": null,
                            "created_at": "2019-11-26T09:26:00.485+01:00",
                            "updated_at": "2019-11-26T09:26:00.485+01:00",
                            "price_grid_id": 761,
                            "warehouse_id": 86,
                            "catalogable_id": 510,
                            "catalogable_type": "Register"
                          }
                        ]
                      },
                      {
                        "id": 5622,
                        "product_size_id": 2,
                        "sku": "",
                        "default_barcode": "",
                        "created_at": "2019-11-12T10:10:08.553+01:00",
                        "updated_at": "2019-11-12T10:10:08.553+01:00",
                        "product_packaging_id": 484,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 3950,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": "",
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": null,
                        "stock_all": "1664.0",
                        "product": {
                          "id": 2399,
                          "account_id": 86,
                          "name": "Cuvée A",
                          "product_color_id": 1,
                          "created_at": "2019-11-12T10:10:08.153+01:00",
                          "updated_at": "2019-11-12T10:10:08.153+01:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 1,
                          "inao_appellation_id": 182,
                          "inao_denomination_id": 442,
                          "inao_product_id": 1957,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": null,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": "",
                          "product_family_id": 511,
                          "neutral_capsule_id": null,
                          "appellation": "AOC Bourgogne",
                          "product_color": {
                            "id": 1,
                            "name": "Rouge",
                            "position": 0,
                            "created_at": "2015-06-30T14:39:54.110+02:00",
                            "updated_at": "2018-09-28T17:31:41.753+02:00",
                            "handle": "red"
                          }
                        },
                        "product_vintage": {
                          "id": 3950,
                          "product_id": 2399,
                          "vintage": null,
                          "summary": "",
                          "body_html": "",
                          "abv": null,
                          "created_at": "2019-11-12T10:10:08.481+01:00",
                          "updated_at": "2019-11-12T10:10:08.481+01:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": "",
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 2,
                          "name": "Bouteille (75 cl)",
                          "position": 0,
                          "milliliters": 750,
                          "created_at": "2015-06-30T14:39:54.153+02:00",
                          "updated_at": "2016-06-06T16:08:31.135+02:00",
                          "short_name": "75 cl",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 484,
                          "account_id": 86,
                          "name": "Carton 6",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.282+02:00",
                          "updated_at": "2018-10-10T14:57:15.759+02:00",
                          "deleted_at": null,
                          "packing_quantity": 6,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [],
                        "catalogs": []
                      },
                      {
                        "id": 7616,
                        "product_size_id": 2,
                        "sku": "CUCOP1975",
                        "default_barcode": "",
                        "created_at": "2020-03-23T15:30:26.075+01:00",
                        "updated_at": "2020-03-23T15:30:26.075+01:00",
                        "product_packaging_id": 484,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 5592,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": "",
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": 2018,
                        "stock_all": "0.0",
                        "product": {
                          "id": 3719,
                          "account_id": 86,
                          "name": "Cuvée des copains",
                          "product_color_id": 1,
                          "created_at": "2020-03-23T15:30:25.913+01:00",
                          "updated_at": "2020-03-23T15:30:25.913+01:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 1,
                          "inao_appellation_id": 164,
                          "inao_denomination_id": 328,
                          "inao_product_id": 1749,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": 37,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": "4",
                          "product_family_id": 511,
                          "neutral_capsule_id": 43,
                          "appellation": "AOC Saint-Nicolas-de-Bourgueil",
                          "product_color": {
                            "id": 1,
                            "name": "Rouge",
                            "position": 0,
                            "created_at": "2015-06-30T14:39:54.110+02:00",
                            "updated_at": "2018-09-28T17:31:41.753+02:00",
                            "handle": "red"
                          }
                        },
                        "product_vintage": {
                          "id": 5592,
                          "product_id": 3719,
                          "vintage": 2018,
                          "summary": "",
                          "body_html": "",
                          "abv": "13.0",
                          "created_at": "2020-03-23T15:30:26.054+01:00",
                          "updated_at": "2020-03-23T15:30:26.054+01:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": "",
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 2,
                          "name": "Bouteille (75 cl)",
                          "position": 0,
                          "milliliters": 750,
                          "created_at": "2015-06-30T14:39:54.153+02:00",
                          "updated_at": "2016-06-06T16:08:31.135+02:00",
                          "short_name": "75 cl",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 484,
                          "account_id": 86,
                          "name": "Carton 6",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.282+02:00",
                          "updated_at": "2018-10-10T14:57:15.759+02:00",
                          "deleted_at": null,
                          "packing_quantity": 6,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [],
                        "catalogs": []
                      },
                      {
                        "id": 7617,
                        "product_size_id": 2,
                        "sku": "CUCOP1975",
                        "default_barcode": "",
                        "created_at": "2020-03-23T15:31:39.787+01:00",
                        "updated_at": "2020-03-23T15:31:39.787+01:00",
                        "product_packaging_id": 484,
                        "deleted_at": null,
                        "product_label_id": null,
                        "product_vintage_id": 5593,
                        "nc8_code": "",
                        "vinosoft_id": null,
                        "net_weight": null,
                        "tare": null,
                        "functional_code": "",
                        "cost_price_cents": 0,
                        "cost_price_currency": "EUR",
                        "marketable": true,
                        "fulfillable": true,
                        "capsule_id": null,
                        "neutral_capsule_id": null,
                        "sales_unit": 1,
                        "cspc": null,
                        "ttb_id": null,
                        "vintage": 2019,
                        "stock_all": "0.0",
                        "product": {
                          "id": 3719,
                          "account_id": 86,
                          "name": "Cuvée des copains",
                          "product_color_id": 1,
                          "created_at": "2020-03-23T15:30:25.913+01:00",
                          "updated_at": "2020-03-23T15:30:25.913+01:00",
                          "deleted_at": null,
                          "supplier_id": null,
                          "appellation_id": null,
                          "body_html": "",
                          "text": null,
                          "product_category_id": 1,
                          "country_code": "FR",
                          "classification": "",
                          "position": 0,
                          "product_certification_id": 1,
                          "inao_appellation_id": 164,
                          "inao_denomination_id": 328,
                          "inao_product_id": 1749,
                          "excise_duty_state": "",
                          "kind": "standard",
                          "capsule_id": 37,
                          "interprofessional_code": "",
                          "vinosoft_id": null,
                          "zone_code": "4",
                          "product_family_id": 511,
                          "neutral_capsule_id": 43,
                          "appellation": "AOC Saint-Nicolas-de-Bourgueil",
                          "product_color": {
                            "id": 1,
                            "name": "Rouge",
                            "position": 0,
                            "created_at": "2015-06-30T14:39:54.110+02:00",
                            "updated_at": "2018-09-28T17:31:41.753+02:00",
                            "handle": "red"
                          }
                        },
                        "product_vintage": {
                          "id": 5593,
                          "product_id": 3719,
                          "vintage": 2019,
                          "summary": "",
                          "body_html": "",
                          "abv": "14.0",
                          "created_at": "2020-03-23T15:31:39.758+01:00",
                          "updated_at": "2020-03-23T15:31:39.758+01:00",
                          "deleted_at": null,
                          "primeur": false,
                          "grapes": "",
                          "vineyard_work": "",
                          "winemaking": "",
                          "wine_ageing": "",
                          "wine_preparation": "",
                          "bottling": "",
                          "traceability": "",
                          "operating_temperature": "",
                          "tasting_advice": "",
                          "vinosoft_id": null,
                          "complement": "",
                          "parent_id": null,
                          "product_images": []
                        },
                        "product_size": {
                          "id": 2,
                          "name": "Bouteille (75 cl)",
                          "position": 0,
                          "milliliters": 750,
                          "created_at": "2015-06-30T14:39:54.153+02:00",
                          "updated_at": "2016-06-06T16:08:31.135+02:00",
                          "short_name": "75 cl",
                          "kind": "bottle"
                        },
                        "product_packaging": {
                          "id": 484,
                          "account_id": 86,
                          "name": "Carton 6",
                          "quantity": 1,
                          "created_at": "2017-05-24T11:01:47.282+02:00",
                          "updated_at": "2018-10-10T14:57:15.759+02:00",
                          "deleted_at": null,
                          "packing_quantity": 6,
                          "package_kind_id": null,
                          "net_weight": null
                        },
                        "product_prices": [],
                        "catalogs": []
                      }
                    ]
                  }
                }
              }
            }
          }
        },
        "operationId": "get-product_variants",
        "description": "Récupération de la liste des variantes produits",
        "tags": [
          "Produits"
        ],
        "parameters": [
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "default": 1
            },
            "in": "query",
            "name": "page",
            "description": "Numéro de page (100 éléments par page). Voir « Pagination »."
          }
        ]
      }
    },
    "/product_variants/{id}": {
      "parameters": [
        {
          "schema": {
            "type": "string"
          },
          "name": "id",
          "in": "path",
          "required": true
        }
      ],
      "get": {
        "summary": "Récupération d'une variante produit",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProductVariant"
                }
              }
            }
          }
        },
        "operationId": "get-product_variants-id",
        "description": "Récupération des informations d'une variante produit.",
        "tags": [
          "Produits"
        ]
      }
    },
    "/product_variants/{id}/stock": {
      "parameters": [
        {
          "schema": {
            "type": "string"
          },
          "name": "id",
          "in": "path",
          "required": true
        }
      ],
      "get": {
        "summary": "Stock associé à une variante produit",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {}
                },
                "examples": {
                  "example": {
                    "value": [
                      [
                        {
                          "id": 638,
                          "account_id": 520,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2020-01-15T09:56:13.202+01:00",
                          "updated_at": "2020-01-15T09:56:13.202+01:00",
                          "default": true,
                          "excise_duty_suspended": true
                        },
                        {
                          "total": "200.0",
                          "available": "50.0"
                        }
                      ]
                    ]
                  }
                }
              }
            }
          }
        },
        "operationId": "get-product_variants-id-stock",
        "description": "Récupération des stocks par entrepôt pour une variante produit.",
        "tags": [
          "Produits"
        ]
      }
    },
    "/collections": {
      "get": {
        "summary": "Liste des collections",
        "responses": {},
        "operationId": "get-collections",
        "description": "Récupère la liste des collections de produits disponibles pour votre compte.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Collection"
                }
              }
            }
          },
          "description": "OK"
        },
        "tags": [
          "Produits"
        ]
      }
    },
    "/collections/{id}": {
      "parameters": [
        {
          "schema": {
            "type": "string"
          },
          "name": "id",
          "in": "path",
          "required": true
        }
      ],
      "get": {
        "summary": "Détails d'une collection",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Collection"
                }
              }
            }
          }
        },
        "operationId": "get-collections-id",
        "description": "Récupère les détails d'une collection par son id.",
        "tags": [
          "Produits"
        ]
      }
    },
    "/sales_agent_categories": {
      "get": {
        "summary": "Liste des catégories de représentants commerciaux",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SalesAgentCategory"
                  }
                }
              }
            }
          }
        },
        "operationId": "get-sales_agent_categories",
        "description": "Récupère la liste des catégories de représentants commerciaux",
        "tags": [
          "Représentants"
        ]
      }
    },
    "/sales_agent_categories/{id}": {
      "parameters": [
        {
          "schema": {
            "type": "string"
          },
          "name": "id",
          "in": "path",
          "required": true
        }
      ],
      "get": {
        "summary": "Détails d'une catégorie de représentant commerciaux",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SalesAgentCategory"
                }
              }
            }
          }
        },
        "operationId": "get-sales_agent_categories-id",
        "tags": [
          "Représentants"
        ]
      }
    },
    "/sales_agents": {
      "get": {
        "summary": "Représentants commerciaux",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SalesAgent"
                  }
                }
              }
            }
          }
        },
        "operationId": "get-sales_agents",
        "description": "Liste des représentants commerciaux",
        "tags": [
          "Représentants"
        ]
      }
    },
    "/sales_agents/{id}": {
      "parameters": [
        {
          "schema": {
            "type": "string"
          },
          "name": "id",
          "in": "path",
          "required": true
        }
      ],
      "get": {
        "summary": "Détail d'un représentant commercial",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SalesAgent"
                }
              }
            }
          }
        },
        "operationId": "get-sales_agents-id",
        "description": "",
        "tags": [
          "Représentants"
        ]
      }
    },
    "/bank_informations": {
      "get": {
        "summary": "Liste des comptes bancaires",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BankInformation"
                }
              }
            }
          }
        },
        "operationId": "get-bank_informations",
        "description": "Fetch all bank accounts for an account",
        "tags": [
          "Comptes bancaires"
        ]
      }
    },
    "/country_taxes": {
      "get": {
        "summary": "Liste des Taxes gérées par Baqio",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {},
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CountryTax"
                  }
                },
                "examples": {
                  "example-1": {
                    "value": [
                      {
                        "id": 22,
                        "code": "AT",
                        "tax_name": "TVA",
                        "tax_type": "standard",
                        "tax_percentage": "20.0",
                        "starts_at": "1970-01-01",
                        "ends_at": null,
                        "deleted_at": null,
                        "created_at": "2016-06-08T11:25:54.971+02:00",
                        "updated_at": "2017-09-13T13:21:07.151+02:00"
                      },
                      {
                        "id": 23,
                        "code": "AT",
                        "tax_name": "TVA",
                        "tax_type": "reduced",
                        "tax_percentage": "13.0",
                        "starts_at": "1970-01-01",
                        "ends_at": null,
                        "deleted_at": null,
                        "created_at": "2016-06-08T11:25:54.976+02:00",
                        "updated_at": "2017-09-13T13:21:07.159+02:00"
                      },
                      {
                        "id": 2,
                        "code": "BE",
                        "tax_name": "TVA",
                        "tax_type": "standard",
                        "tax_percentage": "21.0",
                        "starts_at": "1970-01-01",
                        "ends_at": null,
                        "deleted_at": null,
                        "created_at": "2016-06-08T11:25:54.828+02:00",
                        "updated_at": "2017-09-13T13:21:06.921+02:00"
                      }
                    ]
                  }
                }
              }
            }
          }
        },
        "operationId": "get-country_taxes",
        "description": "Baqio all CountryTaxes",
        "tags": [
          "Taxes"
        ]
      }
    },
    "/warehouses": {
      "get": {
        "summary": "Liste des entrepôts",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Warehouse"
                  }
                },
                "examples": {
                  "example-1": {
                    "value": [
                      {
                        "id": 748,
                        "account_id": 216,
                        "name": "Stock Nicolas",
                        "deleted_at": "nil",
                        "created_at": "Mon",
                        "24 May 2021 15:29:17 CEST +02:00": null,
                        "updated_at": "Mon",
                        "default": false,
                        "excise_duty_suspended": false
                      },
                      {
                        "id": 749,
                        "account_id": 310,
                        "name": "Chai",
                        "deleted_at": "nil",
                        "created_at": "Tue",
                        "25 May 2021 10:50:23 CEST +02:00": null,
                        "updated_at": "Tue",
                        "default": true,
                        "excise_duty_suspended": true
                      }
                    ]
                  }
                }
              }
            }
          }
        },
        "operationId": "get-warehouses",
        "description": "Récupération de la liste des entrepôts du compte.",
        "tags": [
          "Entrepôts"
        ]
      }
    },
    "/warehouses/{id}": {
      "parameters": [
        {
          "schema": {
            "type": "string"
          },
          "name": "id",
          "in": "path",
          "required": true,
          "description": "ID de l'entrepôt"
        }
      ],
      "get": {
        "summary": "Informations sur un entrepôt",
        "operationId": "get-warehouses-id",
        "description": "Récupère les informations d'un entrepôt.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Warehouse"
                }
              }
            }
          },
          "404": {
            "description": "Ressource introuvable"
          },
          "401": {
            "description": "Authentification invalide"
          }
        },
        "tags": [
          "Entrepôts"
        ]
      }
    },
    "/fulfillment_parcels": {
      "get": {
        "summary": "Liste des expéditions avec colisage",
        "tags": [
          "Expéditions"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "integer"
                      },
                      "order_id": {
                        "type": "integer"
                      },
                      "status": {
                        "type": "string"
                      },
                      "fulfillment_service_id": {
                        "type": "integer"
                      },
                      "created_at": {
                        "type": "string"
                      },
                      "updated_at": {
                        "type": "string"
                      },
                      "notify_customer": {
                        "type": "null"
                      },
                      "notify_fulfillment_service": {
                        "type": "null"
                      },
                      "number": {
                        "type": "integer"
                      },
                      "note": {
                        "type": "null"
                      },
                      "date": {
                        "type": "null"
                      },
                      "picking_note": {
                        "type": "null"
                      },
                      "account_id": {
                        "type": "integer"
                      },
                      "customs_document": {
                        "type": "null"
                      },
                      "customs_number": {
                        "type": "null"
                      },
                      "excise_duty_state": {
                        "type": "string"
                      },
                      "cancelled_at": {
                        "type": "null"
                      },
                      "deleted_at": {
                        "type": "null"
                      },
                      "kind": {
                        "type": "string"
                      },
                      "reference": {
                        "type": "null"
                      },
                      "picking_requested_at": {
                        "type": "null"
                      },
                      "picking_started_at": {
                        "type": "null"
                      },
                      "picking_completed_at": {
                        "type": "null"
                      },
                      "transportation_mode": {
                        "type": "null"
                      },
                      "fulfillment_note": {
                        "type": "null"
                      },
                      "customs_file": {
                        "type": "object",
                        "properties": {
                          "url": {
                            "type": "null"
                          }
                        }
                      },
                      "source_type": {
                        "type": "string"
                      },
                      "source_id": {
                        "type": "integer"
                      },
                      "destination_type": {
                        "type": "string"
                      },
                      "destination_id": {
                        "type": "integer"
                      },
                      "supplier_order_id": {
                        "type": "null"
                      },
                      "fulfillment_group_id": {
                        "type": "null"
                      },
                      "trade_union_reference": {
                        "type": "null"
                      },
                      "initial_date": {
                        "type": "null"
                      },
                      "customs_not_clearance": {
                        "type": "boolean"
                      },
                      "name": {
                        "type": "string"
                      },
                      "booking_order_id": {
                        "type": "null"
                      },
                      "parcels_quantity": {
                        "type": "string"
                      },
                      "pallets_quantity": {
                        "type": "string"
                      },
                      "fulfillment_parcels_count": {
                        "type": "string"
                      },
                      "fulfillment_pallets_count": {
                        "type": "string"
                      },
                      "source": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "integer"
                          },
                          "account_id": {
                            "type": "integer"
                          },
                          "name": {
                            "type": "string"
                          },
                          "deleted_at": {
                            "type": "null"
                          },
                          "created_at": {
                            "type": "string"
                          },
                          "updated_at": {
                            "type": "string"
                          },
                          "default": {
                            "type": "boolean"
                          },
                          "excise_duty_suspended": {
                            "type": "boolean"
                          }
                        }
                      },
                      "destination": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "integer"
                          },
                          "account_id": {
                            "type": "integer"
                          },
                          "name": {
                            "type": "string"
                          },
                          "email": {
                            "type": "string"
                          },
                          "note": {
                            "type": "null"
                          },
                          "accepts_emailing": {
                            "type": "boolean"
                          },
                          "created_at": {
                            "type": "string"
                          },
                          "updated_at": {
                            "type": "string"
                          },
                          "sales_agent_id": {
                            "type": "null"
                          },
                          "price_grid_id": {
                            "type": "null"
                          },
                          "reference": {
                            "type": "string"
                          },
                          "accepts_mailing": {
                            "type": "boolean"
                          },
                          "warehouse_id": {
                            "type": "null"
                          },
                          "visibility": {
                            "type": "string"
                          },
                          "channel": {
                            "type": "null"
                          },
                          "customer_category_id": {
                            "type": "integer"
                          },
                          "deleted_at": {
                            "type": "null"
                          },
                          "payment_method": {
                            "type": "null"
                          },
                          "payment_period": {
                            "type": "null"
                          },
                          "code": {
                            "type": "string"
                          },
                          "vinosoft_id": {
                            "type": "null"
                          },
                          "accounted_at": {
                            "type": "null"
                          },
                          "hid": {
                            "type": "null"
                          },
                          "user_id": {
                            "type": "null"
                          },
                          "automatic_discount_rate": {
                            "type": "null"
                          },
                          "sponsor_id": {
                            "type": "null"
                          },
                          "commission_rate": {
                            "type": "null"
                          },
                          "invoice_preference": {
                            "type": "null"
                          },
                          "block_orders": {
                            "type": "boolean"
                          },
                          "sticky_note": {
                            "type": "boolean"
                          },
                          "invoice_template_id": {
                            "type": "null"
                          },
                          "primary_id": {
                            "type": "null"
                          },
                          "currency_code": {
                            "type": "null"
                          },
                          "creation_date": {
                            "type": "string"
                          },
                          "fulfillment_template_id": {
                            "type": "null"
                          },
                          "picking_template_id": {
                            "type": "null"
                          },
                          "market_id": {
                            "type": "null"
                          }
                        }
                      },
                      "fulfillment_parcels": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "integer"
                            },
                            "fulfillment_id": {
                              "type": "integer"
                            },
                            "product_packaging_id": {
                              "type": "integer"
                            },
                            "quantity": {
                              "type": "string"
                            },
                            "created_at": {
                              "type": "string"
                            },
                            "updated_at": {
                              "type": "string"
                            },
                            "fulfillment_parcel_lines": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "integer"
                                  },
                                  "fulfillment_parcel_id": {
                                    "type": "integer"
                                  },
                                  "quantity": {
                                    "type": "string"
                                  },
                                  "created_at": {
                                    "type": "string"
                                  },
                                  "updated_at": {
                                    "type": "string"
                                  },
                                  "fulfillment_line_id": {
                                    "type": "integer"
                                  },
                                  "fulfillment_line": {
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "integer"
                                      },
                                      "fulfillment_id": {
                                        "type": "integer"
                                      },
                                      "order_line_id": {
                                        "type": "integer"
                                      },
                                      "quantity": {
                                        "type": "string"
                                      },
                                      "created_at": {
                                        "type": "string"
                                      },
                                      "updated_at": {
                                        "type": "string"
                                      },
                                      "product_variant_id": {
                                        "type": "integer"
                                      },
                                      "product_label_id": {
                                        "type": "null"
                                      },
                                      "capsule_id": {
                                        "type": "integer"
                                      },
                                      "batch_id": {
                                        "type": "null"
                                      },
                                      "capsule_kind": {
                                        "type": "null"
                                      },
                                      "supplier_order_line_id": {
                                        "type": "null"
                                      },
                                      "product_packaging_id": {
                                        "type": "integer"
                                      },
                                      "finalized": {
                                        "type": "boolean"
                                      },
                                      "sparkling_status": {
                                        "type": "string"
                                      },
                                      "aging_status": {
                                        "type": "null"
                                      },
                                      "sub_warehouse_id": {
                                        "type": "null"
                                      },
                                      "batch_name": {
                                        "type": "null"
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      },
                      "shipping_information": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "integer"
                          },
                          "shippable_id": {
                            "type": "integer"
                          },
                          "use_billing_address": {
                            "type": "boolean"
                          },
                          "company_name": {
                            "type": "string"
                          },
                          "first_name": {
                            "type": "string"
                          },
                          "last_name": {
                            "type": "string"
                          },
                          "address1": {
                            "type": "string"
                          },
                          "address2": {
                            "type": "string"
                          },
                          "city": {
                            "type": "string"
                          },
                          "zip": {
                            "type": "string"
                          },
                          "province": {
                            "type": "string"
                          },
                          "country_code": {
                            "type": "string"
                          },
                          "phone": {
                            "type": "string"
                          },
                          "note": {
                            "type": "null"
                          },
                          "delivery_schedules": {
                            "type": "null"
                          },
                          "closing_days": {
                            "type": "null"
                          },
                          "created_at": {
                            "type": "string"
                          },
                          "updated_at": {
                            "type": "string"
                          },
                          "shippable_type": {
                            "type": "string"
                          },
                          "dae_number": {
                            "type": "null"
                          },
                          "title": {
                            "type": "null"
                          },
                          "undeliverable_address": {
                            "type": "boolean"
                          },
                          "address3": {
                            "type": "string"
                          },
                          "mobile": {
                            "type": "null"
                          },
                          "excise_number": {
                            "type": "null"
                          },
                          "gln": {
                            "type": "null"
                          },
                          "fda_number": {
                            "type": "null"
                          },
                          "eori_number": {
                            "type": "null"
                          },
                          "vat_number": {
                            "type": "null"
                          },
                          "picking_note": {
                            "type": "null"
                          },
                          "tax_exempt": {
                            "type": "boolean"
                          },
                          "duns_number": {
                            "type": "null"
                          },
                          "subdivision_code": {
                            "type": "string"
                          }
                        }
                      },
                      "fulfillment_service": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "integer"
                          },
                          "account_id": {
                            "type": "integer"
                          },
                          "name": {
                            "type": "string"
                          },
                          "email": {
                            "type": "string"
                          },
                          "deleted_at": {
                            "type": "null"
                          },
                          "created_at": {
                            "type": "string"
                          },
                          "updated_at": {
                            "type": "string"
                          },
                          "reference": {
                            "type": "string"
                          },
                          "activated": {
                            "type": "boolean"
                          },
                          "price_kind": {
                            "type": "string"
                          },
                          "country_tax_id": {
                            "type": "integer"
                          },
                          "website": {
                            "type": "boolean"
                          },
                          "base_price_cents": {
                            "type": "integer"
                          },
                          "base_price_currency": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  },
                  "x-examples": {
                    "Example 1": [
                      {
                        "id": 12110940,
                        "order_id": 20738742,
                        "status": "validated",
                        "fulfillment_service_id": 4785,
                        "created_at": "2024-07-12T09:31:08.712+02:00",
                        "updated_at": "2024-07-12T09:31:11.317+02:00",
                        "notify_customer": null,
                        "notify_fulfillment_service": null,
                        "number": 20013,
                        "note": null,
                        "date": null,
                        "picking_note": null,
                        "account_id": 1,
                        "customs_document": null,
                        "customs_number": null,
                        "excise_duty_state": "pay",
                        "cancelled_at": null,
                        "deleted_at": null,
                        "kind": "standard",
                        "reference": null,
                        "picking_requested_at": null,
                        "picking_started_at": null,
                        "picking_completed_at": null,
                        "transportation_mode": null,
                        "fulfillment_note": null,
                        "customs_file": {
                          "url": null
                        },
                        "source_type": "Warehouse",
                        "source_id": 2,
                        "destination_type": "Customer",
                        "destination_id": 3,
                        "supplier_order_id": null,
                        "fulfillment_group_id": null,
                        "trade_union_reference": null,
                        "initial_date": null,
                        "customs_not_clearance": false,
                        "name": "E-20013",
                        "booking_order_id": null,
                        "parcels_quantity": "6.0",
                        "pallets_quantity": "0.0",
                        "fulfillment_parcels_count": "6.0",
                        "fulfillment_pallets_count": "0.0",
                        "source": {
                          "id": 1,
                          "account_id": 1,
                          "name": "Chai",
                          "deleted_at": null,
                          "created_at": "2021-06-17T08:55:42.902+02:00",
                          "updated_at": "2021-07-01T10:46:40.722+02:00",
                          "default": false,
                          "excise_duty_suspended": false
                        },
                        "destination": {
                          "id": 1475677,
                          "account_id": 204,
                          "name": "François DUPONT",
                          "email": "francois.dupont@nomail.com",
                          "note": null,
                          "accepts_emailing": true,
                          "created_at": "2024-07-12T09:31:06.428+02:00",
                          "updated_at": "2024-07-12T09:31:06.428+02:00",
                          "sales_agent_id": null,
                          "price_grid_id": null,
                          "reference": "123456778",
                          "accepts_mailing": true,
                          "warehouse_id": null,
                          "visibility": "all",
                          "channel": null,
                          "customer_category_id": 2,
                          "deleted_at": null,
                          "payment_method": null,
                          "payment_period": null,
                          "code": "PREVO2",
                          "vinosoft_id": null,
                          "accounted_at": null,
                          "hid": null,
                          "user_id": null,
                          "automatic_discount_rate": null,
                          "sponsor_id": null,
                          "commission_rate": null,
                          "invoice_preference": null,
                          "block_orders": false,
                          "sticky_note": false,
                          "invoice_template_id": null,
                          "primary_id": null,
                          "currency_code": null,
                          "creation_date": "2024-07-12",
                          "fulfillment_template_id": null,
                          "picking_template_id": null,
                          "market_id": null
                        },
                        "fulfillment_parcels": [
                          {
                            "id": 1,
                            "fulfillment_id": 12110940,
                            "product_packaging_id": 3,
                            "quantity": "6.0",
                            "created_at": "2024-07-12T09:31:11.300+02:00",
                            "updated_at": "2024-07-12T09:31:11.300+02:00",
                            "fulfillment_parcel_lines": [
                              {
                                "id": 1,
                                "fulfillment_parcel_id": 1,
                                "quantity": "1.0",
                                "created_at": "2024-07-12T09:31:11.332+02:00",
                                "updated_at": "2024-07-12T09:31:11.332+02:00",
                                "fulfillment_line_id": 1,
                                "fulfillment_line": {
                                  "id": 1,
                                  "fulfillment_id": 1,
                                  "order_line_id": 2,
                                  "quantity": "6.0",
                                  "created_at": "2024-07-12T09:31:08.731+02:00",
                                  "updated_at": "2024-07-12T09:31:08.731+02:00",
                                  "product_variant_id": 5,
                                  "product_label_id": null,
                                  "capsule_id": 6,
                                  "batch_id": null,
                                  "capsule_kind": null,
                                  "supplier_order_line_id": null,
                                  "product_packaging_id": 1,
                                  "finalized": true,
                                  "sparkling_status": "disgorged",
                                  "aging_status": null,
                                  "sub_warehouse_id": null,
                                  "batch_name": null
                                }
                              }
                            ]
                          }
                        ],
                        "shipping_information": {
                          "id": 1,
                          "shippable_id": 1,
                          "use_billing_address": false,
                          "company_name": "",
                          "first_name": "François",
                          "last_name": "Dupont",
                          "address1": "3 RUE DES CAPUCINS",
                          "address2": "",
                          "city": "DIJON",
                          "zip": "21000",
                          "province": "",
                          "country_code": "FR",
                          "phone": "06060606",
                          "note": null,
                          "delivery_schedules": null,
                          "closing_days": null,
                          "created_at": "2024-07-12T09:31:08.769+02:00",
                          "updated_at": "2024-07-12T09:31:08.769+02:00",
                          "shippable_type": "Fulfillment",
                          "dae_number": null,
                          "title": null,
                          "undeliverable_address": false,
                          "address3": "",
                          "mobile": null,
                          "excise_number": null,
                          "gln": null,
                          "fda_number": null,
                          "eori_number": null,
                          "vat_number": null,
                          "picking_note": null,
                          "tax_exempt": false,
                          "duns_number": null,
                          "subdivision_code": "21"
                        },
                        "fulfillment_service": {
                          "id": 1,
                          "account_id": 1,
                          "name": "Geodis",
                          "email": "",
                          "deleted_at": null,
                          "created_at": "2020-08-21T15:56:29.605+02:00",
                          "updated_at": "2020-08-21T15:56:29.605+02:00",
                          "reference": "",
                          "activated": true,
                          "price_kind": "with_tax",
                          "country_tax_id": 1,
                          "website": false,
                          "base_price_cents": 0,
                          "base_price_currency": "EUR"
                        }
                      }
                    ]
                  }
                }
              }
            }
          }
        },
        "operationId": "get-fulfillment_parcels",
        "x-stoplight": {
          "id": "nch094p61m51r"
        },
        "description": "Liste des expéditions avec les informations de colisage",
        "parameters": [
          {
            "schema": {
              "type": "object",
              "additionalProperties": true
            },
            "in": "query",
            "name": "q",
            "style": "deepObject",
            "explode": true,
            "description": "Filtres de recherche Ransack (voir « Recherche »). Exemples : `q[status_eq]=fulfilled`, `q[order_id_eq]=107580`."
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "default": 1
            },
            "in": "query",
            "name": "page",
            "description": "Numéro de page (50 éléments par page). Voir « Pagination »."
          }
        ]
      }
    },
    "/fulfillments/{id}/complete_picking": {
      "parameters": [
        {
          "schema": {
            "type": "string"
          },
          "name": "id",
          "in": "path",
          "required": true
        }
      ],
      "post": {
        "summary": "Marquer une expédition comme préparée",
        "tags": [
          "Expéditions"
        ],
        "responses": {},
        "operationId": "post-fulfillment-complete-picking",
        "x-stoplight": {
          "id": "n8iemsl3fio8h"
        },
        "description": "Ce endpoint permet de faire passer une expédition au statut \"préparée\". Aucun paramètre n'est requis.\n\n"
      }
    },
    "/fulfillments/{id}/fulfill": {
      "parameters": [
        {
          "schema": {
            "type": "string"
          },
          "name": "id",
          "in": "path",
          "required": true,
          "description": "ID de l'expédition"
        }
      ],
      "post": {
        "summary": "Marquer une expédition comme expédiée",
        "operationId": "post-fulfillment-fulfill",
        "description": "Fait passer une expédition au statut \"expédiée\" et génère les mouvements de stock associés.\n\nLa requête doit être signée avec l'en-tête `X-Baqio-Hmac-Sha256` (voir Authentification).",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "fulfillment": {
                    "type": "object",
                    "required": [
                      "date"
                    ],
                    "properties": {
                      "date": {
                        "type": "string",
                        "format": "date",
                        "description": "Date de sortie du stock"
                      },
                      "initial_date": {
                        "type": "string",
                        "format": "date",
                        "description": "Date de sortie initiale, obligatoire en cas de remboursement de droits d'accises. Doit être antérieure à `date`."
                      },
                      "note": {
                        "type": "string"
                      },
                      "notify_customer": {
                        "type": "boolean",
                        "description": "Notifier le client par email"
                      }
                    }
                  }
                }
              },
              "examples": {
                "example": {
                  "value": {
                    "fulfillment": {
                      "date": "2026-10-16",
                      "notify_customer": true
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Erreurs de validation, indexées par champ",
            "content": {
              "application/json": {
                "examples": {
                  "example": {
                    "value": {
                      "date": [
                        "n'est pas valide"
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Expédition introuvable"
          },
          "401": {
            "description": "Authentification invalide"
          }
        },
        "tags": [
          "Expéditions"
        ]
      }
    },
    "/registers": {
      "get": {
        "summary": "Liste des caisses",
        "operationId": "get-registers",
        "description": "Liste des caisses du compte, triées par nom.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Register"
                  }
                },
                "examples": {
                  "example": {
                    "value": [
                      {
                        "id": 7,
                        "account_id": 520,
                        "name": "Caveau",
                        "user_id": null,
                        "fulfillment_service_id": null,
                        "customer_category_id": null,
                        "products_filter": true,
                        "prompt_customer_address": false,
                        "quick_quantities_buttons": false,
                        "use_destination_vat": false,
                        "edit_customer_category": false,
                        "edit_customer_tag": false,
                        "keep_customer_price_grid": false,
                        "deleted_at": null,
                        "created_at": "2026-10-16T10:00:00.000+02:00",
                        "updated_at": "2026-10-16T10:00:00.000+02:00"
                      }
                    ]
                  }
                }
              }
            }
          },
          "401": {
            "description": "Authentification invalide"
          }
        },
        "tags": [
          "Caisses"
        ]
      }
    },
    "/account_events": {
      "get": {
        "summary": "Liste des événements du compte",
        "operationId": "get-account_events",
        "description": "Journal des événements du compte (création de client, commande facturée, export…), du plus récent au plus ancien, par pages de 50.",
        "parameters": [
          {
            "schema": {
              "type": "string"
            },
            "in": "query",
            "name": "topic",
            "description": "Filtre exact sur le sujet de l'événement, ex. `order.invoiced`"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "default": 1
            },
            "in": "query",
            "name": "page",
            "description": "Numéro de page (50 éléments par page). Voir « Pagination »."
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AccountEvent"
                  }
                },
                "examples": {
                  "example": {
                    "value": [
                      {
                        "id": 98231,
                        "account_id": 520,
                        "topic": "order.invoiced",
                        "resource_type": "Order",
                        "resource_id": 107580,
                        "reference_type": null,
                        "reference_id": null,
                        "customer_id": 124389,
                        "supplier_id": null,
                        "user_id": 812,
                        "destroyed_resource_metadata": null,
                        "created_at": "2026-10-16T10:00:00.000+02:00",
                        "updated_at": "2026-10-16T10:00:00.000+02:00"
                      }
                    ]
                  }
                }
              }
            }
          },
          "401": {
            "description": "Authentification invalide"
          }
        },
        "tags": [
          "Événements"
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "AccountingEntry": {
        "title": "AccountingEntry",
        "type": "object",
        "description": "Écriture comptable",
        "properties": {
          "journal": {
            "type": "string",
            "description": "Journal"
          },
          "date": {
            "type": "string",
            "description": "Date da pièce comptable"
          },
          "reference": {
            "type": "string",
            "description": "Référence de la pièce"
          },
          "number": {
            "type": "string",
            "description": "Numéro de compte"
          },
          "name": {
            "type": "string",
            "description": "libellé de l'écriture comptable"
          },
          "customer_name": {
            "type": "string",
            "description": "nom du client"
          },
          "debit": {
            "type": "string",
            "description": "débit"
          },
          "credit": {
            "type": "string",
            "description": "crédit"
          },
          "code": {
            "type": "string",
            "description": " code TVA"
          },
          "lettering_alpha": {
            "type": "string",
            "description": "lettrage alphabétique"
          },
          "quantity": {
            "type": "string",
            "description": "quantité"
          },
          "internal_reference": {
            "type": "string",
            "description": "référence interne (utilisé pour récupérer la facture)"
          }
        },
        "x-examples": {
          "compte client": {
            "journal": "VEL",
            "date": "24/12/2019",
            "reference": "FA-1001",
            "number": "411GAUTIE",
            "name": "Facture FA-1001",
            "customer_name": "Sylvain Gautier",
            "debit": "452,00",
            "credit": "0,00",
            "code": "",
            "lettering_alpha": "A",
            "quantity": "36,00",
            "internal_reference": "89510"
          },
          "compte de vente": {
            "journal": "VEL",
            "date": "24/12/2019",
            "reference": "FA-1001",
            "number": "7010060",
            "name": "Vin",
            "customer_name": "Sylvain Gautier",
            "debit": "0,00",
            "credit": "360,00",
            "code": "V1",
            "lettering_alpha": "",
            "quantity": "36,00",
            "internal_reference": "89510"
          },
          "compte tva": {
            "journal": "VEL",
            "date": "24/12/2019",
            "reference": "FA-1001",
            "number": "4457150",
            "name": "TVA France (20,00%)",
            "customer_name": "Sylvain Gautier",
            "debit": "0,00",
            "credit": "75,33",
            "code": "",
            "lettering_alpha": "",
            "quantity": "",
            "internal_reference": "89510"
          },
          "reglement-client": {
            "journal": "B01",
            "date": "24/12/2019",
            "reference": "40977",
            "number": "411GAUTIE",
            "name": "Carte Bancaire : FA-1001",
            "customer_name": "Sylvain Gautier",
            "debit": "0,00",
            "credit": "452,00",
            "code": "",
            "lettering_alpha": "A",
            "quantity": "",
            "internal_reference": "40977"
          },
          "reglement-banque": {
            "journal": "B01",
            "date": "24/12/2019",
            "reference": "40977",
            "number": "5111000",
            "name": "Carte Bancaire : FA-1001",
            "customer_name": "Sylvain Gautier",
            "debit": "452,00",
            "credit": "0,00",
            "code": "",
            "lettering_alpha": "",
            "quantity": "",
            "internal_reference": "40977"
          }
        },
        "x-tags": [
          "Comptabilité"
        ]
      },
      "Customer": {
        "title": "Customer",
        "type": "object",
        "description": "Le modèle Customer stock les informations sur les clients d'un compte Baqio telles que ses données de facturation et livraison.",
        "x-examples": {
          "example": {
            "id": 124407,
            "account_id": 520,
            "name": "Agathe Faure",
            "email": "agathe.faure@gmail.com",
            "note": null,
            "accepts_emailing": true,
            "created_at": "2020-01-15T16:56:05.592+01:00",
            "updated_at": "2020-01-15T16:56:05.592+01:00",
            "sales_agent_id": null,
            "price_grid_id": 4287,
            "reference": null,
            "accepts_mailing": true,
            "warehouse_id": null,
            "visibility": "all",
            "channel": null,
            "customer_category_id": 5071,
            "deleted_at": null,
            "payment_method": null,
            "payment_period": null,
            "code": "AGATHE",
            "vinosoft_id": null,
            "accounted_at": null,
            "hid": null,
            "user_id": null,
            "automatic_discount_rate": null,
            "sponsor_id": null,
            "commission_rate": null,
            "invoice_preference": null,
            "block_orders": false,
            "sticky_note": false,
            "customer_tags": [],
            "billing_information": {
              "id": 217809,
              "billable_id": 124407,
              "company_name": null,
              "first_name": "Agathe",
              "last_name": "Faure",
              "email": null,
              "address1": null,
              "address2": null,
              "city": "ARGENTEUIL",
              "zip": "95100",
              "province": null,
              "country_code": "FR",
              "phone": null,
              "company_number": null,
              "vat_number": null,
              "excise_number": null,
              "created_at": "2020-01-15T16:56:05.689+01:00",
              "updated_at": "2020-01-15T16:56:05.689+01:00",
              "billable_type": "Customer",
              "legal_form": null,
              "subdivision_code": "95",
              "title": null,
              "mobile": null,
              "undeliverable_address": false,
              "address3": null,
              "fax": null,
              "tax_exempt": false,
              "website": null
            },
            "shipping_information": {
              "id": 270454,
              "shippable_id": 124407,
              "use_billing_address": true,
              "company_name": null,
              "first_name": null,
              "last_name": null,
              "address1": null,
              "address2": null,
              "city": null,
              "zip": null,
              "province": null,
              "country_code": null,
              "phone": null,
              "note": null,
              "delivery_schedules": null,
              "closing_days": null,
              "created_at": "2020-01-15T16:56:05.737+01:00",
              "updated_at": "2020-01-15T16:56:05.737+01:00",
              "shippable_type": "Customer",
              "dae_number": null,
              "title": null,
              "undeliverable_address": false,
              "address3": null,
              "mobile": null,
              "excise_number": null
            },
            "price_grid": {
              "id": 4287,
              "account_id": 520,
              "name": "Particulier",
              "deleted_at": null,
              "created_at": "2020-01-15T09:56:12.633+01:00",
              "updated_at": "2020-01-15T09:56:12.633+01:00",
              "price_kind": "with_tax",
              "country_tax_id": 1,
              "calculation_method": "product_variant",
              "payment_method": null,
              "payment_period": null,
              "displayed": true,
              "quantities": null,
              "supplier": false,
              "default": false
            },
            "customer_category": {
              "id": 5071,
              "account_id": 520,
              "name": "Particulier",
              "price_grid_id": 4287,
              "individual": true,
              "deleted_at": null,
              "created_at": "2020-01-15T09:56:12.885+01:00",
              "updated_at": "2020-01-15T09:56:12.885+01:00",
              "payment_method": null,
              "payment_period": null,
              "kiosk": false
            }
          }
        },
        "properties": {
          "id": {
            "type": "integer",
            "example": 12
          },
          "name": {
            "type": "string",
            "description": "Nom du client",
            "example": "Agathe Fauré"
          },
          "price_grid": {
            "$ref": "#/components/schemas/PriceGrid"
          },
          "customer_category": {
            "$ref": "#/components/schemas/CustomerCategory"
          },
          "email": {
            "type": "string",
            "example": "agathe.faure@gmail.com",
            "format": "email"
          },
          "note": {
            "type": "string",
            "description": "Commentaire sur ce client",
            "example": "Rencontré au Salon des Vignerons Indépendant de Paris"
          },
          "accepts_emailing": {
            "type": "boolean",
            "description": "Accepte les newsletters ?",
            "example": "true"
          },
          "reference": {
            "type": "string",
            "description": "Référence unique du client",
            "example": "CL4151414"
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "example": "2020-01-15T16:56:05.592+01:00"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time",
            "example": "2020-01-15T16:56:05.592+01:00"
          },
          "price_grid_id": {
            "type": "integer",
            "description": "ID de la grille tarifaire"
          },
          "accepts_mailing": {
            "type": "boolean",
            "description": "Accepte les courriers papiers ?"
          },
          "code": {
            "type": "string",
            "description": "Code comptable du client"
          },
          "warehouse_id": {
            "type": "integer",
            "description": "ID de l'entrepôt assigné au client si existant\n"
          },
          "billing_information": {
            "$ref": "#/components/schemas/BillingInformation"
          },
          "shipping_information": {
            "$ref": "#/components/schemas/ShippingInformation"
          },
          "customer_tags": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomerTag"
            }
          },
          "current_pipeline_steps": {
            "type": "array",
            "readOnly": true,
            "description": "Étape actuelle du client dans chacun des pipelines où il se trouve (une entrée par pipeline). Lecture seule. Liste des pipelines et de leurs étapes : `GET /pipelines`.",
            "items": {
              "$ref": "#/components/schemas/CustomerPipelineStep"
            }
          },
          "customer_tag_ids": {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "description": "Ids de tags de customer (voir `GET /customer_tags`). Un id qui n'appartient pas au compte est refusé (422).",
            "writeOnly": true
          }
        },
        "required": [
          "reference"
        ],
        "x-tags": [
          "Clients"
        ]
      },
      "Contact": {
        "title": "Contact",
        "type": "object",
        "description": "Contact rattaché à un client.",
        "properties": {
          "id": {
            "type": "integer"
          },
          "customer_id": {
            "type": "integer",
            "description": "ID du client"
          },
          "kind": {
            "type": "string",
            "nullable": true,
            "description": "Type de contact (texte libre)"
          },
          "title": {
            "type": "string",
            "nullable": true,
            "description": "Civilité"
          },
          "name": {
            "type": "string"
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "note": {
            "type": "string",
            "nullable": true
          },
          "primary_id": {
            "type": "integer",
            "nullable": true
          },
          "deleted_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "email_notification": {
            "$ref": "#/components/schemas/EmailNotification"
          },
          "billing_information": {
            "type": "object",
            "nullable": true,
            "description": "Coordonnées du contact (`null` si le contact n'en a pas)",
            "properties": {
              "address1": {
                "type": "string",
                "nullable": true,
                "description": "Adresse (ligne 1)"
              },
              "address2": {
                "type": "string",
                "nullable": true,
                "description": "Adresse (ligne 2)"
              },
              "address3": {
                "type": "string",
                "nullable": true,
                "description": "Adresse (ligne 3)"
              },
              "zip": {
                "type": "string",
                "nullable": true,
                "description": "Code postal"
              },
              "city": {
                "type": "string",
                "nullable": true,
                "description": "Ville"
              },
              "province": {
                "type": "string",
                "nullable": true,
                "description": "Région / province"
              },
              "subdivision_code": {
                "type": "string",
                "nullable": true,
                "description": "Code de subdivision (ISO 3166-2)"
              },
              "country_code": {
                "type": "string",
                "nullable": true,
                "description": "Code pays (ISO 3166-1 alpha-2)"
              },
              "phone": {
                "type": "string",
                "nullable": true,
                "description": "Téléphone"
              },
              "mobile": {
                "type": "string",
                "nullable": true,
                "description": "Mobile"
              }
            }
          }
        },
        "x-tags": [
          "Clients"
        ]
      },
      "EmailNotification": {
        "title": "EmailNotification",
        "type": "object",
        "description": "Documents envoyés automatiquement par email au contact.",
        "properties": {
          "id": {
            "type": "integer"
          },
          "notifiable_type": {
            "type": "string"
          },
          "notifiable_id": {
            "type": "integer"
          },
          "quote": {
            "type": "boolean",
            "description": "Envoi des devis"
          },
          "proforma": {
            "type": "boolean",
            "description": "Envoi des proformas"
          },
          "invoice": {
            "type": "boolean",
            "description": "Envoi des factures"
          },
          "order_recovery": {
            "type": "boolean",
            "description": "Envoi des relances de commande"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "x-tags": [
          "Clients"
        ]
      },
      "CustomerCategory": {
        "title": "CustomerCategory",
        "type": "object",
        "description": "Catégorie Client.",
        "x-examples": {
          "example": {
            "id": 5071,
            "account_id": 520,
            "name": "Particulier",
            "price_grid_id": 4287,
            "individual": true,
            "deleted_at": null,
            "created_at": "2020-01-15T09:56:12.885+01:00",
            "updated_at": "2020-01-15T09:56:12.885+01:00",
            "payment_method": null,
            "payment_period": null
          }
        },
        "properties": {
          "id": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          }
        },
        "x-tags": [
          "Clients"
        ]
      },
      "PriceGrid": {
        "title": "PriceGrid",
        "type": "object",
        "x-examples": {
          "example-1": {
            "id": 4287,
            "name": "Particulier",
            "deleted_at": null,
            "created_at": "2020-01-15T09:56:12.633+01:00",
            "updated_at": "2020-01-15T09:56:12.633+01:00",
            "price_kind": "with_tax",
            "country_tax_id": 1,
            "calculation_method": "product_variant",
            "payment_method": null,
            "payment_period": null,
            "displayed": true,
            "quantities": null,
            "supplier": false,
            "default": false
          }
        },
        "description": "Grilles tarifaires.",
        "properties": {
          "id": {
            "type": "integer"
          },
          "name": {
            "type": "string",
            "description": "Particulier"
          },
          "deleted_at": {
            "type": "string",
            "format": "date-time"
          },
          "created_at": {
            "type": "string"
          },
          "updated_at": {
            "type": "string"
          },
          "price_kind": {
            "type": "string",
            "enum": [
              "with_tax",
              "without_tax"
            ],
            "description": "Mode de définition des prix (TTC ou HT)"
          },
          "country_tax_id": {
            "type": "integer",
            "description": "TVA utilisée pour calculer le prix HT dans le cas d'une définition des prix en TTC"
          },
          "calculation_method": {
            "type": "string"
          },
          "payment_method": {
            "type": "string"
          },
          "payment_period": {
            "type": "string"
          },
          "displayed": {
            "type": "string"
          },
          "quantities": {
            "type": "string"
          },
          "supplier": {
            "type": "boolean"
          },
          "default": {
            "type": [
              "string",
              "boolean"
            ]
          }
        },
        "x-tags": [
          "Grilles tarifaires"
        ]
      },
      "Order": {
        "title": "Order",
        "type": "object",
        "description": "Le modèle Commande contient toutes les informations sur une commande. \n\n**Valeurs possibles** \n\n- state\n    - draft : Brouillon (uniquement pour les commandes réalisées depuis le site e-commerce et non finalisées par le visiteur)\n    - pending : En attente (devis). Il est encore possible de modifier la commande\n    - validated : Validée (pro forma). Il n'est plus possible de la modifier (il faut alors la dévalider) et les produits correspondant sont marqués comme réservés dans le stock.\n    - removed : Annulée. Commande non facturée annulée.\n    - invoiced : Facturée\n    - cancelled : Annulée avec avoir. La commande était facturée et elle a été annulée. Elle a donc à la fois une facture et un avoir du même montant.\n- payment_status\n    - not_paid : Non payé\n    - partial : Règlement partiel\n    - paid : Payé\n    - cancelled : Annulé (commande non facturée annulée donc le paiement n'est plus dû ou commande facturée annulée sans paiement)\n    - to_refund : A rembourser (commande facturée et avec un paiement qu'il convient de rembourser)",
        "x-examples": {
          "example": {
            "id": 107580,
            "account_id": 520,
            "customer_id": 124389,
            "sales_agent_id": null,
            "number": 274,
            "fulfillment_status": "none",
            "total_price_cents": 45360,
            "total_price_currency": "EUR",
            "total_tax_cents": 7560,
            "total_tax_currency": "EUR",
            "total_weight": null,
            "note": "",
            "cancel_reason": null,
            "cancelled_at": null,
            "created_at": "2020-02-11T17:40:52.772+01:00",
            "updated_at": "2020-02-11T17:44:33.740+01:00",
            "commission_price_cents": 0,
            "commission_price_currency": "EUR",
            "quantity": "36.0",
            "bottle_quantity": "36.0",
            "price_grid_id": 4287,
            "total_order_lines_price_cents": 42000,
            "total_order_lines_price_currency": "EUR",
            "total_discounts_cents": 4200,
            "total_discounts_currency": "EUR",
            "subtotal_price_cents": 37800,
            "subtotal_price_currency": "EUR",
            "date": "2020-02-11",
            "name": "#1274",
            "reference": null,
            "paid_amount_cents": 45360,
            "paid_amount_currency": "EUR",
            "state": "invoiced",
            "warehouse_id": 638,
            "api_key_id": null,
            "order_type": "normal",
            "channel": "backoffice",
            "hid": null,
            "excise_duty_state": "pay",
            "trade_union_reference": null,
            "customs_document": null,
            "customs_number": null,
            "invoice_note": null,
            "accounting_tax": "fr",
            "picking_note": null,
            "register_id": null,
            "payment_status": "paid",
            "gross_margin_cents": 25200,
            "gross_margin_currency": "EUR",
            "external_id": null,
            "price_with_tax": true,
            "manual_fulfillment": false,
            "primeured": false,
            "tag_list": [],
            "outstanding_amount": {
              "cents": 0,
              "currency_iso": "EUR"
            },
            "customer": {
              "id": 124389,
              "account_id": 520,
              "name": "Lucas Picard",
              "email": "sylvain@baqio.com",
              "note": null,
              "accepts_emailing": true,
              "created_at": "2020-01-15T16:55:59.697+01:00",
              "updated_at": "2020-02-11T16:11:46.028+01:00",
              "sales_agent_id": null,
              "price_grid_id": 4287,
              "reference": null,
              "accepts_mailing": true,
              "warehouse_id": null,
              "visibility": "all",
              "channel": null,
              "customer_category_id": 5071,
              "deleted_at": null,
              "payment_method": null,
              "payment_period": null,
              "code": "LUCASP",
              "vinosoft_id": null,
              "accounted_at": null,
              "hid": null,
              "user_id": null,
              "automatic_discount_rate": null,
              "sponsor_id": null,
              "commission_rate": null,
              "invoice_preference": null,
              "block_orders": false,
              "sticky_note": false,
              "order_tags": [],
              "billing_information": {
                "id": 217791,
                "billable_id": 124389,
                "company_name": "",
                "first_name": "Lucas",
                "last_name": "Picard",
                "email": "sylvain@baqio.com",
                "address1": "",
                "address2": "",
                "city": "MONTPELLIER",
                "zip": "34000",
                "province": "",
                "country_code": "FR",
                "phone": "",
                "company_number": "",
                "vat_number": "",
                "excise_number": "",
                "created_at": "2020-01-15T16:55:59.816+01:00",
                "updated_at": "2020-02-11T16:11:45.963+01:00",
                "billable_type": "Customer",
                "legal_form": "",
                "subdivision_code": "34",
                "title": null,
                "mobile": "",
                "undeliverable_address": false,
                "address3": "",
                "fax": null,
                "tax_exempt": false,
                "website": ""
              },
              "shipping_information": {
                "id": 270436,
                "shippable_id": 124389,
                "use_billing_address": true,
                "company_name": null,
                "first_name": null,
                "last_name": null,
                "address1": null,
                "address2": null,
                "city": null,
                "zip": null,
                "province": null,
                "country_code": null,
                "phone": null,
                "note": null,
                "delivery_schedules": null,
                "closing_days": null,
                "created_at": "2020-01-15T16:55:59.867+01:00",
                "updated_at": "2020-01-15T16:55:59.867+01:00",
                "shippable_type": "Customer",
                "dae_number": null,
                "title": null,
                "undeliverable_address": false,
                "address3": null,
                "mobile": null,
                "excise_number": null
              }
            },
            "order_lines_not_deleted": [
              {
                "id": 259104,
                "order_id": 107580,
                "product_variant_id": 6182,
                "name": "Pink 2019",
                "description": "Bouteille (75 cl) - Carton 6",
                "quantity": "36.0",
                "price_cents": 1167,
                "price_currency": "EUR",
                "total_price_cents": 42000,
                "total_price_currency": "EUR",
                "created_at": "2020-02-11T17:41:17.803+01:00",
                "updated_at": "2020-02-11T17:41:45.521+01:00",
                "fulfilled_quantity": "0.0",
                "pending_fulfilled_quantity": "0.0",
                "total_discount_cents": 4200,
                "total_discount_currency": "EUR",
                "free_shipping": false,
                "product_price_id": 5074,
                "deleted_at": null,
                "product_vintage_id": 4412,
                "capsule_id": 430,
                "complement": "AOP Rosé d'Anjou - Rosé",
                "bottle_quantity": "36.0",
                "manual_price_cents": null,
                "manual_price_currency": "EUR",
                "product_label_id": null,
                "final_price_cents": 37800,
                "final_price_currency": "EUR",
                "note": null,
                "price_with_tax_cents": 1400,
                "price_with_tax_currency": "EUR",
                "total_price_with_tax_cents": 50400,
                "total_price_with_tax_currency": "EUR",
                "final_price_with_tax_cents": 45360,
                "final_price_with_tax_currency": "EUR",
                "batch_id": null,
                "gross_margin_cents": 25200,
                "gross_margin_currency": "EUR",
                "manual_country_tax_id": null,
                "vintage_complement": "",
                "capsule_kind": null,
                "primeured": false,
                "manual_tax_exempted": false,
                "accounting_tax": null,
                "product_variant": {
                  "id": 6182,
                  "product_size_id": 2,
                  "sku": "",
                  "default_barcode": "",
                  "created_at": "2020-01-15T10:22:16.174+01:00",
                  "updated_at": "2020-01-15T16:55:22.034+01:00",
                  "product_packaging_id": 2340,
                  "deleted_at": null,
                  "product_label_id": null,
                  "product_vintage_id": 4412,
                  "nc8_code": "",
                  "vinosoft_id": null,
                  "net_weight": null,
                  "tare": null,
                  "functional_code": "",
                  "cost_price_cents": 350,
                  "cost_price_currency": "EUR",
                  "marketable": true,
                  "fulfillable": true,
                  "capsule_id": null,
                  "neutral_capsule_id": null
                },
                "commission_line": {
                  "id": 225401,
                  "order_line_id": 259104,
                  "calculation_method": "relative",
                  "rate": "0.0",
                  "discount_rate": "0.0",
                  "commission_price_cents": 0,
                  "commission_price_currency": "EUR",
                  "discount_amount_cents": 0,
                  "discount_amount_currency": "EUR",
                  "created_at": "2020-02-11T17:41:18.699+01:00",
                  "updated_at": "2020-02-11T17:41:18.699+01:00",
                  "original_rate": "0.0",
                  "discount_amount_with_tax_cents": 0,
                  "discount_amount_with_tax_currency": "EUR",
                  "unit_deducted_amount_cents": 0,
                  "unit_deducted_amount_currency": "EUR",
                  "total_deducted_amount_cents": 0,
                  "total_deducted_amount_currency": "EUR"
                }
              }
            ],
            "invoice_debit": {
              "id": 105844,
              "order_id": 107580,
              "number": 260,
              "name": "FA-1260",
              "due_date": "2020-03-12",
              "created_at": "2020-02-11T17:42:55.068+01:00",
              "updated_at": "2020-02-11T17:44:33.509+01:00",
              "date": "2020-02-11",
              "status": "debit",
              "file": {
                "url": "https://vinosoft-staging.s3-eu-west-3.amazonaws.com/uploads/invoice/file/105844/1274.pdf?X-Amz-Expires=300&X-Amz-Date=20200217T160824Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJQAEM4Z3DPIKNLLQ%2F20200217%2Feu-west-3%2Fs3%2Faws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=e8cf0faad55bd7d14ca4e4a6ead03b372eb5d594f9dcffe36a0ccf17b11c703c"
              },
              "notify_customer": false,
              "kind": "facture",
              "payment_duration": 0,
              "payment_method": null,
              "payment_period": null,
              "commission_statement_id": null,
              "paid_at": "2020-02-11",
              "accounted_at": null,
              "file_url": "https://vinosoft-staging.s3-eu-west-3.amazonaws.com/uploads/invoice/file/105844/1274.pdf?X-Amz-Expires=300&X-Amz-Date=20200217T160810Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJQAEM4Z3DPIKNLLQ%2F20200217%2Feu-west-3%2Fs3%2Faws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=4741d7ef88316c8056deb1d6aab2ef283be4393fb3b51a264c28ec60361b3625"
            },
            "shipping_line": {
              "id": 107577,
              "order_id": 107580,
              "price_cents": 0,
              "price_currency": "EUR",
              "created_at": "2020-02-11T17:40:52.895+01:00",
              "updated_at": "2020-02-11T17:40:52.895+01:00",
              "fulfillment_service_id": null,
              "calculation_method": "auto",
              "price_with_tax_cents": 0,
              "price_with_tax_currency": "EUR",
              "cost_price_cents": 0,
              "cost_price_currency": "EUR",
              "gross_margin_cents": 0,
              "gross_margin_currency": "EUR",
              "departure_conditions": false,
              "accounting_tax": null,
              "name": "Livraison : Enlèvement sur place"
            },
            "tax_lines": [
              {
                "id": 305879,
                "taxable_id": 107580,
                "taxable_type": "Order",
                "country_tax_id": 1,
                "name": "TVA France",
                "tax_percentage": "20.0",
                "price_cents": 7560,
                "price_currency": "EUR",
                "created_at": "2020-02-11T17:41:46.156+01:00",
                "updated_at": "2020-02-11T17:41:46.156+01:00"
              }
            ]
          }
        },
        "properties": {
          "id": {
            "type": "integer"
          },
          "account_id": {
            "type": "integer"
          },
          "customer_id": {
            "type": "integer"
          },
          "customer": {
            "$ref": "#/components/schemas/Customer"
          },
          "sales_agent_id": {
            "type": "integer"
          },
          "number": {
            "type": "integer"
          },
          "fulfillment_status": {
            "type": "string"
          },
          "total_price_cents": {
            "type": "integer"
          },
          "total_price_currency": {
            "type": "string"
          },
          "total_tax_cents": {
            "type": "integer"
          },
          "total_tax_currency": {
            "type": "string"
          },
          "total_weight": {
            "type": "string"
          },
          "note": {
            "type": "string"
          },
          "cancel_reason": {
            "type": "string"
          },
          "cancelled_at": {
            "type": "string"
          },
          "created_at": {
            "type": "string"
          },
          "updated_at": {
            "type": "string",
            "description": "Date de dernière modification de la commande. Elle est aussi mise à jour lors de l'ajout ou du retrait d'un tag de commande."
          },
          "commission_price_cents": {
            "type": "integer"
          },
          "commission_price_currency": {
            "type": "string"
          },
          "quantity": {
            "type": "string"
          },
          "bottle_quantity": {
            "type": "string"
          },
          "price_grid_id": {
            "type": "integer"
          },
          "total_order_lines_price_cents": {
            "type": "integer"
          },
          "total_order_lines_price_currency": {
            "type": "string"
          },
          "total_discounts_cents": {
            "type": "string"
          },
          "total_discounts_currency": {
            "type": "string"
          },
          "subtotal_price_cents": {
            "type": "integer"
          },
          "subtotal_price_currency": {
            "type": "string"
          },
          "date": {
            "type": "string",
            "format": "date"
          },
          "name": {
            "type": "string"
          },
          "reference": {
            "type": "string"
          },
          "paid_amount_cents": {
            "type": "integer"
          },
          "paid_amount_currency": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "warehouse_id": {
            "type": "integer"
          },
          "api_key_id": {
            "type": "integer"
          },
          "order_type": {
            "type": "string"
          },
          "channel": {
            "type": "string"
          },
          "hid": {
            "type": "string"
          },
          "excise_duty_state": {
            "type": "string"
          },
          "trade_union_reference": {
            "type": "string"
          },
          "customs_document": {
            "type": "string"
          },
          "customs_number": {
            "type": "string"
          },
          "invoice_note": {
            "type": "string"
          },
          "accounting_tax": {
            "type": "string"
          },
          "picking_note": {
            "type": "string"
          },
          "register_id": {
            "type": "integer"
          },
          "payment_status": {
            "type": "string"
          },
          "gross_margin_cents": {
            "type": "integer"
          },
          "gross_margin_currency": {
            "type": "string"
          },
          "external_id": {
            "type": "string"
          },
          "price_with_tax": {
            "type": "boolean"
          },
          "manual_fulfillment": {
            "type": "boolean"
          },
          "primeured": {
            "type": "boolean"
          },
          "order_lines_not_deleted": {
            "type": "array",
            "items": {}
          },
          "shipping_line": {
            "$ref": "#/components/schemas/ShippingLine"
          },
          "fulfillments": {
            "$ref": "#/components/schemas/Fulfillment"
          },
          "payment_links": {
            "type": "array",
            "items": {}
          },
          "order_tags": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrderTag"
            }
          },
          "order_tag_ids": {
            "type": "array",
            "items": {
              "type": "integer"
            },
            "description": "Ids de tags de order (voir `GET /order_tags`). Un id qui n'appartient pas au compte est refusé (422). Ajouter ou retirer un tag met à jour `updated_at`.",
            "writeOnly": true
          }
        },
        "x-tags": [
          "Commandes"
        ]
      },
      "BillingInformation": {
        "title": "BillingInformation",
        "type": "object",
        "description": "Informations de facturation.",
        "x-examples": {
          "example": {
            "id": 217809,
            "billable_id": 124407,
            "company_name": null,
            "first_name": "Agathe",
            "last_name": "Faure",
            "email": null,
            "address1": null,
            "address2": null,
            "city": "ARGENTEUIL",
            "zip": "95100",
            "province": null,
            "country_code": "FR",
            "phone": null,
            "company_number": null,
            "vat_number": null,
            "excise_number": null,
            "created_at": "2020-01-15T16:56:05.689+01:00",
            "updated_at": "2020-01-15T16:56:05.689+01:00",
            "billable_type": "Customer",
            "legal_form": null,
            "subdivision_code": "95",
            "title": null,
            "mobile": null,
            "undeliverable_address": false,
            "address3": null,
            "fax": null,
            "tax_exempt": false,
            "website": null
          }
        },
        "properties": {
          "id": {
            "type": "integer"
          },
          "company_name": {
            "type": "string",
            "description": "Nom de la société\n"
          },
          "first_name": {
            "type": "string",
            "description": "Prénom\n"
          },
          "last_name": {
            "type": "string",
            "description": "Nom de famille"
          },
          "email": {
            "type": "string"
          },
          "address1": {
            "type": "string"
          },
          "address2": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "province": {
            "type": "string"
          },
          "country_code": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "company_number": {
            "type": "string"
          },
          "vat_number": {
            "type": "string"
          },
          "excise_number": {
            "type": "string",
            "description": "Numéro d'accise"
          },
          "legal_form": {
            "type": "string"
          },
          "mobile": {
            "type": "string",
            "description": "Numéro de téléphone portable"
          },
          "undeliverable_address": {
            "type": "boolean"
          },
          "address3": {
            "type": "string"
          },
          "fax": {
            "type": "string"
          },
          "tax_exempt": {
            "type": "boolean",
            "description": "Exportateur en franchise de TVA"
          },
          "website": {
            "type": "string"
          }
        },
        "x-tags": [
          "Informations de facturation"
        ]
      },
      "ShippingInformation": {
        "title": "ShippingInformation",
        "type": "object",
        "description": "Informations de livraison",
        "x-examples": {
          "example": {
            "id": 270454,
            "shippable_id": 124407,
            "use_billing_address": true,
            "company_name": null,
            "first_name": null,
            "last_name": null,
            "address1": null,
            "address2": null,
            "city": null,
            "zip": null,
            "province": null,
            "country_code": null,
            "phone": null,
            "note": null,
            "delivery_schedules": null,
            "closing_days": null,
            "created_at": "2020-01-15T16:56:05.737+01:00",
            "updated_at": "2020-01-15T16:56:05.737+01:00",
            "shippable_type": "Customer",
            "dae_number": null,
            "title": null,
            "undeliverable_address": false,
            "address3": null,
            "mobile": null,
            "excise_number": null
          }
        },
        "properties": {
          "id": {
            "type": "string"
          },
          "use_billing_address": {
            "type": "boolean",
            "description": "Utiliser l'adresse de facturation ? "
          },
          "company_name": {
            "type": "string"
          },
          "first_name": {
            "type": "string"
          },
          "last_name": {
            "type": "string"
          },
          "address1": {
            "type": "string"
          },
          "address2": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "zip": {
            "type": "string"
          },
          "province": {
            "type": "string"
          },
          "country_code": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "note": {
            "type": "string"
          },
          "delivery_schedules": {
            "type": "string",
            "description": "Horaires de livraison"
          },
          "closing_days": {
            "type": "string",
            "description": "Jours de fermeture"
          },
          "undeliverable_address": {
            "type": "boolean"
          },
          "address3": {
            "type": "string"
          },
          "mobile": {
            "type": "string"
          },
          "excise_number": {
            "type": "string"
          }
        },
        "x-tags": [
          "Informations de livraison"
        ]
      },
      "TaxLine": {
        "title": "TaxLine",
        "type": "object",
        "x-tags": [
          "Commandes"
        ],
        "description": "Ligne de TVA",
        "x-examples": {
          "example": {
            "id": 305879,
            "taxable_id": 107580,
            "taxable_type": "Order",
            "country_tax_id": 1,
            "name": "TVA France",
            "tax_percentage": "20.0",
            "price_cents": 7560,
            "price_currency": "EUR",
            "created_at": "2020-02-11T17:41:46.156+01:00",
            "updated_at": "2020-02-11T17:41:46.156+01:00"
          }
        },
        "properties": {
          "id": {
            "type": "integer"
          },
          "country_tax_id": {
            "type": "integer"
          },
          "name": {
            "type": "string",
            "example": "TVA France"
          },
          "tax_percentage": {
            "type": "string",
            "example": "\"20.0\""
          },
          "price_cents": {
            "type": "integer",
            "example": 7560
          },
          "price_currency": {
            "type": "string"
          },
          "created_at": {
            "type": "string"
          },
          "updated_at": {
            "type": "string"
          }
        }
      },
      "ShippingLine": {
        "title": "ShippingLine",
        "type": "object",
        "x-tags": [
          "Commandes"
        ],
        "description": "Modèle relatif aux frais de port et transporteur utilisé.",
        "properties": {
          "id": {
            "type": "integer"
          },
          "order_id": {
            "type": "integer"
          },
          "price_cents": {
            "type": "integer"
          },
          "price_currency": {
            "type": "string"
          },
          "created_at": {
            "type": "string"
          },
          "updated_at": {
            "type": "string"
          },
          "fulfillment_service_id": {
            "type": "integer",
            "description": "Transporteur utilisé"
          },
          "calculation_method": {
            "type": "string",
            "enum": [
              "auto",
              "manual"
            ]
          },
          "price_with_tax_cents": {
            "type": "integer"
          },
          "price_with_tax_currency": {
            "type": "string"
          },
          "cost_price_cents": {
            "type": "integer"
          },
          "cost_price_currency": {
            "type": "string"
          },
          "gross_margin_cents": {
            "type": "integer"
          },
          "gross_margin_currency": {
            "type": "string"
          },
          "departure_conditions": {
            "type": "boolean"
          },
          "accounting_tax": {
            "type": "string"
          },
          "name": {
            "type": "string",
            "example": "Livraison : Enlèvement sur place"
          }
        },
        "required": [
          "calculation_method"
        ]
      },
      "PaymentSource": {
        "title": "PaymentSource",
        "type": "object",
        "description": "Mode de paiement.",
        "x-examples": {
          "example": {
            "id": 709,
            "website": false,
            "before_instruction": null,
            "after_instruction": null,
            "name": "Carte Bancaire"
          }
        },
        "properties": {
          "id": {
            "type": "integer"
          },
          "website": {
            "type": "boolean",
            "description": "Proposé sur le site e-commerce Baqio ?"
          },
          "before_instruction": {
            "type": "string"
          },
          "after_instruction": {
            "type": "string"
          },
          "name": {
            "type": "string",
            "example": "Carte Bancaire"
          }
        },
        "x-tags": [
          "Paiements"
        ]
      },
      "ProductSize": {
        "title": "ProductSize",
        "type": "object",
        "x-tags": [
          "Produits"
        ],
        "properties": {
          "id": {
            "type": "integer"
          },
          "name": {
            "type": "string",
            "example": "Bouteille (75 cl)"
          },
          "position": {
            "type": "integer"
          },
          "created_at": {
            "type": "string"
          },
          "updated_at": {
            "type": "string"
          },
          "short_name": {
            "type": "string",
            "example": "75 cl"
          },
          "kind": {
            "type": "string",
            "enum": [
              "bulk",
              "bottle",
              "bib"
            ]
          }
        },
        "description": "Contenants",
        "x-examples": {
          "example": {
            "id": 2,
            "name": "Bouteille (75 cl)",
            "position": 0,
            "milliliters": 750,
            "created_at": "2015-06-30T14:39:54.153+02:00",
            "updated_at": "2016-06-06T16:08:31.135+02:00",
            "short_name": "75 cl",
            "kind": "bottle"
          }
        }
      },
      "ProductPackaging": {
        "title": "ProductPackaging",
        "type": "object",
        "description": "Conditionnements (carton, vrac, etc.)",
        "x-examples": {
          "example": {
            "id": 2340,
            "account_id": 520,
            "name": "Carton 6",
            "quantity": 1,
            "created_at": "2020-01-15T09:56:10.795+01:00",
            "updated_at": "2020-01-15T16:55:19.730+01:00",
            "deleted_at": null,
            "packing_quantity": 6,
            "package_kind_id": null,
            "net_weight": null
          }
        },
        "properties": {
          "id": {
            "type": "integer"
          },
          "name": {
            "type": "string",
            "example": "Carton 6"
          },
          "created_at": {
            "type": "string"
          },
          "deleted_at": {
            "type": "string"
          },
          "packing_quantity": {
            "type": "integer",
            "description": "Colisage"
          },
          "package_kind_id": {
            "type": "integer"
          },
          "net_weight": {
            "type": "string"
          }
        },
        "x-tags": [
          "Conditionnements"
        ]
      },
      "ProductPrice": {
        "title": "ProductPrice",
        "type": "object",
        "description": "Tarif d'une variante produit pour une grille tarifaire ou pour un client.",
        "properties": {
          "id": {
            "type": "integer"
          },
          "product_variant_id": {
            "type": "integer"
          },
          "quantity": {
            "type": "string",
            "description": "Quantité applicable"
          },
          "created_at": {
            "type": "string"
          },
          "updated_at": {
            "type": "string"
          },
          "deleted_at": {
            "type": "string"
          },
          "price_cents": {
            "type": "integer"
          },
          "price_currency": {
            "type": "string"
          },
          "price_grid_id": {
            "type": "integer"
          },
          "price_grid": {
            "$ref": "#/components/schemas/PriceGrid"
          },
          "customer_id": {
            "type": "integer"
          },
          "free_shipping": {
            "type": "boolean"
          },
          "price_with_tax_cents": {
            "type": "integer"
          },
          "price_with_tax_currency": {
            "type": "string"
          },
          "advance_payment_amount_cents": {
            "type": "integer"
          },
          "advance_payment_amount_currency": {
            "type": "string"
          }
        },
        "x-examples": {
          "example": {
            "id": 5084,
            "product_variant_id": 6183,
            "quantity": "1.0",
            "created_at": "2020-01-15T10:35:22.561+01:00",
            "updated_at": "2020-01-15T10:35:22.561+01:00",
            "deleted_at": null,
            "price_cents": 308,
            "price_currency": "EUR",
            "price_grid_id": 4288,
            "customer_id": null,
            "free_shipping": false,
            "supplier_price_cents": 0,
            "supplier_price_currency": "EUR",
            "price_with_tax_cents": 0,
            "price_with_tax_currency": "EUR",
            "vinosoft_id": null,
            "advance_payment_amount_cents": 0,
            "advance_payment_amount_currency": "EUR",
            "price_grid": {
              "id": 4288,
              "name": "Export",
              "deleted_at": null,
              "created_at": "2020-01-15T10:33:34.383+01:00",
              "updated_at": "2020-01-15T10:33:34.383+01:00",
              "price_kind": "without_tax",
              "country_tax_id": 1,
              "calculation_method": "total",
              "payment_method": null,
              "payment_period": null,
              "displayed": true,
              "quantities": [
                null,
                "1.0"
              ],
              "supplier": false,
              "default": false
            }
          }
        },
        "x-tags": [
          "Produits"
        ]
      },
      "ProductVintage": {
        "title": "ProductVintage",
        "type": "object",
        "description": "Millésime (appartient à un Produit)",
        "properties": {
          "id": {
            "type": "integer"
          },
          "product_id": {
            "type": "integer"
          },
          "vintage": {
            "type": "integer"
          },
          "summary": {
            "type": "string"
          },
          "body_html": {
            "type": "string"
          },
          "abv": {
            "type": "string",
            "description": "Degré d'alcool"
          },
          "created_at": {
            "type": "string"
          },
          "updated_at": {
            "type": "string"
          },
          "primeur": {
            "type": "boolean"
          },
          "grapes": {
            "type": "string"
          },
          "vineyard_work": {
            "type": "string"
          },
          "winemaking": {
            "type": "string"
          },
          "wine_ageing": {
            "type": "string"
          },
          "wine_preparation": {
            "type": "string"
          },
          "bottling": {
            "type": "string"
          },
          "traceability": {
            "type": "string"
          },
          "operating_temperature": {
            "type": "string"
          },
          "tasting_advice": {
            "type": "string"
          },
          "complement": {
            "type": "string"
          },
          "parent_id": {
            "type": "integer",
            "description": "Produit parent"
          }
        },
        "x-tags": [
          "Produits"
        ]
      },
      "ProductColor": {
        "title": "ProductColor",
        "type": "object",
        "description": "Couleur d'un produit",
        "properties": {
          "id": {
            "type": "integer"
          },
          "name": {
            "type": "string",
            "example": "Rouge"
          },
          "position": {
            "type": "integer"
          },
          "created_at": {
            "type": "string"
          },
          "updated_at": {
            "type": "string"
          },
          "handle": {
            "type": "string"
          }
        },
        "x-examples": {
          "example": {
            "id": 1,
            "name": "Rouge",
            "position": 0,
            "created_at": "2015-06-30T14:39:54.110+02:00",
            "updated_at": "2018-09-28T17:31:41.753+02:00",
            "handle": "red"
          }
        },
        "x-tags": [
          "Produits"
        ]
      },
      "Product": {
        "title": "Product",
        "type": "object",
        "description": "",
        "x-examples": {
          "example": {
            "id": 2812,
            "account_id": 520,
            "name": "Cuvée des copains Rouge",
            "product_color_id": 1,
            "created_at": "2020-01-15T10:24:08.746+01:00",
            "updated_at": "2020-01-15T10:24:08.746+01:00",
            "deleted_at": null,
            "supplier_id": null,
            "appellation_id": null,
            "body_html": "",
            "text": null,
            "product_category_id": 1,
            "country_code": "FR",
            "classification": "",
            "position": 0,
            "product_certification_id": 2,
            "inao_appellation_id": 145,
            "inao_denomination_id": 306,
            "inao_product_id": 1717,
            "excise_duty_state": null,
            "kind": "standard",
            "capsule_id": 430,
            "interprofessional_code": "",
            "vinosoft_id": null,
            "zone_code": "",
            "product_family_id": 2972,
            "neutral_capsule_id": 431,
            "tag_list": [],
            "appellation": "AOP Cabernet d'Anjou",
            "product_color": {
              "id": 1,
              "name": "Rouge",
              "position": 0,
              "created_at": "2015-06-30T14:39:54.110+02:00",
              "updated_at": "2018-09-28T17:31:41.753+02:00",
              "handle": "red"
            }
          }
        },
        "properties": {
          "id": {
            "type": "integer"
          },
          "account_id": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "product_color_id": {
            "type": "integer"
          },
          "product_color": {
            "$ref": "#/components/schemas/ProductColor"
          },
          "created_at": {
            "type": "string"
          },
          "updated_at": {
            "type": "string"
          },
          "deleted_at": {
            "type": "string"
          },
          "supplier_id": {
            "type": "string"
          },
          "body_html": {
            "type": "string"
          },
          "text": {
            "type": "string"
          },
          "product_category_id": {
            "type": "string"
          },
          "country_code": {
            "type": "string"
          },
          "classification": {
            "type": "string"
          },
          "position": {
            "type": "string"
          },
          "product_certification_id": {
            "type": "integer"
          },
          "inao_appellation_id": {
            "type": "integer"
          },
          "inao_denomination_id": {
            "type": "integer"
          },
          "inao_product_id": {
            "type": "integer"
          },
          "excise_duty_state": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "capsule_id": {
            "type": "integer"
          },
          "interprofessional_code": {
            "type": "string"
          },
          "zone_code": {
            "type": "string"
          },
          "tag_list": {
            "type": "string"
          },
          "appellation": {
            "type": "string",
            "example": "AOP Cabernet d'Anjou"
          },
          "neutral_capsule_id": {
            "type": "integer"
          },
          "capsule": {
            "$ref": ""
          },
          "neutral_capsule": {
            "$ref": "#/components/schemas/Capsule"
          },
          "product_family": {
            "$ref": "#/components/schemas/ProductFamily"
          }
        },
        "x-tags": [
          "Produits"
        ]
      },
      "Capsule": {
        "title": "Capsule",
        "type": "object",
        "description": "Capsule CRD ou Neutre utilisée.",
        "x-examples": {
          "example": {
            "id": 31,
            "account_id": 86,
            "color": "blue",
            "deleted_at": null,
            "created_at": "2017-09-15T16:32:10.397+02:00",
            "updated_at": "2019-10-09T16:53:22.428+02:00",
            "kind": "collective",
            "label": "",
            "product_category_id": null,
            "name": "Bleue (C)"
          }
        },
        "properties": {
          "id": {
            "type": "number"
          },
          "account_id": {
            "type": "integer"
          },
          "color": {
            "type": "string",
            "enum": [
              "none",
              "green",
              "blue",
              "wine",
              "orange",
              "yellow",
              "gray",
              "red",
              "white"
            ]
          },
          "deleted_at": {
            "type": "string"
          },
          "created_at": {
            "type": "string"
          },
          "updated_at": {
            "type": "string"
          },
          "kind": {
            "type": "string",
            "enum": [
              "collective",
              "custom"
            ]
          },
          "label": {
            "type": "string",
            "description": "Nom personnalisé"
          },
          "product_category_id": {
            "type": "integer"
          },
          "name": {
            "type": "string",
            "description": "Bleue (C)"
          }
        },
        "x-tags": [
          "Capsules"
        ]
      },
      "ProductFamily": {
        "title": "ProductFamily",
        "type": "object",
        "description": "Famille de produit",
        "x-examples": {
          "example-vin": {
            "id": 511,
            "account_id": 86,
            "name": "Vin",
            "handle": "standard",
            "displayed": true,
            "deletable": false,
            "deleted_at": null,
            "created_at": "2017-07-19T12:11:43.222+02:00",
            "updated_at": "2018-09-04T23:10:57.954+02:00",
            "position": 10,
            "inventory": true,
            "kind": "standard"
          },
          "example-pack": {
            "id": 512,
            "account_id": 86,
            "name": "Coffret",
            "handle": "pack",
            "displayed": true,
            "deletable": false,
            "deleted_at": null,
            "created_at": "2017-07-19T12:11:43.226+02:00",
            "updated_at": "2018-09-04T23:10:57.959+02:00",
            "position": 9,
            "inventory": true,
            "kind": "pack"
          },
          "example-boutique": {
            "id": 610,
            "account_id": 86,
            "name": "Boutique",
            "handle": "boutique",
            "displayed": false,
            "deletable": true,
            "deleted_at": null,
            "created_at": "2017-09-26T19:12:24.285+02:00",
            "updated_at": "2018-09-04T23:10:59.893+02:00",
            "position": 0,
            "inventory": true,
            "kind": "other"
          }
        },
        "properties": {
          "id": {
            "type": "integer"
          },
          "account_id": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "handle": {
            "type": "string"
          },
          "displayed": {
            "type": "boolean"
          },
          "deletable": {
            "type": "boolean"
          },
          "deleted_at": {
            "type": "string"
          },
          "created_at": {
            "type": "string"
          },
          "updated_at": {
            "type": "string"
          },
          "position": {
            "type": "integer"
          },
          "inventory": {
            "type": "boolean"
          },
          "kind": {
            "type": "string",
            "enum": [
              "standard",
              "pack",
              "other"
            ]
          }
        },
        "x-tags": [
          "Produits"
        ]
      },
      "Fulfillment": {
        "title": "Fulfillment",
        "type": "object",
        "description": "Expédition ou Transfert",
        "x-examples": {
          "example": {
            "id": 60593,
            "order_id": null,
            "status": "fulfilled",
            "fulfillment_service_id": null,
            "created_at": "2020-06-16T16:35:10.816+02:00",
            "updated_at": "2020-06-16T16:35:29.409+02:00",
            "notify_customer": null,
            "notify_fulfillment_service": null,
            "number": 876,
            "note": "",
            "date": "2020-06-16",
            "picking_note": null,
            "account_id": 86,
            "warehouse_id": null,
            "customer_id": null,
            "customs_document": null,
            "customs_number": null,
            "excise_duty_state": "pay",
            "cancelled_at": null,
            "deleted_at": null,
            "kind": "standard",
            "reference": null,
            "picking_requested_at": null,
            "picking_started_at": null,
            "picking_completed_at": null,
            "transportation_mode": null,
            "fulfillment_note": null,
            "customs_file": {
              "url": null
            },
            "source_type": "Warehouse",
            "source_id": 86,
            "destination_type": "Customer",
            "destination_id": 77,
            "supplier_order_id": null,
            "fulfillment_group_id": null,
            "trade_union_reference": null,
            "initial_date": null,
            "source": {
              "id": 86,
              "account_id": 86,
              "name": "Chai",
              "deleted_at": null,
              "created_at": "2017-05-24T11:01:47.607+02:00",
              "updated_at": "2017-05-24T11:01:47.607+02:00",
              "default": true,
              "excise_duty_suspended": true
            },
            "destination": {
              "id": 77,
              "account_id": 86,
              "name": "Frédérique Faure",
              "email": "sylvain+faure@baqio.com",
              "note": "",
              "accepts_emailing": true,
              "created_at": "2017-05-24T11:08:51.608+02:00",
              "updated_at": "2017-07-31T23:17:24.897+02:00",
              "sales_agent_id": null,
              "price_grid_id": 109,
              "reference": null,
              "accepts_mailing": true,
              "warehouse_id": 86,
              "visibility": "all",
              "channel": null,
              "customer_category_id": 505,
              "deleted_at": null,
              "payment_method": "",
              "payment_period": "",
              "code": "000005",
              "vinosoft_id": null,
              "accounted_at": "2018-01-18T16:55:33.241+01:00",
              "hid": null,
              "user_id": null,
              "automatic_discount_rate": null,
              "sponsor_id": null,
              "commission_rate": null,
              "invoice_preference": null,
              "block_orders": false,
              "sticky_note": false,
              "invoice_template_id": null
            },
            "fulfillment_lines": [
              {
                "id": 125445,
                "fulfillment_id": 60593,
                "order_line_id": null,
                "quantity": "12.0",
                "created_at": "2020-06-16T16:35:18.749+02:00",
                "updated_at": "2020-06-16T16:35:18.749+02:00",
                "product_variant_id": 1702,
                "product_label_id": null,
                "capsule_id": null,
                "batch_id": null,
                "capsule_kind": null,
                "supplier_order_line_id": null,
                "product_variant": {
                  "id": 1702,
                  "product_size_id": 14,
                  "sku": "",
                  "default_barcode": "",
                  "created_at": "2019-02-12T10:14:25.050+01:00",
                  "updated_at": "2019-12-22T14:09:38.166+01:00",
                  "product_packaging_id": 482,
                  "deleted_at": null,
                  "product_label_id": null,
                  "product_vintage_id": 1297,
                  "nc8_code": "",
                  "vinosoft_id": null,
                  "net_weight": null,
                  "tare": null,
                  "functional_code": "",
                  "cost_price_cents": 0,
                  "cost_price_currency": "EUR",
                  "marketable": false,
                  "fulfillable": true,
                  "capsule_id": null,
                  "neutral_capsule_id": null,
                  "sales_unit": 1,
                  "cspc": null,
                  "ttb_id": null
                }
              }
            ]
          }
        },
        "x-tags": [
          "Expéditions"
        ],
        "properties": {
          "id": {
            "type": "integer"
          },
          "order_id": {
            "type": "integer"
          },
          "status": {
            "type": "string"
          },
          "fulfillment_service_id": {
            "type": "integer"
          },
          "created_at": {
            "type": "string"
          },
          "updated_at": {
            "type": "string"
          },
          "notify_customer": {
            "type": "boolean"
          },
          "notify_fulfillment_service": {
            "type": "boolean"
          },
          "number": {
            "type": "integer"
          },
          "note": {
            "type": "string"
          },
          "date": {
            "type": "string",
            "format": "date"
          },
          "picking_note": {
            "type": "string"
          },
          "account_id": {
            "type": "integer"
          },
          "customs_document": {
            "type": "string"
          },
          "customs_number": {
            "type": "string"
          },
          "excise_duty_state": {
            "type": "string"
          },
          "cancelled_at": {
            "type": "string"
          },
          "deleted_at": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "reference": {
            "type": "string"
          },
          "picking_requested_at": {
            "type": "string"
          },
          "picking_started_at": {
            "type": "string"
          },
          "picking_completed_at": {
            "type": "string"
          },
          "transportation_mode": {
            "type": "string"
          },
          "fulfillment_note": {
            "type": "string"
          },
          "source_type": {
            "type": "string"
          },
          "source_id": {
            "type": "integer"
          },
          "destination_type": {
            "type": "string"
          },
          "destination_id": {
            "type": "integer"
          },
          "fulfillment_group_id": {
            "type": "integer"
          },
          "trade_union_reference": {
            "type": "string"
          },
          "initial_date": {
            "type": "string"
          },
          "source": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Warehouse"
              },
              {
                "$ref": "#/components/schemas/Customer"
              }
            ]
          },
          "destination": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/Warehouse"
              },
              {
                "$ref": "#/components/schemas/Customer"
              }
            ]
          },
          "fulfillment_lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FulfillmentLine"
            }
          }
        }
      },
      "ProductVariant": {
        "title": "ProductVariant",
        "type": "object",
        "description": "Variante Produit",
        "x-examples": {
          "example": {
            "id": 165,
            "product_size_id": 2,
            "sku": "",
            "default_barcode": "",
            "created_at": "2017-05-24T11:15:03.105+02:00",
            "updated_at": "2019-09-06T09:44:46.934+02:00",
            "product_packaging_id": 482,
            "deleted_at": null,
            "product_label_id": null,
            "product_vintage_id": 145,
            "nc8_code": "",
            "vinosoft_id": null,
            "net_weight": null,
            "tare": null,
            "functional_code": "",
            "cost_price_cents": 0,
            "cost_price_currency": "EUR",
            "marketable": true,
            "fulfillable": true,
            "capsule_id": null,
            "neutral_capsule_id": null,
            "sales_unit": 1,
            "cspc": null,
            "ttb_id": null,
            "vintage": 2016,
            "stock_all": "11787.0",
            "product": {
              "id": 130,
              "account_id": 86,
              "name": "Vin de pays Chardonnay",
              "product_color_id": 2,
              "created_at": "2017-05-24T11:15:02.992+02:00",
              "updated_at": "2018-09-04T23:11:05.690+02:00",
              "deleted_at": null,
              "supplier_id": null,
              "appellation_id": null,
              "body_html": "<p><br></p>",
              "text": null,
              "product_category_id": 1,
              "country_code": "FR",
              "classification": "",
              "position": 0,
              "product_certification_id": 3,
              "inao_appellation_id": 6,
              "inao_denomination_id": 15,
              "inao_product_id": 100,
              "excise_duty_state": "",
              "kind": "standard",
              "capsule_id": null,
              "interprofessional_code": null,
              "vinosoft_id": null,
              "zone_code": null,
              "product_family_id": 511,
              "neutral_capsule_id": null,
              "appellation": "IGP Val de Loire Maine-et-Loire",
              "product_color": {
                "id": 2,
                "name": "Blanc",
                "position": 1,
                "created_at": "2015-06-30T14:39:54.120+02:00",
                "updated_at": "2018-09-28T17:31:41.763+02:00",
                "handle": "white"
              }
            },
            "product_vintage": {
              "id": 145,
              "product_id": 130,
              "vintage": 2016,
              "summary": "",
              "body_html": "<p>Mon super vin.</p>",
              "abv": null,
              "created_at": "2017-05-24T11:15:03.071+02:00",
              "updated_at": "2019-09-06T09:49:34.491+02:00",
              "deleted_at": null,
              "primeur": false,
              "grapes": "Syrah",
              "vineyard_work": "",
              "winemaking": "",
              "wine_ageing": "12 mois en barrique.",
              "wine_preparation": "",
              "bottling": "",
              "traceability": "",
              "operating_temperature": "10°",
              "tasting_advice": "",
              "vinosoft_id": null,
              "complement": "",
              "parent_id": null,
              "product_images": [
                {
                  "id": 19,
                  "position": 1,
                  "alt": null,
                  "image_url": "https://vinosoft-staging.s3-eu-west-3.amazonaws.com/uploads/product_image/image/19/vin-de-pays-chardonnay-2016.jpg?X-Amz-Expires=600&X-Amz-Date=20200616T152858Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJQAEM4Z3DPIKNLLQ%2F20200616%2Feu-west-3%2Fs3%2Faws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=8348bda7a05c2c3f2b09dceb3419509472779f6c21f021b59ad6144c0ac1a559"
                }
              ]
            },
            "product_size": {
              "id": 2,
              "name": "Bouteille (75 cl)",
              "position": 0,
              "milliliters": 750,
              "created_at": "2015-06-30T14:39:54.153+02:00",
              "updated_at": "2016-06-06T16:08:31.135+02:00",
              "short_name": "75 cl",
              "kind": "bottle"
            },
            "product_packaging": {
              "id": 482,
              "account_id": 86,
              "name": "Unité (C6)",
              "quantity": 1,
              "created_at": "2017-05-24T11:01:47.233+02:00",
              "updated_at": "2018-01-16T17:03:33.170+01:00",
              "deleted_at": null,
              "packing_quantity": 6,
              "package_kind_id": null,
              "net_weight": null
            },
            "product_prices": [
              {
                "id": 173,
                "product_variant_id": 165,
                "quantity": "1.0",
                "created_at": "2017-05-24T11:38:34.412+02:00",
                "updated_at": "2017-05-24T11:39:05.390+02:00",
                "deleted_at": "2017-05-24T11:39:05.384+02:00",
                "price_cents": 600,
                "price_currency": "EUR",
                "price_grid_id": 108,
                "customer_id": null,
                "free_shipping": false,
                "supplier_price_cents": 0,
                "supplier_price_currency": "EUR",
                "price_with_tax_cents": 0,
                "price_with_tax_currency": "EUR",
                "vinosoft_id": null,
                "advance_payment_amount_cents": 0,
                "advance_payment_amount_currency": "EUR",
                "price_grid": {
                  "id": 108,
                  "name": "CHR",
                  "deleted_at": null,
                  "created_at": "2017-05-24T11:01:47.472+02:00",
                  "updated_at": "2019-11-26T12:34:57.350+01:00",
                  "price_kind": "without_tax",
                  "country_tax_id": 1,
                  "calculation_method": "total",
                  "payment_method": null,
                  "payment_period": null,
                  "displayed": true,
                  "quantities": [
                    null,
                    "36.0",
                    "1.0",
                    "120.0",
                    "60.0"
                  ],
                  "supplier": false,
                  "default": false,
                  "product_variants_with_price": false,
                  "invoice_template_id": null
                }
              },
              {
                "id": 181,
                "product_variant_id": 165,
                "quantity": "1.0",
                "created_at": "2017-05-24T12:01:48.314+02:00",
                "updated_at": "2017-05-24T12:01:48.314+02:00",
                "deleted_at": null,
                "price_cents": 350,
                "price_currency": "EUR",
                "price_grid_id": 108,
                "customer_id": null,
                "free_shipping": false,
                "supplier_price_cents": 0,
                "supplier_price_currency": "EUR",
                "price_with_tax_cents": 0,
                "price_with_tax_currency": "EUR",
                "vinosoft_id": null,
                "advance_payment_amount_cents": 0,
                "advance_payment_amount_currency": "EUR",
                "price_grid": {
                  "id": 108,
                  "name": "CHR",
                  "deleted_at": null,
                  "created_at": "2017-05-24T11:01:47.472+02:00",
                  "updated_at": "2019-11-26T12:34:57.350+01:00",
                  "price_kind": "without_tax",
                  "country_tax_id": 1,
                  "calculation_method": "total",
                  "payment_method": null,
                  "payment_period": null,
                  "displayed": true,
                  "quantities": [
                    null,
                    "36.0",
                    "1.0",
                    "120.0",
                    "60.0"
                  ],
                  "supplier": false,
                  "default": false,
                  "product_variants_with_price": false,
                  "invoice_template_id": null
                }
              },
              {
                "id": 183,
                "product_variant_id": 165,
                "quantity": "36.0",
                "created_at": "2017-05-24T12:02:01.422+02:00",
                "updated_at": "2017-05-24T12:02:01.422+02:00",
                "deleted_at": null,
                "price_cents": 350,
                "price_currency": "EUR",
                "price_grid_id": 108,
                "customer_id": null,
                "free_shipping": true,
                "supplier_price_cents": 0,
                "supplier_price_currency": "EUR",
                "price_with_tax_cents": 0,
                "price_with_tax_currency": "EUR",
                "vinosoft_id": null,
                "advance_payment_amount_cents": 0,
                "advance_payment_amount_currency": "EUR",
                "price_grid": {
                  "id": 108,
                  "name": "CHR",
                  "deleted_at": null,
                  "created_at": "2017-05-24T11:01:47.472+02:00",
                  "updated_at": "2019-11-26T12:34:57.350+01:00",
                  "price_kind": "without_tax",
                  "country_tax_id": 1,
                  "calculation_method": "total",
                  "payment_method": null,
                  "payment_period": null,
                  "displayed": true,
                  "quantities": [
                    null,
                    "36.0",
                    "1.0",
                    "120.0",
                    "60.0"
                  ],
                  "supplier": false,
                  "default": false,
                  "product_variants_with_price": false,
                  "invoice_template_id": null
                }
              },
              {
                "id": 176,
                "product_variant_id": 165,
                "quantity": "1.0",
                "created_at": "2017-05-24T11:41:24.027+02:00",
                "updated_at": "2017-09-15T10:05:24.508+02:00",
                "deleted_at": null,
                "price_cents": 583,
                "price_currency": "EUR",
                "price_grid_id": 109,
                "customer_id": null,
                "free_shipping": false,
                "supplier_price_cents": 0,
                "supplier_price_currency": "EUR",
                "price_with_tax_cents": 700,
                "price_with_tax_currency": "EUR",
                "vinosoft_id": null,
                "advance_payment_amount_cents": 0,
                "advance_payment_amount_currency": "EUR",
                "price_grid": {
                  "id": 109,
                  "name": "Particulier 2",
                  "deleted_at": null,
                  "created_at": "2017-05-24T11:01:47.516+02:00",
                  "updated_at": "2020-04-29T06:12:45.597+02:00",
                  "price_kind": "with_tax",
                  "country_tax_id": 1,
                  "calculation_method": "product_variant",
                  "payment_method": "credit_card",
                  "payment_period": "at_once",
                  "displayed": false,
                  "quantities": [
                    null,
                    "1.0"
                  ],
                  "supplier": false,
                  "default": false,
                  "product_variants_with_price": false,
                  "invoice_template_id": 645
                }
              },
              {
                "id": 185,
                "product_variant_id": 165,
                "quantity": "60.0",
                "created_at": "2017-05-24T12:02:12.447+02:00",
                "updated_at": "2018-01-19T14:03:52.771+01:00",
                "deleted_at": "2018-01-19T14:03:52.767+01:00",
                "price_cents": 330,
                "price_currency": "EUR",
                "price_grid_id": 108,
                "customer_id": null,
                "free_shipping": true,
                "supplier_price_cents": 0,
                "supplier_price_currency": "EUR",
                "price_with_tax_cents": 0,
                "price_with_tax_currency": "EUR",
                "vinosoft_id": null,
                "advance_payment_amount_cents": 0,
                "advance_payment_amount_currency": "EUR",
                "price_grid": {
                  "id": 108,
                  "name": "CHR",
                  "deleted_at": null,
                  "created_at": "2017-05-24T11:01:47.472+02:00",
                  "updated_at": "2019-11-26T12:34:57.350+01:00",
                  "price_kind": "without_tax",
                  "country_tax_id": 1,
                  "calculation_method": "total",
                  "payment_method": null,
                  "payment_period": null,
                  "displayed": true,
                  "quantities": [
                    null,
                    "36.0",
                    "1.0",
                    "120.0",
                    "60.0"
                  ],
                  "supplier": false,
                  "default": false,
                  "product_variants_with_price": false,
                  "invoice_template_id": null
                }
              }
            ],
            "catalogs": [
              {
                "id": 231,
                "account_id": 86,
                "name": null,
                "handle": null,
                "deletable": true,
                "deleted_at": null,
                "created_at": "2017-11-26T23:32:34.566+01:00",
                "updated_at": "2017-11-26T23:32:34.566+01:00",
                "price_grid_id": null,
                "warehouse_id": null,
                "catalogable_id": 102,
                "catalogable_type": "Register"
              },
              {
                "id": 259,
                "account_id": 86,
                "name": null,
                "handle": null,
                "deletable": true,
                "deleted_at": null,
                "created_at": "2017-11-27T09:41:36.659+01:00",
                "updated_at": "2019-10-15T11:17:19.090+02:00",
                "price_grid_id": 761,
                "warehouse_id": 87,
                "catalogable_id": 130,
                "catalogable_type": "Register"
              },
              {
                "id": 86,
                "account_id": 86,
                "name": "Site web",
                "handle": "site-web",
                "deletable": false,
                "deleted_at": null,
                "created_at": "2017-05-24T11:01:47.901+02:00",
                "updated_at": "2019-01-28T19:08:23.079+01:00",
                "price_grid_id": 109,
                "warehouse_id": 86,
                "catalogable_id": 86,
                "catalogable_type": "Website"
              },
              {
                "id": 990,
                "account_id": 86,
                "name": null,
                "handle": null,
                "deletable": true,
                "deleted_at": null,
                "created_at": "2019-11-26T09:26:00.485+01:00",
                "updated_at": "2019-11-26T09:26:00.485+01:00",
                "price_grid_id": 761,
                "warehouse_id": 86,
                "catalogable_id": 510,
                "catalogable_type": "Register"
              }
            ]
          }
        },
        "properties": {
          "id": {
            "type": "integer"
          },
          "product_size_id": {
            "type": "integer"
          },
          "product_size": {
            "$ref": "#/components/schemas/ProductSize"
          },
          "sku": {
            "type": "string",
            "description": "Identifiant de la variante"
          },
          "default_barcode": {
            "type": "string"
          },
          "created_at": {
            "type": "string"
          },
          "updated_at": {
            "type": "string"
          },
          "product_packaging_id": {
            "type": "string"
          },
          "product_packaging": {
            "$ref": "#/components/schemas/ProductPackaging"
          },
          "deleted_at": {
            "type": "string"
          },
          "product_vintage_id": {
            "type": "string"
          },
          "product_vintage": {
            "$ref": "#/components/schemas/ProductVintage"
          },
          "nc8_code": {
            "type": "string"
          },
          "net_weight": {
            "type": "string"
          },
          "tare": {
            "type": "string"
          },
          "functional_code": {
            "type": "string"
          },
          "cost_price_cents": {
            "type": "integer"
          },
          "cost_price_currency": {
            "type": "string"
          },
          "marketable": {
            "type": "boolean",
            "description": "Commercialisable"
          },
          "fulfillable": {
            "type": "string",
            "description": "Expédiable (produit physique)"
          },
          "capsule_id": {
            "type": "integer"
          },
          "capsule": {
            "$ref": "#/components/schemas/Capsule"
          },
          "neutral_capsule_id": {
            "type": "integer"
          },
          "neutral_capsule": {
            "$ref": "#/components/schemas/Capsule"
          },
          "sales_unit": {
            "type": "integer"
          },
          "cspc": {
            "type": "string"
          },
          "ttb_id": {
            "type": "string"
          },
          "product_prices": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProductPrice"
            }
          },
          "catalogs": {
            "type": "array",
            "items": {}
          }
        },
        "x-tags": [
          "Produits"
        ]
      },
      "OrderLine": {
        "title": "OrderLine",
        "type": "object",
        "description": "Ligne de commande.",
        "x-examples": {
          "example": {
            "id": 259104,
            "order_id": 107580,
            "product_variant_id": 6182,
            "name": "Pink 2019",
            "description": "Bouteille (75 cl) - Carton 6",
            "quantity": "36.0",
            "price_cents": 1167,
            "price_currency": "EUR",
            "total_price_cents": 42000,
            "total_price_currency": "EUR",
            "created_at": "2020-02-11T17:41:17.803+01:00",
            "updated_at": "2020-02-11T17:41:45.521+01:00",
            "fulfilled_quantity": "0.0",
            "pending_fulfilled_quantity": "0.0",
            "total_discount_cents": 4200,
            "total_discount_currency": "EUR",
            "free_shipping": false,
            "product_price_id": 5074,
            "deleted_at": null,
            "product_vintage_id": 4412,
            "capsule_id": 430,
            "complement": "AOP Rosé d'Anjou - Rosé",
            "bottle_quantity": "36.0",
            "manual_price_cents": null,
            "manual_price_currency": "EUR",
            "product_label_id": null,
            "final_price_cents": 37800,
            "final_price_currency": "EUR",
            "note": null,
            "price_with_tax_cents": 1400,
            "price_with_tax_currency": "EUR",
            "total_price_with_tax_cents": 50400,
            "total_price_with_tax_currency": "EUR",
            "final_price_with_tax_cents": 45360,
            "final_price_with_tax_currency": "EUR",
            "batch_id": null,
            "gross_margin_cents": 25200,
            "gross_margin_currency": "EUR",
            "manual_country_tax_id": null,
            "vintage_complement": "",
            "capsule_kind": null,
            "primeured": false,
            "manual_tax_exempted": false,
            "accounting_tax": null,
            "product_variant": {
              "id": 6182,
              "product_size_id": 2,
              "sku": "",
              "default_barcode": "",
              "created_at": "2020-01-15T10:22:16.174+01:00",
              "updated_at": "2020-01-15T16:55:22.034+01:00",
              "product_packaging_id": 2340,
              "deleted_at": null,
              "product_label_id": null,
              "product_vintage_id": 4412,
              "nc8_code": "",
              "vinosoft_id": null,
              "net_weight": null,
              "tare": null,
              "functional_code": "",
              "cost_price_cents": 350,
              "cost_price_currency": "EUR",
              "marketable": true,
              "fulfillable": true,
              "capsule_id": null,
              "neutral_capsule_id": null
            },
            "commission_line": {
              "id": 225401,
              "order_line_id": 259104,
              "calculation_method": "relative",
              "rate": "0.0",
              "discount_rate": "0.0",
              "commission_price_cents": 0,
              "commission_price_currency": "EUR",
              "discount_amount_cents": 0,
              "discount_amount_currency": "EUR",
              "created_at": "2020-02-11T17:41:18.699+01:00",
              "updated_at": "2020-02-11T17:41:18.699+01:00",
              "original_rate": "0.0",
              "discount_amount_with_tax_cents": 0,
              "discount_amount_with_tax_currency": "EUR",
              "unit_deducted_amount_cents": 0,
              "unit_deducted_amount_currency": "EUR",
              "total_deducted_amount_cents": 0,
              "total_deducted_amount_currency": "EUR"
            }
          }
        },
        "properties": {
          "id": {
            "type": "integer"
          },
          "order_id": {
            "type": "integer"
          },
          "product_variant_id": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "quantity": {
            "type": "string"
          },
          "price_cents": {
            "type": "integer"
          },
          "price_currency": {
            "type": "string"
          },
          "total_price_cents": {
            "type": "integer"
          },
          "total_price_currency": {
            "type": "string"
          },
          "created_at": {
            "type": "string"
          },
          "updated_at": {
            "type": "string"
          },
          "fulfilled_quantity": {
            "type": "string"
          },
          "pending_fulfilled_quantity": {
            "type": "string"
          },
          "total_discount_cents": {
            "type": "integer"
          },
          "total_discount_currency": {
            "type": "string"
          },
          "free_shipping": {
            "type": "boolean"
          },
          "product_price_id": {
            "type": "integer"
          },
          "deleted_at": {
            "type": "string"
          },
          "product_vintage_id": {
            "type": "integer"
          },
          "capsule_id": {
            "type": "integer"
          },
          "complement": {
            "type": "string"
          },
          "bottle_quantity": {
            "type": "string"
          },
          "manual_price_cents": {},
          "manual_price_currency": {
            "type": "string"
          },
          "product_label_id": {
            "type": "integer"
          },
          "final_price_cents": {
            "type": "integer"
          },
          "final_price_currency": {
            "type": "string"
          },
          "note": {
            "type": "string"
          },
          "price_with_tax_cents": {
            "type": "integer"
          },
          "price_with_tax_currency": {
            "type": "string"
          },
          "total_price_with_tax_cents": {
            "type": "integer"
          },
          "total_price_with_tax_currency": {
            "type": "string"
          },
          "final_price_with_tax_cents": {
            "type": "integer"
          },
          "final_price_with_tax_currency": {
            "type": "string"
          },
          "batch_id": {
            "type": "integer",
            "description": "Numéro de Lot"
          },
          "gross_margin_cents": {
            "type": "integer"
          },
          "gross_margin_currency": {
            "type": "string"
          },
          "manual_country_tax_id": {
            "type": "integer"
          },
          "vintage_complement": {
            "type": "string"
          },
          "capsule_kind": {
            "type": "string"
          },
          "primeured": {
            "type": "boolean"
          },
          "manual_tax_exempted": {
            "type": "boolean"
          },
          "accounting_tax": {
            "type": "string"
          },
          "product_variant": {
            "$ref": "#/components/schemas/ProductVariant"
          },
          "commission_line": {
            "$ref": "#/components/schemas/CommissionLine"
          }
        },
        "x-tags": [
          "Commandes"
        ]
      },
      "CommissionLine": {
        "title": "CommissionLine",
        "type": "object",
        "description": "Ligne de commission liée à une ligne de commande.",
        "properties": {
          "id": {
            "type": "integer"
          },
          "order_line_id": {
            "type": "integer"
          },
          "calculation_method": {
            "type": "string"
          },
          "rate": {
            "type": "string"
          },
          "discount_rate": {
            "type": "string"
          },
          "commission_price_cents": {
            "type": "integer"
          },
          "commission_price_currency": {
            "type": "string"
          },
          "discount_amount_cents": {
            "type": "integer"
          },
          "created_at": {
            "type": "string"
          },
          "updated_at": {
            "type": "string"
          },
          "original_rate": {
            "type": "string"
          },
          "discount_amount_with_tax_cents": {
            "type": "integer"
          },
          "discount_amount_with_tax_currency": {
            "type": "string"
          },
          "unit_deducted_amount_cents": {
            "type": "integer"
          },
          "unit_deducted_amount_currency": {
            "type": "string"
          },
          "total_deducted_amount_cents": {
            "type": "integer"
          },
          "total_deducted_amount_currency": {
            "type": "string"
          }
        },
        "x-examples": {
          "example": {
            "id": 225401,
            "order_line_id": 259104,
            "calculation_method": "relative",
            "rate": "0.0",
            "discount_rate": "0.0",
            "commission_price_cents": 0,
            "commission_price_currency": "EUR",
            "discount_amount_cents": 0,
            "discount_amount_currency": "EUR",
            "created_at": "2020-02-11T17:41:18.699+01:00",
            "updated_at": "2020-02-11T17:41:18.699+01:00",
            "original_rate": "0.0",
            "discount_amount_with_tax_cents": 0,
            "discount_amount_with_tax_currency": "EUR",
            "unit_deducted_amount_cents": 0,
            "unit_deducted_amount_currency": "EUR",
            "total_deducted_amount_cents": 0,
            "total_deducted_amount_currency": "EUR"
          }
        },
        "x-tags": [
          "Commandes"
        ]
      },
      "Payment": {
        "title": "Payment",
        "type": "object",
        "description": "Règlement ou remboursement client",
        "x-examples": {
          "example": {
            "id": 265265,
            "account_id": 128,
            "date": "2020-06-17",
            "customer_id": 151091,
            "amount_cents": 8000,
            "amount_currency": "EUR",
            "kind": "payment",
            "source_name": null,
            "source_reference": "",
            "created_at": "2020-06-17T09:04:44.519+02:00",
            "updated_at": "2020-06-17T09:04:44.631+02:00",
            "stripe": null,
            "refunded": null,
            "deleted_at": null,
            "refund_amount_cents": 0,
            "refund_amount_currency": "EUR",
            "accounted_at": null,
            "payment_source_id": 1052,
            "bank_name": "",
            "comment": "",
            "customer_name": null,
            "register_id": null,
            "not_associated_amount_cents": 0,
            "not_associated_amount_currency": "EUR",
            "payment_source": {
              "id": 1052,
              "account_id": 128,
              "custom_name": null,
              "handle": "credit_card",
              "displayed": true,
              "deletable": false,
              "deleted_at": null,
              "created_at": "2019-07-04T16:31:29.659+02:00",
              "updated_at": "2019-07-04T16:31:29.659+02:00",
              "website": false,
              "before_instruction": null,
              "after_instruction": null
            }
          }
        },
        "properties": {
          "id": {
            "type": "integer"
          },
          "account_id": {
            "type": "integer"
          },
          "date": {
            "type": "string"
          },
          "customer_id": {
            "type": "integer"
          },
          "amount_cents": {
            "type": "integer"
          },
          "amount_currency": {
            "type": "string"
          },
          "kind": {
            "type": "string",
            "enum": [
              "payment",
              "refund"
            ]
          },
          "source_name": {
            "type": "string"
          },
          "source_reference": {
            "type": "string"
          },
          "created_at": {
            "type": "string"
          },
          "updated_at": {
            "type": "string"
          },
          "stripe": {
            "type": "string"
          },
          "refunded": {
            "type": "boolean"
          },
          "deleted_at": {
            "type": "string"
          },
          "refund_amount_cents": {
            "type": "integer"
          },
          "refund_amount_currency": {
            "type": "string"
          },
          "accounted_at": {
            "type": "string",
            "description": "Date du passage en comptabilité"
          },
          "payment_source_id": {
            "type": "integer"
          },
          "bank_name": {
            "type": "string"
          },
          "comment": {
            "type": "string"
          },
          "customer_name": {
            "type": "string"
          },
          "register_id": {
            "type": "string"
          },
          "not_associated_amount_cents": {
            "type": "integer"
          },
          "not_associated_amount_currency": {
            "type": "string"
          },
          "payment_source": {
            "$ref": "#/components/schemas/PaymentSource"
          }
        },
        "x-tags": [
          "Paiements"
        ]
      },
      "PaymentLink": {
        "title": "PaymentLink",
        "type": "object",
        "x-tags": [
          "Paiements"
        ],
        "description": "Liaison entre un paiement et une commande ou une opération.",
        "x-examples": {
          "example": {
            "id": 266521,
            "payment_id": 265265,
            "parent_id": 319889,
            "parent_type": "Order",
            "amount_cents": 8000,
            "amount_currency": "EUR",
            "deleted_at": null,
            "created_at": "2020-06-17T09:04:44.563+02:00",
            "updated_at": "2020-06-17T09:04:59.792+02:00",
            "accounting_date": "2020-06-17",
            "payment": {
              "id": 265265,
              "account_id": 128,
              "date": "2020-06-17",
              "customer_id": 151091,
              "amount_cents": 8000,
              "amount_currency": "EUR",
              "kind": "payment",
              "source_name": null,
              "source_reference": "",
              "created_at": "2020-06-17T09:04:44.519+02:00",
              "updated_at": "2020-06-17T09:04:44.631+02:00",
              "stripe": null,
              "refunded": null,
              "deleted_at": null,
              "refund_amount_cents": 0,
              "refund_amount_currency": "EUR",
              "accounted_at": null,
              "payment_source_id": 1052,
              "bank_name": "",
              "comment": "",
              "customer_name": null,
              "register_id": null,
              "not_associated_amount_cents": 0,
              "not_associated_amount_currency": "EUR",
              "payment_source": {
                "id": 1052,
                "account_id": 128,
                "custom_name": null,
                "handle": "credit_card",
                "displayed": true,
                "deletable": false,
                "deleted_at": null,
                "created_at": "2019-07-04T16:31:29.659+02:00",
                "updated_at": "2019-07-04T16:31:29.659+02:00",
                "website": false,
                "before_instruction": null,
                "after_instruction": null
              }
            }
          }
        },
        "properties": {
          "id": {
            "type": "integer"
          },
          "payment_id": {
            "type": "integer"
          },
          "parent_id": {
            "type": "integer"
          },
          "parent_type": {
            "type": "string"
          },
          "amount_cents": {
            "type": "integer"
          },
          "amount_currency": {
            "type": "string"
          },
          "deleted_at": {
            "type": "string"
          },
          "created_at": {
            "type": "string"
          },
          "updated_at": {
            "type": "string"
          },
          "accounting_date": {
            "type": "string"
          },
          "payment": {
            "$ref": "#/components/schemas/Payment"
          }
        }
      },
      "Warehouse": {
        "title": "Warehouse",
        "type": "object",
        "description": "Modèle Entrepôt",
        "properties": {
          "id": {
            "type": "integer"
          },
          "account_id": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "created_at": {
            "type": "string"
          },
          "updated_at": {
            "type": "string"
          },
          "default": {
            "type": "boolean"
          },
          "excise_duty_suspended": {
            "type": "boolean"
          }
        },
        "x-examples": {
          "example": {
            "id": 638,
            "account_id": 520,
            "name": "Chai",
            "deleted_at": null,
            "created_at": "2020-01-15T09:56:13.202+01:00",
            "updated_at": "2020-01-15T09:56:13.202+01:00",
            "default": true,
            "excise_duty_suspended": true
          }
        },
        "x-tags": [
          "Entrepôts"
        ]
      },
      "FulfillmentLine": {
        "title": "FulfillmentLine",
        "type": "object",
        "description": "Line d'expédition",
        "properties": {
          "id": {
            "type": "integer"
          },
          "fulfillment_id": {
            "type": "integer"
          },
          "order_line_id": {
            "type": "integer"
          },
          "quantity": {
            "type": "string"
          },
          "created_at": {
            "type": "string"
          },
          "updated_at": {
            "type": "string"
          },
          "product_variant_id": {
            "type": "integer"
          },
          "product_label_id": {
            "type": "integer"
          },
          "capsule_id": {
            "type": "integer"
          },
          "batch_id": {
            "type": "integer"
          },
          "capsule_kind": {
            "type": "string"
          },
          "supplier_order_line_id": {
            "type": "integer"
          },
          "product_variant": {
            "$ref": "#/components/schemas/ProductVariant"
          }
        },
        "x-examples": {
          "example": {
            "id": 870846,
            "fulfillment_id": 312955,
            "order_line_id": 934486,
            "quantity": "6.0",
            "created_at": "2020-06-15T09:23:25.601+02:00",
            "updated_at": "2020-06-15T09:23:25.601+02:00",
            "product_variant_id": 17421,
            "product_label_id": null,
            "capsule_id": 233,
            "batch_id": null,
            "capsule_kind": null,
            "supplier_order_line_id": null,
            "product_variant": {
              "id": 17421,
              "product_size_id": 2,
              "sku": "TER-2018-75",
              "default_barcode": "",
              "created_at": "2020-05-29T15:07:32.715+02:00",
              "updated_at": "2020-06-09T17:01:10.105+02:00",
              "product_packaging_id": 836,
              "deleted_at": null,
              "product_label_id": null,
              "product_vintage_id": 13266,
              "nc8_code": "2204 21 80",
              "vinosoft_id": null,
              "net_weight": null,
              "tare": null,
              "functional_code": "",
              "cost_price_cents": 0,
              "cost_price_currency": "EUR",
              "marketable": true,
              "fulfillable": true,
              "capsule_id": null,
              "neutral_capsule_id": null,
              "sales_unit": 1,
              "cspc": "",
              "ttb_id": ""
            }
          }
        },
        "x-tags": [
          "Expéditions"
        ]
      },
      "Collection": {
        "title": "Collection",
        "type": "object",
        "description": "Liste de produits.",
        "properties": {
          "id": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "body": {
            "type": "string"
          },
          "handle": {
            "type": "string"
          },
          "products": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Product"
            }
          }
        },
        "x-tags": [
          "Produits"
        ]
      },
      "SalesAgentCategory": {
        "title": "SalesAgentCategory",
        "type": "object",
        "description": "Catégorie de représentant commercial.",
        "properties": {
          "id": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "commission_rate": {
            "type": "boolean"
          },
          "note": {
            "type": "string"
          },
          "payment_method": {
            "type": "string",
            "enum": [
              "payment_date",
              "order_date"
            ],
            "description": "Méthode de commissionnement"
          },
          "payment_periodicity": {
            "type": "string",
            "enum": [
              "monthly",
              "quarterly"
            ]
          },
          "statement_with_amount": {
            "type": "boolean"
          }
        },
        "required": [
          "name",
          "commission_rate",
          "payment_method",
          "payment_periodicity"
        ],
        "x-tags": [
          "Représentants"
        ]
      },
      "BankInformation": {
        "title": "BankInformation",
        "type": "object",
        "description": "Compte Bancaire",
        "properties": {
          "id": {
            "type": "integer"
          },
          "owner": {
            "type": "string"
          },
          "domiciliation": {
            "type": "string"
          },
          "iban": {
            "type": "string"
          },
          "bic": {
            "type": "string"
          },
          "rib": {
            "type": "string"
          },
          "primary": {
            "type": "boolean"
          }
        },
        "x-tags": [
          "Comptes bancaires"
        ]
      },
      "SalesAgent": {
        "title": "SalesAgent",
        "type": "object",
        "description": "Représentant commercial appartenant à une catégorie de représentant commercial",
        "properties": {
          "id": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "statement_note": {
            "type": "string"
          },
          "sales_agent_category": {
            "$ref": "#/components/schemas/SalesAgentCategory"
          },
          "bank_information": {
            "$ref": "#/components/schemas/BankInformation"
          },
          "billing_information": {
            "$ref": "#/components/schemas/BillingInformation"
          }
        },
        "x-tags": [
          "Représentants"
        ]
      },
      "CountryTax": {
        "description": "",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "code": {
            "type": "string",
            "minLength": 1
          },
          "tax_name": {
            "type": "string",
            "minLength": 1
          },
          "tax_type": {
            "type": "string",
            "minLength": 1
          },
          "tax_percentage": {
            "type": "string",
            "minLength": 1
          },
          "starts_at": {
            "type": "string",
            "minLength": 1
          },
          "ends_at": {
            "type": "string"
          },
          "deleted_at": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "minLength": 1
          },
          "updated_at": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "id",
          "code",
          "tax_name",
          "tax_type",
          "tax_percentage",
          "starts_at",
          "created_at",
          "updated_at"
        ],
        "x-examples": {
          "example-1": {
            "id": 22,
            "code": "AT",
            "tax_name": "TVA",
            "tax_type": "standard",
            "tax_percentage": "20.0",
            "starts_at": "1970-01-01",
            "ends_at": null,
            "deleted_at": null,
            "created_at": "2016-06-08T11:25:54.971+02:00",
            "updated_at": "2017-09-13T13:21:07.151+02:00"
          }
        },
        "title": "CountryTax",
        "x-tags": [
          "Taxes"
        ]
      },
      "AccountEvent": {
        "title": "AccountEvent",
        "type": "object",
        "description": "Événement du journal du compte.",
        "properties": {
          "id": {
            "type": "integer"
          },
          "account_id": {
            "type": "integer"
          },
          "topic": {
            "type": "string",
            "description": "Sujet de l'événement au format `<ressource>.<action>`, ex. `customer.created`, `order.invoiced`, `export.created`"
          },
          "resource_type": {
            "type": "string",
            "nullable": true
          },
          "resource_id": {
            "type": "integer",
            "nullable": true
          },
          "reference_type": {
            "type": "string",
            "nullable": true
          },
          "reference_id": {
            "type": "integer",
            "nullable": true
          },
          "customer_id": {
            "type": "integer",
            "nullable": true
          },
          "supplier_id": {
            "type": "integer",
            "nullable": true
          },
          "user_id": {
            "type": "integer",
            "nullable": true
          },
          "destroyed_resource_metadata": {
            "type": "object",
            "nullable": true,
            "description": "Données de la ressource supprimée, le cas échéant"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "x-tags": [
          "Événements"
        ]
      },
      "Market": {
        "title": "Market",
        "type": "object",
        "description": "Marché commercial.",
        "properties": {
          "id": {
            "type": "integer"
          },
          "account_id": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "parent_id": {
            "type": "integer",
            "nullable": true
          },
          "deleted_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "x-tags": [
          "Commandes"
        ]
      },
      "OrderCampaign": {
        "title": "OrderCampaign",
        "type": "object",
        "description": "Campagne de commandes.",
        "properties": {
          "id": {
            "type": "integer"
          },
          "account_id": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "price_grid_id": {
            "type": "integer",
            "nullable": true
          },
          "deleted_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "x-tags": [
          "Commandes"
        ]
      },
      "Register": {
        "title": "Register",
        "type": "object",
        "description": "Caisse (point de vente).",
        "properties": {
          "id": {
            "type": "integer"
          },
          "account_id": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "user_id": {
            "type": "integer",
            "nullable": true
          },
          "fulfillment_service_id": {
            "type": "integer",
            "nullable": true
          },
          "customer_category_id": {
            "type": "integer",
            "nullable": true
          },
          "products_filter": {
            "type": "boolean"
          },
          "prompt_customer_address": {
            "type": "boolean",
            "nullable": true
          },
          "quick_quantities_buttons": {
            "type": "boolean"
          },
          "use_destination_vat": {
            "type": "boolean"
          },
          "edit_customer_category": {
            "type": "boolean"
          },
          "edit_customer_tag": {
            "type": "boolean"
          },
          "keep_customer_price_grid": {
            "type": "boolean"
          },
          "deleted_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "x-tags": [
          "Caisses"
        ]
      },
      "CustomerNote": {
        "title": "CustomerNote",
        "type": "object",
        "description": "Note rattachée à un client (commentaire, appel, rendez-vous).",
        "properties": {
          "id": {
            "type": "integer"
          },
          "customer_id": {
            "type": "integer",
            "description": "ID du client"
          },
          "contact_id": {
            "type": "integer",
            "nullable": true,
            "description": "ID du contact du client concerné"
          },
          "user_id": {
            "type": "integer",
            "nullable": true,
            "description": "ID de l'utilisateur auteur de la note"
          },
          "kind": {
            "type": "string",
            "nullable": true,
            "enum": [
              "note",
              "phone",
              "appointment"
            ],
            "description": "Type de note : `note` (commentaire), `phone` (appel), `appointment` (rendez-vous)"
          },
          "body": {
            "type": "string",
            "nullable": true,
            "description": "Contenu de la note"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "x-tags": [
          "Clients"
        ]
      },
      "CustomerReminder": {
        "title": "CustomerReminder",
        "type": "object",
        "description": "Rappel (tâche à faire) rattaché à un client.",
        "properties": {
          "id": {
            "type": "integer"
          },
          "customer_id": {
            "type": "integer",
            "description": "ID du client"
          },
          "contact_id": {
            "type": "integer",
            "nullable": true,
            "description": "ID du contact du client concerné"
          },
          "user_id": {
            "type": "integer",
            "nullable": true,
            "description": "ID de l'utilisateur assigné au rappel"
          },
          "body": {
            "type": "string",
            "nullable": true,
            "description": "Contenu du rappel"
          },
          "due_date": {
            "type": "string",
            "format": "date",
            "description": "Date d'échéance"
          },
          "completed": {
            "type": "boolean",
            "description": "Rappel effectué ?"
          },
          "highlighted": {
            "type": "boolean",
            "description": "Rappel mis en avant ?"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "x-tags": [
          "Clients"
        ]
      },
      "PipelineStep": {
        "title": "PipelineStep",
        "type": "object",
        "description": "Étape d'un pipeline commercial.",
        "properties": {
          "id": {
            "type": "integer"
          },
          "name": {
            "type": "string",
            "description": "Nom de l'étape"
          },
          "kind": {
            "type": "string",
            "nullable": true,
            "description": "Type d'étape"
          },
          "position": {
            "type": "integer",
            "description": "Position de l'étape dans le pipeline (à partir de 1)"
          }
        },
        "x-tags": [
          "Clients"
        ]
      },
      "Pipeline": {
        "title": "Pipeline",
        "type": "object",
        "description": "Pipeline commercial : suite d'étapes que parcourent les clients.",
        "properties": {
          "id": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "steps": {
            "type": "array",
            "description": "Étapes non supprimées, triées par position",
            "items": {
              "$ref": "#/components/schemas/PipelineStep"
            }
          }
        },
        "x-tags": [
          "Clients"
        ]
      },
      "CustomerPipelineStep": {
        "title": "CustomerPipelineStep",
        "type": "object",
        "description": "Étape actuelle d'un client dans un pipeline.",
        "properties": {
          "id": {
            "type": "integer"
          },
          "name": {
            "type": "string",
            "description": "Nom de l'étape"
          },
          "kind": {
            "type": "string",
            "nullable": true,
            "description": "Type d'étape"
          },
          "position": {
            "type": "integer",
            "description": "Position de l'étape dans le pipeline (à partir de 1)"
          },
          "entered_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "description": "Date d'entrée du client dans l'étape"
          },
          "pipeline": {
            "type": "object",
            "description": "Pipeline de l'étape",
            "properties": {
              "id": {
                "type": "integer"
              },
              "name": {
                "type": "string"
              }
            }
          }
        },
        "x-tags": [
          "Clients"
        ]
      },
      "OrderTag": {
        "title": "OrderTag",
        "type": "object",
        "description": "Tag de commande.",
        "properties": {
          "id": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          }
        }
      },
      "CustomerTag": {
        "title": "CustomerTag",
        "type": "object",
        "description": "Tag de client.",
        "properties": {
          "id": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          }
        }
      },
      "OrderAccountEvent": {
        "title": "OrderAccountEvent",
        "type": "object",
        "description": "Événement de l'historique d'une commande, avec le détail de la note pour les commentaires.",
        "properties": {
          "id": {
            "type": "integer"
          },
          "topic": {
            "type": "string",
            "description": "Sujet de l'événement au format `<ressource>.<action>`, ex. `order.validated`, `customer_note.created`, `fulfillment.created`"
          },
          "resource_type": {
            "type": "string",
            "nullable": true,
            "description": "Type de la ressource concernée, ex. `Order`, `Fulfillment`, `CustomerNote`"
          },
          "resource_id": {
            "type": "integer",
            "nullable": true
          },
          "reference_type": {
            "type": "string",
            "nullable": true,
            "description": "Type de l'objet auquel l'événement est rattaché, ex. `Order` pour un commentaire saisi sur la commande"
          },
          "reference_id": {
            "type": "integer",
            "nullable": true
          },
          "customer_id": {
            "type": "integer",
            "nullable": true
          },
          "user_id": {
            "type": "integer",
            "nullable": true,
            "description": "ID de l'utilisateur à l'origine de l'événement"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "customer_note": {
            "type": "object",
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/CustomerNote"
              }
            ],
            "description": "Détail de la note pour les événements de commentaire (`resource_type` = `CustomerNote`). `null` pour les autres événements et pour les notes supprimées."
          }
        },
        "x-tags": [
          "Commandes"
        ]
      }
    },
    "securitySchemes": {
      "Basic": {
        "type": "http",
        "scheme": "basic",
        "description": ""
      }
    }
  },
  "security": [
    {
      "Authentification basique par login et mot de passe.": []
    }
  ],
  "tags": [
    {
      "name": "Commandes"
    },
    {
      "name": "Paiements"
    },
    {
      "name": "Comptabilité"
    },
    {
      "name": "Capsules"
    },
    {
      "name": "Produits"
    },
    {
      "name": "Conditionnements"
    },
    {
      "name": "Comptes bancaires"
    },
    {
      "name": "Représentants"
    }
  ]
}