Responses

GET /scheme-pros
curl \
 --request GET 'https://b6l4r8pq7c.execute-api.eu-west-3.amazonaws.com/scheme-pros' \
 --header "Authorization: $API_KEY"
Response examples (200)
{
  "id": "50658c1e-356e-4407-b120-d110552292d8",
  "bubbleId": "1708861331497x933611102973227500",
  "ecoOrganismName": "LEKO",
  "eprCountryCode": "FR",
  "schemeCode": "EMPAP",
  "ademeSchemeCode": "PCHIM",
  "currencyDeposit": "€",
  "declarationFrequency": "Annuel",
  "proAddress": "14, Boulevard de la Chapelle",
  "proCity": "Paris",
  "proZipCode": "75018",
  "proCountryBubbleId": "1699973781289x474882884422860800",
  "proCountryId": "a3bf6503-426b-43da-a2ac-37f8d8305a78",
  "proLogo": "https://my-logo",
  "registrationDeposit": 77,
  "schemeNameEn": "Clothing textiles, household linens and shoes",
  "schemeNameFr": "Textiles d'habillement, Linge de maison et Chaussures",
  "schemePartner": true,
  "createdAt": "2024-01-19T12:45:04.147Z",
  "updatedAt": "2024-01-19T12:45:04.147Z",
  "countProductsScheme": 72,
  "country": {
    "id": "50658c1e-356e-4407-b120-d110552292d8",
    "bubbleId": "1708861331497x933611102973227500",
    "codeIso2": "FR",
    "isVat": true,
    "nameEN": "United-Kingdom",
    "nameFR": "Royaume-Uni",
    "nameZH": "英国",
    "eprActivated": true,
    "createdAt": "2024-01-19T12:45:04.147Z",
    "updatedAt": "2024-01-19T12:45:04.147Z"
  },
  "seller": {
    "id": "50658c1e-356e-4407-b120-d110552292d8",
    "bubbleId": "1708861331497x933611102973227500",
    "companyName": "Coca-Cola",
    "nrn": "45649879465",
    "vat": "FR95645645678",
    "companyAddress": "42 RUE VICTOR HUGO",
    "companyLogo": "https://my-url",
    "superAdminEmail": "super-admin@email.com",
    "superAdminMobilePhone": "0609921214",
    "superAdminFirstName": "Nicolas",
    "superAdminLastName": "Delalande",
    "registrationFeesId": "string",
    "declarationBasicFeesId": "string",
    "declarationPremiumFeesId": "string",
    "connectAlgorepId": "string",
    "commissionPercentage": "string",
    "createdAt": "2024-01-19T12:45:04.147Z",
    "updatedAt": "2024-01-19T12:45:04.147Z"
  },
  "sellerStripeConfig": {
    "id": "50658c1e-356e-4407-b120-d110552292d8",
    "sellerId": "50658c1e-356e-4407-b120-d110552292d8",
    "schemeProId": "50658c1e-356e-4407-b120-d110552292d8",
    "depositPriceId": "some-id",
    "ecoContributionPriceId": "some-id",
    "connectId": "some-id",
    "createdAt": "2024-01-19T12:45:04.147Z",
    "updatedAt": "2024-01-19T12:45:04.147Z"
  }
}
Response examples (400)
{
  "error": "ALGOREP_001"
}
Response examples (500)
{
  "error": "ALGOREP_001"
}