Fetch Summary For Given Producer

GET /producers/{ProducerNrn}/summary

Path parameters

Query parameters

Responses

GET /producers/{ProducerNrn}/summary
curl \
 --request GET 'https://b6l4r8pq7c.execute-api.eu-west-3.amazonaws.com/producers/34368801600504/summary?DeclarationPeriodCode=2023&EprCountryCode=FR' \
 --header "Authorization: $API_KEY"
Response examples (200)
{
  "countTotalRegistrations": 42,
  "countRegistrationWithUin": 4,
  "countTotalProducts": 5642,
  "totalQuantity": 898756,
  "totalEcoContributionAmount": 1222.54,
  "declarationDeadline": "2024-01-19T12:45:04.147Z",
  "declarationCompletedAt": "2024-01-19T12:45:04.147Z",
  "registrations": [
    {
      "id": "50658c1e-356e-4407-b120-d110552292d8",
      "bubbleId": "1708861331497x933611102973227500",
      "producerBubbleId": "1708861331497x933611102973227500",
      "producerId": "50658c1e-356e-4407-b120-d110552292d8",
      "schemeProBubbleId": "1708861331497x933611102973227500",
      "schemeProId": "50658c1e-356e-4407-b120-d110552292d8",
      "uin": "5raeztrytegrfezrgtrhytuy",
      "proMemberId": "AGJYRTYH987",
      "status": "4 - PendingPro",
      "schemeDepositAmount": 42,
      "isExternalRegistration": false,
      "uinReceivedAt": "2024-01-19T12:45:04.147Z",
      "registrationSentToProAt": "2024-01-19T12:45:04.147Z",
      "createdAt": "2024-01-19T12:45:04.147Z",
      "updatedAt": "2024-01-19T12:45:04.147Z",
      "schemePro": {
        "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"
        }
      },
      "countProductsScheme": 72,
      "totalQuantityScheme": 654,
      "totalAmountScheme": 72522.45,
      "producerPaidAt": "2024-01-19T12:45:04.147Z"
    }
  ]
}
Response examples (400)
{
  "error": "ALGOREP_001"
}
Response examples (500)
{
  "error": "ALGOREP_001"
}