Créer une demande d'enrôlement
Toutes les informations du vendeur sont prêtes ? Envoyez-les nous simplement par la requête :
POST/registrations/registrations_create
Les éléments transmis font l'objet d'un premier contrôle formel avant soumission au service de
conformité. Les erreurs sont signalées par un code retour 400 accompagné d'un message explicatif.
Exemple de corps minimal de requête pour l'enrôlement d'une personne morale :
POST https://secure.lyra.com/marketplace/v1/registrations/
{"uuid": "354e6fd2-2568-4147-8b37-43acd6dc4881", "seller": null, "href": "https://secure.lyra.com/marketplace/registrations/354e6fd2-2568-4147-8b37-43acd6dc4881", "created_at": "2023-10-09T14:19:24.130103Z", "updated_at": "2023-10-09T14:19:30.181710Z", "marketplace": "467ca516-da10-4744-9f8b-8f62f5965e2d", "person_type": "PM", "name": "Acme Corporation", "description": "Description du vendeur", "vat_number": "FR62881075493", "address": { "country": "FR" }, "board": [ { "role": "LEGAL_REP", "title": "MR", "first_name": "Thomas", "last_name": "Durand", "birth_date": "1949-09-17", "birth_city": "BONEVOIX", "nationality": "FR", "address": { "country": "FR" } } ], "activities": [ { "name": "Acme Tennis Ball", "siret": "99556699889944" } ], "ibans": [ { "currencies": ["EUR", "CHF"], "iban": "FR7630004000031234567890143" } ] }
Exemple de corps minimal de réponse pour l'enrôlement d'une personne physique
{ "marketplace": "467ca516-da10-4744-9f8b-8f62f5965e2d", "name": "BD EURL", "person_type": "PP", "title": "MR", "first_name": "Bastien", "last_name": "Durant", "description": "Boutique de Bastien Durant", "vat_number": "FR62881075493", "address": { "country": "FR" }, "board": [ { "title": "MR", "email": "bd@eurl.com", "first_name": "Bastien", "last_name": "Durant", "birth_date": "1985-08-03", "birth_city": "FOIX", "nationality": "FR", "role": "LEGAL_REP", "address": { "country": "FR" } } ], "activities": [ { "name": "BD Conseils", "siret": "88107549300018" } ], "ibans": [ { "currencies": ["EUR"], "iban": "FR7630004000031234567890143" } ] }