PATCH /company/{uid}/domain-confirm

Confirme la vérification du domaine personnalisé pour l'entreprise.

Prérequis:

  • Un email de confirmation a été envoyé via /send-domain-confirm
  • L'utilisateur doit cliquer sur le lien de confirmation

Comportement:

  • Marque le domaine comme vérifié
  • Active les fonctionnalités liées au domaine personnalisé (envoi d'emails, etc.)

Path parameters

  • uid string Required

    Identifiant unique de l'entreprise

Responses

  • 200 application/json

    Domaine confirmé avec succès

    Hide response attributes Show response attributes object
    • company object
      Hide company attributes Show company attributes object
      • _id string

        Unique identifier for the company

      • name string

        Name of the company

      • url string

        Unique URL identifier for the company

      • siren string

        SIREN number

      • siret string

        SIRET number

      • tva_number string

        VAT number

      • naf_ape string

        NAF/APE code

      • nic string

        NIC code

      • num_rcs string

        RCS registration number

      • num_trade_directory string

        Trade directory number

      • commercial_court string

        Commercial court

      • share_capital number

        Share capital amount

      • company_type string

        Reference to company type

      • company_type_name string

        Name of the company type

      • email string

        Company email

      • emailExpeditor string

        Email used as sender for communications

      • domain string

        Company domain

      • website string

        Company website URL

      • addresses array[object]

        List of company addresses

        Hide addresses attributes Show addresses attributes object
        • street string

          Street address

        • street_end string

          Additional street address information

        • zip_code string

          Zip code

        • city string

          City

        • country string

          Country

      • phones array[object]

        List of company phone numbers

        Hide phones attributes Show phones attributes object
        • type string

          Type of phone number

        • number string

          Phone number

        • main boolean

          Whether this is the main phone number

        • active boolean

          Whether this phone number is active

      • mobiles array[object]

        List of company mobile numbers

        Hide mobiles attributes Show mobiles attributes object
        • type string

          Type of mobile number

        • number string

          Mobile number

        • main boolean

          Whether this is the main mobile number

        • active boolean

          Whether this mobile number is active

      • cgv string

        Terms and conditions text

      • cgv_wuro boolean

        Whether to use Wuro's terms and conditions

      • company_include_cgv boolean

        Whether to include terms and conditions in documents

      • company_include_cgv_physical boolean

        Whether to include physical terms and conditions in documents

      • payment_delay_default number

        Default payment delay in days

      • validity_delay_default number

        Default validity delay for quotes in days

      • rate_late_penalties number

        Late payment penalty rate

      • state string

        State of the company

        Values are active, inactive, or deleted.

      • createdAt string(date-time)

        Date when the company was created

      • updatedAt string(date-time)

        Date when the company was last updated

    • companyApp object
      Hide companyApp attributes Show companyApp attributes object
      • _id string

        Unique identifier for the company app

      • company string

        Reference to the company

      • containerId string

        Container ID for storage

      • containerSize number

        Size of the container

      • containerPrivateId string

        Private container ID for storage

      • containerPrivateSize number

        Size of the private container

      • nbMailsSent number

        Number of emails sent

      • options object

        Company options

        Hide options attributes Show options attributes object
        • api boolean

          Whether API access is enabled

        • fec boolean

          Whether FEC export is enabled

      • domainVerify string

        Domain verification status

        Values are waiting, verify, or none.

      • nbCreatedInvoices number

        Number of invoices created

      • nbCreatedQuotes number

        Number of quotes created

      • nbCreatedReceipts number

        Number of receipts created

      • versionPackActive string

        Reference to active version pack

      • versions array[string]

        List of version references

      • subscribedSince string(date-time)

        Date when the company subscribed

      • stripeCustomerId object
        Hide stripeCustomerId attributes Show stripeCustomerId attributes object
        • prod string

          Production Stripe customer ID

        • preprod string

          Pre-production Stripe customer ID

        • dev string

          Development Stripe customer ID

      • createdAt string(date-time)

        Date when the company app was created

      • updatedAt string(date-time)

        Date when the company app was last updated

  • 400

    Requête invalide - La vérification du domaine a échoué

  • 403

    Non autorisé - Droits insuffisants pour confirmer le domaine

  • 404

    Entreprise non trouvée

PATCH /company/{uid}/domain-confirm
curl \
 --request PATCH 'https://wuro.pro/api/v3.2/company/{uid}/domain-confirm' \
 --header "X-APP-ID: $API_KEY" \
 --header "X-APP-SECRET: $API_KEY"
Response examples (200)
{
  "company": {
    "_id": "string",
    "name": "string",
    "url": "string",
    "siren": "string",
    "siret": "string",
    "tva_number": "string",
    "naf_ape": "string",
    "nic": "string",
    "num_rcs": "string",
    "num_trade_directory": "string",
    "commercial_court": "string",
    "share_capital": 42.0,
    "company_type": "string",
    "company_type_name": "string",
    "email": "string",
    "emailExpeditor": "string",
    "domain": "string",
    "website": "string",
    "logo": "string",
    "addresses": [
      {
        "street": "string",
        "street_end": "string",
        "zip_code": "string",
        "city": "string",
        "country": "string"
      }
    ],
    "phones": [
      {
        "type": "string",
        "number": "string",
        "main": true,
        "active": true
      }
    ],
    "mobiles": [
      {
        "type": "string",
        "number": "string",
        "main": true,
        "active": true
      }
    ],
    "cgv": "string",
    "cgv_link": "string",
    "cgv_wuro": true,
    "company_include_cgv": true,
    "company_include_cgv_physical": true,
    "payment_delay_default": 42.0,
    "validity_delay_default": 42.0,
    "rate_late_penalties": 42.0,
    "state": "active",
    "createdAt": "2025-05-04T09:42:00Z",
    "updatedAt": "2025-05-04T09:42:00Z"
  },
  "companyApp": {
    "_id": "string",
    "company": "string",
    "containerId": "string",
    "containerSize": 42.0,
    "containerPrivateId": "string",
    "containerPrivateSize": 42.0,
    "nbMailsSent": 42.0,
    "options": {
      "api": true,
      "fec": true
    },
    "domainVerify": "waiting",
    "nbCreatedInvoices": 42.0,
    "nbCreatedQuotes": 42.0,
    "nbCreatedReceipts": 42.0,
    "versionPackActive": "string",
    "versions": [
      "string"
    ],
    "subscribedSince": "2025-05-04T09:42:00Z",
    "stripeCustomerId": {
      "prod": "string",
      "preprod": "string",
      "dev": "string"
    },
    "createdAt": "2025-05-04T09:42:00Z",
    "updatedAt": "2025-05-04T09:42:00Z"
  }
}