meta { name: 04 Create type: http seq: 4 } post { url: {{baseUrl}}/api/v1/clients body: json auth: inherit } body:json { { "name": "Boulangerie Martin SARL", "email": "compta@martin.fr", "phone": "06 12 34 56 78", "siret": "12345678901234", "notes": "Bon payeur historique" } } script:post-response { if (res.getStatus() === 201) { bru.setEnvVar("clientId", res.getBody().data.id); } } tests { test("201 Created", function () { expect(res.getStatus()).to.equal(201); }); test("clientId saved to env", function () { expect(bru.getEnvVar("clientId")).to.not.be.empty; }); } docs { POST /api/v1/clients Création manuelle. Email **requis** (pivot produit). SIRET = 14 chiffres exactement si fourni. Capture `clientId` dans l'env pour les requêtes suivantes (détail, update, création de facture). }