{
 "openapi": "3.0.1",
 "info": {
  "title": "Oferty Allegro API",
  "version": "2026-10-08",
  "description": "Wystawianie i zarządzanie ofertami Allegro na podstawie produktów z PIM.\n\nAdres bazowy: `https://{instancja}-sales-offers-allegro-api.enterprise.sellrocket.pl` — `{instancja}` to nazwa Twojej instancji Sellrocket, którą otrzymasz przy jej uruchomieniu.\n\nWszystkie żądania wymagają nagłówka `Authorization: Bearer <token>` — zobacz [Uwierzytelnianie](../../start/uwierzytelnianie/).\n\n**Specyfikacja OpenAPI:** [oferty-allegro.json](../../specs/oferty-allegro.json) — do importu w Postmanie/Insomnii lub generowania klienta."
 },
 "servers": [
  {
   "url": "https://{instancja}-sales-offers-allegro-api.enterprise.sellrocket.pl",
   "variables": {
    "instancja": {
     "default": "twoja-instancja",
     "description": "Nazwa Twojej instancji Sellrocket"
    }
   }
  }
 ],
 "tags": [
  {
   "name": "Połączenia"
  },
  {
   "name": "Produkty"
  },
  {
   "name": "Kategorie"
  },
  {
   "name": "Oferty"
  },
  {
   "name": "Produkt ↔ oferta"
  },
  {
   "name": "Operacje na ofertach"
  },
  {
   "name": "Historia ofert"
  },
  {
   "name": "Historia wznowień"
  },
  {
   "name": "Szablony aukcji"
  },
  {
   "name": "Parametry kategorii"
  },
  {
   "name": "Reguły parametrów"
  },
  {
   "name": "Cenniki dostaw"
  },
  {
   "name": "Promocje"
  },
  {
   "name": "Osoby odpowiedzialne (GPSR)"
  },
  {
   "name": "Filtry ofert"
  },
  {
   "name": "Zapisane filtry ofert"
  },
  {
   "name": "Produkty z PIM"
  },
  {
   "name": "Import zaplanowany"
  },
  {
   "name": "Ustawienia domyślne"
  },
  {
   "name": "Ustawienia podatkowe"
  },
  {
   "name": "Synchronizacja"
  }
 ],
 "paths": {
  "/api/AuctionTemplates/DeleteAuctionTemplate/{templateId}": {
   "delete": {
    "tags": [
     "Szablony aukcji"
    ],
    "parameters": [
     {
      "name": "templateId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK"
     }
    },
    "operationId": "delete-auctiontemplates-deleteauctiontemplate-templateid",
    "summary": "Usuń szablon oferty"
   }
  },
  "/api/AuctionTemplates/GetAuctionTemplate/{templateId}": {
   "get": {
    "tags": [
     "Szablony aukcji"
    ],
    "parameters": [
     {
      "name": "templateId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/GetAuctionTemplateResponseDto"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/GetAuctionTemplateResponseDto"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/GetAuctionTemplateResponseDto"
        }
       }
      }
     },
     "204": {
      "description": "No Content"
     }
    },
    "operationId": "get-auctiontemplates-getauctiontemplate-templateid",
    "summary": "Pobierz szablon oferty"
   }
  },
  "/api/AuctionTemplates/GetAuctionTemplates": {
   "get": {
    "tags": [
     "Szablony aukcji"
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/GetAuctionTemplateResponseDto"
         }
        }
       },
       "application/json": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/GetAuctionTemplateResponseDto"
         }
        }
       },
       "text/json": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/GetAuctionTemplateResponseDto"
         }
        }
       }
      }
     }
    },
    "operationId": "get-auctiontemplates-getauctiontemplates",
    "summary": "Pobierz listę szablonów ofert",
    "description": "Zwraca szablony opisów i ustawień ofert Allegro – odpowiednik szablonów aukcji w BaseLinkerze."
   }
  },
  "/api/AuctionTemplates/SetAuctionTemplate": {
   "post": {
    "tags": [
     "Szablony aukcji"
    ],
    "requestBody": {
     "content": {
      "multipart/form-data": {
       "schema": {
        "type": "object",
        "properties": {
         "TemplateId": {
          "type": "integer",
          "format": "int32"
         },
         "Name": {
          "type": "string"
         },
         "HtmlValue": {
          "type": "string"
         },
         "DefaultReturnsPolicyId": {
          "type": "string"
         },
         "ReturnsPolicyConnectionId": {
          "type": "string"
         },
         "DefaultUserWarrantyId": {
          "type": "string"
         },
         "UserWarrantyConnectionId": {
          "type": "string"
         },
         "DefaultImpliedWarrantyId": {
          "type": "string"
         },
         "ImpliedWarrantyConnectionId": {
          "type": "string"
         },
         "TemplateImages": {
          "type": "array",
          "items": {
           "$ref": "#/components/schemas/UpdateImageRequest"
          }
         },
         "ParentTemplateId": {
          "type": "integer",
          "format": "int32"
         }
        }
       },
       "encoding": {
        "TemplateId": {
         "style": "form"
        },
        "Name": {
         "style": "form"
        },
        "HtmlValue": {
         "style": "form"
        },
        "DefaultReturnsPolicyId": {
         "style": "form"
        },
        "ReturnsPolicyConnectionId": {
         "style": "form"
        },
        "DefaultUserWarrantyId": {
         "style": "form"
        },
        "UserWarrantyConnectionId": {
         "style": "form"
        },
        "DefaultImpliedWarrantyId": {
         "style": "form"
        },
        "ImpliedWarrantyConnectionId": {
         "style": "form"
        },
        "TemplateImages": {
         "style": "form"
        },
        "ParentTemplateId": {
         "style": "form"
        }
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK"
     }
    },
    "operationId": "post-auctiontemplates-setauctiontemplate",
    "summary": "Zapisz szablon oferty",
    "description": "Tworzy lub aktualizuje szablon oferty Allegro."
   }
  },
  "/api/Categories/GetCategoryByAllegroId": {
   "get": {
    "tags": [
     "Kategorie"
    ],
    "parameters": [
     {
      "name": "allegroCategoryId",
      "in": "query",
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/CategoryResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/CategoryResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/CategoryResponse"
        }
       }
      }
     },
     "404": {
      "description": "Not Found",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       }
      }
     }
    },
    "operationId": "get-categories-getcategorybyallegroid",
    "summary": "Pobierz kategorię Allegro po identyfikatorze"
   }
  },
  "/api/Categories/GetCategoryTree": {
   "get": {
    "tags": [
     "Kategorie"
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/CategoryTreeResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/CategoryTreeResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/CategoryTreeResponse"
        }
       }
      }
     },
     "404": {
      "description": "Not Found",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       }
      }
     }
    },
    "operationId": "get-categories-getcategorytree",
    "summary": "Pobierz drzewo kategorii Allegro"
   }
  },
  "/api/Categories/GetFavourites": {
   "get": {
    "tags": [
     "Kategorie"
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/CategoriesResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/CategoriesResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/CategoriesResponse"
        }
       }
      }
     }
    },
    "operationId": "get-categories-getfavourites",
    "summary": "Pobierz ulubione kategorie Allegro"
   }
  },
  "/api/Categories/Search": {
   "get": {
    "tags": [
     "Kategorie"
    ],
    "parameters": [
     {
      "name": "searchTerm",
      "in": "query",
      "description": "Id, name (or part of a name) of an Allegro category.",
      "schema": {
       "type": "string",
       "description": "Id, name (or part of a name) of an Allegro category."
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/CategoriesResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/CategoriesResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/CategoriesResponse"
        }
       }
      }
     }
    },
    "operationId": "get-categories-search",
    "summary": "Wyszukaj kategorie Allegro",
    "description": "Wyszukuje kategorie Allegro po frazie."
   }
  },
  "/api/Categories/SetFavouriteCategory": {
   "put": {
    "tags": [
     "Kategorie"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/SetFavouriteCategoryRequest"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/SetFavouriteCategoryRequest"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/SetFavouriteCategoryRequest"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK"
     }
    },
    "operationId": "put-categories-setfavouritecategory",
    "summary": "Oznacz kategorię jako ulubioną",
    "description": "Dodaje kategorię do ulubionych lub ją z nich usuwa. Używane głównie przez panel Sellrocket."
   }
  },
  "/api/CategoryParameters/GetFromCategories": {
   "post": {
    "tags": [
     "Parametry kategorii"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/GetParametersFromCategoriesRequest"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/GetParametersFromCategoriesRequest"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/GetParametersFromCategoriesRequest"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/CategoryParametersResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/CategoryParametersResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/CategoryParametersResponse"
        }
       }
      }
     }
    },
    "operationId": "post-categoryparameters-getfromcategories",
    "summary": "Pobierz parametry dla wielu kategorii",
    "description": "Zwraca parametry ofert dla podanych kategorii Allegro – operacja odczytu."
   }
  },
  "/api/CategoryParameters/GetWithDictionaryValues": {
   "get": {
    "tags": [
     "Parametry kategorii"
    ],
    "parameters": [
     {
      "name": "ParameterId",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "CategoryId",
      "in": "query",
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/CategoryParameterResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/CategoryParameterResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/CategoryParameterResponse"
        }
       }
      }
     }
    },
    "operationId": "get-categoryparameters-getwithdictionaryvalues",
    "summary": "Pobierz parametr kategorii z wartościami",
    "description": "Zwraca parametr kategorii wraz z listą dozwolonych wartości słownikowych."
   }
  },
  "/api/CategoryParameters/Search": {
   "get": {
    "tags": [
     "Parametry kategorii"
    ],
    "parameters": [
     {
      "name": "SearchTerm",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "FavouriteCategoryId",
      "in": "query",
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/CategoryParametersResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/CategoryParametersResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/CategoryParametersResponse"
        }
       }
      }
     }
    },
    "operationId": "get-categoryparameters-search",
    "summary": "Wyszukaj parametry kategorii"
   }
  },
  "/api/Connections/GetAllConnections": {
   "get": {
    "tags": [
     "Połączenia"
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/GetConnectionsResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/GetConnectionsResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/GetConnectionsResponse"
        }
       }
      }
     }
    },
    "operationId": "get-connections-getallconnections",
    "summary": "Pobierz listę kont Allegro",
    "description": "Zwraca połączone konta Allegro wraz z ustawieniami modułu ofert."
   }
  },
  "/api/Connections/GetConnection/{connectionId}": {
   "get": {
    "tags": [
     "Połączenia"
    ],
    "parameters": [
     {
      "name": "connectionId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ConnectionResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ConnectionResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ConnectionResponse"
        }
       }
      }
     },
     "404": {
      "description": "Not Found",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       }
      }
     }
    },
    "operationId": "get-connections-getconnection-connectionid",
    "summary": "Pobierz konto Allegro"
   }
  },
  "/api/Connections/PrepareConnection": {
   "post": {
    "tags": [
     "Połączenia"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/PrepareConnectionRequest"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/PrepareConnectionRequest"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/PrepareConnectionRequest"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ConnectionResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ConnectionResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ConnectionResponse"
        }
       }
      }
     },
     "404": {
      "description": "Not Found",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       }
      }
     }
    },
    "operationId": "post-connections-prepareconnection",
    "summary": "Przygotuj konto Allegro do obsługi ofert",
    "description": "Inicjalizuje moduł ofert dla połączonego konta Allegro."
   }
  },
  "/api/Connections/SetKeepOfferHistory": {
   "post": {
    "tags": [
     "Połączenia"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/SetKeepOfferHistoryRequest"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/SetKeepOfferHistoryRequest"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/SetKeepOfferHistoryRequest"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK"
     }
    },
    "operationId": "post-connections-setkeepofferhistory",
    "summary": "Włącz lub wyłącz historię zmian ofert",
    "description": "Określa, czy dla konta mają być zapisywane zmiany w ofertach."
   }
  },
  "/api/Connections/UpdateAuctionSettings": {
   "patch": {
    "tags": [
     "Połączenia"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/UpdateAuctionSettingsRequest"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/UpdateAuctionSettingsRequest"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/UpdateAuctionSettingsRequest"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "type": "boolean"
        }
       },
       "application/json": {
        "schema": {
         "type": "boolean"
        }
       },
       "text/json": {
        "schema": {
         "type": "boolean"
        }
       }
      }
     },
     "400": {
      "description": "Bad Request",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       }
      }
     }
    },
    "operationId": "patch-connections-updateauctionsettings",
    "summary": "Zaktualizuj ustawienia ofert konta"
   }
  },
  "/api/DefaultSettings/GetDefaultSettings": {
   "get": {
    "tags": [
     "Ustawienia domyślne"
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/GetDefaultSettingsResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/GetDefaultSettingsResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/GetDefaultSettingsResponse"
        }
       }
      }
     }
    },
    "operationId": "get-defaultsettings-getdefaultsettings",
    "summary": "Pobierz domyślne ustawienia ofert",
    "description": "Zwraca wartości domyślne stosowane przy wystawianiu nowych ofert."
   }
  },
  "/api/DefaultSettings/UpdateDefaultSettings": {
   "put": {
    "tags": [
     "Ustawienia domyślne"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/UpdateDefaultSettingsRequest"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/UpdateDefaultSettingsRequest"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/UpdateDefaultSettingsRequest"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "type": "boolean"
        }
       },
       "application/json": {
        "schema": {
         "type": "boolean"
        }
       },
       "text/json": {
        "schema": {
         "type": "boolean"
        }
       }
      }
     }
    },
    "operationId": "put-defaultsettings-updatedefaultsettings",
    "summary": "Zaktualizuj domyślne ustawienia ofert"
   }
  },
  "/api/Delivery/DeleteShippingRate": {
   "delete": {
    "tags": [
     "Cenniki dostaw"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/DeleteShippingRateRequest"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/DeleteShippingRateRequest"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/DeleteShippingRateRequest"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/DeleteShippingRateResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DeleteShippingRateResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/DeleteShippingRateResponse"
        }
       }
      }
     }
    },
    "operationId": "delete-delivery-deleteshippingrate",
    "summary": "Usuń cennik dostawy"
   }
  },
  "/api/Delivery/FetchConnectionShippingRates": {
   "patch": {
    "tags": [
     "Cenniki dostaw"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/FetchConnectionShippingRatesRequest"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/FetchConnectionShippingRatesRequest"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/FetchConnectionShippingRatesRequest"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/FetchConnectionShippingRatesResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/FetchConnectionShippingRatesResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/FetchConnectionShippingRatesResponse"
        }
       }
      }
     },
     "204": {
      "description": "No Content"
     }
    },
    "operationId": "patch-delivery-fetchconnectionshippingrates",
    "summary": "Zsynchronizuj cenniki dostaw z Allegro",
    "description": "Pobiera aktualne cenniki dostaw z konta Allegro i zapisuje je w Sellrocket."
   }
  },
  "/api/Delivery/GetAllShippingRates": {
   "get": {
    "tags": [
     "Cenniki dostaw"
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/GetAllShippingRatesResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/GetAllShippingRatesResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/GetAllShippingRatesResponse"
        }
       }
      }
     }
    },
    "operationId": "get-delivery-getallshippingrates",
    "summary": "Pobierz cenniki dostaw wszystkich kont"
   }
  },
  "/api/Delivery/GetShippingRateDetails": {
   "get": {
    "tags": [
     "Cenniki dostaw"
    ],
    "parameters": [
     {
      "name": "ConnectionId",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "ShippingRateId",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/GetShippingRateDetailsResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/GetShippingRateDetailsResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/GetShippingRateDetailsResponse"
        }
       }
      }
     },
     "404": {
      "description": "Not Found",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       }
      }
     }
    },
    "operationId": "get-delivery-getshippingratedetails",
    "summary": "Pobierz szczegóły cennika dostawy"
   }
  },
  "/api/Delivery/GetShippingRatesByConnectionId": {
   "get": {
    "tags": [
     "Cenniki dostaw"
    ],
    "parameters": [
     {
      "name": "connectionId",
      "in": "query",
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/FetchConnectionShippingRatesResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/FetchConnectionShippingRatesResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/FetchConnectionShippingRatesResponse"
        }
       }
      }
     }
    },
    "operationId": "get-delivery-getshippingratesbyconnectionid",
    "summary": "Pobierz cenniki dostaw konta"
   }
  },
  "/api/LoyaltyPromotions/DeleteWholesalePriceList": {
   "delete": {
    "tags": [
     "Promocje"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/DeleteWholeSalePriceListRequest"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/DeleteWholeSalePriceListRequest"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/DeleteWholeSalePriceListRequest"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK"
     }
    },
    "operationId": "delete-loyaltypromotions-deletewholesalepricelist",
    "summary": "Usuń cennik hurtowy"
   }
  },
  "/api/LoyaltyPromotions/FetchConnectionWholesalePriceList": {
   "patch": {
    "tags": [
     "Promocje"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/FetchConnectionWholesalePriceListRequest"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/FetchConnectionWholesalePriceListRequest"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/FetchConnectionWholesalePriceListRequest"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/FetchConnectionWholesalePriceListResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/FetchConnectionWholesalePriceListResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/FetchConnectionWholesalePriceListResponse"
        }
       }
      }
     }
    },
    "operationId": "patch-loyaltypromotions-fetchconnectionwholesalepricelist",
    "summary": "Zsynchronizuj cenniki hurtowe z Allegro",
    "description": "Pobiera cenniki hurtowe (rabaty ilościowe) z konta Allegro i zapisuje je w Sellrocket."
   }
  },
  "/api/LoyaltyPromotions/GetAllWholesalePriceList": {
   "get": {
    "tags": [
     "Promocje"
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/GetAllWholesalePriceListResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/GetAllWholesalePriceListResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/GetAllWholesalePriceListResponse"
        }
       }
      }
     }
    },
    "operationId": "get-loyaltypromotions-getallwholesalepricelist",
    "summary": "Pobierz cenniki hurtowe wszystkich kont"
   }
  },
  "/api/LoyaltyPromotions/GetWholesalePriceListByConnection": {
   "get": {
    "tags": [
     "Promocje"
    ],
    "parameters": [
     {
      "name": "connectionId",
      "in": "query",
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/FetchConnectionWholesalePriceListResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/FetchConnectionWholesalePriceListResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/FetchConnectionWholesalePriceListResponse"
        }
       }
      }
     }
    },
    "operationId": "get-loyaltypromotions-getwholesalepricelistbyconnection",
    "summary": "Pobierz cenniki hurtowe konta"
   }
  },
  "/api/LoyaltyPromotions/GetWholesalePriceListDetails": {
   "get": {
    "tags": [
     "Promocje"
    ],
    "parameters": [
     {
      "name": "ConnectionId",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "WholesalePriceListId",
      "in": "query",
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/WholesalePriceListPromotion"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/WholesalePriceListPromotion"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/WholesalePriceListPromotion"
        }
       }
      }
     }
    },
    "operationId": "get-loyaltypromotions-getwholesalepricelistdetails",
    "summary": "Pobierz szczegóły cennika hurtowego"
   }
  },
  "/api/ManageOffersFilter/FilterOffers": {
   "post": {
    "tags": [
     "Filtry ofert"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/FilterManageOffersRequest"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/FilterManageOffersRequest"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/FilterManageOffersRequest"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/AllProductAllegroOfferList"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/AllProductAllegroOfferList"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/AllProductAllegroOfferList"
        }
       }
      }
     }
    },
    "operationId": "post-manageoffersfilter-filteroffers",
    "summary": "Filtruj oferty Allegro",
    "description": "Zwraca oferty spełniające kryteria zaawansowanego filtra – operacja odczytu."
   }
  },
  "/api/ManageOffersFilter/GetFieldDefinitions": {
   "get": {
    "tags": [
     "Filtry ofert"
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/AdvancedFilterFieldDefinition"
         }
        }
       },
       "application/json": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/AdvancedFilterFieldDefinition"
         }
        }
       },
       "text/json": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/AdvancedFilterFieldDefinition"
         }
        }
       }
      }
     }
    },
    "operationId": "get-manageoffersfilter-getfielddefinitions",
    "summary": "Pobierz pola filtra ofert",
    "description": "Zwraca pola i operatory dostępne w zaawansowanym filtrze ofert."
   }
  },
  "/api/ManageOffersFilterPreset/CreatePreset": {
   "post": {
    "tags": [
     "Zapisane filtry ofert"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/CreateManageOffersFilterPresetRequest"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/CreateManageOffersFilterPresetRequest"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/CreateManageOffersFilterPresetRequest"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ManageOffersFilterPresetResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ManageOffersFilterPresetResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ManageOffersFilterPresetResponse"
        }
       }
      }
     }
    },
    "operationId": "post-manageoffersfilterpreset-createpreset",
    "summary": "Zapisz filtr ofert",
    "description": "Używane głównie przez panel Sellrocket."
   }
  },
  "/api/ManageOffersFilterPreset/DeletePreset": {
   "delete": {
    "tags": [
     "Zapisane filtry ofert"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/DeleteManageOffersFilterPresetRequest"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/DeleteManageOffersFilterPresetRequest"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/DeleteManageOffersFilterPresetRequest"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK"
     }
    },
    "operationId": "delete-manageoffersfilterpreset-deletepreset",
    "summary": "Usuń zapisany filtr ofert",
    "description": "Używane głównie przez panel Sellrocket."
   }
  },
  "/api/ManageOffersFilterPreset/GetPresets": {
   "get": {
    "tags": [
     "Zapisane filtry ofert"
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/GetManageOffersFilterPresetsResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/GetManageOffersFilterPresetsResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/GetManageOffersFilterPresetsResponse"
        }
       }
      }
     }
    },
    "operationId": "get-manageoffersfilterpreset-getpresets",
    "summary": "Pobierz zapisane filtry ofert",
    "description": "Używane głównie przez panel Sellrocket."
   }
  },
  "/api/ManageOffersFilterPreset/UpdatePreset": {
   "put": {
    "tags": [
     "Zapisane filtry ofert"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/UpdateManageOffersFilterPresetRequest"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/UpdateManageOffersFilterPresetRequest"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/UpdateManageOffersFilterPresetRequest"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ManageOffersFilterPresetResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ManageOffersFilterPresetResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ManageOffersFilterPresetResponse"
        }
       }
      }
     }
    },
    "operationId": "put-manageoffersfilterpreset-updatepreset",
    "summary": "Zaktualizuj zapisany filtr ofert",
    "description": "Używane głównie przez panel Sellrocket."
   }
  },
  "/api/OfferHistory/GetOfferHistoryChanges": {
   "get": {
    "tags": [
     "Historia ofert"
    ],
    "parameters": [
     {
      "name": "connectionId",
      "in": "query",
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/GetOfferHistoryChangesResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/GetOfferHistoryChangesResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/GetOfferHistoryChangesResponse"
        }
       }
      }
     }
    },
    "operationId": "get-offerhistory-getofferhistorychanges",
    "summary": "Pobierz historię zmian ofert",
    "description": "Zwraca zarejestrowane zmiany ofert konta (wymaga włączonej historii zmian)."
   }
  },
  "/api/OfferHistory/GetOfferHistoryChangesDetails": {
   "get": {
    "tags": [
     "Historia ofert"
    ],
    "parameters": [
     {
      "name": "connectionId",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "dateTime",
      "in": "query",
      "schema": {
       "type": "string",
       "format": "date-time"
      }
     },
     {
      "name": "offerId",
      "in": "query",
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/GetOfferHistoryChangesDetailsResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/GetOfferHistoryChangesDetailsResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/GetOfferHistoryChangesDetailsResponse"
        }
       }
      }
     }
    },
    "operationId": "get-offerhistory-getofferhistorychangesdetails",
    "summary": "Pobierz szczegóły zmiany oferty"
   }
  },
  "/api/OfferOperationsNew/CancelAllNotStartedOperations": {
   "post": {
    "tags": [
     "Operacje na ofertach"
    ],
    "responses": {
     "200": {
      "description": "OK"
     }
    },
    "operationId": "post-offeroperationsnew-cancelallnotstartedoperations",
    "summary": "Anuluj wszystkie oczekujące operacje na ofertach"
   }
  },
  "/api/OfferOperationsNew/CancelOperations": {
   "post": {
    "tags": [
     "Operacje na ofertach"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/CancelOfferOperationsRequest"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/CancelOfferOperationsRequest"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/CancelOfferOperationsRequest"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK"
     }
    },
    "operationId": "post-offeroperationsnew-canceloperations",
    "summary": "Anuluj wybrane operacje na ofertach"
   }
  },
  "/api/OfferOperationsNew/Get": {
   "get": {
    "tags": [
     "Operacje na ofertach"
    ],
    "parameters": [
     {
      "name": "id",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/AggregateOfferOperationV2Response"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/AggregateOfferOperationV2Response"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/AggregateOfferOperationV2Response"
        }
       }
      }
     }
    },
    "operationId": "get-offeroperationsnew-get",
    "summary": "Pobierz operację na ofertach",
    "description": "Zwraca stan i wyniki operacji zbiorczej (np. wystawiania lub edycji ofert)."
   }
  },
  "/api/OfferOperationsNew/GetAll": {
   "get": {
    "tags": [
     "Operacje na ofertach"
    ],
    "parameters": [
     {
      "name": "limit",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     },
     {
      "name": "offset",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/GetAllOfferOperationsV2Response"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/GetAllOfferOperationsV2Response"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/GetAllOfferOperationsV2Response"
        }
       }
      }
     }
    },
    "operationId": "get-offeroperationsnew-getall",
    "summary": "Pobierz listę operacji na ofertach",
    "description": "Zwraca stronicowaną listę operacji zbiorczych na ofertach wraz z ich stanem."
   }
  },
  "/api/Offers/ActivateOrEndOffer": {
   "put": {
    "tags": [
     "Oferty"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/OfferActivationRequest"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/OfferActivationRequest"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/OfferActivationRequest"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/CreatedOfferOperationResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/CreatedOfferOperationResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/CreatedOfferOperationResponse"
        }
       }
      }
     }
    },
    "operationId": "put-offers-activateorendoffer",
    "summary": "Aktywuj lub zakończ oferty",
    "description": "Wznawia lub kończy wskazane oferty Allegro; zwraca operację asynchroniczną."
   }
  },
  "/api/Offers/GetAllegroSellerOffers": {
   "post": {
    "tags": [
     "Oferty"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/GetAllegroSellerOffersRequest"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/GetAllegroSellerOffersRequest"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/GetAllegroSellerOffersRequest"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/AllegroSellerOffer"
         }
        }
       },
       "application/json": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/AllegroSellerOffer"
         }
        }
       },
       "text/json": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/AllegroSellerOffer"
         }
        }
       }
      }
     },
     "400": {
      "description": "Bad Request",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       }
      }
     }
    },
    "operationId": "post-offers-getallegroselleroffers",
    "summary": "Wyszukaj oferty sprzedawcy w Allegro",
    "description": "Zwraca oferty konta Allegro według przekazanych kryteriów – operacja odczytu."
   }
  },
  "/api/Offers/GetOffer": {
   "get": {
    "tags": [
     "Oferty"
    ],
    "parameters": [
     {
      "name": "connectionId",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "id",
      "in": "query",
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/GetOfferDto"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/GetOfferDto"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/GetOfferDto"
        }
       }
      }
     },
     "404": {
      "description": "Not Found",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       }
      }
     }
    },
    "operationId": "get-offers-getoffer",
    "summary": "Pobierz ofertę Allegro"
   }
  },
  "/api/Offers/GetOfferCategoryParametersAndProducts": {
   "get": {
    "tags": [
     "Oferty"
    ],
    "parameters": [
     {
      "name": "ConnectionId",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "CategoryId",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "Gtin",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "Sku",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "AllegroProductId",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "AllegroProductName",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "Matching",
      "in": "query",
      "schema": {
       "allOf": [
        {
         "$ref": "#/components/schemas/MatchingOffersEnum"
        }
       ]
      }
     },
     {
      "name": "CatalogId",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "IsVariant",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     },
     {
      "name": "PimProductId",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     },
     {
      "name": "PimParentProductId",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/GetOfferCategoryParametersAndProductsResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/GetOfferCategoryParametersAndProductsResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/GetOfferCategoryParametersAndProductsResponse"
        }
       }
      }
     }
    },
    "operationId": "get-offers-getoffercategoryparametersandproducts",
    "summary": "Pobierz parametry kategorii i produkty Allegro",
    "description": "Zwraca parametry kategorii oraz pasujące produkty z katalogu Allegro (po EAN, SKU lub nazwie) – używane przy przygotowaniu oferty."
   }
  },
  "/api/Offers/GetOfferInitializationData": {
   "get": {
    "tags": [
     "Oferty"
    ],
    "parameters": [
     {
      "name": "connectionId",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "gtin",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "catalogId",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "productId",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/GetOfferInitializationDataResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/GetOfferInitializationDataResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/GetOfferInitializationDataResponse"
        }
       }
      }
     },
     "404": {
      "description": "Not Found",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       }
      }
     }
    },
    "operationId": "get-offers-getofferinitializationdata",
    "summary": "Pobierz dane do przygotowania oferty",
    "description": "Zwraca dane potrzebne do wypełnienia formularza nowej oferty dla produktu."
   }
  },
  "/api/Offers/GetOfferOperationData": {
   "get": {
    "tags": [
     "Oferty"
    ],
    "parameters": [
     {
      "name": "id",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/OfferOperationDataResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/OfferOperationDataResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/OfferOperationDataResponse"
        }
       }
      }
     }
    },
    "operationId": "get-offers-getofferoperationdata",
    "summary": "Pobierz dane operacji wystawiania"
   }
  },
  "/api/Offers/GetOfferPromoOptions/{connectionId}/{offerId}": {
   "get": {
    "tags": [
     "Oferty"
    ],
    "parameters": [
     {
      "name": "connectionId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "offerId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/GetOfferPromoOptionsResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/GetOfferPromoOptionsResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/GetOfferPromoOptionsResponse"
        }
       }
      }
     }
    },
    "operationId": "get-offers-getofferpromooptions-connectionid-offerid",
    "summary": "Pobierz opcje promowania oferty"
   }
  },
  "/api/Offers/GetOffersDescriptionAndImages": {
   "get": {
    "tags": [
     "Oferty"
    ],
    "parameters": [
     {
      "name": "ConnectionId",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "OfferIds",
      "in": "query",
      "schema": {
       "type": "array",
       "items": {
        "type": "string"
       }
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/GetOffersDescriptionsAndImagesResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/GetOffersDescriptionsAndImagesResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/GetOffersDescriptionsAndImagesResponse"
        }
       }
      }
     }
    },
    "operationId": "get-offers-getoffersdescriptionandimages",
    "summary": "Pobierz opisy i zdjęcia ofert"
   }
  },
  "/api/Offers/GetOffersDescriptions": {
   "get": {
    "tags": [
     "Oferty"
    ],
    "parameters": [
     {
      "name": "ConnectionId",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "OfferIds",
      "in": "query",
      "schema": {
       "type": "array",
       "items": {
        "type": "string"
       }
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/GetOffersDescriptionsResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/GetOffersDescriptionsResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/GetOffersDescriptionsResponse"
        }
       }
      }
     }
    },
    "operationId": "get-offers-getoffersdescriptions",
    "summary": "Pobierz opisy ofert"
   }
  },
  "/api/Offers/GetOffersOperationData": {
   "get": {
    "tags": [
     "Oferty"
    ],
    "parameters": [
     {
      "name": "limit",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     },
     {
      "name": "offset",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/OffersOperationDataResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/OffersOperationDataResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/OffersOperationDataResponse"
        }
       }
      }
     }
    },
    "operationId": "get-offers-getoffersoperationdata",
    "summary": "Pobierz listę danych operacji wystawiania"
   }
  },
  "/api/Offers/GetOfferTags/{connectionId}": {
   "get": {
    "tags": [
     "Oferty"
    ],
    "parameters": [
     {
      "name": "connectionId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/OfferTag"
         }
        }
       },
       "application/json": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/OfferTag"
         }
        }
       },
       "text/json": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/OfferTag"
         }
        }
       }
      }
     }
    },
    "operationId": "get-offers-getoffertags-connectionid",
    "summary": "Pobierz tagi ofert konta"
   }
  },
  "/api/Offers/GetSellerOffers": {
   "get": {
    "tags": [
     "Oferty"
    ],
    "parameters": [
     {
      "name": "connectionId",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "limit",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     },
     {
      "name": "offset",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/GetSellerOffersResponseDto"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/GetSellerOffersResponseDto"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/GetSellerOffersResponseDto"
        }
       }
      }
     },
     "404": {
      "description": "Not Found",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       }
      }
     }
    },
    "operationId": "get-offers-getselleroffers",
    "summary": "Pobierz stronę ofert sprzedawcy",
    "description": "Zwraca stronicowaną listę ofert danego konta Allegro."
   }
  },
  "/api/Offers/ListOnAnotherAccount": {
   "post": {
    "tags": [
     "Oferty"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/ListOnAnotherAccountRequest"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/ListOnAnotherAccountRequest"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/ListOnAnotherAccountRequest"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/CreatedOfferOperationResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/CreatedOfferOperationResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/CreatedOfferOperationResponse"
        }
       }
      }
     },
     "400": {
      "description": "Bad Request",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       }
      }
     },
     "404": {
      "description": "Not Found",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       }
      }
     },
     "422": {
      "description": "Unprocessable Content",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       }
      }
     }
    },
    "operationId": "post-offers-listonanotheraccount",
    "summary": "Wystaw oferty na innym koncie Allegro",
    "description": "Kopiuje wybrane oferty na inne połączone konto Allegro; zwraca operację asynchroniczną."
   }
  },
  "/api/Offers/RefreshOffers": {
   "post": {
    "tags": [
     "Oferty"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/RefreshOffersRequest"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/RefreshOffersRequest"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/RefreshOffersRequest"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "type": "string"
        }
       },
       "application/json": {
        "schema": {
         "type": "string"
        }
       },
       "text/json": {
        "schema": {
         "type": "string"
        }
       }
      }
     },
     "400": {
      "description": "Bad Request",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       }
      }
     }
    },
    "operationId": "post-offers-refreshoffers",
    "summary": "Odśwież oferty z Allegro",
    "description": "Pobiera aktualne dane wskazanych ofert z Allegro; zakończenie sprawdzisz przez RefreshOffersCompleted."
   }
  },
  "/api/Offers/RefreshOffersCompleted": {
   "get": {
    "tags": [
     "Oferty"
    ],
    "parameters": [
     {
      "name": "refreshGuid",
      "in": "query",
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "type": "boolean"
        }
       },
       "application/json": {
        "schema": {
         "type": "boolean"
        }
       },
       "text/json": {
        "schema": {
         "type": "boolean"
        }
       }
      }
     },
     "400": {
      "description": "Bad Request",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       }
      }
     }
    },
    "operationId": "get-offers-refreshofferscompleted",
    "summary": "Sprawdź zakończenie odświeżania ofert"
   }
  },
  "/api/Offers/SubmitOffer": {
   "post": {
    "tags": [
     "Oferty"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/SubmitOfferRequest"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/SubmitOfferRequest"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/SubmitOfferRequest"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/SubmitOfferResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/SubmitOfferResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/SubmitOfferResponse"
        }
       }
      }
     },
     "400": {
      "description": "Bad Request",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       }
      }
     },
     "404": {
      "description": "Not Found",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       }
      }
     },
     "422": {
      "description": "Unprocessable Content",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       }
      }
     }
    },
    "deprecated": true,
    "operationId": "post-offers-submitoffer",
    "summary": "Wystaw ofertę na Allegro",
    "description": "Tworzy nową ofertę Allegro dla produktu – odpowiednik wystawiania oferty z magazynu w BaseLinkerze."
   }
  },
  "/api/Offers/SubmitOffers": {
   "post": {
    "tags": [
     "Oferty"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/SubmitOffersRequest"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/SubmitOffersRequest"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/SubmitOffersRequest"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/SubmitOfferResponse"
         }
        }
       },
       "application/json": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/SubmitOfferResponse"
         }
        }
       },
       "text/json": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/SubmitOfferResponse"
         }
        }
       }
      }
     },
     "400": {
      "description": "Bad Request",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       }
      }
     },
     "404": {
      "description": "Not Found",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       }
      }
     },
     "422": {
      "description": "Unprocessable Content",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       }
      }
     }
    },
    "deprecated": true,
    "operationId": "post-offers-submitoffers",
    "summary": "Wystaw wiele ofert na Allegro",
    "description": "Wystawia wiele ofert w jednym żądaniu."
   }
  },
  "/api/Offers/SubmitOffersMultipleProducts": {
   "post": {
    "tags": [
     "Oferty"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/SubmitOffersMultipleProductsRequest"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/SubmitOffersMultipleProductsRequest"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/SubmitOffersMultipleProductsRequest"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/SubmitOfferResponse"
         }
        }
       },
       "application/json": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/SubmitOfferResponse"
         }
        }
       },
       "text/json": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/SubmitOfferResponse"
         }
        }
       }
      }
     },
     "400": {
      "description": "Bad Request",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       }
      }
     },
     "404": {
      "description": "Not Found",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       }
      }
     },
     "422": {
      "description": "Unprocessable Content",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       }
      }
     }
    },
    "operationId": "post-offers-submitoffersmultipleproducts",
    "summary": "Wystaw oferty dla wielu produktów",
    "description": "Wystawia oferty Allegro zbiorczo dla wielu produktów z katalogu."
   }
  },
  "/api/ParameterRules/AddOrUpdateRule": {
   "put": {
    "tags": [
     "Reguły parametrów"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/AddOrUpdateParameterRuleRequest"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/AddOrUpdateParameterRuleRequest"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/AddOrUpdateParameterRuleRequest"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK"
     },
     "400": {
      "description": "Bad Request",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       }
      }
     }
    },
    "operationId": "put-parameterrules-addorupdaterule",
    "summary": "Dodaj lub zmień regułę parametru",
    "description": "Reguły określają, jak wartości parametrów ofert Allegro są wyliczane z danych produktu."
   }
  },
  "/api/ParameterRules/CopyParameterRules": {
   "put": {
    "tags": [
     "Reguły parametrów"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/CopyParameterRulesRequest"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/CopyParameterRulesRequest"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/CopyParameterRulesRequest"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK"
     }
    },
    "operationId": "put-parameterrules-copyparameterrules",
    "summary": "Skopiuj reguły parametrów"
   }
  },
  "/api/ParameterRules/GetAvailableRulesAndConditions": {
   "get": {
    "tags": [
     "Reguły parametrów"
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/GetAvailableRulesAndConditionsResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/GetAvailableRulesAndConditionsResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/GetAvailableRulesAndConditionsResponse"
        }
       }
      }
     }
    },
    "operationId": "get-parameterrules-getavailablerulesandconditions",
    "summary": "Pobierz dostępne typy reguł i warunków"
   }
  },
  "/api/ParameterRules/GetParameterRules": {
   "get": {
    "tags": [
     "Reguły parametrów"
    ],
    "parameters": [
     {
      "name": "CatalogId",
      "in": "query",
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/GetParameterRulesResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/GetParameterRulesResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/GetParameterRulesResponse"
        }
       }
      }
     }
    },
    "operationId": "get-parameterrules-getparameterrules",
    "summary": "Pobierz reguły parametrów katalogu"
   }
  },
  "/api/ParameterRules/RemoveParameterRule": {
   "delete": {
    "tags": [
     "Reguły parametrów"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/RemoveParameterRuleRequest"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/RemoveParameterRuleRequest"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/RemoveParameterRuleRequest"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK"
     }
    },
    "operationId": "delete-parameterrules-removeparameterrule",
    "summary": "Usuń regułę parametru"
   }
  },
  "/api/PimProducts/GetPimPriceGroups": {
   "get": {
    "tags": [
     "Produkty z PIM"
    ],
    "parameters": [
     {
      "name": "catalogId",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/GetPimPriceGroupsResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/GetPimPriceGroupsResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/GetPimPriceGroupsResponse"
        }
       }
      }
     }
    },
    "operationId": "get-pimproducts-getpimpricegroups",
    "summary": "Pobierz grupy cenowe katalogu"
   }
  },
  "/api/PimProducts/GetPimProducts": {
   "get": {
    "tags": [
     "Produkty z PIM"
    ],
    "parameters": [
     {
      "name": "ConnectionId",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "PageNumber",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     },
     {
      "name": "PageSize",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     },
     {
      "name": "CatalogId",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     },
     {
      "name": "ProductName",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "ProductIds",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "Sku",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "Ean",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "ManufacturerIds",
      "in": "query",
      "schema": {
       "type": "array",
       "items": {
        "type": "integer",
        "format": "int64"
       }
      }
     },
     {
      "name": "PriceFrom",
      "in": "query",
      "schema": {
       "type": "number",
       "format": "double"
      }
     },
     {
      "name": "PriceTo",
      "in": "query",
      "schema": {
       "type": "number",
       "format": "double"
      }
     },
     {
      "name": "QuantityFrom",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     },
     {
      "name": "QuantityTo",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     },
     {
      "name": "IncludeIds",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     },
     {
      "name": "ExcludeIds",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     },
     {
      "name": "SortBy",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "SortOrder",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "PimCategoryIds",
      "in": "query",
      "schema": {
       "type": "array",
       "items": {
        "type": "integer",
        "format": "int64"
       }
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/GetPimProductsResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/GetPimProductsResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/GetPimProductsResponse"
        }
       }
      }
     }
    },
    "operationId": "get-pimproducts-getpimproducts",
    "summary": "Pobierz produkty do wystawienia",
    "description": "Zwraca produkty z katalogu z filtrowaniem po nazwie, SKU, EAN, producencie, cenie i stanie."
   }
  },
  "/api/PimProducts/GetProductMiniatures": {
   "post": {
    "tags": [
     "Produkty z PIM"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "type": "array",
        "items": {
         "$ref": "#/components/schemas/ProductMiniatureRequest"
        }
       }
      },
      "text/json": {
       "schema": {
        "type": "array",
        "items": {
         "$ref": "#/components/schemas/ProductMiniatureRequest"
        }
       }
      },
      "application/*+json": {
       "schema": {
        "type": "array",
        "items": {
         "$ref": "#/components/schemas/ProductMiniatureRequest"
        }
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/ProductMiniatureResponse"
         }
        }
       },
       "application/json": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/ProductMiniatureResponse"
         }
        }
       },
       "text/json": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/ProductMiniatureResponse"
         }
        }
       }
      }
     }
    },
    "operationId": "post-pimproducts-getproductminiatures",
    "summary": "Pobierz miniatury produktów",
    "description": "Operacja odczytu."
   }
  },
  "/api/PimProducts/GetProductsByIds": {
   "post": {
    "tags": [
     "Produkty z PIM"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/GetProductsByIdsRequest"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/GetProductsByIdsRequest"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/GetProductsByIdsRequest"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/GetProductsByIdsResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/GetProductsByIdsResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/GetProductsByIdsResponse"
        }
       }
      }
     }
    },
    "operationId": "post-pimproducts-getproductsbyids",
    "summary": "Pobierz produkty po identyfikatorach",
    "description": "Operacja odczytu."
   }
  },
  "/api/PimProducts/GetProductsIdsByAllegroEanOrAllegroSku": {
   "post": {
    "tags": [
     "Produkty z PIM"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/GetProductsIdsByAllegroEanOrAllegroSkuRequest"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/GetProductsIdsByAllegroEanOrAllegroSkuRequest"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/GetProductsIdsByAllegroEanOrAllegroSkuRequest"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/GetProductsIdsByAllegroEanOrAllegroSkuResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/GetProductsIdsByAllegroEanOrAllegroSkuResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/GetProductsIdsByAllegroEanOrAllegroSkuResponse"
        }
       }
      }
     }
    },
    "operationId": "post-pimproducts-getproductsidsbyallegroeanorallegrosku",
    "summary": "Znajdź produkty po EAN lub SKU z Allegro",
    "description": "Zwraca identyfikatory produktów pasujących do EAN lub SKU ofert Allegro – operacja odczytu."
   }
  },
  "/api/PimProducts/UpdateOfferDescriptionAndImagesInPim": {
   "post": {
    "tags": [
     "Produkty z PIM"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/UpdateOfferDescriptionAndImagesInPimRequest"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/UpdateOfferDescriptionAndImagesInPimRequest"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/UpdateOfferDescriptionAndImagesInPimRequest"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/CreatedOfferOperationResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/CreatedOfferOperationResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/CreatedOfferOperationResponse"
        }
       }
      }
     }
    },
    "operationId": "post-pimproducts-updateofferdescriptionandimagesinpim",
    "summary": "Przenieś opis i zdjęcia oferty do produktu",
    "description": "Kopiuje opis i zdjęcia z oferty Allegro do powiązanego produktu w katalogu."
   }
  },
  "/api/PimProducts/UpdateOfferParametersInPim": {
   "post": {
    "tags": [
     "Produkty z PIM"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/UpdateOfferParametersInPimRequest"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/UpdateOfferParametersInPimRequest"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/UpdateOfferParametersInPimRequest"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/CreatedOfferOperationResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/CreatedOfferOperationResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/CreatedOfferOperationResponse"
        }
       }
      }
     }
    },
    "operationId": "post-pimproducts-updateofferparametersinpim",
    "summary": "Przenieś parametry oferty do produktu",
    "description": "Kopiuje parametry oferty Allegro do powiązanego produktu w katalogu."
   }
  },
  "/api/ProductAllegroOffer/CancelImport/{offerImportId}": {
   "post": {
    "tags": [
     "Produkt ↔ oferta"
    ],
    "parameters": [
     {
      "name": "offerImportId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK"
     }
    },
    "operationId": "post-productallegrooffer-cancelimport-offerimportid",
    "summary": "Anuluj import ofert"
   }
  },
  "/api/ProductAllegroOffer/ChangeOfferSettingsOnRenew": {
   "post": {
    "tags": [
     "Produkt ↔ oferta"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/ChangeOfferSettingsOnRenewRequest"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/ChangeOfferSettingsOnRenewRequest"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/ChangeOfferSettingsOnRenewRequest"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "type": "boolean"
        }
       },
       "application/json": {
        "schema": {
         "type": "boolean"
        }
       },
       "text/json": {
        "schema": {
         "type": "boolean"
        }
       }
      }
     }
    },
    "operationId": "post-productallegrooffer-changeoffersettingsonrenew",
    "summary": "Zmień ustawienia oferty przy wznowieniu"
   }
  },
  "/api/ProductAllegroOffer/DeleteImportedProductAllegroOffers": {
   "delete": {
    "tags": [
     "Produkt ↔ oferta"
    ],
    "parameters": [
     {
      "name": "removeMappings",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "type": "boolean"
        }
       },
       "application/json": {
        "schema": {
         "type": "boolean"
        }
       },
       "text/json": {
        "schema": {
         "type": "boolean"
        }
       }
      }
     }
    },
    "operationId": "delete-productallegrooffer-deleteimportedproductallegrooffers",
    "summary": "Usuń zaimportowane oferty",
    "description": "Usuwa oferty zaimportowane z Allegro; parametr removeMappings usuwa też powiązania z produktami."
   }
  },
  "/api/ProductAllegroOffer/DeleteOfferImport/{offerImportId}": {
   "delete": {
    "tags": [
     "Produkt ↔ oferta"
    ],
    "parameters": [
     {
      "name": "offerImportId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "type": "boolean"
        }
       },
       "application/json": {
        "schema": {
         "type": "boolean"
        }
       },
       "text/json": {
        "schema": {
         "type": "boolean"
        }
       }
      }
     }
    },
    "operationId": "delete-productallegrooffer-deleteofferimport-offerimportid",
    "summary": "Usuń wynik importu ofert"
   }
  },
  "/api/ProductAllegroOffer/DeleteProductAllegroOffer": {
   "delete": {
    "tags": [
     "Produkt ↔ oferta"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/DeleteProductAllegroOfferRequest"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/DeleteProductAllegroOfferRequest"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/DeleteProductAllegroOfferRequest"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/DeleteProductAllegroOfferResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DeleteProductAllegroOfferResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/DeleteProductAllegroOfferResponse"
        }
       }
      }
     }
    },
    "operationId": "delete-productallegrooffer-deleteproductallegrooffer",
    "summary": "Usuń powiązanie produktu z ofertą"
   }
  },
  "/api/ProductAllegroOffer/EditOffers": {
   "post": {
    "tags": [
     "Produkt ↔ oferta"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/EditOffersRequest"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/EditOffersRequest"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/EditOffersRequest"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/CreatedOfferOperationResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/CreatedOfferOperationResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/CreatedOfferOperationResponse"
        }
       }
      }
     }
    },
    "operationId": "post-productallegrooffer-editoffers",
    "summary": "Edytuj oferty zbiorczo",
    "description": "Zmienia wybrane pola wielu ofert Allegro; zwraca operację asynchroniczną."
   }
  },
  "/api/ProductAllegroOffer/ExportOffersToCsv": {
   "post": {
    "tags": [
     "Produkt ↔ oferta"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/ExportOffersToCsvRequest"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/ExportOffersToCsvRequest"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/ExportOffersToCsvRequest"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/csv": {
        "schema": {
         "type": "string",
         "format": "binary"
        }
       }
      }
     }
    },
    "operationId": "post-productallegrooffer-exportofferstocsv",
    "summary": "Eksportuj oferty do CSV"
   }
  },
  "/api/ProductAllegroOffer/GetActiveSellerOffersCountGroupedByProductId": {
   "post": {
    "tags": [
     "Produkt ↔ oferta"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/GetActiveSellerOffersCountGroupedByProductIdRequest"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/GetActiveSellerOffersCountGroupedByProductIdRequest"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/GetActiveSellerOffersCountGroupedByProductIdRequest"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/GetActiveSellerOffersCountGroupedByProductIdResponseDto"
         }
        }
       },
       "application/json": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/GetActiveSellerOffersCountGroupedByProductIdResponseDto"
         }
        }
       },
       "text/json": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/GetActiveSellerOffersCountGroupedByProductIdResponseDto"
         }
        }
       }
      }
     }
    },
    "operationId": "post-productallegrooffer-getactivesellerofferscountgroupedbyproductid",
    "summary": "Policz aktywne oferty produktów",
    "description": "Zwraca liczbę aktywnych ofert dla każdego produktu – operacja odczytu."
   }
  },
  "/api/ProductAllegroOffer/GetAutoRenewStatus": {
   "get": {
    "tags": [
     "Produkt ↔ oferta"
    ],
    "parameters": [
     {
      "name": "allegroOfferId",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "connectionId",
      "in": "query",
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "type": "boolean"
        }
       },
       "application/json": {
        "schema": {
         "type": "boolean"
        }
       },
       "text/json": {
        "schema": {
         "type": "boolean"
        }
       }
      }
     }
    },
    "operationId": "get-productallegrooffer-getautorenewstatus",
    "summary": "Sprawdź automatyczne wznawianie oferty"
   }
  },
  "/api/ProductAllegroOffer/GetGroupedProductAllegroOffers": {
   "get": {
    "tags": [
     "Produkt ↔ oferta"
    ],
    "parameters": [
     {
      "name": "ConnectionId",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "OfferStatus",
      "in": "query",
      "required": true,
      "schema": {
       "allOf": [
        {
         "$ref": "#/components/schemas/AllegroOfferStatus"
        }
       ]
      }
     },
     {
      "name": "Limit",
      "in": "query",
      "required": true,
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     },
     {
      "name": "Offset",
      "in": "query",
      "required": true,
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     },
     {
      "name": "CatalogId",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     },
     {
      "name": "OfferName",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "ProductIds",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "ProductSKU",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "ProductEAN",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "OfferSKU",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "OfferEAN",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "AllegroPriceFrom",
      "in": "query",
      "schema": {
       "type": "number",
       "format": "double"
      }
     },
     {
      "name": "AllegroPriceTo",
      "in": "query",
      "schema": {
       "type": "number",
       "format": "double"
      }
     },
     {
      "name": "AllegroQuantityFrom",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     },
     {
      "name": "AllegroQuantityTo",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     },
     {
      "name": "PimQuantityFrom",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     },
     {
      "name": "PimQuantityTo",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     },
     {
      "name": "AllegroSoldQuantityFrom",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     },
     {
      "name": "AllegroSoldQuantityTo",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     },
     {
      "name": "ProductVariantId",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     },
     {
      "name": "OfferStartDateFrom",
      "in": "query",
      "schema": {
       "type": "string",
       "format": "date-time"
      }
     },
     {
      "name": "OfferStartDateTo",
      "in": "query",
      "schema": {
       "type": "string",
       "format": "date-time"
      }
     },
     {
      "name": "OfferEndDateFrom",
      "in": "query",
      "schema": {
       "type": "string",
       "format": "date-time"
      }
     },
     {
      "name": "OfferEndDateTo",
      "in": "query",
      "schema": {
       "type": "string",
       "format": "date-time"
      }
     },
     {
      "name": "Warning",
      "in": "query",
      "schema": {
       "allOf": [
        {
         "$ref": "#/components/schemas/OfferWarning"
        }
       ]
      }
     },
     {
      "name": "SortType",
      "in": "query",
      "schema": {
       "allOf": [
        {
         "$ref": "#/components/schemas/SortType"
        }
       ]
      }
     },
     {
      "name": "SortOrder",
      "in": "query",
      "schema": {
       "allOf": [
        {
         "$ref": "#/components/schemas/SortOrder"
        }
       ]
      }
     },
     {
      "name": "AutoRenewStatus",
      "in": "query",
      "schema": {
       "allOf": [
        {
         "$ref": "#/components/schemas/AutoRenewStatus"
        }
       ]
      }
     },
     {
      "name": "OfferIds",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "PimCategoryIds",
      "in": "query",
      "schema": {
       "type": "array",
       "items": {
        "type": "integer",
        "format": "int64"
       }
      }
     },
     {
      "name": "ResponsibleProducerId",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "ResponsiblePersonId",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "IsSyncerPriceUpdateEnabled",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     },
     {
      "name": "IsSyncerStockUpdateEnabled",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     },
     {
      "name": "IsPromoted",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     },
     {
      "name": "TemplateId",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     },
     {
      "name": "OfferTags",
      "in": "query",
      "schema": {
       "type": "array",
       "items": {
        "type": "string"
       }
      }
     },
     {
      "name": "OfferCategoryIds",
      "in": "query",
      "schema": {
       "type": "array",
       "items": {
        "type": "string"
       }
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/GroupedProductAllegroOffersResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/GroupedProductAllegroOffersResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/GroupedProductAllegroOffersResponse"
        }
       }
      }
     }
    },
    "operationId": "get-productallegrooffer-getgroupedproductallegrooffers",
    "summary": "Pobierz oferty pogrupowane po produktach",
    "description": "Zwraca oferty Allegro pogrupowane według powiązanych produktów, z filtrowaniem."
   }
  },
  "/api/ProductAllegroOffer/GetOfferExports": {
   "get": {
    "tags": [
     "Produkt ↔ oferta"
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/GetOfferExportsResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/GetOfferExportsResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/GetOfferExportsResponse"
        }
       }
      }
     }
    },
    "operationId": "get-productallegrooffer-getofferexports",
    "summary": "Pobierz listę eksportów ofert"
   }
  },
  "/api/ProductAllegroOffer/GetOfferImport/{offerImportId}": {
   "get": {
    "tags": [
     "Produkt ↔ oferta"
    ],
    "parameters": [
     {
      "name": "offerImportId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     },
     {
      "name": "offset",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int32",
       "default": 0
      }
     },
     {
      "name": "limit",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int32",
       "default": 50
      }
     },
     {
      "name": "resultFilter",
      "in": "query",
      "schema": {
       "type": "string",
       "default": "all"
      }
     },
     {
      "name": "offerId",
      "in": "query",
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/GetImportOfferDetailsResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/GetImportOfferDetailsResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/GetImportOfferDetailsResponse"
        }
       }
      }
     }
    },
    "operationId": "get-productallegrooffer-getofferimport-offerimportid",
    "summary": "Pobierz szczegóły importu ofert"
   }
  },
  "/api/ProductAllegroOffer/GetOfferImports": {
   "get": {
    "tags": [
     "Produkt ↔ oferta"
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/GetOfferImportsResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/GetOfferImportsResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/GetOfferImportsResponse"
        }
       }
      }
     }
    },
    "operationId": "get-productallegrooffer-getofferimports",
    "summary": "Pobierz listę importów ofert"
   }
  },
  "/api/ProductAllegroOffer/GetProductAllegroOffers": {
   "get": {
    "tags": [
     "Produkt ↔ oferta"
    ],
    "parameters": [
     {
      "name": "connectionId",
      "in": "query",
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/GetProductAllegroOffersResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/GetProductAllegroOffersResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/GetProductAllegroOffersResponse"
        }
       }
      }
     }
    },
    "operationId": "get-productallegrooffer-getproductallegrooffers",
    "summary": "Pobierz powiązania produktów z ofertami",
    "description": "Zwraca powiązania produktów z ofertami dla konta Allegro."
   }
  },
  "/api/ProductAllegroOffer/GetProductAllegroOffersFromDb": {
   "get": {
    "tags": [
     "Produkt ↔ oferta"
    ],
    "parameters": [
     {
      "name": "connectionId",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "productId",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/GetProductAllegroOffersFromDbResponse"
         }
        }
       },
       "application/json": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/GetProductAllegroOffersFromDbResponse"
         }
        }
       },
       "text/json": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/GetProductAllegroOffersFromDbResponse"
         }
        }
       }
      }
     }
    },
    "operationId": "get-productallegrooffer-getproductallegrooffersfromdb",
    "summary": "Pobierz oferty powiązane z produktem"
   }
  },
  "/api/ProductAllegroOffer/ImportOffersFromAllegro": {
   "post": {
    "tags": [
     "Produkt ↔ oferta"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/ImportOffersFromAllegroRequest"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/ImportOffersFromAllegroRequest"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/ImportOffersFromAllegroRequest"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "202": {
      "description": "Accepted"
     }
    },
    "operationId": "post-productallegrooffer-importoffersfromallegro",
    "summary": "Importuj oferty z Allegro",
    "description": "Pobiera istniejące oferty z konta Allegro i wiąże je z produktami – przydatne przy migracji z BaseLinkera."
   }
  },
  "/api/ProductAllegroOffer/LinkProductsToOffers": {
   "post": {
    "tags": [
     "Produkt ↔ oferta"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/LinkProductsToOffersRequest"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/LinkProductsToOffersRequest"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/LinkProductsToOffersRequest"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/LinkProductsToOffersResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/LinkProductsToOffersResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/LinkProductsToOffersResponse"
        }
       }
      }
     }
    },
    "operationId": "post-productallegrooffer-linkproductstooffers",
    "summary": "Powiąż produkty z ofertami",
    "description": "Łączy produkty z istniejącymi ofertami Allegro."
   }
  },
  "/api/ProductAllegroOffer/SetProductAllegroOffer": {
   "post": {
    "tags": [
     "Produkt ↔ oferta"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/SetProductAllegroOfferRequest"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/SetProductAllegroOfferRequest"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/SetProductAllegroOfferRequest"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK"
     }
    },
    "operationId": "post-productallegrooffer-setproductallegrooffer",
    "summary": "Ustaw powiązanie produktu z ofertą"
   }
  },
  "/api/ProductAllegroOffer/SetRenewOffer": {
   "post": {
    "tags": [
     "Produkt ↔ oferta"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/SetRenewOfferRequest"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/SetRenewOfferRequest"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/SetRenewOfferRequest"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "type": "boolean"
        }
       },
       "application/json": {
        "schema": {
         "type": "boolean"
        }
       },
       "text/json": {
        "schema": {
         "type": "boolean"
        }
       }
      }
     }
    },
    "operationId": "post-productallegrooffer-setrenewoffer",
    "summary": "Ustaw wznawianie oferty"
   }
  },
  "/api/ProductAllegroOffer/SetRenewOffers": {
   "put": {
    "tags": [
     "Produkt ↔ oferta"
    ],
    "parameters": [
     {
      "name": "ConnectionId",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "AutoRenew",
      "in": "query",
      "schema": {
       "allOf": [
        {
         "$ref": "#/components/schemas/AutoRenewOptionsEnum"
        }
       ]
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/SetRenewOffersResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/SetRenewOffersResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/SetRenewOffersResponse"
        }
       }
      }
     }
    },
    "operationId": "put-productallegrooffer-setrenewoffers",
    "summary": "Ustaw wznawianie wszystkich ofert konta"
   }
  },
  "/api/ProductAllegroOffer/UnarchiveOffer/{connectionId}/{offerId}": {
   "post": {
    "tags": [
     "Produkt ↔ oferta"
    ],
    "parameters": [
     {
      "name": "connectionId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "offerId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK"
     }
    },
    "operationId": "post-productallegrooffer-unarchiveoffer-connectionid-offerid",
    "summary": "Przywróć ofertę z archiwum"
   }
  },
  "/api/Products/SearchProducts": {
   "post": {
    "tags": [
     "Produkty"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/SearchProductsRequest"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/SearchProductsRequest"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/SearchProductsRequest"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/SearchProductsResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/SearchProductsResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/SearchProductsResponse"
        }
       }
      }
     },
     "404": {
      "description": "Not Found",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       }
      }
     }
    },
    "operationId": "post-products-searchproducts",
    "summary": "Wyszukaj produkty w katalogu Allegro",
    "description": "Wyszukuje produkty w katalogu Allegro po GTIN, MPN, nazwie lub parametrach – przydatne przy dopasowaniu oferty do produktu Allegro."
   }
  },
  "/api/RenewOfferHistory/Get": {
   "get": {
    "tags": [
     "Historia wznowień"
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/GetRenewOffersHistoryResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/GetRenewOffersHistoryResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/GetRenewOffersHistoryResponse"
        }
       }
      }
     }
    },
    "operationId": "get-renewofferhistory-get",
    "summary": "Pobierz historię wznowień ofert"
   }
  },
  "/api/RenewOfferHistory/GetDetails": {
   "get": {
    "tags": [
     "Historia wznowień"
    ],
    "parameters": [
     {
      "name": "Id",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     },
     {
      "name": "OfferId",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "Limit",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     },
     {
      "name": "Offset",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/GetRenewOfferHistoryDetailsResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/GetRenewOfferHistoryDetailsResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/GetRenewOfferHistoryDetailsResponse"
        }
       }
      }
     }
    },
    "operationId": "get-renewofferhistory-getdetails",
    "summary": "Pobierz szczegóły wznowienia ofert"
   }
  },
  "/api/Responsible/FetchConnectionResponsiblePersons": {
   "patch": {
    "tags": [
     "Osoby odpowiedzialne (GPSR)"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/FetchConnectionResponsiblePersonsRequest"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/FetchConnectionResponsiblePersonsRequest"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/FetchConnectionResponsiblePersonsRequest"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/FetchConnectionResponsiblePersonsResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/FetchConnectionResponsiblePersonsResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/FetchConnectionResponsiblePersonsResponse"
        }
       }
      }
     },
     "400": {
      "description": "Bad Request",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       }
      }
     }
    },
    "operationId": "patch-responsible-fetchconnectionresponsiblepersons",
    "summary": "Zsynchronizuj osoby odpowiedzialne z Allegro",
    "description": "Pobiera z konta Allegro osoby odpowiedzialne za bezpieczeństwo produktów (GPSR)."
   }
  },
  "/api/Responsible/FetchConnectionResponsibleProducers": {
   "patch": {
    "tags": [
     "Osoby odpowiedzialne (GPSR)"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/FetchConnectionResponsibleProducersRequest"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/FetchConnectionResponsibleProducersRequest"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/FetchConnectionResponsibleProducersRequest"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/FetchConnectionResponsibleProducersResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/FetchConnectionResponsibleProducersResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/FetchConnectionResponsibleProducersResponse"
        }
       }
      }
     },
     "400": {
      "description": "Bad Request",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       }
      }
     }
    },
    "operationId": "patch-responsible-fetchconnectionresponsibleproducers",
    "summary": "Zsynchronizuj producentów odpowiedzialnych z Allegro",
    "description": "Pobiera z konta Allegro dane producentów odpowiedzialnych (GPSR)."
   }
  },
  "/api/Responsible/GetResponsiblePerson": {
   "get": {
    "tags": [
     "Osoby odpowiedzialne (GPSR)"
    ],
    "parameters": [
     {
      "name": "ConnectionId",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "ResponsiblePersonId",
      "in": "query",
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ResponsibleResponsiblePersonDto"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ResponsibleResponsiblePersonDto"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ResponsibleResponsiblePersonDto"
        }
       }
      }
     },
     "400": {
      "description": "Bad Request",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       }
      }
     }
    },
    "operationId": "get-responsible-getresponsibleperson",
    "summary": "Pobierz osobę odpowiedzialną (GPSR)"
   }
  },
  "/api/Responsible/GetResponsiblePersons": {
   "get": {
    "tags": [
     "Osoby odpowiedzialne (GPSR)"
    ],
    "parameters": [
     {
      "name": "connectionId",
      "in": "query",
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/GetResponsiblePersonsResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/GetResponsiblePersonsResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/GetResponsiblePersonsResponse"
        }
       }
      }
     }
    },
    "operationId": "get-responsible-getresponsiblepersons",
    "summary": "Pobierz listę osób odpowiedzialnych (GPSR)"
   }
  },
  "/api/Responsible/GetResponsibleProducer": {
   "get": {
    "tags": [
     "Osoby odpowiedzialne (GPSR)"
    ],
    "parameters": [
     {
      "name": "ConnectionId",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "ResponsibleProducerId",
      "in": "query",
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ResponsibleResponsibleProducerDto"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ResponsibleResponsibleProducerDto"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ResponsibleResponsibleProducerDto"
        }
       }
      }
     },
     "400": {
      "description": "Bad Request",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       }
      }
     }
    },
    "operationId": "get-responsible-getresponsibleproducer",
    "summary": "Pobierz producenta odpowiedzialnego (GPSR)"
   }
  },
  "/api/Responsible/GetResponsibleProducers": {
   "get": {
    "tags": [
     "Osoby odpowiedzialne (GPSR)"
    ],
    "parameters": [
     {
      "name": "connectionId",
      "in": "query",
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/GetResponsibleProducersResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/GetResponsibleProducersResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/GetResponsibleProducersResponse"
        }
       }
      }
     }
    },
    "operationId": "get-responsible-getresponsibleproducers",
    "summary": "Pobierz listę producentów odpowiedzialnych (GPSR)"
   }
  },
  "/api/ScheduledImport/DeleteScheduledImport/{connectionId}": {
   "delete": {
    "tags": [
     "Import zaplanowany"
    ],
    "parameters": [
     {
      "name": "connectionId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK"
     }
    },
    "operationId": "delete-scheduledimport-deletescheduledimport-connectionid",
    "summary": "Usuń zaplanowany import ofert"
   }
  },
  "/api/ScheduledImport/GetScheduledImports": {
   "get": {
    "tags": [
     "Import zaplanowany"
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/GetScheduledImportsResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/GetScheduledImportsResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/GetScheduledImportsResponse"
        }
       }
      }
     }
    },
    "operationId": "get-scheduledimport-getscheduledimports",
    "summary": "Pobierz zaplanowane importy ofert"
   }
  },
  "/api/ScheduledImport/SetScheduledImport": {
   "post": {
    "tags": [
     "Import zaplanowany"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/ScheduledImport"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/ScheduledImport"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/ScheduledImport"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK"
     }
    },
    "operationId": "post-scheduledimport-setscheduledimport",
    "summary": "Zaplanuj cykliczny import ofert",
    "description": "Ustawia cykliczny import ofert z Allegro dla konta."
   }
  },
  "/api/Synchronization/SetSyncProduct": {
   "post": {
    "tags": [
     "Synchronizacja"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/SetSyncProductRequest"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/SetSyncProductRequest"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/SetSyncProductRequest"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "type": "boolean"
        }
       },
       "application/json": {
        "schema": {
         "type": "boolean"
        }
       },
       "text/json": {
        "schema": {
         "type": "boolean"
        }
       }
      }
     }
    },
    "operationId": "post-synchronization-setsyncproduct",
    "summary": "Ustaw synchronizację stanu i ceny oferty",
    "description": "Określa, czy stan magazynowy i cena oferty Allegro mają być synchronizowane z produktem."
   }
  },
  "/api/TaxSettings/GetTaxSettings": {
   "get": {
    "tags": [
     "Ustawienia podatkowe"
    ],
    "parameters": [
     {
      "name": "ConnectionId",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "CategoryId",
      "in": "query",
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/GetTaxSettingsResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/GetTaxSettingsResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/GetTaxSettingsResponse"
        }
       }
      }
     }
    },
    "operationId": "get-taxsettings-gettaxsettings",
    "summary": "Pobierz ustawienia podatkowe kategorii",
    "description": "Zwraca dostępne ustawienia VAT dla kategorii Allegro."
   }
  }
 },
 "components": {
  "schemas": {
   "ProblemDetails": {
    "type": "object",
    "properties": {
     "type": {
      "type": "string",
      "nullable": true
     },
     "title": {
      "type": "string",
      "nullable": true
     },
     "status": {
      "type": "integer",
      "format": "int32",
      "nullable": true
     },
     "detail": {
      "type": "string",
      "nullable": true
     },
     "instance": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": {}
   },
   "DeleteShippingRateRequest": {
    "required": [
     "connectionId",
     "shippingRateId"
    ],
    "type": "object",
    "properties": {
     "connectionId": {
      "type": "string"
     },
     "shippingRateId": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "FetchConnectionShippingRatesRequest": {
    "required": [
     "connectionId"
    ],
    "type": "object",
    "properties": {
     "connectionId": {
      "minLength": 1,
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "DeleteWholeSalePriceListRequest": {
    "required": [
     "connectionId",
     "wholesalePriceListId"
    ],
    "type": "object",
    "properties": {
     "connectionId": {
      "type": "string"
     },
     "wholesalePriceListId": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "FetchConnectionWholesalePriceListRequest": {
    "required": [
     "connectionId"
    ],
    "type": "object",
    "properties": {
     "connectionId": {
      "minLength": 1,
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "EditParameterTypeDto": {
    "enum": [
     "OfferParameter",
     "ProductParameter"
    ],
    "type": "string"
   },
   "EditParametersRequestDto": {
    "required": [
     "parametersWithValues",
     "useParametersFromRules"
    ],
    "type": "object",
    "properties": {
     "parametersWithValues": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/EditedParameterDto"
      }
     },
     "gpsr": {
      "type": "boolean",
      "nullable": true
     },
     "useParametersFromRules": {
      "type": "boolean"
     }
    },
    "additionalProperties": false
   },
   "EditPriceRequestDto": {
    "required": [
     "priceModification",
     "rounding"
    ],
    "type": "object",
    "properties": {
     "priceModification": {
      "allOf": [
       {
        "$ref": "#/components/schemas/PriceModification"
       }
      ]
     },
     "modifyPriceValue": {
      "type": "number",
      "format": "double",
      "nullable": true
     },
     "rounding": {
      "allOf": [
       {
        "$ref": "#/components/schemas/RoundingType"
       }
      ]
     },
     "currency": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "EditSafetyInformationRequestDto": {
    "required": [
     "type"
    ],
    "type": "object",
    "properties": {
     "text": {
      "type": "string",
      "nullable": true
     },
     "type": {
      "allOf": [
       {
        "$ref": "#/components/schemas/SafetyInformationType"
       }
      ]
     },
     "complexFieldName": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "EditShippingRatesRequestDto": {
    "required": [
     "shippingRatesModification"
    ],
    "type": "object",
    "properties": {
     "shippingRatesModification": {
      "allOf": [
       {
        "$ref": "#/components/schemas/ShippingRatesModification"
       }
      ]
     },
     "shippingRatesId": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "EditStockRequestDto": {
    "required": [
     "endAuctionIfEmptyStock",
     "stockModification"
    ],
    "type": "object",
    "properties": {
     "stockModification": {
      "allOf": [
       {
        "$ref": "#/components/schemas/StockModification"
       }
      ]
     },
     "endAuctionIfEmptyStock": {
      "type": "boolean"
     },
     "stockValue": {
      "type": "integer",
      "format": "int32",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "EditedParameterDto": {
    "required": [
     "categoryId",
     "name",
     "type",
     "valuesWithIds"
    ],
    "type": "object",
    "properties": {
     "name": {
      "type": "string"
     },
     "valuesWithIds": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/EditedParameterValueDto"
      }
     },
     "type": {
      "allOf": [
       {
        "$ref": "#/components/schemas/EditParameterTypeDto"
       }
      ]
     },
     "categoryId": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "EditedParameterValueDto": {
    "required": [
     "value"
    ],
    "type": "object",
    "properties": {
     "value": {
      "type": "string"
     },
     "valueId": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "ModifyOffersPromotionPackagesRequestDto": {
    "required": [
     "basePackageId",
     "promotionModificationType",
     "useDepartmentPagePromo"
    ],
    "type": "object",
    "properties": {
     "useDepartmentPagePromo": {
      "type": "boolean"
     },
     "basePackageId": {
      "type": "string"
     },
     "promotionModificationType": {
      "allOf": [
       {
        "$ref": "#/components/schemas/PromotionModificationType"
       }
      ]
     }
    },
    "additionalProperties": false
   },
   "PriceModification": {
    "enum": [
     "Increase",
     "IncreasePercentage",
     "Decrease",
     "DecreasePercentage",
     "SetTo",
     "FromWarehouse"
    ],
    "type": "string"
   },
   "PromotionModificationType": {
    "enum": [
     "CHANGE",
     "REMOVE_WITH_END_OF_CYCLE",
     "REMOVE_NOW"
    ],
    "type": "string"
   },
   "RoundingType": {
    "enum": [
     "NoRounding",
     "RoundToNearestWholeNumberUp",
     "RoundToNearestWholeNumberDown",
     "RoundToPoint99Up",
     "RoundToPoint99Down",
     "RoundToNearestPointX9Up",
     "RoundToNearestPointX9Down",
     "RoundToNearestPointX9UpAndDown",
     "RoundToNearestPoint10"
    ],
    "type": "string"
   },
   "SafetyInformationType": {
    "enum": [
     "Text",
     "Attachments",
     "Extra_field"
    ],
    "type": "string"
   },
   "ShippingRatesModification": {
    "enum": [
     "UpdateCurrent",
     "ConnectionDefault",
     "SetTo"
    ],
    "type": "string"
   },
   "StockModification": {
    "enum": [
     "SetToWarehouseStock",
     "SetToWarehouseStockWithMaxValue",
     "IncreaseStock",
     "DecreaseStock",
     "SetStock"
    ],
    "type": "string"
   },
   "GetAllegroSellerOffersRequest": {
    "required": [
     "allegroOfferIds",
     "connectionId"
    ],
    "type": "object",
    "properties": {
     "connectionId": {
      "type": "string"
     },
     "allegroOfferIds": {
      "type": "array",
      "items": {
       "type": "string"
      }
     }
    },
    "additionalProperties": false
   },
   "ListOnAnotherAccountRequest": {
    "required": [
     "complaint",
     "connectionId",
     "parentConnectionId",
     "responsiblePersonId",
     "responsibleProducerId",
     "return",
     "safetyInformationSource",
     "shippingRateId",
     "templateId",
     "useOfferStock",
     "warranty"
    ],
    "type": "object",
    "properties": {
     "parentConnectionId": {
      "type": "string"
     },
     "connectionId": {
      "type": "string"
     },
     "shippingRateId": {
      "type": "string"
     },
     "responsiblePersonId": {
      "type": "string"
     },
     "responsibleProducerId": {
      "type": "string"
     },
     "templateId": {
      "type": "integer",
      "format": "int32"
     },
     "useOfferStock": {
      "type": "boolean"
     },
     "complaint": {
      "type": "string"
     },
     "return": {
      "type": "string"
     },
     "warranty": {
      "type": "string"
     },
     "safetyInformationType": {
      "type": "string",
      "nullable": true
     },
     "safetyInformationText": {
      "type": "string",
      "nullable": true
     },
     "safetyInformationSource": {
      "allOf": [
       {
        "$ref": "#/components/schemas/SafetyInformationSource"
       }
      ]
     },
     "offerIds": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "nullable": true
     },
     "offerAttachments": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/OfferAttachment"
      },
      "nullable": true
     },
     "createAsDraft": {
      "type": "boolean",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "OfferActivationRequest": {
    "required": [
     "action",
     "connectionId",
     "type"
    ],
    "type": "object",
    "properties": {
     "connectionId": {
      "type": "string"
     },
     "action": {
      "allOf": [
       {
        "$ref": "#/components/schemas/OfferAction"
       }
      ]
     },
     "scheduledFor": {
      "type": "string",
      "format": "date-time",
      "nullable": true
     },
     "allegroOfferIds": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "nullable": true
     },
     "type": {
      "allOf": [
       {
        "$ref": "#/components/schemas/OfferType"
       }
      ]
     },
     "renewOfferHistoryId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "offersCriteria": {
      "allOf": [
       {
        "$ref": "#/components/schemas/OffersCriteria"
       }
      ],
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "OfferAttachment": {
    "required": [
     "attachmentType",
     "complexFieldName"
    ],
    "type": "object",
    "properties": {
     "attachmentType": {
      "allOf": [
       {
        "$ref": "#/components/schemas/AttachmentType"
       }
      ],
      "description": "Type of attachment"
     },
     "complexFieldName": {
      "type": "string",
      "description": "Complex field name which should be used to attach the file to offer."
     }
    },
    "additionalProperties": false
   },
   "OfferImageRequest": {
    "required": [
     "aiCreated",
     "url"
    ],
    "type": "object",
    "properties": {
     "url": {
      "type": "string"
     },
     "aiCreated": {
      "type": "boolean"
     }
    },
    "additionalProperties": false
   },
   "OfferProductRequest": {
    "required": [
     "id",
     "images",
     "name",
     "parameters"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "description": "Id of the product used when 'Link' mode specified"
     },
     "name": {
      "type": "string",
      "description": "Name of the product"
     },
     "parameters": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ParameterDto"
      },
      "description": "Set of parameters for the product"
     },
     "images": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/OfferImageRequest"
      },
      "description": "Images for the product. Accepts either string URLs or { url, aiCreated } objects."
     }
    },
    "additionalProperties": false
   },
   "RefreshOffersRequest": {
    "required": [
     "connectionId",
     "includeArchived",
     "offersIds"
    ],
    "type": "object",
    "properties": {
     "connectionId": {
      "type": "string"
     },
     "offersIds": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "includeArchived": {
      "type": "boolean"
     }
    },
    "additionalProperties": false
   },
   "SubmitOfferMultipleProductsRequest": {
    "required": [
     "availability",
     "categoryId",
     "city",
     "country",
     "currency",
     "description",
     "duration",
     "includeProductizationImages",
     "name",
     "offerImages",
     "offerParameters",
     "payment",
     "postCode",
     "priceGross",
     "productId",
     "productItems",
     "quantity",
     "return",
     "shippingRate",
     "sku",
     "startingAt",
     "taxSettings",
     "templateId",
     "unit",
     "voivodeship"
    ],
    "type": "object",
    "properties": {
     "productId": {
      "type": "integer",
      "description": "SMERP ID of the product",
      "format": "int64"
     },
     "parentProductId": {
      "type": "integer",
      "description": "SMERP ID of the parent product",
      "format": "int64",
      "nullable": true
     },
     "templateId": {
      "type": "integer",
      "description": "SMERP ID of the template",
      "format": "int32"
     },
     "categoryId": {
      "type": "string",
      "description": "Id of the category in Allegro"
     },
     "shippingRate": {
      "type": "string",
      "description": "Id of the shipping rates option from Allegro"
     },
     "availability": {
      "type": "string",
      "description": "Delivery.HandlingTime value for offer creation"
     },
     "name": {
      "type": "string",
      "description": "Name of the offer being created"
     },
     "priceGross": {
      "type": "number",
      "description": "Gross price of the offer",
      "format": "double"
     },
     "currency": {
      "type": "string",
      "description": "Currency of the offer - defaults to PLN"
     },
     "voivodeship": {
      "type": "string",
      "description": "Location.Province value for offer creation. Possible values: DOLNOSLASKIE, KUJAWSKO_POMORSKIE, LUBELSKIE, LUBUSKIE, LODZKIE, MALOPOLSKIE, MAZOWIECKIE, OPOLSKIE, PODKARPACKIE, PODLASKIE, POMORSKIE, SLASKIE, SWIETOKRZYSKIE, WARMINSKO_MAZURSKIE, WIELKOPOLSKIE, ZACHODNIOPOMORSKIE"
     },
     "city": {
      "type": "string",
      "description": "Location.City value for offer creation"
     },
     "postCode": {
      "type": "string",
      "description": "Location.PostCode value for offer creation"
     },
     "country": {
      "type": "string",
      "description": "Location.CountryCode value for offer creation as defined in ISO 3166"
     },
     "quantity": {
      "type": "integer",
      "description": "Stock of the offer",
      "format": "int32"
     },
     "unit": {
      "type": "string",
      "description": "Unit by which it is being offered"
     },
     "duration": {
      "type": "string",
      "description": "Duration of the offer being available"
     },
     "startingAt": {
      "type": "string",
      "description": "Defines when the offer goes live - two possible values. NOW - for starting as soon as posible or specifi DateTime value in format (ISO 8601) - 'yyyy-MM-dd'T'HH:mm:ss.SSSZ'"
     },
     "sku": {
      "type": "string",
      "description": "Used for External Id value"
     },
     "payment": {
      "type": "string",
      "description": "Payment type for the offer - possible values: \"VAT\" \"VAT_MARGIN\" \"WITHOUT_VAT\" \"NO_INVOICE\""
     },
     "complaint": {
      "type": "string",
      "description": "ID of the Allegro ImpliedWarranty object",
      "nullable": true
     },
     "return": {
      "type": "string",
      "description": "ID of the Allegro ReturnPolicy object"
     },
     "warranty": {
      "type": "string",
      "description": "ID of the Allegro Warranty object",
      "nullable": true
     },
     "taxSettings": {
      "allOf": [
       {
        "$ref": "#/components/schemas/TaxSettingsDto"
       }
      ],
      "description": "Tax rates settings"
     },
     "includeProductizationImages": {
      "type": "boolean",
      "description": "Should we include images from productization catalog in the offer"
     },
     "productItems": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/SubmitOfferProductItem"
      },
      "description": "List of products to be linked to the offer."
     },
     "offerImages": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/OfferImageRequest"
      },
      "description": "User-selected images for the offer listing. Accepts either string URLs or { url, aiCreated } objects."
     },
     "offerParameters": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ParameterDto"
      },
      "description": "Set of parameters for the offer"
     },
     "description": {
      "allOf": [
       {
        "$ref": "#/components/schemas/DescriptionDto"
       }
      ],
      "description": "Offer description"
     },
     "offerAttachments": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/OfferAttachment"
      },
      "description": "List of offer's attachments",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "SubmitOfferProductItem": {
    "required": [
     "marketedBeforeGPSRObligation",
     "product",
     "quantity",
     "responsiblePerson",
     "responsibleProducer",
     "safetyInformation"
    ],
    "type": "object",
    "properties": {
     "product": {
      "allOf": [
       {
        "$ref": "#/components/schemas/OfferProductRequest"
       }
      ],
      "description": "Product to be linked to or created and linked to the offer"
     },
     "quantity": {
      "type": "integer",
      "description": "Quantity of the product in offer.",
      "format": "int32"
     },
     "responsibleProducer": {
      "type": "string",
      "description": "Id of the responsible producers option from Allegro"
     },
     "responsiblePerson": {
      "type": "string",
      "description": "Id of the responsible persons option from Allegro"
     },
     "marketedBeforeGPSRObligation": {
      "type": "string",
      "description": "Product placed on the EU market before 13.12.2024"
     },
     "safetyInformation": {
      "allOf": [
       {
        "$ref": "#/components/schemas/SafetyInformationDto"
       }
      ],
      "description": "Contains information about product's safety"
     }
    },
    "additionalProperties": false
   },
   "SubmitOfferRequest": {
    "required": [
     "availability",
     "categoryId",
     "city",
     "connectionId",
     "country",
     "currency",
     "description",
     "duration",
     "includeProductizationImages",
     "marketedBeforeGPSRObligation",
     "name",
     "offerParameters",
     "payment",
     "postCode",
     "priceGross",
     "product",
     "productId",
     "quantity",
     "responsiblePerson",
     "responsibleProducer",
     "return",
     "safetyInformation",
     "shippingRate",
     "sku",
     "startingAt",
     "taxSettings",
     "templateId",
     "unit",
     "voivodeship"
    ],
    "type": "object",
    "properties": {
     "connectionId": {
      "type": "string",
      "description": "SMERP ID of the Allegro marketplace connection"
     },
     "productId": {
      "type": "integer",
      "description": "SMERP ID of the product",
      "format": "int32"
     },
     "parentProductId": {
      "type": "integer",
      "description": "SMERP ID of the parent product",
      "format": "int64",
      "nullable": true
     },
     "templateId": {
      "type": "integer",
      "description": "SMERP ID of the template",
      "format": "int32"
     },
     "categoryId": {
      "type": "string",
      "description": "Id of the category in Allegro"
     },
     "shippingRate": {
      "type": "string",
      "description": "Id of the shipping rates option from Allegro"
     },
     "availability": {
      "type": "string",
      "description": "Delivery.HandlingTime value for offer creation"
     },
     "name": {
      "type": "string",
      "description": "Name of the offer being created"
     },
     "priceGross": {
      "type": "number",
      "description": "Gross price of the offer",
      "format": "double"
     },
     "currency": {
      "type": "string",
      "description": "Currency of the offer - defaults to PLN"
     },
     "voivodeship": {
      "type": "string",
      "description": "Location.Province value for offer creation. Possible values: DOLNOSLASKIE, KUJAWSKO_POMORSKIE, LUBELSKIE, LUBUSKIE, LODZKIE, MALOPOLSKIE, MAZOWIECKIE, OPOLSKIE, PODKARPACKIE, PODLASKIE, POMORSKIE, SLASKIE, SWIETOKRZYSKIE, WARMINSKO_MAZURSKIE, WIELKOPOLSKIE, ZACHODNIOPOMORSKIE"
     },
     "city": {
      "type": "string",
      "description": "Location.City value for offer creation"
     },
     "postCode": {
      "type": "string",
      "description": "Location.PostCode value for offer creation"
     },
     "country": {
      "type": "string",
      "description": "Location.CountryCode value for offer creation as defined in ISO 3166"
     },
     "quantity": {
      "type": "integer",
      "description": "Stock of the offer",
      "format": "int32"
     },
     "unit": {
      "type": "string",
      "description": "Unit by which it is being offered"
     },
     "duration": {
      "type": "string",
      "description": "Duration of the offer being available"
     },
     "startingAt": {
      "type": "string",
      "description": "Defines when the offer goes live - two possible values. NOW - for starting as soon as posible or specifi DateTime value in format (ISO 8601) - 'yyyy-MM-dd'T'HH:mm:ss.SSSZ'"
     },
     "sku": {
      "type": "string",
      "description": "Used for External Id value"
     },
     "payment": {
      "type": "string",
      "description": "Payment type for the offer - possible values: \"VAT\" \"VAT_MARGIN\" \"WITHOUT_VAT\" \"NO_INVOICE\""
     },
     "complaint": {
      "type": "string",
      "description": "ID of the Allegro ImpliedWarranty object",
      "nullable": true
     },
     "return": {
      "type": "string",
      "description": "ID of the Allegro ReturnPolicy object"
     },
     "warranty": {
      "type": "string",
      "description": "ID of the Allegro Warranty object",
      "nullable": true
     },
     "responsibleProducer": {
      "type": "string",
      "description": "Id of the responsible producers option from Allegro"
     },
     "responsiblePerson": {
      "type": "string",
      "description": "Id of the responsible persons option from Allegro"
     },
     "marketedBeforeGPSRObligation": {
      "type": "string",
      "description": "Product placed on the EU market before 13.12.2024"
     },
     "safetyInformation": {
      "allOf": [
       {
        "$ref": "#/components/schemas/SafetyInformationDto"
       }
      ],
      "description": "Contains information about product's safety"
     },
     "taxSettings": {
      "allOf": [
       {
        "$ref": "#/components/schemas/TaxSettingsDto"
       }
      ],
      "description": "Tax rates settings"
     },
     "includeProductizationImages": {
      "type": "boolean",
      "description": "Should we include images from productization catalog in the offer"
     },
     "product": {
      "allOf": [
       {
        "$ref": "#/components/schemas/OfferProductRequest"
       }
      ],
      "description": "Product to be linked to or created and linked to the offer"
     },
     "offerParameters": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ParameterDto"
      },
      "description": "Set of parameters for the offer"
     },
     "description": {
      "allOf": [
       {
        "$ref": "#/components/schemas/DescriptionDto"
       }
      ],
      "description": "Offer description"
     },
     "offerAttachments": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/OfferAttachment"
      },
      "description": "List of offer's attachments",
      "nullable": true
     },
     "createAsDraft": {
      "type": "boolean",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "SubmitOffersMultipleProductsRequest": {
    "required": [
     "connectionId",
     "submitOffers"
    ],
    "type": "object",
    "properties": {
     "submitOffers": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/SubmitOfferMultipleProductsRequest"
      }
     },
     "connectionId": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "SubmitOffersRequest": {
    "required": [
     "connectionId",
     "submitOffers"
    ],
    "type": "object",
    "properties": {
     "submitOffers": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/SubmitOfferRequest"
      }
     },
     "connectionId": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "GetProductsByIdsRequest": {
    "required": [
     "ids"
    ],
    "type": "object",
    "properties": {
     "ids": {
      "type": "array",
      "items": {
       "type": "integer",
       "format": "int64"
      }
     }
    },
    "additionalProperties": false
   },
   "GetProductsIdsByAllegroEanOrAllegroSkuRequest": {
    "required": [
     "catalogId",
     "connectionId",
     "offersIds",
     "useEan",
     "useSku"
    ],
    "type": "object",
    "properties": {
     "connectionId": {
      "type": "string"
     },
     "catalogId": {
      "type": "integer",
      "format": "int64"
     },
     "useEan": {
      "type": "boolean"
     },
     "useSku": {
      "type": "boolean"
     },
     "offersIds": {
      "type": "array",
      "items": {
       "type": "string"
      }
     }
    },
    "additionalProperties": false
   },
   "ProductMiniatureRequest": {
    "required": [
     "id",
     "selector"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "selector": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "UpdateOfferDescriptionAndImagesInPimRequest": {
    "required": [
     "connectionId",
     "offers"
    ],
    "type": "object",
    "properties": {
     "offers": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/OfferDescriptionAndImagesDto"
      }
     },
     "connectionId": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "UpdateOfferParametersInPimRequest": {
    "required": [
     "connectionId",
     "offerIds"
    ],
    "type": "object",
    "properties": {
     "offerIds": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "connectionId": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "ChangeOfferSettingsOnRenewRequest": {
    "required": [
     "offerId"
    ],
    "type": "object",
    "properties": {
     "offerId": {
      "type": "string"
     },
     "availability": {
      "allOf": [
       {
        "$ref": "#/components/schemas/HandlingTime"
       }
      ],
      "nullable": true
     },
     "duration": {
      "allOf": [
       {
        "$ref": "#/components/schemas/Duration"
       }
      ],
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "DeleteProductAllegroOfferRequest": {
    "required": [
     "allegroOfferId",
     "connectionId",
     "deleteMatching",
     "deletePermanently",
     "productId"
    ],
    "type": "object",
    "properties": {
     "connectionId": {
      "type": "string"
     },
     "allegroOfferId": {
      "type": "string"
     },
     "productId": {
      "type": "integer",
      "format": "int64"
     },
     "deleteMatching": {
      "type": "boolean"
     },
     "deletePermanently": {
      "type": "boolean"
     }
    },
    "additionalProperties": false
   },
   "EditOffersRequest": {
    "required": [
     "complexOperationType",
     "connectionId",
     "criteria"
    ],
    "type": "object",
    "properties": {
     "criteria": {
      "allOf": [
       {
        "$ref": "#/components/schemas/OffersCriteria"
       }
      ]
     },
     "connectionId": {
      "type": "string"
     },
     "templateId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "updateParametersFromAllegroProduct": {
      "type": "boolean",
      "nullable": true
     },
     "city": {
      "type": "string",
      "nullable": true
     },
     "country": {
      "type": "string",
      "nullable": true
     },
     "postCode": {
      "type": "string",
      "nullable": true
     },
     "province": {
      "type": "string",
      "nullable": true
     },
     "sku": {
      "type": "string",
      "nullable": true
     },
     "ean": {
      "type": "string",
      "nullable": true
     },
     "editDescription": {
      "allOf": [
       {
        "$ref": "#/components/schemas/EditDescriptionRequestDto"
       }
      ],
      "nullable": true
     },
     "taxSettingRates": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/TaxSettingRateDto"
      },
      "nullable": true
     },
     "editParameters": {
      "allOf": [
       {
        "$ref": "#/components/schemas/EditParametersRequestDto"
       }
      ],
      "nullable": true
     },
     "editPrice": {
      "allOf": [
       {
        "$ref": "#/components/schemas/EditPriceRequestDto"
       }
      ],
      "nullable": true
     },
     "editStock": {
      "allOf": [
       {
        "$ref": "#/components/schemas/EditStockRequestDto"
       }
      ],
      "nullable": true
     },
     "editShippingRates": {
      "allOf": [
       {
        "$ref": "#/components/schemas/EditShippingRatesRequestDto"
       }
      ],
      "nullable": true
     },
     "editTitle": {
      "allOf": [
       {
        "$ref": "#/components/schemas/EditTitleRequestDto"
       }
      ],
      "nullable": true
     },
     "editSafetyInformation": {
      "allOf": [
       {
        "$ref": "#/components/schemas/EditSafetyInformationRequestDto"
       }
      ],
      "nullable": true
     },
     "handlingTime": {
      "allOf": [
       {
        "$ref": "#/components/schemas/HandlingTime"
       }
      ],
      "nullable": true
     },
     "eanModification": {
      "allOf": [
       {
        "$ref": "#/components/schemas/EanModification"
       }
      ],
      "nullable": true
     },
     "taxSettingsModification": {
      "allOf": [
       {
        "$ref": "#/components/schemas/TaxSettingsModification"
       }
      ],
      "nullable": true
     },
     "titleModification": {
      "allOf": [
       {
        "$ref": "#/components/schemas/TitleModification"
       }
      ],
      "nullable": true
     },
     "skuModification": {
      "allOf": [
       {
        "$ref": "#/components/schemas/SkuModification"
       }
      ],
      "nullable": true
     },
     "newStatus": {
      "allOf": [
       {
        "$ref": "#/components/schemas/AllegroOfferStatus"
       }
      ],
      "nullable": true
     },
     "duration": {
      "type": "string",
      "nullable": true
     },
     "delivery": {
      "allOf": [
       {
        "$ref": "#/components/schemas/DeliveryDto"
       }
      ],
      "nullable": true
     },
     "afterSalesServices": {
      "allOf": [
       {
        "$ref": "#/components/schemas/AfterSalesServicesDto"
       }
      ],
      "nullable": true
     },
     "complexOperationType": {
      "allOf": [
       {
        "$ref": "#/components/schemas/ComplexOperationType"
       }
      ]
     },
     "responsibleProducerId": {
      "type": "string",
      "nullable": true
     },
     "responsiblePersonId": {
      "type": "string",
      "nullable": true
     },
     "offerTags": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "nullable": true
     },
     "modifyOffersPromotionPackages": {
      "allOf": [
       {
        "$ref": "#/components/schemas/ModifyOffersPromotionPackagesRequestDto"
       }
      ],
      "nullable": true
     },
     "renewOfferHistoryId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "editShipmentDate": {
      "type": "boolean",
      "nullable": true
     },
     "editWholesalePriceList": {
      "allOf": [
       {
        "$ref": "#/components/schemas/EditWholesalePriceListRequestDto"
       }
      ],
      "nullable": true
     },
     "scheduledDate": {
      "type": "string",
      "format": "date-time",
      "nullable": true
     },
     "editImages": {
      "type": "boolean",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "ExportOffersToCsvRequest": {
    "required": [
     "useAuctionNumber",
     "useCatalog",
     "useCategoryId",
     "useCategoryName",
     "useConnectionName",
     "useCurrentStock",
     "useEanNumber",
     "useEndDate",
     "useEndDateUnix",
     "useOfferCreatorUsername",
     "useOfferName",
     "usePrice",
     "useProductId",
     "useProductization",
     "useShippingPrice",
     "useShippingRate",
     "useShippingRateId",
     "useShippingTime",
     "useSku",
     "useSoldQuantity",
     "useStartDate",
     "useStartDateUnix",
     "useStatus",
     "useTemplateId",
     "useTemplateName",
     "useVat",
     "useWeight"
    ],
    "type": "object",
    "properties": {
     "connectionId": {
      "type": "string",
      "nullable": true
     },
     "allegroOfferStatus": {
      "allOf": [
       {
        "$ref": "#/components/schemas/AllegroOfferStatus"
       }
      ],
      "nullable": true
     },
     "offersIds": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "nullable": true
     },
     "useConnectionName": {
      "type": "boolean"
     },
     "useCatalog": {
      "type": "boolean"
     },
     "useProductization": {
      "type": "boolean"
     },
     "useEanNumber": {
      "type": "boolean"
     },
     "useOfferName": {
      "type": "boolean"
     },
     "useCurrentStock": {
      "type": "boolean"
     },
     "useStartDate": {
      "type": "boolean"
     },
     "useEndDate": {
      "type": "boolean"
     },
     "useShippingPrice": {
      "type": "boolean"
     },
     "useVat": {
      "type": "boolean"
     },
     "useCategoryId": {
      "type": "boolean"
     },
     "useTemplateId": {
      "type": "boolean"
     },
     "useShippingRateId": {
      "type": "boolean"
     },
     "useShippingTime": {
      "type": "boolean"
     },
     "useAuctionNumber": {
      "type": "boolean"
     },
     "useProductId": {
      "type": "boolean"
     },
     "useSku": {
      "type": "boolean"
     },
     "useStatus": {
      "type": "boolean"
     },
     "useSoldQuantity": {
      "type": "boolean"
     },
     "useStartDateUnix": {
      "type": "boolean"
     },
     "useEndDateUnix": {
      "type": "boolean"
     },
     "usePrice": {
      "type": "boolean"
     },
     "useWeight": {
      "type": "boolean"
     },
     "useCategoryName": {
      "type": "boolean"
     },
     "useTemplateName": {
      "type": "boolean"
     },
     "useShippingRate": {
      "type": "boolean"
     },
     "useOfferCreatorUsername": {
      "type": "boolean"
     }
    },
    "additionalProperties": false
   },
   "GetActiveSellerOffersCountGroupedByProductIdRequest": {
    "required": [
     "connectionId",
     "productIds"
    ],
    "type": "object",
    "properties": {
     "connectionId": {
      "type": "string"
     },
     "productIds": {
      "type": "array",
      "items": {
       "type": "integer",
       "format": "int64"
      }
     }
    },
    "additionalProperties": false
   },
   "ImportOffersFromAllegroRequest": {
    "required": [
     "autoRenew",
     "connectionId",
     "createProduct",
     "matchByEan",
     "matchBySku",
     "templateId"
    ],
    "type": "object",
    "properties": {
     "connectionId": {
      "type": "string"
     },
     "templateId": {
      "type": "integer",
      "format": "int32"
     },
     "createProduct": {
      "type": "boolean"
     },
     "matchBySku": {
      "type": "boolean"
     },
     "matchByEan": {
      "type": "boolean"
     },
     "autoRenew": {
      "type": "boolean"
     },
     "offerIds": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "nullable": true
     },
     "shippingRateId": {
      "type": "string",
      "nullable": true
     },
     "pimCatalogId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "priceGroupId": {
      "type": "integer",
      "format": "int32",
      "nullable": true
     },
     "warehouseId": {
      "type": "integer",
      "format": "int32",
      "nullable": true
     },
     "findProducts": {
      "type": "string",
      "nullable": true
     },
     "complexFields": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ProductComplexField"
      },
      "nullable": true
     },
     "limit": {
      "type": "integer",
      "format": "int32",
      "nullable": true
     },
     "offset": {
      "type": "integer",
      "format": "int32",
      "nullable": true
     },
     "autoImport": {
      "type": "boolean",
      "nullable": true
     },
     "linkProducts": {
      "type": "boolean",
      "nullable": true
     },
     "initiator": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "LinkProductsToOffersRequest": {
    "required": [
     "catalogId",
     "connectionId",
     "productOffers"
    ],
    "type": "object",
    "properties": {
     "connectionId": {
      "type": "string"
     },
     "catalogId": {
      "type": "integer",
      "format": "int32"
     },
     "productOffers": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ProductOffer"
      }
     }
    },
    "additionalProperties": false
   },
   "SetProductAllegroOfferRequest": {
    "required": [
     "allegroOfferId",
     "connectionId",
     "productId",
     "templateId"
    ],
    "type": "object",
    "properties": {
     "connectionId": {
      "type": "string"
     },
     "productId": {
      "type": "integer",
      "format": "int64"
     },
     "allegroOfferId": {
      "type": "string"
     },
     "templateId": {
      "type": "integer",
      "format": "int32"
     }
    },
    "additionalProperties": false
   },
   "SetRenewOfferRequest": {
    "required": [
     "allegroOfferId",
     "autoRenew"
    ],
    "type": "object",
    "properties": {
     "allegroOfferId": {
      "type": "string"
     },
     "autoRenew": {
      "allOf": [
       {
        "$ref": "#/components/schemas/AutoRenewOptionsEnum"
       }
      ]
     }
    },
    "additionalProperties": false
   },
   "SortOrder": {
    "enum": [
     "Ascending",
     "Descending"
    ],
    "type": "string"
   },
   "SortType": {
    "enum": [
     "StartDate",
     "EndDate",
     "Price",
     "StockSold",
     "StockAvailable",
     "StockWarehouse",
     "OfferId",
     "Sku"
    ],
    "type": "string"
   },
   "SearchProductsModeEnum": {
    "enum": [
     "ALL",
     "GTIN",
     "MPN"
    ],
    "type": "string"
   },
   "SearchProductsRequest": {
    "required": [
     "connectionId",
     "phrase"
    ],
    "type": "object",
    "properties": {
     "connectionId": {
      "type": "string",
      "description": "SMERP ID of the Allegro marketplace connection"
     },
     "phrase": {
      "type": "string",
      "description": "Phrase to be used for the search operation. Usually ALL is used, but can be changed using the Mode property"
     },
     "mode": {
      "allOf": [
       {
        "$ref": "#/components/schemas/SearchProductsModeEnum"
       }
      ],
      "description": "Mode for the search to be used. If not sure what mode sure be used set ALL then we will search by GTIN, MPN, product's name, parameters, etc.",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "SetSyncProductRequest": {
    "required": [
     "connectionId",
     "offerId",
     "syncPriceOption",
     "syncStockOption"
    ],
    "type": "object",
    "properties": {
     "connectionId": {
      "type": "string"
     },
     "productId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "offerId": {
      "type": "string"
     },
     "syncStockOption": {
      "allOf": [
       {
        "$ref": "#/components/schemas/SyncOptionsEnum"
       }
      ]
     },
     "syncPriceOption": {
      "allOf": [
       {
        "$ref": "#/components/schemas/SyncOptionsEnum"
       }
      ]
     }
    },
    "additionalProperties": false
   },
   "GetAuctionTemplateResponseDto": {
    "required": [
     "connections",
     "htmlValue",
     "name",
     "templateId",
     "templateImages"
    ],
    "type": "object",
    "properties": {
     "templateId": {
      "type": "integer",
      "format": "int64"
     },
     "name": {
      "type": "string"
     },
     "htmlValue": {
      "type": "string"
     },
     "defaultReturnsPolicyId": {
      "type": "string",
      "nullable": true
     },
     "returnsPolicyConnectionId": {
      "type": "string",
      "nullable": true
     },
     "defaultUserWarrantyId": {
      "type": "string",
      "nullable": true
     },
     "userWarrantyConnectionId": {
      "type": "string",
      "nullable": true
     },
     "defaultImpliedWarrantyId": {
      "type": "string",
      "nullable": true
     },
     "impliedWarrantyConnectionId": {
      "type": "string",
      "nullable": true
     },
     "templateImages": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/AuctionTemplatesPictureResponse"
      }
     },
     "connections": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/Connection"
      }
     }
    },
    "additionalProperties": false
   },
   "AuctionTemplatesPictureResponse": {
    "required": [
     "imageFile",
     "slot",
     "url"
    ],
    "type": "object",
    "properties": {
     "slot": {
      "type": "integer",
      "format": "int32"
     },
     "url": {
      "type": "string"
     },
     "imageFile": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "ConnectionShippingRates": {
    "required": [
     "shippingRateId",
     "shippingRateName"
    ],
    "type": "object",
    "properties": {
     "shippingRateId": {
      "type": "string"
     },
     "shippingRateName": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "DeleteShippingRateResponse": {
    "type": "object",
    "additionalProperties": false
   },
   "DeliveryMethod": {
    "required": [
     "firstItemRate",
     "id",
     "maxQuantityPerPackage",
     "name"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "name": {
      "type": "string"
     },
     "firstItemRate": {
      "allOf": [
       {
        "$ref": "#/components/schemas/ItemRate"
       }
      ]
     },
     "maxQuantityPerPackage": {
      "type": "integer",
      "format": "int32"
     }
    },
    "additionalProperties": false
   },
   "FetchConnectionShippingRatesResponse": {
    "required": [
     "connectionId",
     "connectionName",
     "connectionShippingRates"
    ],
    "type": "object",
    "properties": {
     "connectionId": {
      "type": "string"
     },
     "connectionName": {
      "type": "string"
     },
     "connectionShippingRates": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ConnectionShippingRates"
      }
     }
    },
    "additionalProperties": false
   },
   "GetAllShippingRatesResponse": {
    "required": [
     "allShippingRates"
    ],
    "type": "object",
    "properties": {
     "allShippingRates": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/FetchConnectionShippingRatesResponse"
      }
     }
    },
    "additionalProperties": false
   },
   "GetShippingRateDetailsResponse": {
    "required": [
     "deliveryMethods",
     "id",
     "name"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "name": {
      "type": "string"
     },
     "deliveryMethods": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/DeliveryMethod"
      }
     }
    },
    "additionalProperties": false
   },
   "ItemRate": {
    "required": [
     "amount",
     "currency"
    ],
    "type": "object",
    "properties": {
     "amount": {
      "type": "string"
     },
     "currency": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "FetchConnectionWholesalePriceListResponse": {
    "required": [
     "connectionId",
     "connectionName"
    ],
    "type": "object",
    "properties": {
     "connectionId": {
      "type": "string"
     },
     "connectionName": {
      "type": "string"
     },
     "connectionWholesalePriceList": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/WholesalePriceListResponse"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "GetAllWholesalePriceListResponse": {
    "required": [
     "allWholeSalePriceList"
    ],
    "type": "object",
    "properties": {
     "allWholeSalePriceList": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/FetchConnectionWholesalePriceListResponse"
      }
     }
    },
    "additionalProperties": false
   },
   "GetOfferHistoryChangesDetailsResponse": {
    "required": [
     "offerHistoryChanges"
    ],
    "type": "object",
    "properties": {
     "offerHistoryChanges": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/OfferHistoryChangeDetailsResponse"
      }
     }
    },
    "additionalProperties": false
   },
   "GetOfferHistoryChangesResponse": {
    "required": [
     "dates"
    ],
    "type": "object",
    "properties": {
     "dates": {
      "type": "array",
      "items": {
       "type": "string",
       "format": "date-time"
      }
     }
    },
    "additionalProperties": false
   },
   "OfferHistoryChangeDetailsResponse": {
    "required": [
     "dateTime",
     "offerId",
     "propertyName",
     "propertyValueBefore",
     "propertyValueCurrent"
    ],
    "type": "object",
    "properties": {
     "offerId": {
      "type": "string"
     },
     "propertyName": {
      "type": "string"
     },
     "propertyValueBefore": {
      "type": "string"
     },
     "propertyValueCurrent": {
      "type": "string"
     },
     "dateTime": {
      "type": "string",
      "format": "date-time"
     }
    },
    "additionalProperties": false
   },
   "AllegroSellerOffer": {
    "required": [
     "categoryId",
     "images",
     "name",
     "offerId",
     "parameters",
     "primaryImageUrl",
     "publicationStatus",
     "sku",
     "stockAvailable",
     "stockSold"
    ],
    "type": "object",
    "properties": {
     "offerId": {
      "type": "string"
     },
     "name": {
      "type": "string"
     },
     "stockAvailable": {
      "type": "integer",
      "format": "int32"
     },
     "stockSold": {
      "type": "integer",
      "format": "int32"
     },
     "categoryId": {
      "type": "string"
     },
     "sku": {
      "type": "string"
     },
     "publicationStatus": {
      "type": "string"
     },
     "sellingModePriceAmount": {
      "type": "string",
      "nullable": true
     },
     "sellingModePriceCurrency": {
      "type": "string",
      "nullable": true
     },
     "sellingModeFormat": {
      "type": "string",
      "nullable": true
     },
     "primaryImageUrl": {
      "type": "string"
     },
     "publicationStartingAt": {
      "type": "string",
      "nullable": true
     },
     "publicationStartedAt": {
      "type": "string",
      "nullable": true
     },
     "publicationEndingAt": {
      "type": "string",
      "nullable": true
     },
     "publicationEndedAt": {
      "type": "string",
      "nullable": true
     },
     "parameters": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ParameterDto"
      }
     },
     "images": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "taxSettings": {
      "allOf": [
       {
        "$ref": "#/components/schemas/TaxSettingsDto"
       }
      ],
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "AuctionTemplate": {
    "required": [
     "id",
     "templateHtml",
     "value"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "value": {
      "type": "string"
     },
     "templateHtml": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "BundleItemAllegroProductsResponse": {
    "required": [
     "allegroProducts",
     "bundleItemName",
     "bundleItemProductId",
     "quantity"
    ],
    "type": "object",
    "properties": {
     "bundleItemProductId": {
      "type": "integer",
      "format": "int64"
     },
     "bundleItemName": {
      "type": "string"
     },
     "quantity": {
      "type": "integer",
      "format": "int32"
     },
     "ean": {
      "type": "string",
      "nullable": true
     },
     "allegroProducts": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ProductResponseDto"
      }
     }
    },
    "additionalProperties": false
   },
   "CreatedOfferOperationResponse": {
    "required": [
     "id"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     }
    },
    "additionalProperties": false
   },
   "EditOfferStatus": {
    "enum": [
     "Success",
     "InProgress",
     "AllegroError",
     "InternalError"
    ],
    "type": "string"
   },
   "GetOfferInitializationDataResponse": {
    "required": [
     "allegroProducts",
     "auctionTemplate",
     "auctionTemplateOptions",
     "auctionTemplates",
     "availability",
     "availabilityOptions",
     "bundleItemAllegroProducts",
     "city",
     "complaint",
     "complaintOptions",
     "complexFields",
     "connectionSettings",
     "country",
     "countryOptions",
     "defaultSettings",
     "duration",
     "durationOptions",
     "includeProductizationImages",
     "isBundle",
     "marketedBeforeGPSRObligation",
     "marketedBeforeGPSRObligationOptions",
     "payment",
     "paymentOptions",
     "pimImages",
     "pimProduct",
     "postCode",
     "productizationId",
     "responsiblePerson",
     "responsiblePersonOptions",
     "responsibleProducer",
     "responsibleProducerOptions",
     "return",
     "returnOptions",
     "safetyInformationExtraField",
     "safetyInformationText",
     "safetyInformationType",
     "safetyInformationTypeOptions",
     "shippingRate",
     "shippingRateOptions",
     "startDate",
     "startDateOptions",
     "unit",
     "unitOptions",
     "voivodeship",
     "voivodeshipOptions",
     "warranty",
     "warrantyOptions"
    ],
    "type": "object",
    "properties": {
     "shippingRate": {
      "type": "string"
     },
     "shippingRateOptions": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/OptionResponse"
      }
     },
     "auctionTemplate": {
      "type": "integer",
      "format": "int64"
     },
     "auctionTemplateOptions": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/AuctionTemplate"
      }
     },
     "productizationId": {
      "type": "string"
     },
     "unit": {
      "type": "string"
     },
     "unitOptions": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/OptionResponse"
      }
     },
     "duration": {
      "type": "string"
     },
     "durationOptions": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/OptionResponse"
      }
     },
     "startDate": {
      "type": "string"
     },
     "startDateOptions": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/OptionResponse"
      }
     },
     "availability": {
      "type": "string"
     },
     "availabilityOptions": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/OptionResponse"
      }
     },
     "payment": {
      "type": "string"
     },
     "paymentOptions": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/OptionResponse"
      }
     },
     "includeProductizationImages": {
      "type": "boolean"
     },
     "country": {
      "type": "string"
     },
     "countryOptions": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/OptionResponse"
      }
     },
     "voivodeship": {
      "type": "string"
     },
     "voivodeshipOptions": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/OptionResponse"
      }
     },
     "city": {
      "type": "string"
     },
     "postCode": {
      "type": "string"
     },
     "complaint": {
      "type": "string"
     },
     "complaintOptions": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/OptionResponse"
      }
     },
     "return": {
      "type": "string"
     },
     "returnOptions": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/OptionResponse"
      }
     },
     "warranty": {
      "type": "string"
     },
     "warrantyOptions": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/OptionResponse"
      }
     },
     "responsibleProducer": {
      "type": "string"
     },
     "responsibleProducerOptions": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/OptionResponse"
      }
     },
     "responsiblePerson": {
      "type": "string"
     },
     "responsiblePersonOptions": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/OptionResponse"
      }
     },
     "marketedBeforeGPSRObligation": {
      "type": "string"
     },
     "marketedBeforeGPSRObligationOptions": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/OptionResponse"
      }
     },
     "safetyInformationType": {
      "type": "string"
     },
     "safetyInformationTypeOptions": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/OptionResponse"
      }
     },
     "safetyInformationText": {
      "type": "string"
     },
     "safetyInformationExtraField": {
      "type": "string"
     },
     "allegroProducts": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ProductResponseDto"
      }
     },
     "auctionTemplates": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/GetAuctionTemplateResponseDto"
      }
     },
     "defaultSettings": {
      "allOf": [
       {
        "$ref": "#/components/schemas/GetDefaultSettingsResponse"
       }
      ]
     },
     "complexFields": {
      "allOf": [
       {
        "$ref": "#/components/schemas/PaginatedResponse_1OfRetrieveComplexFieldsListQueryResponse"
       }
      ]
     },
     "connectionSettings": {
      "allOf": [
       {
        "$ref": "#/components/schemas/ConnectionSettings"
       }
      ]
     },
     "pimProduct": {
      "allOf": [
       {
        "$ref": "#/components/schemas/RetrieveProductQueryResponse"
       }
      ]
     },
     "pimImages": {
      "allOf": [
       {
        "$ref": "#/components/schemas/PicturesResponse"
       }
      ]
     },
     "defaultCategoryId": {
      "type": "string",
      "nullable": true
     },
     "isBundle": {
      "type": "boolean"
     },
     "bundleItemAllegroProducts": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/BundleItemAllegroProductsResponse"
      }
     },
     "offerAttachments": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/OfferAttachment"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "GetOfferPromoOptionsResponse": {
    "required": [
     "promoOptions"
    ],
    "type": "object",
    "properties": {
     "promoOptions": {
      "allOf": [
       {
        "$ref": "#/components/schemas/OfferPromoOptions"
       }
      ]
     }
    },
    "additionalProperties": false
   },
   "GetOffersDescriptionsAndImagesResponse": {
    "required": [
     "offers"
    ],
    "type": "object",
    "properties": {
     "offers": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/OfferDescriptionAndImagesDto"
      }
     }
    },
    "additionalProperties": false
   },
   "GetOffersDescriptionsResponse": {
    "required": [
     "offersWithDescription"
    ],
    "type": "object",
    "properties": {
     "offersWithDescription": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/OfferWithDescription"
      }
     }
    },
    "additionalProperties": false
   },
   "GetOfferCategoryParametersAndProductsResponse": {
    "required": [
     "parameters"
    ],
    "type": "object",
    "properties": {
     "parameters": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/CategoryParameterResponse"
      }
     },
     "allegroProducts": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ProductResponseDto"
      },
      "nullable": true
     },
     "categoryId": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "OfferDescriptionAndImagesDto": {
    "required": [
     "offerId"
    ],
    "type": "object",
    "properties": {
     "offerId": {
      "type": "string"
     },
     "description": {
      "type": "string",
      "nullable": true
     },
     "imageUrls": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "OfferOperationDataForListResponse": {
    "required": [
     "connectionId",
     "connectionName",
     "editDate",
     "editId",
     "offerEdits",
     "operations",
     "username"
    ],
    "type": "object",
    "properties": {
     "editId": {
      "type": "integer",
      "format": "int64"
     },
     "editDate": {
      "type": "string",
      "format": "date-time"
     },
     "connectionId": {
      "type": "string"
     },
     "connectionName": {
      "type": "string"
     },
     "username": {
      "type": "string"
     },
     "email": {
      "type": "string",
      "nullable": true
     },
     "operations": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "offerEdits": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/SingleOfferOperationDataForListResponse"
      }
     }
    },
    "additionalProperties": false
   },
   "OfferOperationDataResponse": {
    "required": [
     "connectionId",
     "connectionName",
     "editDate",
     "editId",
     "offerEdits",
     "operations",
     "username"
    ],
    "type": "object",
    "properties": {
     "editId": {
      "type": "integer",
      "format": "int64"
     },
     "editDate": {
      "type": "string",
      "format": "date-time"
     },
     "connectionId": {
      "type": "string"
     },
     "connectionName": {
      "type": "string"
     },
     "username": {
      "type": "string"
     },
     "email": {
      "type": "string",
      "nullable": true
     },
     "operations": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "offerEdits": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/SingleOfferOperationDataResponse"
      }
     }
    },
    "additionalProperties": false
   },
   "OfferWithDescription": {
    "required": [
     "description",
     "offerId"
    ],
    "type": "object",
    "properties": {
     "description": {
      "allOf": [
       {
        "$ref": "#/components/schemas/DescriptionDto"
       }
      ]
     },
     "offerId": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "OffersOperationDataResponse": {
    "required": [
     "offersEditData",
     "totalCount"
    ],
    "type": "object",
    "properties": {
     "offersEditData": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/OfferOperationDataForListResponse"
      }
     },
     "totalCount": {
      "type": "integer",
      "format": "int32"
     }
    },
    "additionalProperties": false
   },
   "OptionResponse": {
    "required": [
     "id",
     "type",
     "value"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "type": {
      "type": "string"
     },
     "value": {},
     "description": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "SingleOfferOperationDataForListResponse": {
    "type": "object",
    "properties": {
     "status": {
      "allOf": [
       {
        "$ref": "#/components/schemas/EditOfferStatus"
       }
      ],
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "SingleOfferOperationDataResponse": {
    "required": [
     "offerId",
     "offerName"
    ],
    "type": "object",
    "properties": {
     "offerName": {
      "type": "string"
     },
     "offerId": {
      "type": "string"
     },
     "status": {
      "allOf": [
       {
        "$ref": "#/components/schemas/EditOfferStatus"
       }
      ],
      "nullable": true
     },
     "errorMessage": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "SubmitOfferResponse": {
    "required": [
     "offerId",
     "url"
    ],
    "type": "object",
    "properties": {
     "offerId": {
      "type": "string"
     },
     "url": {
      "type": "string"
     },
     "error": {
      "type": "string",
      "nullable": true
     },
     "warning": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "GetPimPriceGroupsResponse": {
    "required": [
     "priceGroups"
    ],
    "type": "object",
    "properties": {
     "priceGroups": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/PimPriceGroupResponse"
      }
     }
    },
    "additionalProperties": false
   },
   "GetPimProductsResponse": {
    "required": [
     "totalPages",
     "totalRecords"
    ],
    "type": "object",
    "properties": {
     "totalRecords": {
      "type": "integer",
      "format": "int32"
     },
     "totalPages": {
      "type": "integer",
      "format": "int32"
     },
     "data": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/RetrieveProductListQueryResponse"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "GetProductsByIdsResponse": {
    "required": [
     "products"
    ],
    "type": "object",
    "properties": {
     "products": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/RetrieveProductQueryResponse"
      }
     }
    },
    "additionalProperties": false
   },
   "GetProductsIdsByAllegroEanOrAllegroSkuResponse": {
    "required": [
     "pimProductIds"
    ],
    "type": "object",
    "properties": {
     "pimProductIds": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/PimProductIdDto"
      }
     }
    },
    "additionalProperties": false
   },
   "PimPriceGroupResponse": {
    "required": [
     "id",
     "name"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "name": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "PimProductIdDto": {
    "required": [
     "offerId"
    ],
    "type": "object",
    "properties": {
     "offerId": {
      "type": "string"
     },
     "pimProduct": {
      "allOf": [
       {
        "$ref": "#/components/schemas/RetrieveProductQueryResponse"
       }
      ],
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "ProductMiniatureResponse": {
    "required": [
     "id",
     "selector"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "selector": {
      "type": "string"
     },
     "smallUrl": {
      "type": "string",
      "nullable": true
     },
     "miniUrl": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "AllProductAllegroOfferList": {
    "required": [
     "allProductAllegroOffers"
    ],
    "type": "object",
    "properties": {
     "allProductAllegroOffers": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/AllProductAllegroOfferResponse"
      }
     },
     "totalCount": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "AllProductAllegroOfferResponse": {
    "required": [
     "allegroOfferCategoryId",
     "allegroOfferId",
     "allegroOfferName",
     "allegroPrimaryImageUrl",
     "allegroStockAvailable",
     "allegroStockSold",
     "autoRenew",
     "connectionId",
     "currency",
     "hasAdditionalMarketplaces",
     "isBeingValidatedByAllegro",
     "isPromoted",
     "lastRefresh",
     "priceAmount",
     "publication",
     "templateId"
    ],
    "type": "object",
    "properties": {
     "lastRefresh": {
      "type": "string"
     },
     "connectionId": {
      "type": "string"
     },
     "allegroOfferId": {
      "type": "string"
     },
     "offerProductId": {
      "type": "string",
      "nullable": true
     },
     "allegroOfferName": {
      "type": "string"
     },
     "allegroOfferCategoryId": {
      "type": "string"
     },
     "allegroOfferCategoryName": {
      "type": "string",
      "nullable": true
     },
     "templateId": {
      "type": "integer",
      "format": "int64"
     },
     "allegroPrimaryImageUrl": {
      "type": "string"
     },
     "allegroStockAvailable": {
      "type": "integer",
      "format": "int32"
     },
     "allegroStockSold": {
      "type": "integer",
      "format": "int32"
     },
     "priceAmount": {
      "type": "string"
     },
     "currency": {
      "type": "string"
     },
     "publication": {
      "allOf": [
       {
        "$ref": "#/components/schemas/PublicationResponse"
       }
      ]
     },
     "productId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "pimUrl": {
      "type": "string",
      "nullable": true
     },
     "pimEan": {
      "type": "string",
      "nullable": true
     },
     "pimSku": {
      "type": "string",
      "nullable": true
     },
     "offerEan": {
      "type": "string",
      "nullable": true
     },
     "offerSku": {
      "type": "string",
      "nullable": true
     },
     "pimStock": {
      "type": "integer",
      "format": "int32",
      "nullable": true
     },
     "pimCategoryId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "pictures": {
      "allOf": [
       {
        "$ref": "#/components/schemas/PicturesWithIdResponse"
       }
      ],
      "nullable": true
     },
     "autoRenew": {
      "type": "boolean"
     },
     "lastOperationStatus": {
      "allOf": [
       {
        "$ref": "#/components/schemas/OfferOperationStatus"
       }
      ],
      "nullable": true
     },
     "renewOfferHistoryStatus": {
      "allOf": [
       {
        "$ref": "#/components/schemas/RenewOfferHistoryStatusEnum"
       }
      ],
      "nullable": true
     },
     "parentProductId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "offerNameTemplate": {
      "type": "string",
      "nullable": true
     },
     "isPromoted": {
      "type": "boolean"
     },
     "isBeingValidatedByAllegro": {
      "type": "boolean"
     },
     "pimCatalogId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "creatorUsername": {
      "type": "string",
      "nullable": true
     },
     "shippingTime": {
      "type": "string",
      "nullable": true
     },
     "hasAdditionalMarketplaces": {
      "type": "boolean"
     }
    },
    "additionalProperties": false
   },
   "AllegroProductFromDbResponse": {
    "required": [
     "responsiblePersonId",
     "responsibleProducerId",
     "safetyInformationType"
    ],
    "type": "object",
    "properties": {
     "responsibleProducerId": {
      "type": "string"
     },
     "responsiblePersonId": {
      "type": "string"
     },
     "marketedBeforeGpsrObligation": {
      "type": "boolean",
      "nullable": true
     },
     "safetyInformationType": {
      "type": "string"
     },
     "safetyInformationText": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "AutoRenewOfferData": {
    "required": [
     "allegroOfferId",
     "autoRenew",
     "connectionId"
    ],
    "type": "object",
    "properties": {
     "connectionId": {
      "type": "string"
     },
     "allegroOfferId": {
      "type": "string"
     },
     "autoRenew": {
      "type": "boolean"
     }
    },
    "additionalProperties": false
   },
   "DeleteProductAllegroOfferResponse": {
    "required": [
     "offerDeleted"
    ],
    "type": "object",
    "properties": {
     "offerDeleted": {
      "type": "boolean"
     }
    },
    "additionalProperties": false
   },
   "GetImportOfferDetailsResponse": {
    "required": [
     "addedCount",
     "connectionId",
     "connectionName",
     "endDate",
     "existCount",
     "failedCount",
     "id",
     "importStatus",
     "offerImportDetails",
     "offerImportDetailsLimit",
     "offerImportDetailsOffset",
     "offerImportDetailsTotalCount",
     "offerWithMultipleProducts",
     "requestedCount",
     "startDate"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "connectionId": {
      "type": "string"
     },
     "connectionName": {
      "type": "string"
     },
     "requestedCount": {
      "type": "integer",
      "format": "int32"
     },
     "startDate": {
      "type": "string",
      "format": "date-time"
     },
     "endDate": {
      "type": "string",
      "format": "date-time"
     },
     "importStatus": {
      "allOf": [
       {
        "$ref": "#/components/schemas/ImportStatus"
       }
      ]
     },
     "addedCount": {
      "type": "integer",
      "format": "int32"
     },
     "existCount": {
      "type": "integer",
      "format": "int32"
     },
     "failedCount": {
      "type": "integer",
      "format": "int32"
     },
     "offerImportDetailsTotalCount": {
      "type": "integer",
      "format": "int32"
     },
     "offerImportDetailsOffset": {
      "type": "integer",
      "format": "int32"
     },
     "offerImportDetailsLimit": {
      "type": "integer",
      "format": "int32"
     },
     "offerWithMultipleProducts": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/OfferWithMultipleProducts"
      }
     },
     "offerImportDetails": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/OfferImportDetailsDto"
      }
     },
     "initiator": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "GetOfferExportsResponse": {
    "required": [
     "offerExports"
    ],
    "type": "object",
    "properties": {
     "offerExports": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/OfferExport"
      }
     }
    },
    "additionalProperties": false
   },
   "GetOfferImportsResponse": {
    "required": [
     "offerImports"
    ],
    "type": "object",
    "properties": {
     "offerImports": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/GetImportOfferDetailsResponse"
      }
     }
    },
    "additionalProperties": false
   },
   "GetProductAllegroOffersFromDbResponse": {
    "required": [
     "allegroOfferId",
     "allegroProducts",
     "allegroStockAvailable",
     "allegroStockSold",
     "autoRenew",
     "categoryId",
     "connectionId",
     "creatorUsername",
     "currency",
     "impliedWarrantyId",
     "imported",
     "isProductExistInPim",
     "isPromoted",
     "offerName",
     "primaryImageUrl",
     "publicationStatus",
     "responsiblePersonId",
     "responsibleProducerId",
     "returnPolicyId",
     "safetyInformationType",
     "shippingRateId",
     "syncerPriceUpdateEnabled",
     "syncerStockUpdateEnabled",
     "templateId",
     "userWarrantyId"
    ],
    "type": "object",
    "properties": {
     "connectionId": {
      "type": "string"
     },
     "productId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "allegroOfferId": {
      "type": "string"
     },
     "templateId": {
      "type": "integer",
      "format": "int64"
     },
     "shippingRateId": {
      "type": "string"
     },
     "returnPolicyId": {
      "type": "string"
     },
     "userWarrantyId": {
      "type": "string"
     },
     "impliedWarrantyId": {
      "type": "string"
     },
     "responsibleProducerId": {
      "type": "string",
      "deprecated": true
     },
     "responsiblePersonId": {
      "type": "string",
      "deprecated": true
     },
     "marketedBeforeGPSRObligation": {
      "type": "boolean",
      "nullable": true,
      "deprecated": true
     },
     "safetyInformationType": {
      "type": "string",
      "deprecated": true
     },
     "safetyInformationText": {
      "type": "string",
      "nullable": true,
      "deprecated": true
     },
     "allegroProducts": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/AllegroProductFromDbResponse"
      }
     },
     "imported": {
      "type": "boolean"
     },
     "autoRenew": {
      "type": "boolean"
     },
     "renewAvailability": {
      "type": "string",
      "nullable": true
     },
     "renewDuration": {
      "type": "string",
      "nullable": true
     },
     "isProductExistInPim": {
      "type": "boolean"
     },
     "creatorUsername": {
      "type": "string"
     },
     "creatorEmail": {
      "type": "string",
      "nullable": true
     },
     "lastRefresh": {
      "type": "string",
      "format": "date-time",
      "nullable": true
     },
     "publicationStatus": {
      "allOf": [
       {
        "$ref": "#/components/schemas/AllegroOfferStatus"
       }
      ]
     },
     "offerName": {
      "type": "string"
     },
     "categoryId": {
      "type": "string"
     },
     "primaryImageUrl": {
      "type": "string"
     },
     "allegroStockAvailable": {
      "type": "integer",
      "format": "int32"
     },
     "allegroStockSold": {
      "type": "integer",
      "format": "int32"
     },
     "priceAmount": {
      "type": "number",
      "format": "double",
      "nullable": true
     },
     "currency": {
      "type": "string"
     },
     "publicationStartingAt": {
      "type": "string",
      "format": "date-time",
      "nullable": true
     },
     "publicationStartedAt": {
      "type": "string",
      "format": "date-time",
      "nullable": true
     },
     "publicationEndingAt": {
      "type": "string",
      "format": "date-time",
      "nullable": true
     },
     "publicationEndedAt": {
      "type": "string",
      "format": "date-time",
      "nullable": true
     },
     "offerProductId": {
      "type": "string",
      "nullable": true
     },
     "shippingTime": {
      "type": "string",
      "nullable": true
     },
     "shippingPrice": {
      "type": "string",
      "nullable": true
     },
     "categoryName": {
      "type": "string",
      "nullable": true
     },
     "offerEan": {
      "type": "string",
      "nullable": true
     },
     "offerSku": {
      "type": "string",
      "nullable": true
     },
     "publicationEndedBy": {
      "type": "string",
      "nullable": true
     },
     "pimUrl": {
      "type": "string",
      "nullable": true
     },
     "productEan": {
      "type": "string",
      "nullable": true
     },
     "productSku": {
      "type": "string",
      "nullable": true
     },
     "pimProductStock": {
      "type": "integer",
      "format": "int32",
      "nullable": true
     },
     "parentProductId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "pimCategoryId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "pimCatalogId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "syncerPriceUpdateEnabled": {
      "type": "boolean"
     },
     "syncerStockUpdateEnabled": {
      "type": "boolean"
     },
     "isPromoted": {
      "type": "boolean"
     }
    },
    "additionalProperties": false
   },
   "GroupedProductAllegroOffersResponse": {
    "required": [
     "groupedOffers"
    ],
    "type": "object",
    "properties": {
     "groupedOffers": {
      "required": [
       "ACTIVE",
       "ENDED",
       "INACTIVE",
       "ACTIVATING",
       "ARCHIVED",
       "DELETED"
      ],
      "type": "object",
      "properties": {
       "ACTIVE": {
        "$ref": "#/components/schemas/AllProductAllegroOfferList"
       },
       "ENDED": {
        "$ref": "#/components/schemas/AllProductAllegroOfferList"
       },
       "INACTIVE": {
        "$ref": "#/components/schemas/AllProductAllegroOfferList"
       },
       "ACTIVATING": {
        "$ref": "#/components/schemas/AllProductAllegroOfferList"
       },
       "ARCHIVED": {
        "$ref": "#/components/schemas/AllProductAllegroOfferList"
       },
       "DELETED": {
        "$ref": "#/components/schemas/AllProductAllegroOfferList"
       }
      },
      "additionalProperties": false
     }
    },
    "additionalProperties": false
   },
   "LinkProductsToOffersError": {
    "enum": [
     "ProductNotFound",
     "OfferNotFoundInAllegro",
     "OfferNotFound",
     "WrongCatalog",
     "OfferArleadyMapped",
     "ProductsStateSyncerError"
    ],
    "type": "string"
   },
   "LinkProductsToOffersResponse": {
    "required": [
     "results"
    ],
    "type": "object",
    "properties": {
     "results": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/LinkProductsToOffersResult"
      }
     }
    },
    "additionalProperties": false
   },
   "LinkProductsToOffersResult": {
    "required": [
     "isSuccess",
     "offerName",
     "productId"
    ],
    "type": "object",
    "properties": {
     "offerName": {
      "type": "string"
     },
     "productId": {
      "type": "integer",
      "format": "int64"
     },
     "isSuccess": {
      "type": "boolean"
     },
     "error": {
      "allOf": [
       {
        "$ref": "#/components/schemas/LinkProductsToOffersError"
       }
      ],
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "OfferExport": {
    "required": [
     "connectionNames",
     "date",
     "fields",
     "id",
     "offersIds"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "connectionNames": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "offersIds": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "status": {
      "allOf": [
       {
        "$ref": "#/components/schemas/AllegroOfferStatus"
       }
      ],
      "nullable": true
     },
     "fields": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "date": {
      "type": "string",
      "format": "date-time"
     }
    },
    "additionalProperties": false
   },
   "OfferImportDetailsDto": {
    "required": [
     "allegroOfferId"
    ],
    "type": "object",
    "properties": {
     "allegroOfferId": {
      "type": "string"
     },
     "errorMessage": {
      "allOf": [
       {
        "$ref": "#/components/schemas/ImportErrorMessage"
       }
      ],
      "nullable": true
     },
     "errorMessageDetails": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "OfferWithMultipleProducts": {
    "required": [
     "allegroOfferId",
     "matchedProductIds"
    ],
    "type": "object",
    "properties": {
     "allegroOfferId": {
      "type": "string"
     },
     "matchedProductIds": {
      "type": "array",
      "items": {
       "type": "integer",
       "format": "int64"
      }
     }
    },
    "additionalProperties": false
   },
   "PublicationResponse": {
    "required": [
     "endedAt",
     "endedBy",
     "endingAt",
     "startedAt",
     "startingAt",
     "status"
    ],
    "type": "object",
    "properties": {
     "status": {
      "type": "string"
     },
     "startingAt": {
      "type": "string",
      "nullable": true
     },
     "startedAt": {
      "type": "string",
      "nullable": true
     },
     "endingAt": {
      "type": "string",
      "nullable": true
     },
     "endedAt": {
      "type": "string",
      "nullable": true
     },
     "endedBy": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "SetRenewOffersResponse": {
    "required": [
     "autoRenewOfferData"
    ],
    "type": "object",
    "properties": {
     "autoRenewOfferData": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/AutoRenewOfferData"
      }
     }
    },
    "additionalProperties": false
   },
   "SearchProductsResponse": {
    "required": [
     "products",
     "status"
    ],
    "type": "object",
    "properties": {
     "status": {
      "allOf": [
       {
        "$ref": "#/components/schemas/SearchProductsResultEnum"
       }
      ]
     },
     "products": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ProductResponseDto"
      }
     }
    },
    "additionalProperties": false
   },
   "SearchProductsResultEnum": {
    "enum": [
     "Found",
     "NotFound"
    ],
    "type": "string"
   },
   "GetRenewOfferHistoryDetailsResponse": {
    "required": [
     "failedCount",
     "inProgressCount",
     "processedCount",
     "renewOfferHistoryDetails",
     "totalCount"
    ],
    "type": "object",
    "properties": {
     "renewOfferHistoryDetails": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/RenewOfferHistoryDetails"
      }
     },
     "totalCount": {
      "type": "integer",
      "format": "int32"
     },
     "failedCount": {
      "type": "integer",
      "format": "int32"
     },
     "processedCount": {
      "type": "integer",
      "format": "int32"
     },
     "inProgressCount": {
      "type": "integer",
      "format": "int32"
     }
    },
    "additionalProperties": false
   },
   "GetRenewOffersHistoryResponse": {
    "required": [
     "renewOffersHistory"
    ],
    "type": "object",
    "properties": {
     "renewOffersHistory": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/RenewOffersHistory"
      }
     }
    },
    "additionalProperties": false
   },
   "RenewOfferHistoryDetails": {
    "required": [
     "connectionId",
     "offerId",
     "status"
    ],
    "type": "object",
    "properties": {
     "connectionId": {
      "type": "string"
     },
     "offerId": {
      "type": "string"
     },
     "status": {
      "allOf": [
       {
        "$ref": "#/components/schemas/RenewOfferHistoryStatusEnum"
       }
      ]
     },
     "errorMessage": {
      "type": "string",
      "nullable": true
     },
     "exception": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "RenewOffersHistory": {
    "required": [
     "creationDate",
     "id"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "creationDate": {
      "type": "string",
      "format": "date-time"
     }
    },
    "additionalProperties": false
   },
   "GetTaxSettingsResponse": {
    "required": [
     "taxSettingsOptions"
    ],
    "type": "object",
    "properties": {
     "taxSettingsOptions": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/TaxSettingsOption"
      }
     }
    },
    "additionalProperties": false
   },
   "TaxSettingsOption": {
    "required": [
     "countryCode",
     "options"
    ],
    "type": "object",
    "properties": {
     "countryCode": {
      "type": "string"
     },
     "options": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/OptionResponse"
      }
     }
    },
    "additionalProperties": false
   },
   "OfferAction": {
    "enum": [
     "ACTIVATE",
     "END"
    ],
    "type": "string"
   },
   "OfferType": {
    "enum": [
     "CONTAINS_OFFERS"
    ],
    "type": "string"
   },
   "SafetyInformationSource": {
    "enum": [
     "Connection",
     "ParentOffer",
     "OwnText",
     "ExtraField",
     "Attachments"
    ],
    "type": "string"
   },
   "Duration": {
    "enum": [
     "PT24H",
     "PT72H",
     "PT120H",
     "PT168H",
     "PT240H",
     "PT480H",
     "PT720H",
     "NULL"
    ],
    "type": "string"
   },
   "HandlingTime": {
    "enum": [
     "PT0S",
     "PT24H",
     "P2D",
     "P3D",
     "P4D",
     "P5D",
     "P7D",
     "P10D",
     "P14D",
     "P21D",
     "P30D",
     "P60D"
    ],
    "type": "string"
   },
   "MatchingOffersEnum": {
    "enum": [
     "CreateProduct",
     "FindProduct",
     "FindProductAndMatchIfFindOne",
     "FindProductAndMatchFirst",
     "FindProductOrCreate"
    ],
    "type": "string"
   },
   "DescriptionModification": {
    "enum": [
     "UpdateFromWarehouse",
     "StartText",
     "EndText",
     "UpdatePhrase"
    ],
    "type": "string"
   },
   "EanModification": {
    "enum": [
     "SetEan",
     "UpdateEanFromPim",
     "DeleteEan"
    ],
    "type": "string"
   },
   "EditDescriptionRequestDto": {
    "required": [
     "descriptionModification",
     "updateTemplate"
    ],
    "type": "object",
    "properties": {
     "descriptionModification": {
      "allOf": [
       {
        "$ref": "#/components/schemas/DescriptionModification"
       }
      ]
     },
     "phrase": {
      "type": "string",
      "nullable": true
     },
     "phraseToReplace": {
      "type": "string",
      "nullable": true
     },
     "updateTemplate": {
      "type": "boolean"
     }
    },
    "additionalProperties": false
   },
   "EditTitleRequestDto": {
    "type": "object",
    "properties": {
     "titleTextToAdd": {
      "type": "string",
      "nullable": true
     },
     "titleTextToReplace": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "EditWholesalePriceListRequestDto": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "ProductOffer": {
    "required": [
     "offerId",
     "productId"
    ],
    "type": "object",
    "properties": {
     "offerId": {
      "type": "string"
     },
     "productId": {
      "type": "integer",
      "format": "int64"
     },
     "parentProductId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "SkuModification": {
    "enum": [
     "SetSku",
     "UpdateSku",
     "InsertProductIdAsSku"
    ],
    "type": "string"
   },
   "TaxSettingRateDto": {
    "required": [
     "selected",
     "toDelete"
    ],
    "type": "object",
    "properties": {
     "rate": {
      "type": "string",
      "nullable": true
     },
     "countryCode": {
      "type": "string",
      "nullable": true
     },
     "selected": {
      "type": "boolean"
     },
     "toDelete": {
      "type": "boolean"
     }
    },
    "additionalProperties": false
   },
   "TaxSettingsModification": {
    "enum": [
     "UpdateVatFromPim",
     "SetVat",
     "DeleteVat"
    ],
    "type": "string"
   },
   "TitleModification": {
    "enum": [
     "EndText",
     "StartText",
     "UpdatePhrase",
     "UpdateFromWarehouse",
     "UpdateManually"
    ],
    "type": "string"
   },
   "OffersCriteria": {
    "required": [
     "connectionId",
     "limit",
     "offset"
    ],
    "type": "object",
    "properties": {
     "connectionId": {
      "type": "string"
     },
     "limit": {
      "type": "integer",
      "format": "int32"
     },
     "offset": {
      "type": "integer",
      "format": "int32"
     },
     "sortType": {
      "allOf": [
       {
        "$ref": "#/components/schemas/SortType"
       }
      ],
      "nullable": true
     },
     "sortOrder": {
      "allOf": [
       {
        "$ref": "#/components/schemas/SortOrder"
       }
      ],
      "nullable": true
     },
     "offerIds": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "nullable": true
     },
     "status": {
      "allOf": [
       {
        "$ref": "#/components/schemas/AllegroOfferStatus"
       }
      ],
      "nullable": true
     },
     "offerName": {
      "type": "string",
      "nullable": true
     },
     "productIds": {
      "type": "array",
      "items": {
       "type": "integer",
       "format": "int64"
      },
      "nullable": true
     },
     "productSkuValues": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "nullable": true
     },
     "productEanValues": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "nullable": true
     },
     "offerSkuValues": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "nullable": true
     },
     "offerEanValues": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "nullable": true
     },
     "allegroPriceFrom": {
      "type": "number",
      "format": "double",
      "nullable": true
     },
     "allegroPriceTo": {
      "type": "number",
      "format": "double",
      "nullable": true
     },
     "allegroQuantityFrom": {
      "type": "integer",
      "format": "int32",
      "nullable": true
     },
     "allegroQuantityTo": {
      "type": "integer",
      "format": "int32",
      "nullable": true
     },
     "pimQuantityFrom": {
      "type": "integer",
      "format": "int32",
      "nullable": true
     },
     "pimQuantityTo": {
      "type": "integer",
      "format": "int32",
      "nullable": true
     },
     "offerWarning": {
      "allOf": [
       {
        "$ref": "#/components/schemas/OfferWarning"
       }
      ],
      "nullable": true
     },
     "includeArchived": {
      "type": "boolean",
      "nullable": true
     },
     "includePermanentyDeleted": {
      "type": "boolean",
      "nullable": true
     },
     "autoRenewStatus": {
      "allOf": [
       {
        "$ref": "#/components/schemas/AutoRenewStatus"
       }
      ],
      "nullable": true
     },
     "pimCategoryIds": {
      "type": "array",
      "items": {
       "type": "integer",
       "format": "int64"
      },
      "nullable": true
     },
     "allegroSoldQuantityFrom": {
      "type": "integer",
      "format": "int32",
      "nullable": true
     },
     "allegroSoldQuantityTo": {
      "type": "integer",
      "format": "int32",
      "nullable": true
     },
     "offerStartDateFrom": {
      "type": "string",
      "format": "date-time",
      "nullable": true
     },
     "offerStartDateTo": {
      "type": "string",
      "format": "date-time",
      "nullable": true
     },
     "offerEndDateFrom": {
      "type": "string",
      "format": "date-time",
      "nullable": true
     },
     "offerEndDateTo": {
      "type": "string",
      "format": "date-time",
      "nullable": true
     },
     "responsibleProducerId": {
      "type": "string",
      "nullable": true
     },
     "responsiblePersonId": {
      "type": "string",
      "nullable": true
     },
     "isSyncerPriceUpdateEnabled": {
      "type": "boolean",
      "nullable": true
     },
     "isSyncerStockUpdateEnabled": {
      "type": "boolean",
      "nullable": true
     },
     "isPromoted": {
      "type": "boolean",
      "nullable": true
     },
     "productVariantId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "templateId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "pimCatalogId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "offerTags": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "nullable": true
     },
     "offerCategoryIds": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "AllegroOfferStatus": {
    "enum": [
     "ACTIVE",
     "ENDED",
     "INACTIVE",
     "ACTIVATING",
     "ARCHIVED",
     "DELETED"
    ],
    "type": "string"
   },
   "AutoRenewOptionsEnum": {
    "enum": [
     "Yes",
     "No"
    ],
    "type": "string"
   },
   "AutoRenewStatus": {
    "enum": [
     "AutoRenewEnabled",
     "AutoRenewDisabled",
     "LastOperationFailed"
    ],
    "type": "string"
   },
   "ImportErrorMessage": {
    "enum": [
     "NotExistInAllegro",
     "AlreadyExistInDb",
     "Failed",
     "PimError",
     "ProductStateSyncerError",
     "FoundMoreThanOneProduct"
    ],
    "type": "string"
   },
   "ImportStatus": {
    "enum": [
     "InProgress",
     "Failed",
     "Done",
     "Cancelled",
     "NotStarted"
    ],
    "type": "string"
   },
   "OfferWarning": {
    "enum": [
     "None",
     "MoreProductsInAllegro",
     "NotLinked",
     "NotExistInPim",
     "NoSalesFor11Months"
    ],
    "type": "string"
   },
   "RenewOfferHistoryStatusEnum": {
    "enum": [
     "InProgress",
     "Done",
     "Failed"
    ],
    "type": "string"
   },
   "SyncOptionsEnum": {
    "enum": [
     "DoNothing",
     "EnableSync",
     "DisableSync"
    ],
    "type": "string"
   },
   "UpdateImageRequest": {
    "required": [
     "slot"
    ],
    "type": "object",
    "properties": {
     "slot": {
      "type": "integer",
      "format": "int32"
     },
     "imageFile": {
      "type": "string",
      "format": "binary",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "SetFavouriteCategoryRequest": {
    "required": [
     "categoryId",
     "isFavourite"
    ],
    "type": "object",
    "properties": {
     "categoryId": {
      "type": "string"
     },
     "isFavourite": {
      "type": "boolean"
     }
    },
    "additionalProperties": false
   },
   "GetParametersFromCategoriesRequest": {
    "required": [
     "categoriesIds"
    ],
    "type": "object",
    "properties": {
     "categoriesIds": {
      "type": "array",
      "items": {
       "type": "string"
      }
     }
    },
    "additionalProperties": false
   },
   "AdditionalMarketplaceSettingDto": {
    "required": [
     "marketplace",
     "type"
    ],
    "type": "object",
    "properties": {
     "marketplace": {
      "allOf": [
       {
        "$ref": "#/components/schemas/AdditionalMarketplace"
       }
      ]
     },
     "type": {
      "allOf": [
       {
        "$ref": "#/components/schemas/AdditionalMarketplaceSettingType"
       }
      ]
     },
     "multiplier": {
      "type": "number",
      "format": "float",
      "nullable": true
     },
     "vat": {
      "type": "number",
      "format": "float",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "PrepareConnectionRequest": {
    "required": [
     "connectionId"
    ],
    "type": "object",
    "properties": {
     "connectionId": {
      "type": "string",
      "description": "SMERP ID of the Allegro marketplace connection"
     }
    },
    "additionalProperties": false
   },
   "SetKeepOfferHistoryRequest": {
    "required": [
     "connectionId",
     "keepOfferHistory"
    ],
    "type": "object",
    "properties": {
     "connectionId": {
      "type": "string"
     },
     "keepOfferHistory": {
      "type": "boolean"
     }
    },
    "additionalProperties": false
   },
   "UpdateAuctionSettingsRequest": {
    "required": [
     "connectionId",
     "usePermanentlyDeletedOffers"
    ],
    "type": "object",
    "properties": {
     "connectionId": {
      "minLength": 1,
      "type": "string"
     },
     "defaultAuctionTemplateId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "defaultShippingRateId": {
      "type": "string",
      "nullable": true
     },
     "defaultReturnsPolicyId": {
      "type": "string",
      "nullable": true
     },
     "defaultCategoryId": {
      "type": "string",
      "nullable": true
     },
     "defaultResponsibleProducerId": {
      "type": "string",
      "nullable": true
     },
     "defaultResponsiblePersonId": {
      "type": "string",
      "nullable": true
     },
     "defaultMarketedBeforeGPSRObligation": {
      "type": "string",
      "nullable": true
     },
     "defaultSafetyInformationType": {
      "type": "string",
      "nullable": true
     },
     "defaultSafetyInformationText": {
      "type": "string",
      "nullable": true
     },
     "defaultUserWarrantyId": {
      "type": "string",
      "nullable": true
     },
     "defaultAvailability": {
      "type": "string",
      "nullable": true
     },
     "defaultPriceGroupId": {
      "type": "string",
      "nullable": true
     },
     "priceMultiplier": {
      "type": "number",
      "format": "float",
      "nullable": true
     },
     "additionalPrice": {
      "type": "number",
      "format": "float",
      "nullable": true
     },
     "country": {
      "type": "string",
      "nullable": true
     },
     "city": {
      "type": "string",
      "nullable": true
     },
     "postCode": {
      "type": "string",
      "nullable": true
     },
     "voivodeship": {
      "type": "string",
      "nullable": true
     },
     "defaultSafetyInformationExtraField": {
      "type": "string",
      "nullable": true
     },
     "requireZeroStockOnAllegro": {
      "type": "boolean",
      "nullable": true
     },
     "offerAttachments": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/OfferAttachment"
      },
      "nullable": true
     },
     "usePermanentlyDeletedOffers": {
      "type": "boolean"
     },
     "additionalMarketplaceSettings": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/AdditionalMarketplaceSettingDto"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "AdditionalMarketplaceSettingResponse": {
    "required": [
     "marketplace",
     "type"
    ],
    "type": "object",
    "properties": {
     "marketplace": {
      "allOf": [
       {
        "$ref": "#/components/schemas/AdditionalMarketplace"
       }
      ]
     },
     "type": {
      "allOf": [
       {
        "$ref": "#/components/schemas/AdditionalMarketplaceSettingType"
       }
      ]
     },
     "multiplier": {
      "type": "number",
      "format": "float",
      "nullable": true
     },
     "vat": {
      "type": "number",
      "format": "float",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "Connection": {
    "required": [
     "additionalMarketplaceSettings",
     "connectionId",
     "id",
     "impliedWarranties",
     "isConnectionValid",
     "name",
     "requireZeroStockOnAllegro",
     "responsiblePersons",
     "responsibleProducers",
     "returnPolicies",
     "shippingRates",
     "usePermanentlyDeletedOffers",
     "userWarranties"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "connectionId": {
      "type": "string"
     },
     "lastSyncTime": {
      "type": "string",
      "format": "date-time",
      "nullable": true
     },
     "defaultAuctionTemplateId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "defaultShippingRateId": {
      "type": "string",
      "nullable": true
     },
     "defaultReturnsPolicyId": {
      "type": "string",
      "nullable": true
     },
     "defaultCategoryId": {
      "type": "string",
      "nullable": true
     },
     "defaultResponsibleProducerId": {
      "type": "string",
      "nullable": true
     },
     "defaultResponsiblePersonId": {
      "type": "string",
      "nullable": true
     },
     "defaultMarketedBeforeGPSRObligation": {
      "type": "string",
      "nullable": true
     },
     "defaultSafetyInformationType": {
      "type": "string",
      "nullable": true
     },
     "defaultSafetyInformationText": {
      "type": "string",
      "nullable": true
     },
     "defaultSafetyInformationExtraField": {
      "type": "string",
      "nullable": true
     },
     "defaultUserWarrantyId": {
      "type": "string",
      "nullable": true
     },
     "defaultAvailability": {
      "type": "string",
      "nullable": true
     },
     "defaultPriceGroupId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "priceMultiplier": {
      "type": "number",
      "format": "float",
      "nullable": true
     },
     "additionalPrice": {
      "type": "number",
      "format": "float",
      "nullable": true
     },
     "country": {
      "type": "string",
      "nullable": true
     },
     "city": {
      "type": "string",
      "nullable": true
     },
     "postCode": {
      "type": "string",
      "nullable": true
     },
     "voivodeship": {
      "type": "string",
      "nullable": true
     },
     "requireZeroStockOnAllegro": {
      "type": "boolean"
     },
     "isConnectionValid": {
      "type": "boolean"
     },
     "usePermanentlyDeletedOffers": {
      "type": "boolean"
     },
     "additionalMarketplaceSettings": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/AdditionalMarketplaceSettingResponse"
      }
     },
     "shippingRates": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ShippingRateResponse"
      }
     },
     "returnPolicies": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ReturnPolicyResponse"
      }
     },
     "userWarranties": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/UserWarrantyResponse"
      }
     },
     "impliedWarranties": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ImpliedWarrantyResponse"
      }
     },
     "responsibleProducers": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ResponsibleResponsibleProducerDto"
      }
     },
     "responsiblePersons": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ResponsibleResponsiblePersonDto"
      }
     },
     "offerAttachments": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/OfferAttachment"
      },
      "nullable": true
     },
     "wholesalePriceList": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/WholesalePriceListResponse"
      },
      "nullable": true
     },
     "name": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "ConnectionResponse": {
    "required": [
     "additionalMarketplaceSettings",
     "connectionId",
     "id",
     "impliedWarranties",
     "isConnectionValid",
     "requireZeroStockOnAllegro",
     "responsiblePersons",
     "responsibleProducers",
     "returnPolicies",
     "shippingRates",
     "usePermanentlyDeletedOffers",
     "userWarranties"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "connectionId": {
      "type": "string"
     },
     "lastSyncTime": {
      "type": "string",
      "format": "date-time",
      "nullable": true
     },
     "defaultAuctionTemplateId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "defaultShippingRateId": {
      "type": "string",
      "nullable": true
     },
     "defaultReturnsPolicyId": {
      "type": "string",
      "nullable": true
     },
     "defaultCategoryId": {
      "type": "string",
      "nullable": true
     },
     "defaultResponsibleProducerId": {
      "type": "string",
      "nullable": true
     },
     "defaultResponsiblePersonId": {
      "type": "string",
      "nullable": true
     },
     "defaultMarketedBeforeGPSRObligation": {
      "type": "string",
      "nullable": true
     },
     "defaultSafetyInformationType": {
      "type": "string",
      "nullable": true
     },
     "defaultSafetyInformationText": {
      "type": "string",
      "nullable": true
     },
     "defaultSafetyInformationExtraField": {
      "type": "string",
      "nullable": true
     },
     "defaultUserWarrantyId": {
      "type": "string",
      "nullable": true
     },
     "defaultAvailability": {
      "type": "string",
      "nullable": true
     },
     "defaultPriceGroupId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "priceMultiplier": {
      "type": "number",
      "format": "float",
      "nullable": true
     },
     "additionalPrice": {
      "type": "number",
      "format": "float",
      "nullable": true
     },
     "country": {
      "type": "string",
      "nullable": true
     },
     "city": {
      "type": "string",
      "nullable": true
     },
     "postCode": {
      "type": "string",
      "nullable": true
     },
     "voivodeship": {
      "type": "string",
      "nullable": true
     },
     "requireZeroStockOnAllegro": {
      "type": "boolean"
     },
     "isConnectionValid": {
      "type": "boolean"
     },
     "usePermanentlyDeletedOffers": {
      "type": "boolean"
     },
     "additionalMarketplaceSettings": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/AdditionalMarketplaceSettingResponse"
      }
     },
     "shippingRates": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ShippingRateResponse"
      }
     },
     "returnPolicies": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ReturnPolicyResponse"
      }
     },
     "userWarranties": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/UserWarrantyResponse"
      }
     },
     "impliedWarranties": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ImpliedWarrantyResponse"
      }
     },
     "responsibleProducers": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ResponsibleResponsibleProducerDto"
      }
     },
     "responsiblePersons": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ResponsibleResponsiblePersonDto"
      }
     },
     "offerAttachments": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/OfferAttachment"
      },
      "nullable": true
     },
     "wholesalePriceList": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/WholesalePriceListResponse"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "GetConnectionsResponse": {
    "required": [
     "connections"
    ],
    "type": "object",
    "properties": {
     "connections": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/Connection"
      }
     }
    },
    "additionalProperties": false
   },
   "ImpliedWarrantyResponse": {
    "required": [
     "id",
     "name"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "name": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "MarketplaceResponse": {
    "required": [
     "id"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "ReturnPolicyResponse": {
    "required": [
     "id",
     "name"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "name": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "ShippingRateResponse": {
    "required": [
     "id",
     "marketplaces",
     "name"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "name": {
      "type": "string"
     },
     "marketplaces": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/MarketplaceResponse"
      }
     }
    },
    "additionalProperties": false
   },
   "UserWarrantyResponse": {
    "required": [
     "id",
     "name"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "name": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "WholesalePriceListResponse": {
    "required": [
     "id",
     "name"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "name": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "AdditionalMarketplace": {
    "enum": [
     "AllegroCz",
     "AllegroSk",
     "AllegroHu"
    ],
    "type": "string"
   },
   "AdditionalMarketplaceSettingType": {
    "enum": [
     "ByAllegro",
     "Multiplier"
    ],
    "type": "string"
   },
   "UpdateDefaultSettingsRequest": {
    "required": [
     "dailyUpdateOfferParametersInPimEnabled",
     "expandParameters",
     "galleryOrderType",
     "galleryQuantityType",
     "importFromOfferHistory",
     "includeBreaksInGallery",
     "matchOfferHistoryByEan",
     "matchOfferHistoryBySku",
     "maxAllowedScheduledImport",
     "offerNameTemplate",
     "offerPropertyMappings",
     "showOnlyRequiredParameters",
     "updateWarrantyComplaintAndReturnOptionsWhenReactivating",
     "useCurrentShippingRateWhenReactivating",
     "useDescriptionFromMainProductInVariant",
     "useDescriptionFromPimWhenReactivating",
     "useFullVariantName",
     "useImagesFromMainProductInVariant",
     "useMainCategoryInVariants",
     "useManufacturerFromMainProduct",
     "useOfferEanAndSku",
     "usePhotoFromPimWhenReactivating",
     "usePriceFromPimWhenReactivating",
     "useTitleFromPimWhenReactivating",
     "useVariantPropertiesInParameterRules"
    ],
    "type": "object",
    "properties": {
     "expandParameters": {
      "type": "boolean"
     },
     "showOnlyRequiredParameters": {
      "type": "boolean"
     },
     "galleryOrderType": {
      "allOf": [
       {
        "$ref": "#/components/schemas/GalleryOrderTypeEnum"
       }
      ]
     },
     "galleryQuantityType": {
      "allOf": [
       {
        "$ref": "#/components/schemas/GalleryQuantityTypeEnum"
       }
      ]
     },
     "includeBreaksInGallery": {
      "type": "boolean"
     },
     "useDescriptionFromPimWhenReactivating": {
      "type": "boolean"
     },
     "usePhotoFromPimWhenReactivating": {
      "type": "boolean"
     },
     "usePriceFromPimWhenReactivating": {
      "type": "boolean"
     },
     "useCurrentShippingRateWhenReactivating": {
      "type": "boolean"
     },
     "updateWarrantyComplaintAndReturnOptionsWhenReactivating": {
      "type": "boolean"
     },
     "useTitleFromPimWhenReactivating": {
      "type": "boolean"
     },
     "offerNameTemplate": {
      "type": "string"
     },
     "useOfferEanAndSku": {
      "type": "boolean"
     },
     "useImagesFromMainProductInVariant": {
      "type": "boolean"
     },
     "useDescriptionFromMainProductInVariant": {
      "type": "boolean"
     },
     "useFullVariantName": {
      "type": "boolean"
     },
     "useMainCategoryInVariants": {
      "type": "boolean"
     },
     "useVariantPropertiesInParameterRules": {
      "type": "boolean"
     },
     "offerPropertyMappings": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/OfferPropertyMapping"
      }
     },
     "importFromOfferHistory": {
      "type": "boolean"
     },
     "matchOfferHistoryByEan": {
      "type": "boolean"
     },
     "matchOfferHistoryBySku": {
      "type": "boolean"
     },
     "maxAllowedScheduledImport": {
      "type": "integer",
      "format": "int32"
     },
     "dailyUpdateOfferParametersInPimEnabled": {
      "type": "boolean"
     },
     "useManufacturerFromMainProduct": {
      "type": "boolean"
     }
    },
    "additionalProperties": false
   },
   "GetDefaultSettingsResponse": {
    "required": [
     "dailyUpdateOfferParametersInPimEnabled",
     "expandParameters",
     "galleryOrderType",
     "galleryQuantityType",
     "importFromOfferHistory",
     "includeBreaksInGallery",
     "matchOfferHistoryByEan",
     "matchOfferHistoryBySku",
     "maxAllowedScheduledImport",
     "offerNameTemplate",
     "offerPropertyMappings",
     "showOnlyRequiredParameters",
     "updateWarrantyComplaintAndReturnOptionsWhenReactivating",
     "useCurrentShippingRateWhenReactivating",
     "useDescriptionFromMainProductInVariant",
     "useDescriptionFromPimWhenReactivating",
     "useFullVariantName",
     "useImagesFromMainProductInVariant",
     "useMainCategoryInVariants",
     "useManufacturerFromMainProduct",
     "useOfferEanAndSku",
     "usePhotoFromPimWhenReactivating",
     "usePriceFromPimWhenReactivating",
     "useTitleFromPimWhenReactivating",
     "useVariantPropertiesInParameterRules"
    ],
    "type": "object",
    "properties": {
     "expandParameters": {
      "type": "boolean"
     },
     "showOnlyRequiredParameters": {
      "type": "boolean"
     },
     "galleryOrderType": {
      "allOf": [
       {
        "$ref": "#/components/schemas/GalleryOrderTypeEnum"
       }
      ]
     },
     "galleryQuantityType": {
      "allOf": [
       {
        "$ref": "#/components/schemas/GalleryQuantityTypeEnum"
       }
      ]
     },
     "includeBreaksInGallery": {
      "type": "boolean"
     },
     "useDescriptionFromPimWhenReactivating": {
      "type": "boolean"
     },
     "usePhotoFromPimWhenReactivating": {
      "type": "boolean"
     },
     "usePriceFromPimWhenReactivating": {
      "type": "boolean"
     },
     "useCurrentShippingRateWhenReactivating": {
      "type": "boolean"
     },
     "useTitleFromPimWhenReactivating": {
      "type": "boolean"
     },
     "updateWarrantyComplaintAndReturnOptionsWhenReactivating": {
      "type": "boolean"
     },
     "offerNameTemplate": {
      "type": "string"
     },
     "useOfferEanAndSku": {
      "type": "boolean"
     },
     "useImagesFromMainProductInVariant": {
      "type": "boolean"
     },
     "useDescriptionFromMainProductInVariant": {
      "type": "boolean"
     },
     "useFullVariantName": {
      "type": "boolean"
     },
     "useMainCategoryInVariants": {
      "type": "boolean"
     },
     "useVariantPropertiesInParameterRules": {
      "type": "boolean"
     },
     "offerPropertyMappings": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/OfferPropertyMapping"
      }
     },
     "importFromOfferHistory": {
      "type": "boolean"
     },
     "matchOfferHistoryByEan": {
      "type": "boolean"
     },
     "matchOfferHistoryBySku": {
      "type": "boolean"
     },
     "maxAllowedScheduledImport": {
      "type": "integer",
      "format": "int32"
     },
     "dailyUpdateOfferParametersInPimEnabled": {
      "type": "boolean"
     },
     "useManufacturerFromMainProduct": {
      "type": "boolean"
     }
    },
    "additionalProperties": false
   },
   "OfferPropertyMapping": {
    "required": [
     "offerPropertyName"
    ],
    "type": "object",
    "properties": {
     "offerPropertyName": {
      "type": "string"
     },
     "complexFieldName": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "GalleryOrderTypeEnum": {
    "enum": [
     "ConsistentWithPim",
     "ReversedComparedToPim",
     "AtTheBeginning2",
     "AtTheBeginning3",
     "AtTheBeginning4",
     "AtTheBeginning5",
     "AtTheBeginning6",
     "AtTheBeginning7",
     "AtTheBeginning8",
     "AtTheBeginning9",
     "AtTheBeginning10",
     "AtTheBeginning11",
     "AtTheBeginning12",
     "AtTheBeginning13",
     "AtTheBeginning14",
     "AtTheBeginning15",
     "AtTheBeginning16",
     "AtTheBeginning17",
     "AtTheBeginning18",
     "AtTheBeginning19",
     "AtTheBeginning20",
     "AtTheBeginning21",
     "AtTheBeginning22",
     "AtTheBeginning23",
     "AtTheBeginning24",
     "AtTheBeginning25",
     "AtTheBeginning26",
     "AtTheBeginning27",
     "AtTheBeginning28",
     "AtTheBeginning29",
     "AtTheBeginning30",
     "AtTheBeginning31",
     "AtTheBeginning32"
    ],
    "type": "string"
   },
   "GalleryQuantityTypeEnum": {
    "enum": [
     "OnlyFirst",
     "All",
     "AllExceptFirst",
     "OnlyLast",
     "OnlyFirst2",
     "OnlyFirst3",
     "OnlyFirst4",
     "OnlyFirst5",
     "OnlyFirst6",
     "OnlyFirst7",
     "OnlyFirst8",
     "OnlyFirst9",
     "OnlyFirst10",
     "OnlyFirst11",
     "OnlyFirst12",
     "OnlyFirst13",
     "OnlyFirst14",
     "OnlyFirst15",
     "OnlyFirst16",
     "OnlyFirst17",
     "OnlyFirst18",
     "OnlyFirst19",
     "OnlyFirst20",
     "OnlyFirst21",
     "OnlyFirst22",
     "OnlyFirst23",
     "OnlyFirst24",
     "OnlyFirst25",
     "OnlyFirst26",
     "OnlyFirst27",
     "OnlyFirst28",
     "OnlyFirst29",
     "OnlyFirst30",
     "OnlyFirst31",
     "OnlyFirst32"
    ],
    "type": "string"
   },
   "CreateManageOffersFilterPresetRequest": {
    "required": [
     "filterGroups",
     "name"
    ],
    "type": "object",
    "properties": {
     "name": {
      "type": "string"
     },
     "filterGroups": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/AdvancedFilterGroup"
      }
     }
    },
    "additionalProperties": false
   },
   "DeleteManageOffersFilterPresetRequest": {
    "required": [
     "id"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     }
    },
    "additionalProperties": false
   },
   "FilterManageOffersRequest": {
    "required": [
     "connectionId",
     "filterGroups",
     "limit",
     "offset"
    ],
    "type": "object",
    "properties": {
     "connectionId": {
      "type": "string"
     },
     "filterGroups": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/AdvancedFilterGroup"
      }
     },
     "limit": {
      "type": "integer",
      "format": "int32"
     },
     "offset": {
      "type": "integer",
      "format": "int32"
     },
     "offerStatus": {
      "allOf": [
       {
        "$ref": "#/components/schemas/AllegroOfferStatus"
       }
      ],
      "nullable": true
     },
     "sortType": {
      "allOf": [
       {
        "$ref": "#/components/schemas/SortType"
       }
      ],
      "nullable": true
     },
     "sortOrder": {
      "allOf": [
       {
        "$ref": "#/components/schemas/SortOrder"
       }
      ],
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "UpdateManageOffersFilterPresetRequest": {
    "required": [
     "filterGroups",
     "id",
     "name"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "name": {
      "type": "string"
     },
     "filterGroups": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/AdvancedFilterGroup"
      }
     }
    },
    "additionalProperties": false
   },
   "GetManageOffersFilterPresetsResponse": {
    "required": [
     "presets"
    ],
    "type": "object",
    "properties": {
     "presets": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ManageOffersFilterPresetResponse"
      }
     }
    },
    "additionalProperties": false
   },
   "ManageOffersFilterPresetResponse": {
    "required": [
     "filterGroups",
     "id",
     "name"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "name": {
      "type": "string"
     },
     "filterGroups": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/AdvancedFilterGroup"
      }
     }
    },
    "additionalProperties": false
   },
   "CancelOfferOperationsRequest": {
    "required": [
     "id"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     }
    },
    "additionalProperties": false
   },
   "AggregateOfferOperationV2ListElementResponse": {
    "required": [
     "allegroInProgressOffers",
     "cancelledOffers",
     "connectionId",
     "connectionName",
     "failedOffers",
     "id",
     "notProcessedOffers",
     "operationDate",
     "operations",
     "scheduledOffers",
     "successfulOffers",
     "totalOffers",
     "username"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "operationDate": {
      "type": "string",
      "format": "date-time"
     },
     "connectionId": {
      "type": "string"
     },
     "connectionName": {
      "type": "string"
     },
     "username": {
      "type": "string"
     },
     "email": {
      "type": "string",
      "nullable": true
     },
     "operations": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "totalOffers": {
      "type": "integer",
      "format": "int32"
     },
     "successfulOffers": {
      "type": "integer",
      "format": "int32"
     },
     "allegroInProgressOffers": {
      "type": "integer",
      "format": "int32"
     },
     "failedOffers": {
      "type": "integer",
      "format": "int32"
     },
     "notProcessedOffers": {
      "type": "integer",
      "format": "int32"
     },
     "cancelledOffers": {
      "type": "integer",
      "format": "int32"
     },
     "scheduledOffers": {
      "type": "integer",
      "format": "int32"
     }
    },
    "additionalProperties": false
   },
   "AggregateOfferOperationV2Response": {
    "required": [
     "connectionId",
     "connectionName",
     "id",
     "offerOperations",
     "operationDate",
     "operations",
     "username"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "operationDate": {
      "type": "string",
      "format": "date-time"
     },
     "connectionId": {
      "type": "string"
     },
     "connectionName": {
      "type": "string"
     },
     "username": {
      "type": "string"
     },
     "email": {
      "type": "string",
      "nullable": true
     },
     "operations": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "scheduledDate": {
      "type": "string",
      "format": "date-time",
      "nullable": true
     },
     "offerOperations": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/OfferOperationV2Response"
      }
     }
    },
    "additionalProperties": false
   },
   "GetAllOfferOperationsV2Response": {
    "required": [
     "aggregateOperations",
     "totalCount"
    ],
    "type": "object",
    "properties": {
     "aggregateOperations": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/AggregateOfferOperationV2ListElementResponse"
      }
     },
     "totalCount": {
      "type": "integer",
      "format": "int32"
     }
    },
    "additionalProperties": false
   },
   "OfferOperationV2Response": {
    "required": [
     "offerId",
     "offerName",
     "status"
    ],
    "type": "object",
    "properties": {
     "offerId": {
      "type": "string"
     },
     "offerName": {
      "type": "string"
     },
     "status": {
      "allOf": [
       {
        "$ref": "#/components/schemas/OfferOperationStatus"
       }
      ]
     },
     "errorMessage": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "ComplexOperationType": {
    "enum": [
     "Edit",
     "Activate",
     "End",
     "ListOnAnotherAccount",
     "SetRenewOffers",
     "SetSynchronizationOfStocksAndPrices",
     "ChangeOfferSettingsOnRenew",
     "DeleteOffersFromSystem",
     "LinkWithWarehouseProducts",
     "MergeIntoVariantGroup",
     "UpdateOfferParametersInPim",
     "UpdateOfferDescriptionAndImagesInPim"
    ],
    "type": "string"
   },
   "OfferOperationStatus": {
    "enum": [
     "NotProcessed",
     "StartedProcessing",
     "Success",
     "AllegroInProgress",
     "AllegroError",
     "SystemError",
     "OfferNotFoundOrArchived",
     "Cancelled",
     "Scheduled"
    ],
    "type": "string"
   },
   "AddOrUpdateParameterRuleRequest": {
    "required": [
     "catalogId",
     "conditionContent",
     "conditionType",
     "ruleContent",
     "ruleType"
    ],
    "type": "object",
    "properties": {
     "existingRuleId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "catalogId": {
      "type": "string"
     },
     "ruleType": {
      "allOf": [
       {
        "$ref": "#/components/schemas/ParameterRuleType"
       }
      ]
     },
     "ruleContent": {
      "type": "string"
     },
     "conditionType": {
      "allOf": [
       {
        "$ref": "#/components/schemas/ParameterRuleConditionType"
       }
      ]
     },
     "conditionContent": {
      "type": "string"
     },
     "conditionParameterName": {
      "type": "string",
      "nullable": true
     },
     "parameterName": {
      "type": "string",
      "nullable": true
     },
     "unit": {
      "type": "string",
      "nullable": true
     },
     "valueSourceType": {
      "allOf": [
       {
        "$ref": "#/components/schemas/ParameterRuleValueSourceType"
       }
      ],
      "nullable": true
     },
     "parameterRulesMap": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ParameterRuleValueMappingDto"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "CopyParameterRulesRequest": {
    "required": [
     "sourceCatalogId",
     "targetCatalogId"
    ],
    "type": "object",
    "properties": {
     "sourceCatalogId": {
      "type": "string"
     },
     "targetCatalogId": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "RemoveParameterRuleRequest": {
    "required": [
     "ruleId"
    ],
    "type": "object",
    "properties": {
     "ruleId": {
      "type": "integer",
      "format": "int64"
     }
    },
    "additionalProperties": false
   },
   "GetAvailableRulesAndConditionsResponse": {
    "required": [
     "conditions",
     "rules"
    ],
    "type": "object",
    "properties": {
     "rules": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ParameterRuleType"
      }
     },
     "conditions": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ParameterRuleConditionType"
      }
     }
    },
    "additionalProperties": false
   },
   "GetParameterRulesResponse": {
    "required": [
     "rules"
    ],
    "type": "object",
    "properties": {
     "rules": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ParameterRuleResponse"
      }
     }
    },
    "additionalProperties": false
   },
   "ParameterRuleResponse": {
    "required": [
     "conditionType",
     "id",
     "parameterName",
     "ruleType"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "ruleType": {
      "allOf": [
       {
        "$ref": "#/components/schemas/ParameterRuleType"
       }
      ]
     },
     "conditionType": {
      "allOf": [
       {
        "$ref": "#/components/schemas/ParameterRuleConditionType"
       }
      ]
     },
     "parameterName": {
      "type": "string"
     },
     "unit": {
      "type": "string",
      "nullable": true
     },
     "customValue": {
      "type": "string",
      "nullable": true
     },
     "parameterRulesMap": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ParameterRuleValueMappingDto"
      },
      "nullable": true
     },
     "conditionValue": {
      "type": "string",
      "nullable": true
     },
     "conditionParameterName": {
      "type": "string",
      "nullable": true
     },
     "valueSourceType": {
      "allOf": [
       {
        "$ref": "#/components/schemas/ParameterRuleValueSourceType"
       }
      ],
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "ParameterRuleValueMappingDto": {
    "required": [
     "allegroValue",
     "warehouseValue"
    ],
    "type": "object",
    "properties": {
     "warehouseValue": {
      "type": "string"
     },
     "allegroValue": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "ParameterRuleConditionType": {
    "enum": [
     "Always",
     "CategoryInWarehouseReference",
     "Manufacturer",
     "ProductNameContains",
     "VariantNameContains",
     "ProductDescriptionContains",
     "SkuContains",
     "SkuBeginsWith",
     "SkuEndsWith",
     "ParameterContains",
     "ParameterNotContains",
     "ParameterEqual",
     "ParameterNotEqual",
     "ParameterGreaterThan",
     "ParameterLessThan",
     "ParameterGreaterThanOrEqual",
     "ParameterLessThanOrEqual",
     "ParameterEmpty",
     "ParameterNotEmpty"
    ],
    "type": "string"
   },
   "ParameterRuleType": {
    "enum": [
     "CopyFromWarehouseParameter",
     "CopyFromWarehouseField",
     "SetValue",
     "InsertAuctionName",
     "InsertWarehouseProductName",
     "InsertVariantName",
     "InsertManufacturerName",
     "InsertEan",
     "InsertSku",
     "InsertWeight",
     "SetShippingRates",
     "SetAuctionTemplate",
     "SetPersonResponsible",
     "SetProducerResponsible",
     "CopyFromExtraField"
    ],
    "type": "string"
   },
   "ParameterRuleValueSourceType": {
    "enum": [
     "SetValue",
     "CopyFromWarehouseParameter",
     "CopyFromWarehouseField"
    ],
    "type": "string"
   },
   "FetchConnectionResponsiblePersonsRequest": {
    "required": [
     "connectionId"
    ],
    "type": "object",
    "properties": {
     "connectionId": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "FetchConnectionResponsibleProducersRequest": {
    "required": [
     "connectionId"
    ],
    "type": "object",
    "properties": {
     "connectionId": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "ConnectionResponsiblePerson": {
    "required": [
     "responsiblePersonId",
     "responsiblePersonName"
    ],
    "type": "object",
    "properties": {
     "responsiblePersonId": {
      "type": "string"
     },
     "responsiblePersonName": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "ConnectionResponsibleProducer": {
    "required": [
     "responsibleProducerId",
     "responsibleProducerName"
    ],
    "type": "object",
    "properties": {
     "responsibleProducerId": {
      "type": "string"
     },
     "responsibleProducerName": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "FetchConnectionResponsiblePersonsResponse": {
    "required": [
     "connectionId",
     "connectionName",
     "connectionResponsiblePersons"
    ],
    "type": "object",
    "properties": {
     "connectionId": {
      "type": "string"
     },
     "connectionName": {
      "type": "string"
     },
     "connectionResponsiblePersons": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ConnectionResponsiblePerson"
      }
     }
    },
    "additionalProperties": false
   },
   "FetchConnectionResponsibleProducersResponse": {
    "required": [
     "connectionId",
     "connectionName",
     "connectionResponsibleProducers"
    ],
    "type": "object",
    "properties": {
     "connectionId": {
      "type": "string"
     },
     "connectionName": {
      "type": "string"
     },
     "connectionResponsibleProducers": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ConnectionResponsibleProducer"
      }
     }
    },
    "additionalProperties": false
   },
   "GetResponsiblePersonsResponse": {
    "required": [
     "responsiblePersons"
    ],
    "type": "object",
    "properties": {
     "responsiblePersons": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ResponsiblePersonListResponse"
      }
     }
    },
    "additionalProperties": false
   },
   "GetResponsibleProducersResponse": {
    "required": [
     "responsibleProducers"
    ],
    "type": "object",
    "properties": {
     "responsibleProducers": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ResponsibleProducerListResponse"
      }
     }
    },
    "additionalProperties": false
   },
   "ResponsiblePersonListResponse": {
    "required": [
     "connectionId",
     "connectionName",
     "responsiblePersonId",
     "responsiblePersonName"
    ],
    "type": "object",
    "properties": {
     "responsiblePersonId": {
      "type": "string"
     },
     "responsiblePersonName": {
      "type": "string"
     },
     "connectionId": {
      "type": "string"
     },
     "connectionName": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "ResponsibleProducerListResponse": {
    "required": [
     "connectionId",
     "connectionName",
     "responsibleProducerId",
     "responsibleProducerName"
    ],
    "type": "object",
    "properties": {
     "responsibleProducerId": {
      "type": "string"
     },
     "responsibleProducerName": {
      "type": "string"
     },
     "connectionId": {
      "type": "string"
     },
     "connectionName": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "GetScheduledImportsResponse": {
    "required": [
     "scheduledImports"
    ],
    "type": "object",
    "properties": {
     "scheduledImports": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ScheduledImport"
      }
     }
    },
    "additionalProperties": false
   },
   "ScheduledImport": {
    "required": [
     "request",
     "times"
    ],
    "type": "object",
    "properties": {
     "request": {
      "allOf": [
       {
        "$ref": "#/components/schemas/ScheduledImportRequest"
       }
      ]
     },
     "times": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ScheduledImportTime"
      }
     }
    },
    "additionalProperties": false
   },
   "ScheduledImportRequest": {
    "required": [
     "autoRenew",
     "connectionId",
     "createProduct",
     "matchByEan",
     "matchBySku",
     "templateId"
    ],
    "type": "object",
    "properties": {
     "connectionId": {
      "type": "string"
     },
     "templateId": {
      "type": "integer",
      "format": "int32"
     },
     "createProduct": {
      "type": "boolean"
     },
     "matchBySku": {
      "type": "boolean"
     },
     "matchByEan": {
      "type": "boolean"
     },
     "autoRenew": {
      "type": "boolean"
     },
     "offerIds": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "nullable": true
     },
     "shippingRateId": {
      "type": "string",
      "nullable": true
     },
     "pimCatalogId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "priceGroupId": {
      "type": "integer",
      "format": "int32",
      "nullable": true
     },
     "warehouseId": {
      "type": "integer",
      "format": "int32",
      "nullable": true
     },
     "findProducts": {
      "type": "string",
      "nullable": true
     },
     "linkProducts": {
      "type": "boolean",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "ScheduledImportTime": {
    "required": [
     "day",
     "hour"
    ],
    "type": "object",
    "properties": {
     "day": {
      "type": "integer",
      "format": "int32"
     },
     "hour": {
      "type": "integer",
      "format": "int32"
     }
    },
    "additionalProperties": false
   },
   "AfterSalesServicesDto": {
    "type": "object",
    "properties": {
     "impliedWarranty": {
      "allOf": [
       {
        "$ref": "#/components/schemas/ImpliedWarrantyDto"
       }
      ],
      "nullable": true
     },
     "returnPolicy": {
      "allOf": [
       {
        "$ref": "#/components/schemas/ReturnPolicyDto"
       }
      ],
      "nullable": true
     },
     "warranty": {
      "allOf": [
       {
        "$ref": "#/components/schemas/WarrantyDto"
       }
      ],
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "ImpliedWarrantyDto": {
    "required": [
     "id"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "ReturnPolicyDto": {
    "required": [
     "id"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "WarrantyDto": {
    "required": [
     "id"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "DeliveryDto": {
    "type": "object",
    "properties": {
     "shippingRates": {
      "allOf": [
       {
        "$ref": "#/components/schemas/ShippingRatesDto"
       }
      ],
      "nullable": true
     },
     "handlingTime": {
      "type": "string",
      "nullable": true
     },
     "additionalInfo": {
      "type": "string",
      "nullable": true
     },
     "shipmentDate": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "ShippingRatesDto": {
    "required": [
     "id"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "DescriptionDto": {
    "required": [
     "sections"
    ],
    "type": "object",
    "properties": {
     "sections": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/DescriptionSectionDto"
      }
     }
    },
    "additionalProperties": false
   },
   "DescriptionItemDto": {
    "required": [
     "type"
    ],
    "type": "object",
    "properties": {
     "type": {
      "type": "string"
     },
     "content": {
      "type": "string",
      "nullable": true
     },
     "url": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "DescriptionSectionDto": {
    "required": [
     "items"
    ],
    "type": "object",
    "properties": {
     "items": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/DescriptionItemDto"
      }
     }
    },
    "additionalProperties": false
   },
   "ExternalDto": {
    "required": [
     "id"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "ImageDto": {
    "required": [
     "url"
    ],
    "type": "object",
    "properties": {
     "url": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "OfferStockDto": {
    "required": [
     "available",
     "unit"
    ],
    "type": "object",
    "properties": {
     "available": {
      "type": "integer",
      "format": "int32"
     },
     "unit": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "ParameterDto": {
    "required": [
     "id",
     "name",
     "unit"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "name": {
      "type": "string"
     },
     "rangeValue": {
      "allOf": [
       {
        "$ref": "#/components/schemas/ParameterRangeValue"
       }
      ],
      "nullable": true
     },
     "values": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "nullable": true
     },
     "valuesLabels": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "nullable": true
     },
     "valuesIds": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "nullable": true
     },
     "unit": {
      "type": "string"
     },
     "options": {
      "allOf": [
       {
        "$ref": "#/components/schemas/ParameterOptionsDto"
       }
      ],
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "ParameterOptionsDto": {
    "required": [
     "identifiesProduct",
     "isAiCoCreated",
     "isGTIN",
     "isTrusted"
    ],
    "type": "object",
    "properties": {
     "identifiesProduct": {
      "type": "boolean"
     },
     "isGTIN": {
      "type": "boolean"
     },
     "isTrusted": {
      "type": "boolean"
     },
     "isAiCoCreated": {
      "type": "boolean"
     }
    },
    "additionalProperties": false
   },
   "ParameterRangeValue": {
    "required": [
     "from",
     "to"
    ],
    "type": "object",
    "properties": {
     "from": {
      "type": "string"
     },
     "to": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "ResponsiblePersonAddressDto": {
    "required": [
     "city",
     "countryCode",
     "postalCode",
     "street"
    ],
    "type": "object",
    "properties": {
     "countryCode": {
      "type": "string"
     },
     "street": {
      "type": "string"
     },
     "postalCode": {
      "type": "string"
     },
     "city": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "ResponsiblePersonContactDto": {
    "required": [
     "email",
     "formUrl",
     "phoneNumber"
    ],
    "type": "object",
    "properties": {
     "email": {
      "type": "string"
     },
     "phoneNumber": {
      "type": "string"
     },
     "formUrl": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "ResponsiblePersonDataDto": {
    "required": [
     "address",
     "contact",
     "name"
    ],
    "type": "object",
    "properties": {
     "name": {
      "type": "string"
     },
     "address": {
      "allOf": [
       {
        "$ref": "#/components/schemas/ResponsiblePersonAddressDto"
       }
      ]
     },
     "contact": {
      "allOf": [
       {
        "$ref": "#/components/schemas/ResponsiblePersonContactDto"
       }
      ]
     }
    },
    "additionalProperties": false
   },
   "ResponsibleResponsiblePersonDto": {
    "required": [
     "name",
     "personalData"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "nullable": true
     },
     "name": {
      "type": "string"
     },
     "personalData": {
      "allOf": [
       {
        "$ref": "#/components/schemas/ResponsiblePersonDataDto"
       }
      ]
     }
    },
    "additionalProperties": false
   },
   "ResponsibleProducerAddressDto": {
    "required": [
     "city",
     "countryCode",
     "postalCode",
     "street"
    ],
    "type": "object",
    "properties": {
     "countryCode": {
      "type": "string"
     },
     "street": {
      "type": "string"
     },
     "postalCode": {
      "type": "string"
     },
     "city": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "ResponsibleProducerContactDto": {
    "required": [
     "email",
     "formUrl",
     "phoneNumber"
    ],
    "type": "object",
    "properties": {
     "email": {
      "type": "string"
     },
     "phoneNumber": {
      "type": "string"
     },
     "formUrl": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "ResponsibleProducerDataDto": {
    "required": [
     "address",
     "contact",
     "tradeName"
    ],
    "type": "object",
    "properties": {
     "tradeName": {
      "type": "string"
     },
     "address": {
      "allOf": [
       {
        "$ref": "#/components/schemas/ResponsibleProducerAddressDto"
       }
      ]
     },
     "contact": {
      "allOf": [
       {
        "$ref": "#/components/schemas/ResponsibleProducerContactDto"
       }
      ]
     }
    },
    "additionalProperties": false
   },
   "ResponsibleResponsibleProducerDto": {
    "required": [
     "name",
     "producerData"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "nullable": true
     },
     "name": {
      "type": "string"
     },
     "producerData": {
      "allOf": [
       {
        "$ref": "#/components/schemas/ResponsibleProducerDataDto"
       }
      ]
     }
    },
    "additionalProperties": false
   },
   "PriceDto": {
    "required": [
     "amount",
     "currency"
    ],
    "type": "object",
    "properties": {
     "amount": {
      "type": "string"
     },
     "currency": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "SellingModeDto": {
    "required": [
     "format"
    ],
    "type": "object",
    "properties": {
     "format": {
      "type": "string"
     },
     "price": {
      "allOf": [
       {
        "$ref": "#/components/schemas/PriceDto"
       }
      ],
      "nullable": true
     },
     "minimalPrice": {
      "allOf": [
       {
        "$ref": "#/components/schemas/PriceDto"
       }
      ],
      "nullable": true
     },
     "startingPrice": {
      "allOf": [
       {
        "$ref": "#/components/schemas/PriceDto"
       }
      ],
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "AttachmentType": {
    "enum": [
     "MANUAL",
     "SPECIAL_OFFER_RULES",
     "COMPETITION_RULES",
     "BOOK_EXCERPT",
     "USER_MANUAL",
     "INSTALLATION_INSTRUCTIONS",
     "GAME_INSTRUCTIONS",
     "ENERGY_LABEL",
     "PRODUCT_INFORMATION_SHEET",
     "TIRE_LABEL",
     "SAFETY_INFORMATION_MANUAL",
     "SOFTWARE_DATA_PROCESSING",
     "HARDWARE_DATA_PROCESSING",
     "PLANT_PROTECTION_PRODUCTS_AUTHORIZATION"
    ],
    "type": "string"
   },
   "AttachmentDto": {
    "required": [
     "id"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "PaymentsDto": {
    "required": [
     "invoice"
    ],
    "type": "object",
    "properties": {
     "invoice": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "TaxSettingsDto": {
    "required": [
     "rates"
    ],
    "type": "object",
    "properties": {
     "rates": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/TaxSettingsRateDto"
      }
     }
    },
    "additionalProperties": false
   },
   "TaxSettingsRateDto": {
    "required": [
     "countryCode"
    ],
    "type": "object",
    "properties": {
     "rate": {
      "type": "string",
      "nullable": true
     },
     "countryCode": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "ErrorResponseDto": {
    "required": [
     "code",
     "fullLogMessage",
     "userMessage"
    ],
    "type": "object",
    "properties": {
     "code": {
      "type": "string"
     },
     "message": {
      "type": "string",
      "nullable": true
     },
     "details": {
      "type": "string",
      "nullable": true
     },
     "path": {
      "type": "string",
      "nullable": true
     },
     "userMessage": {
      "type": "string"
     },
     "metadata": {
      "type": "object",
      "additionalProperties": {
       "$ref": "#/components/schemas/JsonNode"
      },
      "nullable": true
     },
     "fullLogMessage": {
      "type": "string",
      "readOnly": true
     }
    },
    "additionalProperties": false
   },
   "GetActiveSellerOffersCountGroupedByProductIdResponseDto": {
    "required": [
     "activeOfferCount"
    ],
    "type": "object",
    "properties": {
     "productId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "activeOfferCount": {
      "type": "integer",
      "format": "int32"
     }
    },
    "additionalProperties": false
   },
   "AdditionalDto": {
    "required": [
     "id"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "BaseDto": {
    "required": [
     "id"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "GetOfferCategoryDto": {
    "required": [
     "id"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "DiscountsDto": {
    "type": "object",
    "properties": {
     "wholesalePriceList": {
      "allOf": [
       {
        "$ref": "#/components/schemas/WholesalePriceListDto"
       }
      ],
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "GetOfferDto": {
    "required": [
     "attachments",
     "b2b",
     "category",
     "delivery",
     "description",
     "discounts",
     "external",
     "id",
     "images",
     "language",
     "location",
     "name",
     "parameters",
     "payments",
     "productSet",
     "publication",
     "sellingMode",
     "validation",
     "warnings"
    ],
    "type": "object",
    "properties": {
     "name": {
      "type": "string"
     },
     "productSet": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ProductSetDto"
      }
     },
     "parameters": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ParameterDto"
      }
     },
     "images": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "afterSalesServices": {
      "allOf": [
       {
        "$ref": "#/components/schemas/AfterSalesServicesDto"
       }
      ],
      "nullable": true
     },
     "payments": {
      "allOf": [
       {
        "$ref": "#/components/schemas/PaymentsDto"
       }
      ]
     },
     "sellingMode": {
      "allOf": [
       {
        "$ref": "#/components/schemas/SellingModeDto"
       }
      ]
     },
     "stock": {
      "allOf": [
       {
        "$ref": "#/components/schemas/OfferStockDto"
       }
      ],
      "nullable": true
     },
     "location": {
      "allOf": [
       {
        "$ref": "#/components/schemas/LocationDto"
       }
      ]
     },
     "delivery": {
      "allOf": [
       {
        "$ref": "#/components/schemas/DeliveryDto"
       }
      ]
     },
     "description": {
      "allOf": [
       {
        "$ref": "#/components/schemas/DescriptionDto"
       }
      ]
     },
     "external": {
      "allOf": [
       {
        "$ref": "#/components/schemas/ExternalDto"
       }
      ]
     },
     "category": {
      "allOf": [
       {
        "$ref": "#/components/schemas/GetOfferCategoryDto"
       }
      ]
     },
     "taxSettings": {
      "allOf": [
       {
        "$ref": "#/components/schemas/TaxSettingsDto"
       }
      ],
      "nullable": true
     },
     "sizeTable": {
      "type": "object",
      "additionalProperties": {
       "$ref": "#/components/schemas/JsonNode"
      },
      "nullable": true
     },
     "discounts": {
      "allOf": [
       {
        "$ref": "#/components/schemas/DiscountsDto"
       }
      ]
     },
     "contact": {
      "type": "object",
      "additionalProperties": {
       "$ref": "#/components/schemas/JsonNode"
      },
      "nullable": true
     },
     "fundraisingCampaign": {
      "type": "object",
      "additionalProperties": {
       "$ref": "#/components/schemas/JsonNode"
      },
      "nullable": true
     },
     "messageToSellerSettings": {
      "type": "object",
      "additionalProperties": {
       "$ref": "#/components/schemas/JsonNode"
      },
      "nullable": true
     },
     "attachments": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/AttachmentDto"
      }
     },
     "b2b": {
      "allOf": [
       {
        "$ref": "#/components/schemas/B2bDto"
       }
      ]
     },
     "additionalServices": {
      "allOf": [
       {
        "$ref": "#/components/schemas/AdditionalDto"
       }
      ],
      "nullable": true
     },
     "compatibilityList": {
      "allOf": [
       {
        "$ref": "#/components/schemas/CompatibilityListDto"
       }
      ],
      "nullable": true
     },
     "additionalMarketplaces": {
      "type": "object",
      "additionalProperties": {
       "$ref": "#/components/schemas/JsonNode"
      },
      "nullable": true
     },
     "warnings": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ErrorResponseDto"
      }
     },
     "id": {
      "type": "string"
     },
     "language": {
      "type": "string"
     },
     "publication": {
      "allOf": [
       {
        "$ref": "#/components/schemas/OfferPublicationDto"
       }
      ]
     },
     "validation": {
      "allOf": [
       {
        "$ref": "#/components/schemas/ValidationDto"
       }
      ]
     },
     "createdAt": {
      "type": "string",
      "format": "date-time",
      "nullable": true
     },
     "updatedAt": {
      "type": "string",
      "format": "date-time",
      "nullable": true
     },
     "aiCoCreatedContent": {
      "allOf": [
       {
        "$ref": "#/components/schemas/AiCoCreatedContentDto"
       }
      ],
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "LocationDto": {
    "required": [
     "city",
     "countryCode",
     "postCode",
     "province"
    ],
    "type": "object",
    "properties": {
     "countryCode": {
      "type": "string"
     },
     "province": {
      "type": "string"
     },
     "city": {
      "type": "string"
     },
     "postCode": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "MarketplacesDto": {
    "required": [
     "additional",
     "base"
    ],
    "type": "object",
    "properties": {
     "base": {
      "allOf": [
       {
        "$ref": "#/components/schemas/BaseDto"
       }
      ]
     },
     "additional": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/AdditionalDto"
      }
     }
    },
    "additionalProperties": false
   },
   "OfferPublicationDto": {
    "required": [
     "marketplaces",
     "republish",
     "startingAt",
     "status"
    ],
    "type": "object",
    "properties": {
     "status": {
      "type": "string"
     },
     "refusalReasons": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/RefusalReasonDto"
      },
      "nullable": true
     },
     "duration": {
      "type": "string",
      "nullable": true
     },
     "endedBy": {
      "type": "string",
      "nullable": true
     },
     "endingAt": {
      "type": "string",
      "nullable": true
     },
     "startingAt": {
      "type": "string"
     },
     "republish": {
      "type": "boolean"
     },
     "marketplaces": {
      "allOf": [
       {
        "$ref": "#/components/schemas/MarketplacesDto"
       }
      ]
     }
    },
    "additionalProperties": false
   },
   "ProductDto": {
    "required": [
     "id",
     "parameters",
     "publication"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "publication": {
      "allOf": [
       {
        "$ref": "#/components/schemas/ProductPublicationDto"
       }
      ]
     },
     "parameters": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ParameterDto"
      }
     }
    },
    "additionalProperties": false
   },
   "ProductPublicationDto": {
    "required": [
     "status"
    ],
    "type": "object",
    "properties": {
     "status": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "ProductSetDto": {
    "required": [
     "product",
     "quantity"
    ],
    "type": "object",
    "properties": {
     "product": {
      "allOf": [
       {
        "$ref": "#/components/schemas/ProductDto"
       }
      ]
     },
     "quantity": {
      "allOf": [
       {
        "$ref": "#/components/schemas/QuantityDto"
       }
      ]
     },
     "responsibleProducer": {
      "allOf": [
       {
        "$ref": "#/components/schemas/GetOfferResponsibleProducerDto"
       }
      ],
      "nullable": true
     },
     "responsiblePerson": {
      "allOf": [
       {
        "$ref": "#/components/schemas/GetOfferResponsiblePersonDto"
       }
      ],
      "nullable": true
     },
     "safetyInformation": {
      "allOf": [
       {
        "$ref": "#/components/schemas/SafetyInformationDto"
       }
      ],
      "nullable": true
     },
     "marketedBeforeGPSRObligation": {
      "type": "boolean",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "QuantityDto": {
    "required": [
     "value"
    ],
    "type": "object",
    "properties": {
     "value": {
      "type": "integer",
      "format": "int32"
     }
    },
    "additionalProperties": false
   },
   "RefusalReasonDto": {
    "required": [
     "code",
     "userMessage"
    ],
    "type": "object",
    "properties": {
     "code": {
      "type": "string"
     },
     "userMessage": {
      "type": "string"
     },
     "parameters": {
      "type": "object",
      "additionalProperties": {
       "$ref": "#/components/schemas/JsonNode"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "GetOfferResponsiblePersonDto": {
    "required": [
     "id"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "GetOfferResponsibleProducerDto": {
    "required": [
     "id"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "SafetyInformationAttachmentDto": {
    "required": [
     "id"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "SafetyInformationDto": {
    "required": [
     "type"
    ],
    "type": "object",
    "properties": {
     "type": {
      "type": "string"
     },
     "description": {
      "type": "string",
      "nullable": true
     },
     "attachments": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/SafetyInformationAttachmentDto"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "ValidationDto": {
    "required": [
     "validatedAt"
    ],
    "type": "object",
    "properties": {
     "errors": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ErrorResponseDto"
      },
      "nullable": true
     },
     "warnings": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ErrorResponseDto"
      },
      "nullable": true
     },
     "validatedAt": {
      "type": "string",
      "format": "date-time"
     }
    },
    "additionalProperties": false
   },
   "WholesalePriceListDto": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "OfferTag": {
    "required": [
     "hidden",
     "id",
     "name"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "name": {
      "type": "string"
     },
     "hidden": {
      "type": "boolean"
     }
    },
    "additionalProperties": false
   },
   "GetProductAllegroOffersResponse": {
    "required": [
     "productAllegroOffers"
    ],
    "type": "object",
    "properties": {
     "productAllegroOffers": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ProductAllegroOfferDto"
      }
     }
    },
    "additionalProperties": false
   },
   "ProductAllegroOfferDto": {
    "required": [
     "allegroOfferId",
     "autoRenew",
     "connectionId",
     "templateId"
    ],
    "type": "object",
    "properties": {
     "connectionId": {
      "type": "string"
     },
     "productId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "allegroOfferId": {
      "type": "string"
     },
     "templateId": {
      "type": "integer",
      "format": "int64"
     },
     "autoRenew": {
      "type": "boolean"
     }
    },
    "additionalProperties": false
   },
   "AiCoCreatedContentDto": {
    "required": [
     "images"
    ],
    "type": "object",
    "properties": {
     "images": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ImageDto"
      }
     },
     "paths": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "GetProductResponseCategoryDto": {
    "required": [
     "id",
     "path",
     "similar"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "path": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/CategoryPathDto"
      }
     },
     "similar": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/SimilarCategoryDto"
      }
     }
    },
    "additionalProperties": false
   },
   "CategoryPathDto": {
    "required": [
     "id",
     "name"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "name": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "CompatibilityItemDto": {
    "required": [
     "text"
    ],
    "type": "object",
    "properties": {
     "text": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "CompatibilityListDto": {
    "required": [
     "items",
     "type"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "nullable": true
     },
     "type": {
      "type": "string"
     },
     "items": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/CompatibilityItemDto"
      }
     }
    },
    "additionalProperties": false
   },
   "SimilarCategoryDto": {
    "required": [
     "id",
     "path"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "path": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/CategoryPathDto"
      }
     }
    },
    "additionalProperties": false
   },
   "OptionsResponseDto": {
    "required": [
     "identifiesProduct"
    ],
    "type": "object",
    "properties": {
     "identifiesProduct": {
      "type": "boolean"
     },
     "isGTIN": {
      "type": "boolean",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "ParameterResponseDto": {
    "required": [
     "id",
     "name",
     "unit"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "name": {
      "type": "string"
     },
     "valuesLabels": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "nullable": true
     },
     "valuesIds": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "nullable": true
     },
     "values": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "nullable": true
     },
     "unit": {
      "type": "string"
     },
     "options": {
      "allOf": [
       {
        "$ref": "#/components/schemas/OptionsResponseDto"
       }
      ],
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "ProductResponseDto": {
    "required": [
     "category",
     "description",
     "id",
     "images",
     "isDraft",
     "name",
     "parameters",
     "publication"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "name": {
      "type": "string"
     },
     "category": {
      "allOf": [
       {
        "$ref": "#/components/schemas/GetProductResponseCategoryDto"
       }
      ]
     },
     "parameters": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ParameterResponseDto"
      }
     },
     "images": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ImageDto"
      }
     },
     "description": {
      "allOf": [
       {
        "$ref": "#/components/schemas/DescriptionDto"
       }
      ]
     },
     "publication": {
      "allOf": [
       {
        "$ref": "#/components/schemas/PublicationResponseDto"
       }
      ]
     },
     "isDraft": {
      "type": "boolean"
     }
    },
    "additionalProperties": false
   },
   "PublicationResponseDto": {
    "required": [
     "status"
    ],
    "type": "object",
    "properties": {
     "status": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "B2bDto": {
    "required": [
     "buyableOnlyByBusiness"
    ],
    "type": "object",
    "properties": {
     "buyableOnlyByBusiness": {
      "type": "boolean"
     }
    },
    "additionalProperties": false
   },
   "GetSellerOffersResponseDto": {
    "required": [
     "count",
     "offers",
     "totalCount"
    ],
    "type": "object",
    "properties": {
     "offers": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/SellerOfferDto"
      }
     },
     "count": {
      "type": "integer",
      "format": "int64"
     },
     "totalCount": {
      "type": "integer",
      "format": "int64"
     }
    },
    "additionalProperties": false
   },
   "PublicationDto": {
    "required": [
     "status"
    ],
    "type": "object",
    "properties": {
     "status": {
      "type": "string"
     },
     "startingAt": {
      "type": "string",
      "nullable": true
     },
     "startedAt": {
      "type": "string",
      "nullable": true
     },
     "endingAt": {
      "type": "string",
      "nullable": true
     },
     "endedAt": {
      "type": "string",
      "nullable": true
     },
     "marketplaces": {
      "allOf": [
       {
        "$ref": "#/components/schemas/MarketplacesDto"
       }
      ],
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "SaleInfoDto": {
    "required": [
     "biddersCount"
    ],
    "type": "object",
    "properties": {
     "currentPrice": {
      "type": "object",
      "additionalProperties": {
       "$ref": "#/components/schemas/JsonNode"
      },
      "nullable": true
     },
     "biddersCount": {
      "type": "integer",
      "format": "int32"
     }
    },
    "additionalProperties": false
   },
   "SellerOfferDto": {
    "required": [
     "additionalServices",
     "afterSalesServices",
     "b2b",
     "category",
     "delivery",
     "external",
     "id",
     "name",
     "primaryImage",
     "publication",
     "saleInfo",
     "sellingMode",
     "stats",
     "stock"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "name": {
      "type": "string"
     },
     "category": {
      "allOf": [
       {
        "$ref": "#/components/schemas/GetOfferCategoryDto"
       }
      ]
     },
     "primaryImage": {
      "allOf": [
       {
        "$ref": "#/components/schemas/ImageDto"
       }
      ]
     },
     "sellingMode": {
      "allOf": [
       {
        "$ref": "#/components/schemas/SellingModeDto"
       }
      ]
     },
     "saleInfo": {
      "allOf": [
       {
        "$ref": "#/components/schemas/SaleInfoDto"
       }
      ]
     },
     "stats": {
      "allOf": [
       {
        "$ref": "#/components/schemas/StatsDto"
       }
      ]
     },
     "stock": {
      "allOf": [
       {
        "$ref": "#/components/schemas/StockDto"
       }
      ]
     },
     "publication": {
      "allOf": [
       {
        "$ref": "#/components/schemas/PublicationDto"
       }
      ]
     },
     "afterSalesServices": {
      "allOf": [
       {
        "$ref": "#/components/schemas/AfterSalesServicesDto"
       }
      ]
     },
     "additionalServices": {},
     "external": {
      "allOf": [
       {
        "$ref": "#/components/schemas/ExternalDto"
       }
      ]
     },
     "delivery": {
      "allOf": [
       {
        "$ref": "#/components/schemas/DeliveryDto"
       }
      ]
     },
     "b2b": {
      "allOf": [
       {
        "$ref": "#/components/schemas/B2bDto"
       }
      ]
     },
     "fundraisingCampaign": {
      "type": "object",
      "additionalProperties": {
       "$ref": "#/components/schemas/JsonNode"
      },
      "nullable": true
     },
     "additionalMarketplaces": {
      "type": "object",
      "additionalProperties": {
       "$ref": "#/components/schemas/JsonNode"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "StatsDto": {
    "required": [
     "visitsCount",
     "watchersCount"
    ],
    "type": "object",
    "properties": {
     "watchersCount": {
      "type": "integer",
      "format": "int32"
     },
     "visitsCount": {
      "type": "integer",
      "format": "int32"
     }
    },
    "additionalProperties": false
   },
   "StockDto": {
    "required": [
     "available",
     "sold"
    ],
    "type": "object",
    "properties": {
     "available": {
      "type": "integer",
      "format": "int32"
     },
     "sold": {
      "type": "integer",
      "format": "int32"
     }
    },
    "additionalProperties": false
   },
   "WholesalePriceListBenefit": {
    "required": [
     "specification"
    ],
    "type": "object",
    "properties": {
     "specification": {
      "allOf": [
       {
        "$ref": "#/components/schemas/WholesalePriceListSpecification"
       }
      ]
     }
    },
    "additionalProperties": false
   },
   "WholesalePriceListDiscount": {
    "required": [
     "percentage"
    ],
    "type": "object",
    "properties": {
     "percentage": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "WholesalePriceListOfferCriteria": {
    "required": [
     "type"
    ],
    "type": "object",
    "properties": {
     "type": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "WholesalePriceListPromotion": {
    "required": [
     "benefits",
     "id",
     "offerCriteria",
     "status"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "benefits": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/WholesalePriceListBenefit"
      }
     },
     "offerCriteria": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/WholesalePriceListOfferCriteria"
      }
     },
     "status": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "WholesalePriceListQuantity": {
    "required": [
     "lowerBound"
    ],
    "type": "object",
    "properties": {
     "lowerBound": {
      "type": "integer",
      "format": "int32"
     }
    },
    "additionalProperties": false
   },
   "WholesalePriceListSpecification": {
    "required": [
     "name",
     "thresholds",
     "type"
    ],
    "type": "object",
    "properties": {
     "name": {
      "type": "string"
     },
     "thresholds": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/WholesalePriceListTreshold"
      }
     },
     "type": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "WholesalePriceListTreshold": {
    "required": [
     "discount",
     "quantity"
    ],
    "type": "object",
    "properties": {
     "quantity": {
      "allOf": [
       {
        "$ref": "#/components/schemas/WholesalePriceListQuantity"
       }
      ]
     },
     "discount": {
      "allOf": [
       {
        "$ref": "#/components/schemas/WholesalePriceListDiscount"
       }
      ]
     }
    },
    "additionalProperties": false
   },
   "MarketplaceOfferPromoOption": {
    "required": [
     "basePackage",
     "extraPackages",
     "marketplaceId"
    ],
    "type": "object",
    "properties": {
     "marketplaceId": {
      "type": "string"
     },
     "basePackage": {
      "allOf": [
       {
        "$ref": "#/components/schemas/OfferPromoOption"
       }
      ]
     },
     "extraPackages": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/OfferPromoOption"
      }
     },
     "pendingChanges": {
      "allOf": [
       {
        "$ref": "#/components/schemas/OfferPromoOptionsPendingChanges"
       }
      ],
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "OfferPromoOption": {
    "required": [
     "id"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "validFrom": {
      "type": "string",
      "format": "date-time",
      "nullable": true
     },
     "validTo": {
      "type": "string",
      "format": "date-time",
      "nullable": true
     },
     "nextCycleDate": {
      "type": "string",
      "format": "date-time",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "OfferPromoOptions": {
    "required": [
     "additionalMarketplaces",
     "basePackage",
     "extraPackages",
     "marketplaceId",
     "offerId"
    ],
    "type": "object",
    "properties": {
     "offerId": {
      "type": "string"
     },
     "marketplaceId": {
      "type": "string"
     },
     "basePackage": {
      "allOf": [
       {
        "$ref": "#/components/schemas/OfferPromoOption"
       }
      ]
     },
     "extraPackages": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/OfferPromoOption"
      }
     },
     "pendingChanges": {
      "allOf": [
       {
        "$ref": "#/components/schemas/OfferPromoOptionsPendingChanges"
       }
      ],
      "nullable": true
     },
     "additionalMarketplaces": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/MarketplaceOfferPromoOption"
      }
     }
    },
    "additionalProperties": false
   },
   "OfferPromoOptionsPendingChanges": {
    "type": "object",
    "properties": {
     "basePackage": {
      "allOf": [
       {
        "$ref": "#/components/schemas/OfferPromoOption"
       }
      ],
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "AdvancedFilterCondition": {
    "required": [
     "field",
     "fieldType",
     "operator"
    ],
    "type": "object",
    "properties": {
     "field": {
      "type": "string"
     },
     "fieldType": {
      "allOf": [
       {
        "$ref": "#/components/schemas/AdvancedFilterFieldType"
       }
      ]
     },
     "operator": {
      "type": "string"
     },
     "value": {
      "type": "string",
      "nullable": true
     },
     "valueTo": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "AdvancedFilterFieldDefinition": {
    "required": [
     "fieldType",
     "key",
     "operators"
    ],
    "type": "object",
    "properties": {
     "key": {
      "type": "string"
     },
     "fieldType": {
      "allOf": [
       {
        "$ref": "#/components/schemas/AdvancedFilterFieldType"
       }
      ]
     },
     "operators": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "options": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/AdvancedFilterOption"
      },
      "nullable": true
     },
     "label": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "AdvancedFilterFieldType": {
    "enum": [
     "Text",
     "Numeric",
     "Dictionary",
     "Date",
     "Boolean",
     "DictionaryMultiple"
    ],
    "type": "string"
   },
   "AdvancedFilterGroup": {
    "required": [
     "conditions"
    ],
    "type": "object",
    "properties": {
     "conditions": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/AdvancedFilterCondition"
      }
     }
    },
    "additionalProperties": false
   },
   "AdvancedFilterOption": {
    "required": [
     "label",
     "value"
    ],
    "type": "object",
    "properties": {
     "value": {
      "type": "string"
     },
     "label": {
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "CategoriesResponse": {
    "required": [
     "categories"
    ],
    "type": "object",
    "properties": {
     "categories": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/CategoryResponse"
      }
     },
     "additionalProperties": {
      "type": "object",
      "additionalProperties": {
       "nullable": true
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "CategoryOptions": {
    "required": [
     "advertisement",
     "advertisementPriceOptional",
     "customParametersEnabled",
     "offersWithProductPublicationEnabled",
     "productCreationEnabled",
     "sellerCanRequirePurchaseComments"
    ],
    "type": "object",
    "properties": {
     "advertisement": {
      "type": "boolean"
     },
     "advertisementPriceOptional": {
      "type": "boolean"
     },
     "offersWithProductPublicationEnabled": {
      "type": "boolean"
     },
     "productCreationEnabled": {
      "type": "boolean"
     },
     "customParametersEnabled": {
      "type": "boolean"
     },
     "sellerCanRequirePurchaseComments": {
      "type": "boolean"
     },
     "additionalProperties": {
      "type": "object",
      "additionalProperties": {
       "nullable": true
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "CategoryParameterDictionaryResponse": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "nullable": true
     },
     "value": {
      "type": "string",
      "nullable": true
     },
     "dependsOnValueIds": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "nullable": true
     },
     "additionalProperties": {
      "type": "object",
      "additionalProperties": {
       "nullable": true
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "CategoryParameterOptions": {
    "required": [
     "customValuesEnabled",
     "describesProduct"
    ],
    "type": "object",
    "properties": {
     "ambiguousValueId": {
      "type": "string",
      "nullable": true
     },
     "dependsOnParameterId": {
      "type": "string",
      "nullable": true
     },
     "describesProduct": {
      "type": "boolean"
     },
     "customValuesEnabled": {
      "type": "boolean"
     },
     "additionalProperties": {
      "type": "object",
      "additionalProperties": {
       "nullable": true
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "CategoryParameterResponse": {
    "required": [
     "name",
     "originalId",
     "required",
     "requiredForProduct",
     "type"
    ],
    "type": "object",
    "properties": {
     "originalId": {
      "type": "string"
     },
     "name": {
      "type": "string"
     },
     "type": {
      "type": "string"
     },
     "required": {
      "type": "boolean"
     },
     "requiredForProduct": {
      "type": "boolean"
     },
     "unit": {
      "type": "string",
      "nullable": true
     },
     "options": {
      "allOf": [
       {
        "$ref": "#/components/schemas/CategoryParameterOptions"
       }
      ],
      "nullable": true
     },
     "restrictions": {
      "allOf": [
       {
        "$ref": "#/components/schemas/CategoryParameterRestrictions"
       }
      ],
      "nullable": true
     },
     "categoryId": {
      "type": "string",
      "nullable": true
     },
     "categoryName": {
      "type": "string",
      "nullable": true
     },
     "dictionary": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/CategoryParameterDictionaryResponse"
      },
      "nullable": true
     },
     "defaultValues": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "nullable": true
     },
     "additionalProperties": {
      "type": "object",
      "additionalProperties": {
       "nullable": true
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "CategoryParameterRestrictions": {
    "type": "object",
    "properties": {
     "min": {
      "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
      "type": "number",
      "format": "double",
      "nullable": true
     },
     "max": {
      "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
      "type": "number",
      "format": "double",
      "nullable": true
     },
     "range": {
      "type": "boolean",
      "nullable": true
     },
     "precision": {
      "pattern": "^-?(?:0|[1-9]\\d*)$",
      "type": "integer",
      "format": "int32",
      "nullable": true
     },
     "minLength": {
      "pattern": "^-?(?:0|[1-9]\\d*)$",
      "type": "integer",
      "format": "int32",
      "nullable": true
     },
     "maxLength": {
      "pattern": "^-?(?:0|[1-9]\\d*)$",
      "type": "integer",
      "format": "int32",
      "nullable": true
     },
     "allowedNumberOfValues": {
      "pattern": "^-?(?:0|[1-9]\\d*)$",
      "type": "integer",
      "format": "int32",
      "nullable": true
     },
     "multipleChoices": {
      "type": "boolean",
      "nullable": true
     },
     "additionalProperties": {
      "type": "object",
      "additionalProperties": {
       "nullable": true
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "CategoryParametersResponse": {
    "required": [
     "parameters"
    ],
    "type": "object",
    "properties": {
     "parameters": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/CategoryParameterResponse"
      }
     },
     "additionalProperties": {
      "type": "object",
      "additionalProperties": {
       "nullable": true
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "CategoryResponse": {
    "required": [
     "favourite",
     "leaf"
    ],
    "type": "object",
    "properties": {
     "originalId": {
      "type": "string",
      "nullable": true
     },
     "leaf": {
      "type": "boolean"
     },
     "name": {
      "type": "string",
      "nullable": true
     },
     "path": {
      "type": "string",
      "nullable": true
     },
     "parent": {
      "type": "string",
      "nullable": true
     },
     "favourite": {
      "type": "boolean"
     },
     "options": {
      "allOf": [
       {
        "$ref": "#/components/schemas/CategoryOptions"
       }
      ],
      "nullable": true
     },
     "parameters": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/CategoryParameterResponse"
      },
      "nullable": true
     },
     "additionalProperties": {
      "type": "object",
      "additionalProperties": {
       "nullable": true
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "CategoryTreeResponse": {
    "required": [
     "categories"
    ],
    "type": "object",
    "properties": {
     "categories": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/CategoryWithSubCategoriesResponse"
      }
     },
     "additionalProperties": {
      "type": "object",
      "additionalProperties": {
       "nullable": true
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "CategoryWithSubCategoriesResponse": {
    "required": [
     "favourite",
     "leaf"
    ],
    "type": "object",
    "properties": {
     "subCategories": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/CategoryWithSubCategoriesResponse"
      },
      "nullable": true
     },
     "originalId": {
      "type": "string",
      "nullable": true
     },
     "leaf": {
      "type": "boolean"
     },
     "name": {
      "type": "string",
      "nullable": true
     },
     "path": {
      "type": "string",
      "nullable": true
     },
     "parent": {
      "type": "string",
      "nullable": true
     },
     "favourite": {
      "type": "boolean"
     },
     "options": {
      "allOf": [
       {
        "$ref": "#/components/schemas/CategoryOptions"
       }
      ],
      "nullable": true
     },
     "parameters": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/CategoryParameterResponse"
      },
      "nullable": true
     },
     "additionalProperties": {
      "type": "object",
      "additionalProperties": {
       "nullable": true
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "Look4ImgClientPictureResponse": {
    "required": [
     "slot"
    ],
    "type": "object",
    "properties": {
     "slot": {
      "type": "integer",
      "format": "int32"
     },
     "url": {
      "type": "string",
      "nullable": true
     },
     "type": {
      "type": "string",
      "nullable": true
     },
     "extension": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "PicturesResponse": {
    "type": "object",
    "properties": {
     "pictures": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/Look4ImgClientPictureResponse"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "PicturesWithIdResponse": {
    "type": "object",
    "properties": {
     "entityId": {
      "type": "string",
      "nullable": true
     },
     "pictures": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/Look4ImgClientPictureResponse"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "ProductComplexField": {
    "type": "object",
    "properties": {
     "name": {
      "type": "string",
      "nullable": true
     },
     "description": {
      "type": "string",
      "nullable": true
     },
     "caption": {
      "type": "string",
      "nullable": true
     },
     "type": {
      "type": "string",
      "nullable": true
     },
     "additionalFieldMapping": {
      "type": "string",
      "nullable": true
     },
     "options": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "nullable": true
     },
     "id": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "value": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "DescriptionComplexFieldTranslationDto": {
    "type": "object",
    "properties": {
     "name": {
      "type": "string",
      "nullable": true
     },
     "description": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "PaginatedResponse_1OfRetrieveComplexFieldsListQueryResponse": {
    "required": [
     "totalPages",
     "totalRecords"
    ],
    "type": "object",
    "properties": {
     "totalRecords": {
      "type": "integer",
      "format": "int32"
     },
     "totalPages": {
      "type": "integer",
      "format": "int32"
     },
     "data": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/RetrieveComplexFieldsListQueryResponse"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "ProductPropertyTranslationDto": {
    "type": "object",
    "properties": {
     "name": {
      "type": "string",
      "nullable": true
     },
     "value": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "RetreiveProductComplexFieldQueryResponse": {
    "type": "object",
    "properties": {
     "name": {
      "type": "string",
      "nullable": true
     },
     "value": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "RetrieveComplexFieldsListQueryResponse": {
    "required": [
     "id"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "name": {
      "type": "string",
      "nullable": true
     },
     "type": {
      "type": "string",
      "nullable": true
     },
     "description": {
      "type": "string",
      "nullable": true
     },
     "caption": {
      "type": "string",
      "nullable": true
     },
     "additionalFieldMapping": {
      "type": "string",
      "nullable": true
     },
     "options": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "RetrieveProductAdditionalEanQueryResponse": {
    "required": [
     "quantity"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "nullable": true
     },
     "ean": {
      "type": "string",
      "nullable": true
     },
     "quantity": {
      "type": "integer",
      "format": "int32"
     },
     "description": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "RetrieveProductBundleItemsQueryResponse": {
    "required": [
     "bundleItemProductId",
     "id",
     "quantity"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "bundleItemProductId": {
      "type": "integer",
      "format": "int64"
     },
     "quantity": {
      "type": "integer",
      "format": "int32"
     },
     "name": {
      "type": "string",
      "nullable": true
     },
     "stocks": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/RetrieveProductStockQueryResponse"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "RetrieveProductCatalogQueryResponse": {
    "required": [
     "defaultPriceGroupId",
     "defaultWarehouseId",
     "id",
     "isDefault",
     "reservations"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "name": {
      "type": "string",
      "nullable": true
     },
     "description": {
      "type": "string",
      "nullable": true
     },
     "languages": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "nullable": true
     },
     "isDefault": {
      "type": "boolean"
     },
     "reservations": {
      "type": "boolean"
     },
     "defaultWarehouseId": {
      "type": "integer",
      "format": "int64"
     },
     "defaultPriceGroupId": {
      "type": "integer",
      "format": "int64"
     }
    },
    "additionalProperties": false
   },
   "RetrieveProductCategoryQueryResponse": {
    "required": [
     "catalogId",
     "id",
     "parentId"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "name": {
      "type": "string",
      "nullable": true
     },
     "parentId": {
      "type": "integer",
      "format": "int64"
     },
     "catalogId": {
      "type": "integer",
      "format": "int64"
     }
    },
    "additionalProperties": false
   },
   "RetrieveProductComplexFieldQueryResponse": {
    "required": [
     "id"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "name": {
      "type": "string",
      "nullable": true
     },
     "value": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "RetrieveProductListBundleItemQueryResponse": {
    "required": [
     "bundleItemProductId",
     "id",
     "quantity"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "bundleItemProductId": {
      "type": "integer",
      "format": "int64"
     },
     "quantity": {
      "type": "integer",
      "format": "int64"
     },
     "name": {
      "type": "string",
      "nullable": true
     },
     "stocks": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/RetrieveProductListStockQueryResponse"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "RetrieveProductListCatalogQueryResponse": {
    "required": [
     "defaultPriceGroupId",
     "defaultWarehouseId",
     "id",
     "isDefault",
     "reservations"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "name": {
      "type": "string",
      "nullable": true
     },
     "description": {
      "type": "string",
      "nullable": true
     },
     "languages": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "nullable": true
     },
     "isDefault": {
      "type": "boolean"
     },
     "reservations": {
      "type": "boolean"
     },
     "defaultWarehouseId": {
      "type": "integer",
      "format": "int64"
     },
     "defaultPriceGroupId": {
      "type": "integer",
      "format": "int64"
     }
    },
    "additionalProperties": false
   },
   "RetrieveProductListCategoryQueryResponse": {
    "required": [
     "catalogId",
     "id",
     "parentId"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "name": {
      "type": "string",
      "nullable": true
     },
     "parentId": {
      "type": "integer",
      "format": "int64"
     },
     "catalogId": {
      "type": "integer",
      "format": "int64"
     }
    },
    "additionalProperties": false
   },
   "RetrieveProductListLinkQueryResponse": {
    "required": [
     "connectionId",
     "createdAt"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "nullable": true
     },
     "productId": {
      "type": "string",
      "nullable": true
     },
     "externalProductId": {
      "type": "string",
      "nullable": true
     },
     "externalVariantId": {
      "type": "string",
      "nullable": true
     },
     "externalConnectionId": {
      "type": "string",
      "nullable": true
     },
     "connectionId": {
      "type": "integer",
      "format": "int64"
     },
     "createdAt": {
      "type": "string",
      "format": "date-time"
     },
     "updatedAt": {
      "type": "string",
      "format": "date-time",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "RetrieveProductListManufacturerQueryResponse": {
    "required": [
     "id"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "name": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "RetrieveProductListPriceGroupQueryResponse": {
    "required": [
     "catalogId",
     "createdAt",
     "currency",
     "priceGroupId"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "nullable": true
     },
     "productId": {
      "type": "string",
      "nullable": true
     },
     "priceGroupId": {
      "type": "integer",
      "format": "int64"
     },
     "catalogId": {
      "type": "integer",
      "format": "int64"
     },
     "price": {
      "type": "number",
      "format": "double",
      "nullable": true
     },
     "currency": {
      "allOf": [
       {
        "$ref": "#/components/schemas/RetrieveProductListPriceGroupQueryResponseCurrency"
       }
      ]
     },
     "createdAt": {
      "type": "string",
      "format": "date-time"
     },
     "updatedAt": {
      "type": "string",
      "format": "date-time",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "RetrieveProductListPriceGroupQueryResponseCurrency": {
    "enum": [
     "None",
     "PLN",
     "EUR",
     "AED",
     "AFN",
     "ALL",
     "AMD",
     "ANG",
     "AOA",
     "ARS",
     "AUD",
     "AWG",
     "AZN",
     "BAM",
     "BBD",
     "BDT",
     "BGN",
     "BHD",
     "BIF",
     "BMD",
     "BND",
     "BOB",
     "BRL",
     "BSD",
     "BTC",
     "BTN",
     "BWP",
     "BYN",
     "BZD",
     "CAD",
     "CDF",
     "CHF",
     "CLP",
     "CNY",
     "COP",
     "CRC",
     "CUC",
     "CUP",
     "CVE",
     "CZK",
     "DJF",
     "DKK",
     "DOP",
     "DZD",
     "EGP",
     "ERN",
     "ETB",
     "FJD",
     "FKP",
     "GBP",
     "GEL",
     "GHS",
     "GMD",
     "GNF",
     "GTQ",
     "GYD",
     "HKD",
     "HNL",
     "HRK",
     "HTG",
     "HUF",
     "IDR",
     "ILS",
     "INR",
     "IQD",
     "IRR",
     "ISK",
     "JMD",
     "JPY",
     "KES",
     "KGS",
     "KHR",
     "KMF",
     "KPW",
     "KRW",
     "KWD",
     "KYD",
     "LAK",
     "LBP",
     "LKR",
     "LRD",
     "LSL",
     "LTL",
     "LVL",
     "LYD",
     "MAD",
     "MDL",
     "MGA",
     "MKD",
     "MMK",
     "MNT",
     "MOP",
     "MRO",
     "MUR",
     "MVR",
     "MWK",
     "MXN",
     "MYR",
     "MZM",
     "NAD",
     "NGN",
     "NIO",
     "NOK",
     "NPR",
     "NZD",
     "OMR",
     "PAB",
     "PEN",
     "PGK",
     "PHP",
     "PKR",
     "PLY",
     "PYG",
     "QAR",
     "RON",
     "RSD",
     "RUB",
     "RWF",
     "SAR",
     "SBD",
     "SCR",
     "SDG",
     "SEK",
     "SGD",
     "SHP",
     "SLL",
     "SOS",
     "SRD",
     "STD",
     "SVC",
     "SYP",
     "SZL",
     "THB",
     "TJS",
     "TMT",
     "TND",
     "TOP",
     "TRY",
     "TTD",
     "TWD",
     "TZS",
     "UAH",
     "UGX",
     "USD",
     "UYU",
     "UZS",
     "VED",
     "VEF",
     "VND",
     "VUV",
     "WST",
     "XAF",
     "XCD",
     "XOF",
     "XPF",
     "YER",
     "ZAR",
     "ZMW",
     "ZWL"
    ],
    "type": "string"
   },
   "RetrieveProductListPropertyQueryResponse": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "nullable": true
     },
     "name": {
      "type": "string",
      "nullable": true
     },
     "value": {
      "type": "string",
      "nullable": true
     },
     "externalId": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "RetrieveProductListQueryResponse": {
    "required": [
     "catalogId",
     "createdAt",
     "height",
     "id",
     "isBundle",
     "isParent",
     "length",
     "variantsCount",
     "vat",
     "weight",
     "width"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "name": {
      "type": "string",
      "nullable": true
     },
     "parentId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "isParent": {
      "type": "boolean"
     },
     "variantsCount": {
      "type": "integer",
      "format": "int32"
     },
     "nameWithParentName": {
      "type": "string",
      "nullable": true
     },
     "catalogId": {
      "type": "integer",
      "format": "int64"
     },
     "vat": {
      "type": "number",
      "format": "double"
     },
     "ean": {
      "type": "string",
      "nullable": true
     },
     "sku": {
      "type": "string",
      "nullable": true
     },
     "weight": {
      "type": "number",
      "format": "double"
     },
     "width": {
      "type": "number",
      "format": "double"
     },
     "height": {
      "type": "number",
      "format": "double"
     },
     "length": {
      "type": "number",
      "format": "double"
     },
     "isBundle": {
      "type": "boolean"
     },
     "createdAt": {
      "type": "string",
      "format": "date-time"
     },
     "updatedAt": {
      "type": "string",
      "format": "date-time",
      "nullable": true
     },
     "isAsteriskMarked": {
      "type": "boolean",
      "nullable": true
     },
     "catalog": {
      "allOf": [
       {
        "$ref": "#/components/schemas/RetrieveProductListCatalogQueryResponse"
       }
      ],
      "nullable": true
     },
     "category": {
      "allOf": [
       {
        "$ref": "#/components/schemas/RetrieveProductListCategoryQueryResponse"
       }
      ],
      "nullable": true
     },
     "manufacturer": {
      "allOf": [
       {
        "$ref": "#/components/schemas/RetrieveProductListManufacturerQueryResponse"
       }
      ],
      "nullable": true
     },
     "stocks": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/RetrieveProductListStockQueryResponse"
      },
      "nullable": true
     },
     "productPriceGroups": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/RetrieveProductListPriceGroupQueryResponse"
      },
      "nullable": true
     },
     "properties": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/RetrieveProductListPropertyQueryResponse"
      },
      "nullable": true
     },
     "productLinks": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/RetrieveProductListLinkQueryResponse"
      },
      "nullable": true
     },
     "complexFields": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/RetreiveProductComplexFieldQueryResponse"
      },
      "nullable": true
     },
     "bundleItems": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/RetrieveProductListBundleItemQueryResponse"
      },
      "nullable": true
     },
     "translations": {
      "type": "object",
      "additionalProperties": {
       "$ref": "#/components/schemas/TranslationDto"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "RetrieveProductListStockQueryResponse": {
    "required": [
     "createdAt",
     "quantity",
     "vatAmount",
     "warehouseId"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "nullable": true
     },
     "warehouseId": {
      "type": "integer",
      "format": "int64"
     },
     "quantity": {
      "type": "integer",
      "format": "int32"
     },
     "locationName": {
      "type": "string",
      "nullable": true
     },
     "vatAmount": {
      "type": "number",
      "format": "double"
     },
     "createdAt": {
      "type": "string",
      "format": "date-time"
     },
     "updatedAt": {
      "type": "string",
      "format": "date-time",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "RetrieveProductManufacturerQueryResponse": {
    "required": [
     "id"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "name": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "RetrieveProductProductLinkQueryResponse": {
    "required": [
     "connectionId",
     "id"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "externalProductId": {
      "type": "string",
      "nullable": true
     },
     "externalVariantId": {
      "type": "string",
      "nullable": true
     },
     "externalConnectionId": {
      "type": "string",
      "nullable": true
     },
     "connectionId": {
      "type": "integer",
      "format": "int64"
     }
    },
    "additionalProperties": false
   },
   "RetrieveProductProductPriceGroupQueryResponse": {
    "required": [
     "currency",
     "priceGroupId"
    ],
    "type": "object",
    "properties": {
     "priceGroupId": {
      "type": "integer",
      "format": "int64"
     },
     "currency": {
      "allOf": [
       {
        "$ref": "#/components/schemas/RetrieveProductProductPriceGroupQueryResponseCurrency"
       }
      ]
     },
     "price": {
      "type": "number",
      "format": "double",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "RetrieveProductProductPriceGroupQueryResponseCurrency": {
    "enum": [
     "None",
     "PLN",
     "EUR",
     "AED",
     "AFN",
     "ALL",
     "AMD",
     "ANG",
     "AOA",
     "ARS",
     "AUD",
     "AWG",
     "AZN",
     "BAM",
     "BBD",
     "BDT",
     "BGN",
     "BHD",
     "BIF",
     "BMD",
     "BND",
     "BOB",
     "BRL",
     "BSD",
     "BTC",
     "BTN",
     "BWP",
     "BYN",
     "BZD",
     "CAD",
     "CDF",
     "CHF",
     "CLP",
     "CNY",
     "COP",
     "CRC",
     "CUC",
     "CUP",
     "CVE",
     "CZK",
     "DJF",
     "DKK",
     "DOP",
     "DZD",
     "EGP",
     "ERN",
     "ETB",
     "FJD",
     "FKP",
     "GBP",
     "GEL",
     "GHS",
     "GMD",
     "GNF",
     "GTQ",
     "GYD",
     "HKD",
     "HNL",
     "HRK",
     "HTG",
     "HUF",
     "IDR",
     "ILS",
     "INR",
     "IQD",
     "IRR",
     "ISK",
     "JMD",
     "JPY",
     "KES",
     "KGS",
     "KHR",
     "KMF",
     "KPW",
     "KRW",
     "KWD",
     "KYD",
     "LAK",
     "LBP",
     "LKR",
     "LRD",
     "LSL",
     "LTL",
     "LVL",
     "LYD",
     "MAD",
     "MDL",
     "MGA",
     "MKD",
     "MMK",
     "MNT",
     "MOP",
     "MRO",
     "MUR",
     "MVR",
     "MWK",
     "MXN",
     "MYR",
     "MZM",
     "NAD",
     "NGN",
     "NIO",
     "NOK",
     "NPR",
     "NZD",
     "OMR",
     "PAB",
     "PEN",
     "PGK",
     "PHP",
     "PKR",
     "PLY",
     "PYG",
     "QAR",
     "RON",
     "RSD",
     "RUB",
     "RWF",
     "SAR",
     "SBD",
     "SCR",
     "SDG",
     "SEK",
     "SGD",
     "SHP",
     "SLL",
     "SOS",
     "SRD",
     "STD",
     "SVC",
     "SYP",
     "SZL",
     "THB",
     "TJS",
     "TMT",
     "TND",
     "TOP",
     "TRY",
     "TTD",
     "TWD",
     "TZS",
     "UAH",
     "UGX",
     "USD",
     "UYU",
     "UZS",
     "VED",
     "VEF",
     "VND",
     "VUV",
     "WST",
     "XAF",
     "XCD",
     "XOF",
     "XPF",
     "YER",
     "ZAR",
     "ZMW",
     "ZWL"
    ],
    "type": "string"
   },
   "RetrieveProductProductPropertiesQueryResponse": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "nullable": true
     },
     "name": {
      "type": "string",
      "nullable": true
     },
     "value": {
      "type": "string",
      "nullable": true
     },
     "externalId": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "RetrieveProductQueryResponse": {
    "required": [
     "catalogId",
     "height",
     "id",
     "isParent",
     "length",
     "manufacturerId",
     "variantsCount",
     "vat",
     "weight",
     "width"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "parentId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "isParent": {
      "type": "boolean"
     },
     "variantsCount": {
      "type": "integer",
      "format": "int32"
     },
     "variants": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/RetrieveProductQueryResponse"
      },
      "nullable": true
     },
     "catalogId": {
      "type": "integer",
      "format": "int64"
     },
     "manufacturerId": {
      "type": "integer",
      "format": "int64"
     },
     "name": {
      "type": "string",
      "nullable": true
     },
     "nameWithParentName": {
      "type": "string",
      "nullable": true
     },
     "vat": {
      "type": "number",
      "format": "double"
     },
     "vatSymbol": {
      "type": "string",
      "nullable": true
     },
     "ean": {
      "type": "string",
      "nullable": true
     },
     "sku": {
      "type": "string",
      "nullable": true
     },
     "weight": {
      "type": "number",
      "format": "double"
     },
     "width": {
      "type": "number",
      "format": "double"
     },
     "height": {
      "type": "number",
      "format": "double"
     },
     "length": {
      "type": "number",
      "format": "double"
     },
     "categoryId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "isBundle": {
      "type": "boolean",
      "nullable": true
     },
     "isAsteriskMarked": {
      "type": "boolean",
      "nullable": true
     },
     "catalog": {
      "allOf": [
       {
        "$ref": "#/components/schemas/RetrieveProductCatalogQueryResponse"
       }
      ],
      "nullable": true
     },
     "category": {
      "allOf": [
       {
        "$ref": "#/components/schemas/RetrieveProductCategoryQueryResponse"
       }
      ],
      "nullable": true
     },
     "manufacturer": {
      "allOf": [
       {
        "$ref": "#/components/schemas/RetrieveProductManufacturerQueryResponse"
       }
      ],
      "nullable": true
     },
     "stocks": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/RetrieveProductStockQueryResponse"
      },
      "nullable": true
     },
     "productPriceGroups": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/RetrieveProductProductPriceGroupQueryResponse"
      },
      "nullable": true
     },
     "properties": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/RetrieveProductProductPropertiesQueryResponse"
      },
      "nullable": true
     },
     "productLinks": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/RetrieveProductProductLinkQueryResponse"
      },
      "nullable": true
     },
     "complexFields": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/RetrieveProductComplexFieldQueryResponse"
      },
      "nullable": true
     },
     "bundleItems": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/RetrieveProductBundleItemsQueryResponse"
      },
      "nullable": true
     },
     "additionalEans": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/RetrieveProductAdditionalEanQueryResponse"
      },
      "nullable": true
     },
     "translations": {
      "type": "object",
      "additionalProperties": {
       "$ref": "#/components/schemas/TranslationDto"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "RetrieveProductStockQueryResponse": {
    "required": [
     "quantity",
     "vatAmount",
     "warehouseId"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "nullable": true
     },
     "warehouseId": {
      "type": "integer",
      "format": "int64"
     },
     "quantity": {
      "type": "integer",
      "format": "int32"
     },
     "locationName": {
      "type": "string",
      "nullable": true
     },
     "vatAmount": {
      "type": "number",
      "format": "double"
     }
    },
    "additionalProperties": false
   },
   "TranslationDto": {
    "type": "object",
    "properties": {
     "name": {
      "type": "string",
      "nullable": true
     },
     "descriptionComplexFields": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/DescriptionComplexFieldTranslationDto"
      },
      "nullable": true
     },
     "productProperties": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ProductPropertyTranslationDto"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "ConnectionSettings": {
    "required": [
     "itemPriceSource",
     "itemStockSource",
     "smerpConnectionId"
    ],
    "type": "object",
    "properties": {
     "smerpConnectionId": {
      "minLength": 1,
      "type": "string"
     },
     "itemPriceSource": {
      "allOf": [
       {
        "$ref": "#/components/schemas/ItemPriceSource"
       }
      ]
     },
     "itemStockSource": {
      "allOf": [
       {
        "$ref": "#/components/schemas/ItemStockSource"
       }
      ]
     }
    },
    "additionalProperties": false
   },
   "ItemPriceSource": {
    "required": [
     "allowedDailyDisableCount",
     "priceGroupId",
     "priceModification",
     "setPrice"
    ],
    "type": "object",
    "properties": {
     "priceGroupId": {
      "type": "integer",
      "format": "int64"
     },
     "priceModification": {
      "allOf": [
       {
        "$ref": "#/components/schemas/PriceModifications"
       }
      ]
     },
     "allowedDailyDisableCount": {
      "type": "integer",
      "format": "int32"
     },
     "setPrice": {
      "allOf": [
       {
        "$ref": "#/components/schemas/PriceSettings"
       }
      ]
     }
    },
    "additionalProperties": false
   },
   "ItemStockSource": {
    "required": [
     "addToStock",
     "allowedDailyDisableCount",
     "onHigherQuantity",
     "onLowerQuantity",
     "substractFromStock",
     "warehouseId",
     "warehouseRelationOption"
    ],
    "type": "object",
    "properties": {
     "warehouseId": {
      "type": "integer",
      "format": "int64"
     },
     "warehouseIds": {
      "type": "array",
      "items": {
       "type": "integer",
       "format": "int64"
      },
      "nullable": true
     },
     "warehouseRelationOption": {
      "allOf": [
       {
        "$ref": "#/components/schemas/WarehouseRelationOption"
       }
      ]
     },
     "allowedDailyDisableCount": {
      "type": "integer",
      "format": "int32"
     },
     "substractFromStock": {
      "type": "integer",
      "format": "int32"
     },
     "addToStock": {
      "type": "integer",
      "format": "int32"
     },
     "maximumAllowedStock": {
      "type": "integer",
      "format": "int32",
      "nullable": true
     },
     "closeStockByQuantity": {
      "type": "integer",
      "format": "int32",
      "nullable": true
     },
     "onLowerQuantity": {
      "allOf": [
       {
        "$ref": "#/components/schemas/OnLowerQuantity"
       }
      ]
     },
     "onHigherQuantity": {
      "allOf": [
       {
        "$ref": "#/components/schemas/OnHigherQuantity"
       }
      ]
     }
    },
    "additionalProperties": false
   },
   "LowerPriceConsequence": {
    "enum": [
     "DoNothing",
     "SetNewLowerPrice"
    ],
    "type": "string"
   },
   "OnHigherQuantity": {
    "enum": [
     "ProcessChange",
     "DoNothing",
     "ProcessChangeWithoutActivation"
    ],
    "type": "string"
   },
   "OnLowerQuantity": {
    "enum": [
     "ProcessChange",
     "DoNothing"
    ],
    "type": "string"
   },
   "PriceModifications": {
    "required": [
     "priceConstAddition",
     "priceMultiplier",
     "rounding"
    ],
    "type": "object",
    "properties": {
     "priceMultiplier": {
      "maximum": 1.7976931348623157e+308,
      "minimum": 0.0001,
      "type": "number",
      "format": "double"
     },
     "priceConstAddition": {
      "type": "number",
      "format": "double"
     },
     "rounding": {
      "allOf": [
       {
        "$ref": "#/components/schemas/PriceRoundingConsequence"
       }
      ]
     }
    },
    "additionalProperties": false
   },
   "PriceRoundingConsequence": {
    "enum": [
     "NoRounding",
     "RoundCentsUpTo99"
    ],
    "type": "string"
   },
   "PriceSettings": {
    "required": [
     "lowerPriceOption",
     "zeroPriceOption"
    ],
    "type": "object",
    "properties": {
     "zeroPriceOption": {
      "allOf": [
       {
        "$ref": "#/components/schemas/PriceZeroConsequence"
       }
      ]
     },
     "lowerPriceOption": {
      "allOf": [
       {
        "$ref": "#/components/schemas/LowerPriceConsequence"
       }
      ]
     }
    },
    "additionalProperties": false
   },
   "PriceZeroConsequence": {
    "enum": [
     "DoNothing",
     "EndOffer"
    ],
    "type": "string"
   },
   "WarehouseRelationOption": {
    "enum": [
     "ProcessOnlyIfWarehouseMatch",
     "SumAllOnChange",
     "SumSelectedOnChange"
    ],
    "type": "string"
   },
   "JsonNode": {
    "required": [
     "root"
    ],
    "type": "object",
    "properties": {
     "options": {
      "allOf": [
       {
        "$ref": "#/components/schemas/JsonNodeOptions"
       }
      ],
      "nullable": true,
      "readOnly": true
     },
     "parent": {
      "allOf": [
       {
        "$ref": "#/components/schemas/JsonNode"
       }
      ],
      "nullable": true,
      "readOnly": true
     },
     "root": {
      "allOf": [
       {
        "$ref": "#/components/schemas/JsonNode"
       }
      ],
      "readOnly": true
     }
    },
    "additionalProperties": false
   },
   "JsonNodeOptions": {
    "required": [
     "propertyNameCaseInsensitive"
    ],
    "type": "object",
    "properties": {
     "propertyNameCaseInsensitive": {
      "type": "boolean"
     }
    },
    "additionalProperties": false
   }
  },
  "securitySchemes": {
   "Bearer": {
    "type": "http",
    "scheme": "bearer",
    "bearerFormat": "JWT",
    "description": "Token API wygenerowany w panelu Sellrocket."
   }
  }
 },
 "security": [
  {
   "Bearer": []
  }
 ]
}