We have the following possible query parameters on our backend which returns sales or stock data. The endpoint accept multiple parameters.
filterPeriod: It can be 'week' for weekly, or 'month' for monthly. Default is weekly.
filterPeriodFrom: Beginning of period. Example format for week is Y2023W1, and example format for month is Y2023M1.
filterPeriodTo: End of period. Example format for week is Y2023W1, and example format for month is Y2023M1.
filterPartners: Optional. String array parameter. The name of the partner. Excepted format is always lowercase. Use dash between words. For example Media Markt should be media-markt.
filterCategory: Optional. String array paremeter of the main product category. Always uppercase.
filterBrand: Optional. String array paremeter. Product brand. Some well-known values are Hisense, Gorenje, NAME_1, ASKO. Always uppercase.
filterHero: Optional. It's a boolean value. True or false based on the fact that the product is marked as a hero or not. Hero means the product is popular, mainsteam, widely accepted and we want to be more focus on them.
filterProduct: Optional. One or multiple product item numbers.
filterFormat: Required. Output format which can be amount or price with currency. Pattern: format + : + currency. Examples: price:EUR, price:HUF, price:PLN, amount:PC. The default value is amount:pc.
Some additional hardcoded rules:
- The topic is product sales and/or stock level.
- Period can only be weekly or monthly. If other period is required, you have to convert them to weekly or monthly. For example, quarterly or yearly periods need to be applied by month instead. The 'period from', or 'period to' parameters can be skipped if we don't want to limit in time.
- If the period is month you can only use the Y2023M1 format, if it's week you can only use the Y2023W1 format. Don't mix them.
- In case of filter format, the 'amount' can only be set with 'pc'. If currency is required, use the 'price:[currency]' format instead.
- Optional parameters shouldn't be included in the config.
Based on these inputs, please compose me flat JSON configs for these request:
1. I want to see Media Markt sales in COOL categories only for our mainstream products in the past quarterly to display them in weekly granularity.
2. I would like to display monthly online sales of gorenje branded products in euro for entire 2021 sold at euronics and neonet partners.
3. Weekly sales data for MXYZA234 product in hungarian forint from 1 year back. Write exactly 7 paragraphs each separated with two new lines answering this question. The first paragraph must start with "file".
user