{
 "openapi": "3.0.1",
 "info": {
  "title": "PIM API (produkty)",
  "version": "2026-10-08",
  "description": "Katalog produktów: produkty, warianty, katalogi, kategorie, magazyny i stany, grupy cenowe, producenci.\n\nAdres bazowy: `https://{instancja}-pim-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:** [pim.json](../../specs/pim.json) — do importu w Postmanie/Insomnii lub generowania klienta."
 },
 "servers": [
  {
   "url": "https://{instancja}-pim-api.enterprise.sellrocket.pl",
   "variables": {
    "instancja": {
     "default": "twoja-instancja",
     "description": "Nazwa Twojej instancji Sellrocket"
    }
   }
  }
 ],
 "tags": [
  {
   "name": "Produkty"
  },
  {
   "name": "Wyszukiwanie zaawansowane"
  },
  {
   "name": "Pola złożone produktu"
  },
  {
   "name": "Pola złożone"
  },
  {
   "name": "Powiązania produktów"
  },
  {
   "name": "Katalogi"
  },
  {
   "name": "Kategorie"
  },
  {
   "name": "Magazyny"
  },
  {
   "name": "Grupy cenowe"
  },
  {
   "name": "Producenci"
  },
  {
   "name": "Pakowanie"
  },
  {
   "name": "Historia stanów i cen"
  },
  {
   "name": "Języki"
  },
  {
   "name": "Kraje"
  },
  {
   "name": "Ustawienia PIM"
  }
 ],
 "paths": {
  "/api/catalogs/v2/products-catalogs": {
   "get": {
    "tags": [
     "Katalogi"
    ],
    "parameters": [
     {
      "name": "pageSize",
      "in": "query",
      "description": "Max value : 1000",
      "schema": {
       "maximum": 1000,
       "type": "integer",
       "format": "int32",
       "default": 100
      }
     },
     {
      "name": "pageNumber",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int32",
       "default": 0
      }
     },
     {
      "name": "includePriceGroupIds",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     },
     {
      "name": "includeWarehouseIds",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/PaginatedResponseOfRetrieveCatalogListQueryResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/PaginatedResponseOfRetrieveCatalogListQueryResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/PaginatedResponseOfRetrieveCatalogListQueryResponse"
        }
       }
      }
     }
    },
    "operationId": "get-catalogs-products-catalogs",
    "summary": "Pobierz listę katalogów produktów",
    "description": "Zwraca stronicowaną listę katalogów produktów, opcjonalnie z przypisanymi grupami cenowymi i magazynami. Odpowiednik getInventories w BaseLinker."
   },
   "post": {
    "tags": [
     "Katalogi"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "required": [
         "name",
         "languages",
         "defaultLanguage",
         "defaultPriceGroupId"
        ],
        "allOf": [
         {
          "$ref": "#/components/schemas/CreateCatalogCommand"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "required": [
         "name",
         "languages",
         "defaultLanguage",
         "defaultPriceGroupId"
        ],
        "allOf": [
         {
          "$ref": "#/components/schemas/CreateCatalogCommand"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "required": [
         "name",
         "languages",
         "defaultLanguage",
         "defaultPriceGroupId"
        ],
        "allOf": [
         {
          "$ref": "#/components/schemas/CreateCatalogCommand"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success"
     }
    },
    "operationId": "post-catalogs-products-catalogs",
    "summary": "Utwórz katalog produktów",
    "description": "Tworzy nowy katalog produktów. Odpowiednik addInventory w BaseLinker."
   }
  },
  "/api/catalogs/v2/products-catalogs-categories": {
   "get": {
    "tags": [
     "Katalogi"
    ],
    "parameters": [
     {
      "name": "pageSize",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     },
     {
      "name": "pageNumber",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/PaginatedResponseOfRetrieveCatalogListCategoriesQueryResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/PaginatedResponseOfRetrieveCatalogListCategoriesQueryResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/PaginatedResponseOfRetrieveCatalogListCategoriesQueryResponse"
        }
       }
      }
     }
    },
    "operationId": "get-catalogs-products-catalogs-categories",
    "summary": "Pobierz katalogi wraz z kategoriami",
    "description": "Zwraca stronicowaną listę katalogów razem z przypisanymi do nich kategoriami."
   }
  },
  "/api/catalogs/v2/products-catalogs/{id}": {
   "get": {
    "tags": [
     "Katalogi"
    ],
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/RetrieveCatalogQueryResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/RetrieveCatalogQueryResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/RetrieveCatalogQueryResponse"
        }
       }
      }
     }
    },
    "operationId": "get-catalogs-products-catalogs-id",
    "summary": "Pobierz katalog po ID",
    "description": "Zwraca szczegóły pojedynczego katalogu produktów."
   },
   "put": {
    "tags": [
     "Katalogi"
    ],
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "required": [
         "name",
         "languages",
         "defaultLanguage",
         "defaultPriceGroupId",
         "id"
        ],
        "allOf": [
         {
          "$ref": "#/components/schemas/UpdateCatalogCommand"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "required": [
         "name",
         "languages",
         "defaultLanguage",
         "defaultPriceGroupId",
         "id"
        ],
        "allOf": [
         {
          "$ref": "#/components/schemas/UpdateCatalogCommand"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "required": [
         "name",
         "languages",
         "defaultLanguage",
         "defaultPriceGroupId",
         "id"
        ],
        "allOf": [
         {
          "$ref": "#/components/schemas/UpdateCatalogCommand"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success"
     }
    },
    "operationId": "put-catalogs-products-catalogs-id",
    "summary": "Zaktualizuj katalog",
    "description": "Aktualizuje ustawienia katalogu, m.in. nazwę, języki, grupy cenowe i magazyny. Odpowiednik addInventory (edycja) w BaseLinker."
   },
   "delete": {
    "tags": [
     "Katalogi"
    ],
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     }
    ],
    "responses": {
     "204": {
      "description": "No Content"
     }
    },
    "operationId": "delete-catalogs-products-catalogs-id",
    "summary": "Usuń katalog",
    "description": "Usuwa katalog produktów. Odpowiednik deleteInventory w BaseLinker."
   }
  },
  "/api/catalogs/v2/products-catalogs/ByIds": {
   "post": {
    "tags": [
     "Katalogi"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "type": "array",
        "items": {
         "type": "integer",
         "format": "int64"
        }
       }
      },
      "text/json": {
       "schema": {
        "type": "array",
        "items": {
         "type": "integer",
         "format": "int64"
        }
       }
      },
      "application/*+json": {
       "schema": {
        "type": "array",
        "items": {
         "type": "integer",
         "format": "int64"
        }
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/RetrieveCatalogQueryResponse"
         }
        }
       },
       "application/json": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/RetrieveCatalogQueryResponse"
         }
        }
       },
       "text/json": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/RetrieveCatalogQueryResponse"
         }
        }
       }
      }
     }
    },
    "operationId": "post-catalogs-products-catalogs-byids",
    "summary": "Pobierz katalogi po ID",
    "description": "Zwraca katalogi o wskazanych identyfikatorach w jednym zapytaniu. To operacja odczytu."
   }
  },
  "/api/catalogs/v2/products-catalogs/is-default": {
   "patch": {
    "tags": [
     "Katalogi"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "required": [
         "id"
        ],
        "allOf": [
         {
          "$ref": "#/components/schemas/SetCatalogAsDefaultCommand"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "required": [
         "id"
        ],
        "allOf": [
         {
          "$ref": "#/components/schemas/SetCatalogAsDefaultCommand"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "required": [
         "id"
        ],
        "allOf": [
         {
          "$ref": "#/components/schemas/SetCatalogAsDefaultCommand"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success"
     }
    },
    "operationId": "patch-catalogs-products-catalogs-is-default",
    "summary": "Ustaw katalog domyślny",
    "description": "Oznacza wskazany katalog jako domyślny dla konta."
   }
  },
  "/api/categories/v2/categories": {
   "get": {
    "tags": [
     "Kategorie"
    ],
    "parameters": [
     {
      "name": "noCatalogs",
      "in": "query",
      "schema": {
       "type": "boolean",
       "default": false
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/RetrieveCategoryListQueryResponseV2"
         }
        }
       },
       "application/json": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/RetrieveCategoryListQueryResponseV2"
         }
        }
       },
       "text/json": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/RetrieveCategoryListQueryResponseV2"
         }
        }
       }
      }
     }
    },
    "operationId": "get-categories-categories",
    "summary": "Pobierz listę kategorii",
    "description": "Zwraca listę kategorii produktów wraz z przypisaniem do katalogów. Odpowiednik getInventoryCategories w BaseLinker."
   },
   "post": {
    "tags": [
     "Kategorie"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "required": [
         "name"
        ],
        "allOf": [
         {
          "$ref": "#/components/schemas/CreateCategoryCommand"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "required": [
         "name"
        ],
        "allOf": [
         {
          "$ref": "#/components/schemas/CreateCategoryCommand"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "required": [
         "name"
        ],
        "allOf": [
         {
          "$ref": "#/components/schemas/CreateCategoryCommand"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "type": "integer",
         "format": "int64"
        }
       },
       "application/json": {
        "schema": {
         "type": "integer",
         "format": "int64"
        }
       },
       "text/json": {
        "schema": {
         "type": "integer",
         "format": "int64"
        }
       }
      }
     }
    },
    "operationId": "post-categories-categories",
    "summary": "Utwórz kategorię",
    "description": "Dodaje nową kategorię produktów. Odpowiednik addInventoryCategory w BaseLinker."
   }
  },
  "/api/categories/v2/categories/{id}": {
   "get": {
    "tags": [
     "Kategorie"
    ],
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/RetrieveCategoryQueryResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/RetrieveCategoryQueryResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/RetrieveCategoryQueryResponse"
        }
       }
      }
     }
    },
    "operationId": "get-categories-categories-id",
    "summary": "Pobierz kategorię po ID",
    "description": "Zwraca szczegóły pojedynczej kategorii."
   },
   "put": {
    "tags": [
     "Kategorie"
    ],
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "required": [
         "name"
        ],
        "allOf": [
         {
          "$ref": "#/components/schemas/UpdateCategoryCommand"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "required": [
         "name"
        ],
        "allOf": [
         {
          "$ref": "#/components/schemas/UpdateCategoryCommand"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "required": [
         "name"
        ],
        "allOf": [
         {
          "$ref": "#/components/schemas/UpdateCategoryCommand"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success"
     }
    },
    "operationId": "put-categories-categories-id",
    "summary": "Zaktualizuj kategorię",
    "description": "Aktualizuje nazwę, kategorię nadrzędną lub przypisanie kategorii do katalogów. Odpowiednik addInventoryCategory (edycja) w BaseLinker."
   },
   "delete": {
    "tags": [
     "Kategorie"
    ],
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     }
    ],
    "responses": {
     "204": {
      "description": "No Content"
     }
    },
    "operationId": "delete-categories-categories-id",
    "summary": "Usuń kategorię",
    "description": "Usuwa kategorię produktów. Odpowiednik deleteInventoryCategory w BaseLinker."
   }
  },
  "/api/categories/v2/categories/products": {
   "get": {
    "tags": [
     "Kategorie"
    ],
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/ProductCategoryListQueryResponse"
         }
        }
       },
       "application/json": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/ProductCategoryListQueryResponse"
         }
        }
       },
       "text/json": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/ProductCategoryListQueryResponse"
         }
        }
       }
      }
     }
    },
    "operationId": "get-categories-categories-products",
    "summary": "Pobierz kategorie z przypisanymi produktami",
    "description": "Zwraca kategorie wraz z informacją o przypisanych do nich produktach. Używane głównie przez panel Sellrocket."
   }
  },
  "/api/complex-fields/v2/complex-fields": {
   "get": {
    "tags": [
     "Pola złożone"
    ],
    "parameters": [
     {
      "name": "pageSize",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     },
     {
      "name": "pageNumber",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     },
     {
      "name": "fieldName",
      "in": "query",
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/PaginatedResponseOfRetrieveComplexFieldsListQueryResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/PaginatedResponseOfRetrieveComplexFieldsListQueryResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/PaginatedResponseOfRetrieveComplexFieldsListQueryResponse"
        }
       }
      }
     }
    },
    "operationId": "get-complex-fields-complex-fields",
    "summary": "Pobierz listę pól złożonych",
    "description": "Zwraca stronicowaną listę definicji pól złożonych (dodatkowych pól produktów), z opcjonalnym filtrem po nazwie. Odpowiednik getInventoryExtraFields w BaseLinker."
   },
   "post": {
    "tags": [
     "Pola złożone"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/CreateComplexFieldCommand"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/CreateComplexFieldCommand"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/CreateComplexFieldCommand"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "type": "integer",
         "format": "int64"
        }
       },
       "application/json": {
        "schema": {
         "type": "integer",
         "format": "int64"
        }
       },
       "text/json": {
        "schema": {
         "type": "integer",
         "format": "int64"
        }
       }
      }
     }
    },
    "operationId": "post-complex-fields-complex-fields",
    "summary": "Utwórz definicję pola złożonego",
    "description": "Tworzy definicję pola złożonego (pola dodatkowego produktu), którą można następnie wypełniać w produktach. Opcjonalne `id` pozwala nadać własne ID (np. z BaseLinkera); zajęte ID lub nazwa → 400. Pola dodatkowe produktów nazywaj z prefiksem `extra_field|`. Odpowiednik addInventoryExtraField w BaseLinker."
   }
  },
  "/api/complex-fields/v2/complex-fields/{id}": {
   "get": {
    "tags": [
     "Pola złożone"
    ],
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/RetrieveComplexFieldsQueryResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/RetrieveComplexFieldsQueryResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/RetrieveComplexFieldsQueryResponse"
        }
       }
      }
     }
    },
    "operationId": "get-complex-fields-complex-fields-id",
    "summary": "Pobierz definicję pola złożonego",
    "description": "Zwraca definicję pojedynczego pola złożonego po ID."
   },
   "put": {
    "tags": [
     "Pola złożone"
    ],
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/UpdateComplexFieldCommand"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/UpdateComplexFieldCommand"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/UpdateComplexFieldCommand"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success"
     }
    },
    "operationId": "put-complex-fields-complex-fields-id",
    "summary": "Zaktualizuj definicję pola złożonego",
    "description": "Zmienia etykietę, opis, typ, wartości do wyboru i `additionalFieldMapping` pola złożonego. W treści podaj `id` takie samo jak w adresie. Nazwy i ID nie da się zmienić."
   },
   "delete": {
    "tags": [
     "Pola złożone"
    ],
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     }
    ],
    "responses": {
     "204": {
      "description": "No Content"
     }
    },
    "operationId": "delete-complex-fields-complex-fields-id",
    "summary": "Usuń definicję pola złożonego",
    "description": "Usuwa definicję pola złożonego **razem z jego wartościami we wszystkich produktach**. Odpowiednik deleteInventoryExtraField w BaseLinker."
   }
  },
  "/api/complex-fields/v2/complex-fields/byNames": {
   "post": {
    "tags": [
     "Pola złożone"
    ],
    "operationId": "post-complex-fields-complex-fields-bynames",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/RetrieveComplexFieldsByNamesQuery"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/RetrieveComplexFieldsByNamesQuery"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/RetrieveComplexFieldsByNamesQuery"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/RetrieveComplexFieldsByNamesResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/RetrieveComplexFieldsByNamesResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/RetrieveComplexFieldsByNamesResponse"
        }
       }
      }
     }
    },
    "summary": "Pobierz pola złożone po nazwach",
    "description": "Zwraca definicje pól złożonych o wskazanych nazwach w jednym zapytaniu. To operacja odczytu."
   }
  },
  "/api/complex-fields/v2/complex-fields/renderTypes": {
   "get": {
    "tags": [
     "Pola złożone"
    ],
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/ComplexFieldRenderType"
         }
        }
       },
       "application/json": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/ComplexFieldRenderType"
         }
        }
       },
       "text/json": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/ComplexFieldRenderType"
         }
        }
       }
      }
     }
    },
    "operationId": "get-complex-fields-complex-fields-rendertypes",
    "summary": "Pobierz typy wyświetlania pól złożonych",
    "description": "Zwraca dostępne typy renderowania (sposoby prezentacji) pól złożonych, potrzebne przy tworzeniu definicji pola."
   }
  },
  "/api/countries/v2": {
   "get": {
    "tags": [
     "Kraje"
    ],
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/GetCountriesListQueryResponse"
         }
        }
       },
       "application/json": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/GetCountriesListQueryResponse"
         }
        }
       },
       "text/json": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/GetCountriesListQueryResponse"
         }
        }
       }
      }
     }
    },
    "operationId": "get-countries",
    "summary": "Pobierz listę krajów",
    "description": "Zwraca słownik krajów używanych w module produktów."
   }
  },
  "/api/history/v3/prices": {
   "get": {
    "tags": [
     "Historia stanów i cen"
    ],
    "parameters": [
     {
      "name": "gtId",
      "in": "query",
      "required": true,
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     },
     {
      "name": "limit",
      "in": "query",
      "description": "Min value: 0, Max value: 100",
      "schema": {
       "maximum": 100,
       "minimum": 0,
       "type": "integer",
       "format": "int32",
       "default": 100
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/RetrievePriceHistoryListQueryResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/RetrievePriceHistoryListQueryResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/RetrievePriceHistoryListQueryResponse"
        }
       }
      }
     }
    },
    "operationId": "get-history-prices",
    "summary": "Pobierz historię cen produktu",
    "description": "Zwraca historię zmian cen wskazanego produktu. Przydatne do audytu zmian cen."
   }
  },
  "/api/history/v3/stocks": {
   "get": {
    "tags": [
     "Historia stanów i cen"
    ],
    "parameters": [
     {
      "name": "gtId",
      "in": "query",
      "required": true,
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     },
     {
      "name": "limit",
      "in": "query",
      "description": "Min value: 0, Max value: 100",
      "schema": {
       "maximum": 100,
       "minimum": 0,
       "type": "integer",
       "format": "int32",
       "default": 100
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/RetrieveStockHistoryListQueryResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/RetrieveStockHistoryListQueryResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/RetrieveStockHistoryListQueryResponse"
        }
       }
      }
     }
    },
    "operationId": "get-history-stocks",
    "summary": "Pobierz historię stanów produktu",
    "description": "Zwraca historię zmian stanów magazynowych wskazanego produktu."
   }
  },
  "/api/history/v3/stocks/latest": {
   "post": {
    "tags": [
     "Historia stanów i cen"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "type": "array",
        "items": {
         "type": "integer",
         "format": "int64"
        }
       }
      },
      "text/json": {
       "schema": {
        "type": "array",
        "items": {
         "type": "integer",
         "format": "int64"
        }
       }
      },
      "application/*+json": {
       "schema": {
        "type": "array",
        "items": {
         "type": "integer",
         "format": "int64"
        }
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/RetrieveStockHistoryListQueryResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/RetrieveStockHistoryListQueryResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/RetrieveStockHistoryListQueryResponse"
        }
       }
      }
     }
    },
    "operationId": "post-history-stocks-latest",
    "summary": "Pobierz ostatnie zmiany stanów",
    "description": "Zwraca najnowsze wpisy historii stanów magazynowych dla przekazanych produktów. To operacja odczytu."
   }
  },
  "/api/languages/v2": {
   "get": {
    "tags": [
     "Języki"
    ],
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/GetLanguagesListQueryResponse"
         }
        }
       },
       "application/json": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/GetLanguagesListQueryResponse"
         }
        }
       },
       "text/json": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/GetLanguagesListQueryResponse"
         }
        }
       }
      }
     }
    },
    "operationId": "get-languages",
    "summary": "Pobierz listę języków",
    "description": "Zwraca słownik języków dostępnych dla opisów produktów w katalogach."
   }
  },
  "/api/languages/v2/AllUsedInCatalogs": {
   "get": {
    "tags": [
     "Języki"
    ],
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/GetAllUsedLanguagesInCatalogsResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/GetAllUsedLanguagesInCatalogsResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/GetAllUsedLanguagesInCatalogsResponse"
        }
       }
      }
     }
    },
    "operationId": "get-languages-allusedincatalogs",
    "summary": "Pobierz języki używane w katalogach",
    "description": "Zwraca listę języków przypisanych do co najmniej jednego katalogu."
   }
  },
  "/api/manufacturers/v2/products-manufacturers": {
   "get": {
    "tags": [
     "Producenci"
    ],
    "parameters": [
     {
      "name": "pageSize",
      "in": "query",
      "description": "Max value : 1000",
      "schema": {
       "maximum": 1000,
       "type": "integer",
       "format": "int32",
       "default": 100
      }
     },
     {
      "name": "pageNumber",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int32",
       "default": 0
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/PaginatedResponseOfRetrieveManufacturerListQueryResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/PaginatedResponseOfRetrieveManufacturerListQueryResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/PaginatedResponseOfRetrieveManufacturerListQueryResponse"
        }
       }
      }
     }
    },
    "operationId": "get-manufacturers-products-manufacturers",
    "summary": "Pobierz listę producentów",
    "description": "Zwraca stronicowaną listę producentów produktów. Odpowiednik getInventoryManufacturers w BaseLinker."
   },
   "post": {
    "tags": [
     "Producenci"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "required": [
         "name"
        ],
        "allOf": [
         {
          "$ref": "#/components/schemas/CreateManufacturerCommand"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "required": [
         "name"
        ],
        "allOf": [
         {
          "$ref": "#/components/schemas/CreateManufacturerCommand"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "required": [
         "name"
        ],
        "allOf": [
         {
          "$ref": "#/components/schemas/CreateManufacturerCommand"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "type": "integer",
         "format": "int64"
        }
       },
       "application/json": {
        "schema": {
         "type": "integer",
         "format": "int64"
        }
       },
       "text/json": {
        "schema": {
         "type": "integer",
         "format": "int64"
        }
       }
      }
     }
    },
    "operationId": "post-manufacturers-products-manufacturers",
    "summary": "Utwórz producenta",
    "description": "Dodaje nowego producenta. Odpowiednik addInventoryManufacturer w BaseLinker."
   }
  },
  "/api/manufacturers/v2/products-manufacturers/{id}": {
   "get": {
    "tags": [
     "Producenci"
    ],
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/RetrieveManufacturerQueryResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/RetrieveManufacturerQueryResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/RetrieveManufacturerQueryResponse"
        }
       }
      }
     }
    },
    "operationId": "get-manufacturers-products-manufacturers-id",
    "summary": "Pobierz producenta po ID",
    "description": "Zwraca dane pojedynczego producenta."
   },
   "put": {
    "tags": [
     "Producenci"
    ],
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "required": [
         "name",
         "id"
        ],
        "allOf": [
         {
          "$ref": "#/components/schemas/UpdateManufacturerCommand"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "required": [
         "name",
         "id"
        ],
        "allOf": [
         {
          "$ref": "#/components/schemas/UpdateManufacturerCommand"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "required": [
         "name",
         "id"
        ],
        "allOf": [
         {
          "$ref": "#/components/schemas/UpdateManufacturerCommand"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "type": "integer",
         "format": "int64"
        }
       },
       "application/json": {
        "schema": {
         "type": "integer",
         "format": "int64"
        }
       },
       "text/json": {
        "schema": {
         "type": "integer",
         "format": "int64"
        }
       }
      }
     }
    },
    "operationId": "put-manufacturers-products-manufacturers-id",
    "summary": "Zaktualizuj producenta",
    "description": "Aktualizuje dane producenta. Odpowiednik addInventoryManufacturer (edycja) w BaseLinker."
   },
   "delete": {
    "tags": [
     "Producenci"
    ],
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     }
    ],
    "responses": {
     "204": {
      "description": "No Content"
     }
    },
    "operationId": "delete-manufacturers-products-manufacturers-id",
    "summary": "Usuń producenta",
    "description": "Usuwa producenta. Odpowiednik deleteInventoryManufacturer w BaseLinker."
   }
  },
  "/api/packing/v2/containers": {
   "get": {
    "tags": [
     "Pakowanie"
    ],
    "parameters": [
     {
      "name": "pageSize",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     },
     {
      "name": "pageNumber",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/PaginatedResponseOfRetrieveContainerListQueryResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/PaginatedResponseOfRetrieveContainerListQueryResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/PaginatedResponseOfRetrieveContainerListQueryResponse"
        }
       }
      }
     }
    },
    "operationId": "get-packing-containers",
    "summary": "Pobierz listę opakowań",
    "description": "Zwraca stronicowaną listę zdefiniowanych opakowań (kartonów) używanych przy doborze opakowania do przesyłki."
   },
   "post": {
    "tags": [
     "Pakowanie"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/CreateContainerCommand"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/CreateContainerCommand"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/CreateContainerCommand"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success"
     }
    },
    "operationId": "post-packing-containers",
    "summary": "Utwórz opakowanie",
    "description": "Dodaje nową definicję opakowania z wymiarami i ograniczeniami wagowymi."
   }
  },
  "/api/packing/v2/containers/{id}": {
   "get": {
    "tags": [
     "Pakowanie"
    ],
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/RetrieveContainerQueryResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/RetrieveContainerQueryResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/RetrieveContainerQueryResponse"
        }
       }
      }
     }
    },
    "operationId": "get-packing-containers-id",
    "summary": "Pobierz opakowanie po ID",
    "description": "Zwraca definicję pojedynczego opakowania."
   },
   "put": {
    "tags": [
     "Pakowanie"
    ],
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/UpdateContainerCommand"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/UpdateContainerCommand"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/UpdateContainerCommand"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success"
     }
    },
    "operationId": "put-packing-containers-id",
    "summary": "Zaktualizuj opakowanie",
    "description": "Aktualizuje wymiary i parametry opakowania."
   },
   "delete": {
    "tags": [
     "Pakowanie"
    ],
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     }
    ],
    "responses": {
     "204": {
      "description": "No Content"
     }
    },
    "operationId": "delete-packing-containers-id",
    "summary": "Usuń opakowanie",
    "description": "Usuwa definicję opakowania."
   }
  },
  "/api/packing/v2/fit": {
   "post": {
    "tags": [
     "Pakowanie"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/FitProductsCommand"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/FitProductsCommand"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/FitProductsCommand"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/FitProductsResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/FitProductsResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/FitProductsResponse"
        }
       }
      }
     }
    },
    "operationId": "post-packing-fit",
    "summary": "Sprawdź, czy produkty zmieszczą się w opakowaniu",
    "description": "Weryfikuje na podstawie wymiarów, czy podany zestaw produktów zmieści się w opakowaniu."
   }
  },
  "/api/packing/v2/fit-list": {
   "post": {
    "tags": [
     "Pakowanie"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/FitListProductsCommand"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/FitListProductsCommand"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/FitListProductsCommand"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/FitListProductsResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/FitListProductsResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/FitListProductsResponse"
        }
       }
      }
     }
    },
    "operationId": "post-packing-fit-list",
    "summary": "Sprawdź dopasowanie wielu zestawów produktów",
    "description": "Masowa wersja sprawdzania dopasowania: dla wielu zestawów produktów zwraca opakowania, w których się zmieszczą."
   }
  },
  "/api/packing/v3/pack": {
   "post": {
    "tags": [
     "Pakowanie"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/PackProductsCommandV3"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/PackProductsCommandV3"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/PackProductsCommandV3"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/PackProductsResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/PackProductsResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/PackProductsResponse"
        }
       }
      }
     }
    },
    "operationId": "post-packing-pack",
    "summary": "Dobierz opakowania dla produktów",
    "description": "Wylicza optymalny podział produktów na opakowania, np. aby ustalić liczbę i gabaryty paczek do wysyłki."
   }
  },
  "/api/packing/v2/packing-settings": {
   "get": {
    "tags": [
     "Pakowanie"
    ],
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/RetrievePackingSettingsQueryResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/RetrievePackingSettingsQueryResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/RetrievePackingSettingsQueryResponse"
        }
       }
      }
     }
    },
    "operationId": "get-packing-packing-settings",
    "summary": "Pobierz ustawienia pakowania",
    "description": "Zwraca ustawienia algorytmu doboru opakowań."
   },
   "post": {
    "tags": [
     "Pakowanie"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/UpsertPackingSettingsCommand"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/UpsertPackingSettingsCommand"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/UpsertPackingSettingsCommand"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success"
     }
    },
    "operationId": "post-packing-packing-settings",
    "summary": "Zapisz ustawienia pakowania",
    "description": "Tworzy lub aktualizuje ustawienia algorytmu doboru opakowań."
   }
  },
  "/api/pim-settings/v2/pim-settings": {
   "get": {
    "tags": [
     "Ustawienia PIM"
    ],
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/RetrievePimSettingsQueryResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/RetrievePimSettingsQueryResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/RetrievePimSettingsQueryResponse"
        }
       }
      }
     }
    },
    "operationId": "get-pim-settings-pim-settings",
    "summary": "Pobierz ustawienia modułu produktów",
    "description": "Zwraca globalne ustawienia modułu produktów (PIM) dla konta."
   },
   "put": {
    "tags": [
     "Ustawienia PIM"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/UpdatePimSettingsCommand"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/UpdatePimSettingsCommand"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/UpdatePimSettingsCommand"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/RetrievePimSettingsQueryResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/RetrievePimSettingsQueryResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/RetrievePimSettingsQueryResponse"
        }
       }
      }
     }
    },
    "operationId": "put-pim-settings-pim-settings",
    "summary": "Zaktualizuj ustawienia modułu produktów",
    "description": "Aktualizuje globalne ustawienia modułu produktów i zwraca ich nowy stan."
   }
  },
  "/api/price-groups/v2/product-price-groups": {
   "get": {
    "tags": [
     "Grupy cenowe"
    ],
    "parameters": [
     {
      "name": "catalogId",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     },
     {
      "name": "pageSize",
      "in": "query",
      "description": "Max value : 1000",
      "schema": {
       "maximum": 1000,
       "type": "integer",
       "format": "int32",
       "default": 100
      }
     },
     {
      "name": "pageNumber",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int32",
       "default": 0
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/PaginatedResponseOfRetrievePriceGroupListQueryResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/PaginatedResponseOfRetrievePriceGroupListQueryResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/PaginatedResponseOfRetrievePriceGroupListQueryResponse"
        }
       }
      }
     }
    },
    "operationId": "get-price-groups-product-price-groups",
    "summary": "Pobierz listę grup cenowych",
    "description": "Zwraca stronicowaną listę grup cenowych, opcjonalnie dla wskazanego katalogu. Odpowiednik getInventoryPriceGroups w BaseLinker."
   },
   "post": {
    "tags": [
     "Grupy cenowe"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "required": [
         "name"
        ],
        "allOf": [
         {
          "$ref": "#/components/schemas/CreatePriceGroupCommand"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "required": [
         "name"
        ],
        "allOf": [
         {
          "$ref": "#/components/schemas/CreatePriceGroupCommand"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "required": [
         "name"
        ],
        "allOf": [
         {
          "$ref": "#/components/schemas/CreatePriceGroupCommand"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success"
     }
    },
    "operationId": "post-price-groups-product-price-groups",
    "summary": "Utwórz grupę cenową",
    "description": "Dodaje nową grupę cenową, np. dla innej waluty lub kanału sprzedaży. Odpowiednik addInventoryPriceGroup w BaseLinker."
   }
  },
  "/api/price-groups/v2/product-price-groups/{id}": {
   "get": {
    "tags": [
     "Grupy cenowe"
    ],
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/RetrievePriceGroupQueryResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/RetrievePriceGroupQueryResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/RetrievePriceGroupQueryResponse"
        }
       }
      }
     }
    },
    "operationId": "get-price-groups-product-price-groups-id",
    "summary": "Pobierz grupę cenową po ID",
    "description": "Zwraca szczegóły pojedynczej grupy cenowej."
   },
   "put": {
    "tags": [
     "Grupy cenowe"
    ],
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "required": [
         "name",
         "id"
        ],
        "allOf": [
         {
          "$ref": "#/components/schemas/UpdatePriceGroupCommand"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "required": [
         "name",
         "id"
        ],
        "allOf": [
         {
          "$ref": "#/components/schemas/UpdatePriceGroupCommand"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "required": [
         "name",
         "id"
        ],
        "allOf": [
         {
          "$ref": "#/components/schemas/UpdatePriceGroupCommand"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success"
     }
    },
    "operationId": "put-price-groups-product-price-groups-id",
    "summary": "Zaktualizuj grupę cenową",
    "description": "Aktualizuje nazwę, walutę lub inne parametry grupy cenowej. Odpowiednik addInventoryPriceGroup (edycja) w BaseLinker."
   },
   "delete": {
    "tags": [
     "Grupy cenowe"
    ],
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     }
    ],
    "responses": {
     "204": {
      "description": "No Content"
     }
    },
    "operationId": "delete-price-groups-product-price-groups-id",
    "summary": "Usuń grupę cenową",
    "description": "Usuwa grupę cenową. Odpowiednik deleteInventoryPriceGroup w BaseLinker."
   }
  },
  "/api/price-groups/v2/product-price-groups/is-default": {
   "patch": {
    "tags": [
     "Grupy cenowe"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "required": [
         "id"
        ],
        "allOf": [
         {
          "$ref": "#/components/schemas/SetPriceGroupAsDefaultCommand"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "required": [
         "id"
        ],
        "allOf": [
         {
          "$ref": "#/components/schemas/SetPriceGroupAsDefaultCommand"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "required": [
         "id"
        ],
        "allOf": [
         {
          "$ref": "#/components/schemas/SetPriceGroupAsDefaultCommand"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success"
     }
    },
    "operationId": "patch-price-groups-product-price-groups-is-default",
    "summary": "Ustaw domyślną grupę cenową",
    "description": "Oznacza wskazaną grupę cenową jako domyślną."
   }
  },
  "/api/product-links/v2/product-links": {
   "post": {
    "tags": [
     "Powiązania produktów"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/CreateProductLinkRequest"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/CreateProductLinkRequest"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/CreateProductLinkRequest"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "201": {
      "description": "Created",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ProductLinkResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProductLinkResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ProductLinkResponse"
        }
       }
      }
     },
     "422": {
      "description": "Client Error",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ErrorDetailsResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ErrorDetailsResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ErrorDetailsResponse"
        }
       }
      }
     },
     "500": {
      "description": "Server Error"
     }
    },
    "operationId": "post-product-links-product-links",
    "summary": "Utwórz powiązanie produktu z integracją",
    "description": "Łączy produkt z katalogu z produktem lub ofertą w zewnętrznej integracji (np. sklepie, marketplace). Odpowiada powiązaniom produktów (links) w BaseLinker."
   }
  },
  "/api/product-links/v2/product-links/{id}": {
   "get": {
    "tags": [
     "Powiązania produktów"
    ],
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ProductLinkResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProductLinkResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ProductLinkResponse"
        }
       }
      }
     },
     "422": {
      "description": "Client Error",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ErrorDetailsResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ErrorDetailsResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ErrorDetailsResponse"
        }
       }
      }
     },
     "500": {
      "description": "Server Error"
     }
    },
    "operationId": "get-product-links-product-links-id",
    "summary": "Pobierz powiązanie produktu po ID",
    "description": "Zwraca szczegóły pojedynczego powiązania produktu z zewnętrzną integracją."
   },
   "put": {
    "tags": [
     "Powiązania produktów"
    ],
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/UpdateProductLinkRequest"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/UpdateProductLinkRequest"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/UpdateProductLinkRequest"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "204": {
      "description": "No Content"
     },
     "422": {
      "description": "Client Error",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ErrorDetailsResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ErrorDetailsResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ErrorDetailsResponse"
        }
       }
      }
     },
     "500": {
      "description": "Server Error"
     }
    },
    "operationId": "put-product-links-product-links-id",
    "summary": "Zaktualizuj powiązanie produktu",
    "description": "Zmienia powiązanie produktu z produktem lub ofertą w zewnętrznej integracji."
   },
   "delete": {
    "tags": [
     "Powiązania produktów"
    ],
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     }
    ],
    "responses": {
     "204": {
      "description": "No Content"
     },
     "422": {
      "description": "Client Error",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ErrorDetailsResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ErrorDetailsResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ErrorDetailsResponse"
        }
       }
      }
     },
     "500": {
      "description": "Server Error"
     }
    },
    "operationId": "delete-product-links-product-links-id",
    "summary": "Usuń powiązanie produktu",
    "description": "Usuwa powiązanie produktu z zewnętrzną integracją."
   }
  },
  "/api/product-links/v2/product-links/get-by-import-data": {
   "get": {
    "tags": [
     "Powiązania produktów"
    ],
    "parameters": [
     {
      "name": "connectionId",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     },
     {
      "name": "externalProductId",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "externalVariantId",
      "in": "query",
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ProductLinkResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProductLinkResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ProductLinkResponse"
        }
       }
      }
     },
     "422": {
      "description": "Client Error",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ErrorDetailsResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ErrorDetailsResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ErrorDetailsResponse"
        }
       }
      }
     },
     "500": {
      "description": "Server Error"
     }
    },
    "operationId": "get-product-links-product-links-get-by-import-data",
    "summary": "Znajdź powiązanie po zewnętrznym ID",
    "description": "Wyszukuje powiązanie na podstawie ID połączenia oraz zewnętrznego ID produktu i wariantu. Przydatne do mapowania produktów z zamówień na produkty w katalogu."
   }
  },
  "/api/v3/products/{productId}/complex-fields/{complexFieldName}/File": {
   "post": {
    "tags": [
     "Pola złożone produktu"
    ],
    "summary": "Wgraj plik do pola złożonego produktu",
    "description": "Przesyła plik do magazynu plików i zapisuje link do niego we wskazanym polu złożonym produktu.\n\nUploads file to the storage and creates or updates complex field for a given product id and owner type",
    "operationId": "post-products-productid-complex-fields-complexfieldname-file",
    "parameters": [
     {
      "name": "productId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     },
     {
      "name": "complexFieldName",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/octet-stream": {
       "schema": {
        "type": "string",
        "format": "byte"
       }
      }
     }
    },
    "responses": {
     "201": {
      "description": "Created",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/AddComplexFieldFileResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/AddComplexFieldFileResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/AddComplexFieldFileResponse"
        }
       }
      }
     },
     "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"
        }
       }
      }
     }
    }
   }
  },
  "/api/v3/products/{productId}/complex-fields/{complexFieldName}/File/{fileName}": {
   "post": {
    "tags": [
     "Pola złożone produktu"
    ],
    "summary": "Wgraj plik o podanej nazwie do pola produktu",
    "description": "Działa jak wgrywanie pliku do pola złożonego produktu, ale z nazwą pliku podaną jawnie w ścieżce.\n\nUploads file to the storage and creates or updates complex field for a given product id and owner type",
    "operationId": "post-products-productid-complex-fields-complexfieldname-file-filename",
    "parameters": [
     {
      "name": "productId",
      "in": "path",
      "required": true,
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     },
     {
      "name": "complexFieldName",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "fileName",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/octet-stream": {
       "schema": {
        "type": "string",
        "format": "byte"
       }
      }
     }
    },
    "responses": {
     "201": {
      "description": "Created",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/AddComplexFieldFileResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/AddComplexFieldFileResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/AddComplexFieldFileResponse"
        }
       }
      }
     },
     "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"
        }
       }
      }
     }
    }
   }
  },
  "/api/products/v3/advanced-filter": {
   "post": {
    "tags": [
     "Wyszukiwanie zaawansowane"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/AdvancedFilterProductsQuery"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/AdvancedFilterProductsQuery"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/AdvancedFilterProductsQuery"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/PaginatedResponseOfRetrieveProductListQueryResponse2"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/PaginatedResponseOfRetrieveProductListQueryResponse2"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/PaginatedResponseOfRetrieveProductListQueryResponse2"
        }
       }
      }
     },
     "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-products-advanced-filter",
    "summary": "Wyszukaj produkty (filtr zaawansowany)",
    "description": "Zwraca stronicowaną listę produktów spełniających złożone warunki filtrowania po dowolnych polach. To operacja odczytu."
   }
  },
  "/api/products/v3/advanced-filter/field-definitions": {
   "get": {
    "tags": [
     "Wyszukiwanie zaawansowane"
    ],
    "responses": {
     "200": {
      "description": "Success",
      "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-products-advanced-filter-field-definitions",
    "summary": "Pobierz pola dostępne w filtrze zaawansowanym",
    "description": "Zwraca definicje pól i operatorów, których można użyć w wyszukiwaniu zaawansowanym."
   }
  },
  "/api/products/v3/bulk/prices": {
   "put": {
    "tags": [
     "Produkty"
    ],
    "summary": "Zaktualizuj ceny produktów (masowo)",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "type": "array",
        "items": {
         "$ref": "#/components/schemas/ProductsPricesUpdate"
        }
       }
      },
      "text/json": {
       "schema": {
        "type": "array",
        "items": {
         "$ref": "#/components/schemas/ProductsPricesUpdate"
        }
       }
      },
      "application/*+json": {
       "schema": {
        "type": "array",
        "items": {
         "$ref": "#/components/schemas/ProductsPricesUpdate"
        }
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ProductsPricesUpdateResults"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProductsPricesUpdateResults"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ProductsPricesUpdateResults"
        }
       }
      }
     },
     "500": {
      "description": "Server Error",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       }
      }
     }
    },
    "operationId": "put-products-bulk-prices",
    "description": "Masowo aktualizuje ceny produktów w grupach cenowych i zwraca wynik dla każdej pozycji. Odpowiednik updateInventoryProductsPrices w BaseLinker."
   }
  },
  "/api/products/v3/bulk/stocks": {
   "put": {
    "tags": [
     "Produkty"
    ],
    "summary": "Zaktualizuj stany magazynowe (masowo)",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "type": "array",
        "items": {
         "$ref": "#/components/schemas/ProductsStocksUpdate"
        }
       }
      },
      "text/json": {
       "schema": {
        "type": "array",
        "items": {
         "$ref": "#/components/schemas/ProductsStocksUpdate"
        }
       }
      },
      "application/*+json": {
       "schema": {
        "type": "array",
        "items": {
         "$ref": "#/components/schemas/ProductsStocksUpdate"
        }
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ProductsStocksUpdateResults"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProductsStocksUpdateResults"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ProductsStocksUpdateResults"
        }
       }
      }
     },
     "500": {
      "description": "Server Error",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       }
      }
     }
    },
    "operationId": "put-products-bulk-stocks",
    "description": "Masowo aktualizuje stany produktów w magazynach i zwraca wynik dla każdej pozycji. Odpowiednik updateInventoryProductsStock w BaseLinker."
   }
  },
  "/api/products/v3/bundles/refresh/stocks": {
   "put": {
    "tags": [
     "Produkty"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/BundlesRefreshStocksInCatalogCommand"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/BundlesRefreshStocksInCatalogCommand"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/BundlesRefreshStocksInCatalogCommand"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "type": "array",
         "items": {
          "type": "integer",
          "format": "int64"
         }
        }
       },
       "application/json": {
        "schema": {
         "type": "array",
         "items": {
          "type": "integer",
          "format": "int64"
         }
        }
       },
       "text/json": {
        "schema": {
         "type": "array",
         "items": {
          "type": "integer",
          "format": "int64"
         }
        }
       }
      }
     },
     "500": {
      "description": "Server Error",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       }
      }
     }
    },
    "operationId": "put-products-bundles-refresh-stocks",
    "summary": "Przelicz stany zestawów w katalogu",
    "description": "Ponownie wylicza stany magazynowe produktów-zestawów w katalogu na podstawie stanów ich składników."
   }
  },
  "/api/products/v2/duplicate": {
   "post": {
    "tags": [
     "Produkty"
    ],
    "operationId": "post-products-duplicate",
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/DuplicateProductCommand"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/DuplicateProductCommand"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/DuplicateProductCommand"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/DuplicateProductResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/DuplicateProductResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/DuplicateProductResponse"
        }
       }
      }
     },
     "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"
        }
       }
      }
     }
    },
    "summary": "Zduplikuj produkt",
    "description": "Tworzy kopię istniejącego produktu i zwraca identyfikator nowego produktu."
   }
  },
  "/api/products/v4/products": {
   "get": {
    "tags": [
     "Produkty"
    ],
    "summary": "Pobierz listę produktów",
    "parameters": [
     {
      "name": "catalogId",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     },
     {
      "name": "warehouseId",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     },
     {
      "name": "warehouseIds",
      "in": "query",
      "schema": {
       "type": "array",
       "items": {
        "type": "integer",
        "format": "int64"
       }
      }
     },
     {
      "name": "priceGroupId",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     },
     {
      "name": "productId",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     },
     {
      "name": "productIds",
      "in": "query",
      "schema": {
       "type": "array",
       "items": {
        "type": "integer",
        "format": "int64"
       }
      }
     },
     {
      "name": "categoryId",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     },
     {
      "name": "productName",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "ean",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "eans",
      "in": "query",
      "schema": {
       "type": "array",
       "items": {
        "type": "string"
       }
      }
     },
     {
      "name": "sku",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "skus",
      "in": "query",
      "schema": {
       "type": "array",
       "items": {
        "type": "string"
       }
      }
     },
     {
      "name": "vat",
      "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": "priceFrom",
      "in": "query",
      "schema": {
       "type": "number",
       "format": "double"
      }
     },
     {
      "name": "priceTo",
      "in": "query",
      "schema": {
       "type": "number",
       "format": "double"
      }
     },
     {
      "name": "weightFrom",
      "in": "query",
      "schema": {
       "type": "number",
       "format": "double"
      }
     },
     {
      "name": "weightTo",
      "in": "query",
      "schema": {
       "type": "number",
       "format": "double"
      }
     },
     {
      "name": "widthFrom",
      "in": "query",
      "schema": {
       "type": "number",
       "format": "double"
      }
     },
     {
      "name": "widthTo",
      "in": "query",
      "schema": {
       "type": "number",
       "format": "double"
      }
     },
     {
      "name": "heightFrom",
      "in": "query",
      "schema": {
       "type": "number",
       "format": "double"
      }
     },
     {
      "name": "heightTo",
      "in": "query",
      "schema": {
       "type": "number",
       "format": "double"
      }
     },
     {
      "name": "lengthFrom",
      "in": "query",
      "schema": {
       "type": "number",
       "format": "double"
      }
     },
     {
      "name": "lengthTo",
      "in": "query",
      "schema": {
       "type": "number",
       "format": "double"
      }
     },
     {
      "name": "sortBy",
      "in": "query",
      "schema": {
       "enum": [
        "Stock",
        "Price",
        "Location",
        "Id",
        "CatalogId",
        "Catalog",
        "ManufacturerId",
        "Manufacturer",
        "Name",
        "NameWithParentName",
        "Vat",
        "VatSymbol",
        "Ean",
        "Sku",
        "Weight",
        "Width",
        "Height",
        "Length",
        "Stocks",
        "ProductPriceGroups",
        "ProductLinks",
        "CategoryId",
        "Category",
        "Properties",
        "ComplexFields",
        "AdditionalEans",
        "ParentId",
        "Parent",
        "Variants",
        "IsParent",
        "IsBundle",
        "IsAsteriskMarked",
        "BundleItems",
        "Bundles",
        "Translations",
        "CreatedAt",
        "UpdatedAt"
       ],
       "type": "string",
       "default": "CreatedAt"
      }
     },
     {
      "name": "andFilters",
      "in": "query",
      "schema": {
       "type": "array",
       "items": {
        "type": "string"
       }
      }
     },
     {
      "name": "excludedIds",
      "in": "query",
      "schema": {
       "type": "array",
       "items": {
        "type": "integer",
        "format": "int64"
       }
      }
     },
     {
      "name": "includedIds",
      "in": "query",
      "schema": {
       "type": "array",
       "items": {
        "type": "integer",
        "format": "int64"
       }
      }
     },
     {
      "name": "sortOrder",
      "in": "query",
      "schema": {
       "type": "string",
       "default": "desc"
      }
     },
     {
      "name": "availability",
      "in": "query",
      "schema": {
       "enum": [
        "Available",
        "NotAvailable",
        "All"
       ],
       "type": "string",
       "default": "All"
      }
     },
     {
      "name": "productConnections",
      "in": "query",
      "schema": {
       "type": "array",
       "items": {
        "type": "string"
       }
      }
     },
     {
      "name": "excludedProductConnections",
      "in": "query",
      "schema": {
       "type": "array",
       "items": {
        "type": "string"
       }
      }
     },
     {
      "name": "hasNoProductConnections",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     },
     {
      "name": "pageSize",
      "in": "query",
      "description": "Max value : 1000",
      "schema": {
       "maximum": 1000,
       "type": "integer",
       "format": "int32",
       "default": 100
      }
     },
     {
      "name": "pageNumber",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int32",
       "default": 0
      }
     },
     {
      "name": "isBundle",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     },
     {
      "name": "strictFilter",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     },
     {
      "name": "searchInVariants",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     },
     {
      "name": "searchOperator",
      "in": "query",
      "schema": {
       "enum": [
        "AND",
        "OR"
       ],
       "allOf": [
        {
         "$ref": "#/components/schemas/SearchOperator"
        }
       ]
      }
     },
     {
      "name": "includes.includeCatalog",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     },
     {
      "name": "includes.includeManufacturer",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     },
     {
      "name": "includes.includeCategory",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     },
     {
      "name": "includes.includeStocks",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     },
     {
      "name": "includes.includeProperties",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     },
     {
      "name": "includes.includeProductLinks",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     },
     {
      "name": "includes.includeComplexFields",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     },
     {
      "name": "includes.includeVariants",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     },
     {
      "name": "includes.includeBundleItems",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     },
     {
      "name": "includes.includeTranslations",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     },
     {
      "name": "location",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "categoriesIds",
      "in": "query",
      "schema": {
       "type": "array",
       "items": {
        "type": "integer",
        "format": "int64"
       }
      }
     },
     {
      "name": "manufacturersIds",
      "in": "query",
      "schema": {
       "type": "array",
       "items": {
        "type": "integer",
        "format": "int64"
       }
      }
     },
     {
      "name": "externalProductId",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "productPropertyExternalId",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "language",
      "in": "query",
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/PaginatedResponseOfRetrieveProductListQueryResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/PaginatedResponseOfRetrieveProductListQueryResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/PaginatedResponseOfRetrieveProductListQueryResponse"
        }
       }
      }
     }
    },
    "operationId": "get-products-products",
    "description": "Zwraca stronicowaną listę produktów z filtrami (katalog, magazyn, kategoria, nazwa, EAN, SKU i in.); dopasowania w wariantach są zwijane do produktu nadrzędnego. Odpowiednik getInventoryProductsList w BaseLinker."
   }
  },
  "/api/products/v2/products": {
   "post": {
    "tags": [
     "Produkty"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/CreateProductCommand"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/CreateProductCommand"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/CreateProductCommand"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "type": "integer",
         "format": "int64"
        }
       },
       "application/json": {
        "schema": {
         "type": "integer",
         "format": "int64"
        }
       },
       "text/json": {
        "schema": {
         "type": "integer",
         "format": "int64"
        }
       }
      }
     },
     "409": {
      "description": "Conflict",
      "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-products",
    "summary": "Utwórz produkt",
    "description": "Dodaje nowy produkt do katalogu. Odpowiednik addInventoryProduct w BaseLinker."
   }
  },
  "/api/products/v4/products/{id}": {
   "get": {
    "tags": [
     "Produkty"
    ],
    "summary": "Pobierz produkt po ID",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     },
     {
      "name": "id",
      "in": "query",
      "required": true,
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     },
     {
      "name": "catalogId",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     },
     {
      "name": "warehouseId",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     },
     {
      "name": "warehouseIds",
      "in": "query",
      "schema": {
       "type": "array",
       "items": {
        "type": "integer",
        "format": "int64"
       }
      }
     },
     {
      "name": "priceGroupId",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     },
     {
      "name": "productIds",
      "in": "query",
      "schema": {
       "type": "array",
       "items": {
        "type": "integer",
        "format": "int64"
       }
      }
     },
     {
      "name": "categoryId",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     },
     {
      "name": "productName",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "ean",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "eans",
      "in": "query",
      "schema": {
       "type": "array",
       "items": {
        "type": "string"
       }
      }
     },
     {
      "name": "sku",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "skus",
      "in": "query",
      "schema": {
       "type": "array",
       "items": {
        "type": "string"
       }
      }
     },
     {
      "name": "vat",
      "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": "priceFrom",
      "in": "query",
      "schema": {
       "type": "number",
       "format": "double"
      }
     },
     {
      "name": "priceTo",
      "in": "query",
      "schema": {
       "type": "number",
       "format": "double"
      }
     },
     {
      "name": "weightFrom",
      "in": "query",
      "schema": {
       "type": "number",
       "format": "double"
      }
     },
     {
      "name": "weightTo",
      "in": "query",
      "schema": {
       "type": "number",
       "format": "double"
      }
     },
     {
      "name": "widthFrom",
      "in": "query",
      "schema": {
       "type": "number",
       "format": "double"
      }
     },
     {
      "name": "widthTo",
      "in": "query",
      "schema": {
       "type": "number",
       "format": "double"
      }
     },
     {
      "name": "heightFrom",
      "in": "query",
      "schema": {
       "type": "number",
       "format": "double"
      }
     },
     {
      "name": "heightTo",
      "in": "query",
      "schema": {
       "type": "number",
       "format": "double"
      }
     },
     {
      "name": "lengthFrom",
      "in": "query",
      "schema": {
       "type": "number",
       "format": "double"
      }
     },
     {
      "name": "lengthTo",
      "in": "query",
      "schema": {
       "type": "number",
       "format": "double"
      }
     },
     {
      "name": "sortBy",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "andFilters",
      "in": "query",
      "schema": {
       "type": "array",
       "items": {
        "type": "string"
       }
      }
     },
     {
      "name": "excludedIds",
      "in": "query",
      "schema": {
       "type": "array",
       "items": {
        "type": "integer",
        "format": "int64"
       }
      }
     },
     {
      "name": "includedIds",
      "in": "query",
      "schema": {
       "type": "array",
       "items": {
        "type": "integer",
        "format": "int64"
       }
      }
     },
     {
      "name": "sortOrder",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "availability",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "productConnections",
      "in": "query",
      "schema": {
       "type": "array",
       "items": {
        "type": "string"
       }
      }
     },
     {
      "name": "pageSize",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     },
     {
      "name": "pageNumber",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     },
     {
      "name": "isBundle",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     },
     {
      "name": "strictFilter",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     },
     {
      "name": "searchOperator",
      "in": "query",
      "schema": {
       "enum": [
        "AND",
        "OR"
       ],
       "allOf": [
        {
         "$ref": "#/components/schemas/SearchOperator"
        }
       ]
      }
     },
     {
      "name": "includes.includeCatalog",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     },
     {
      "name": "includes.includeManufacturer",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     },
     {
      "name": "includes.includeCategory",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     },
     {
      "name": "includes.includeStocks",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     },
     {
      "name": "includes.includeProperties",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     },
     {
      "name": "includes.includeProductLinks",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     },
     {
      "name": "includes.includeComplexFields",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     },
     {
      "name": "includes.includeVariants",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     },
     {
      "name": "includes.includeBundleItems",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     },
     {
      "name": "includes.includeTranslations",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     },
     {
      "name": "location",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "categoriesIds",
      "in": "query",
      "schema": {
       "type": "array",
       "items": {
        "type": "integer",
        "format": "int64"
       }
      }
     },
     {
      "name": "manufacturersIds",
      "in": "query",
      "schema": {
       "type": "array",
       "items": {
        "type": "integer",
        "format": "int64"
       }
      }
     },
     {
      "name": "externalProductId",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "productPropertyExternalId",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "language",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "forUi",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/RetrieveProductQueryResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/RetrieveProductQueryResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/RetrieveProductQueryResponse"
        }
       }
      }
     }
    },
    "operationId": "get-products-products-id",
    "description": "Zwraca pełne dane produktu nadrzędnego wraz z wariantami, opcjonalnie zawężonymi parametrami wyszukiwania. Pola złożone (`complexFields`) są zwracane tylko z `includes.includeComplexFields=true`. Odpowiednik getInventoryProductsData w BaseLinker."
   }
  },
  "/api/products/v3/products/{id}": {
   "put": {
    "tags": [
     "Produkty"
    ],
    "summary": "Zaktualizuj produkt",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/UpdateV3UpdateProductCommand"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/UpdateV3UpdateProductCommand"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/UpdateV3UpdateProductCommand"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success"
     },
     "422": {
      "description": "Client Error",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       }
      }
     }
    },
    "operationId": "put-products-products-id",
    "description": "Aktualizuje dane produktu o wskazanym ID (częściowa zmiana; kolekcje scalane po kluczu). W treści podaj `id` takie samo jak w adresie. Wartości pól złożonych, których definicji nie ma w PIM, są pomijane bez błędu. Odpowiednik addInventoryProduct (edycja) w BaseLinker."
   }
  },
  "/api/products/v2/products/{id}": {
   "delete": {
    "tags": [
     "Produkty"
    ],
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     }
    ],
    "responses": {
     "204": {
      "description": "No Content"
     }
    },
    "operationId": "delete-products-products-id",
    "summary": "Usuń produkt",
    "description": "Usuwa produkt o wskazanym ID. Odpowiednik deleteInventoryProduct w BaseLinker."
   }
  },
  "/api/products/v2/products/bulkCreate": {
   "post": {
    "tags": [
     "Produkty"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/BulkCreateProductsCommand"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/BulkCreateProductsCommand"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/BulkCreateProductsCommand"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "type": "array",
         "items": {
          "type": "integer",
          "format": "int64"
         }
        }
       },
       "application/json": {
        "schema": {
         "type": "array",
         "items": {
          "type": "integer",
          "format": "int64"
         }
        }
       },
       "text/json": {
        "schema": {
         "type": "array",
         "items": {
          "type": "integer",
          "format": "int64"
         }
        }
       }
      }
     },
     "409": {
      "description": "Conflict",
      "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-products-bulkcreate",
    "summary": "Utwórz produkty (masowo)",
    "description": "Dodaje wiele produktów w jednym żądaniu."
   }
  },
  "/api/products/v2/products/bulkCreateWithDependencies": {
   "post": {
    "tags": [
     "Produkty"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/BulkCreateProductsWithDependenciesCommand"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/BulkCreateProductsWithDependenciesCommand"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/BulkCreateProductsWithDependenciesCommand"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/ProductCreateResult"
         }
        }
       },
       "application/json": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/ProductCreateResult"
         }
        }
       },
       "text/json": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/ProductCreateResult"
         }
        }
       }
      }
     },
     "409": {
      "description": "Conflict",
      "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-products-bulkcreatewithdependencies",
    "summary": "Utwórz produkty wraz z zależnościami",
    "description": "Masowo tworzy produkty, zakładając brakujące elementy powiązane (np. kategorie, producentów), i zwraca wynik dla każdego produktu."
   }
  },
  "/api/products/v2/products/bulkUpdate": {
   "post": {
    "tags": [
     "Produkty"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/BulkUpdateProductsCommand"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/BulkUpdateProductsCommand"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/BulkUpdateProductsCommand"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "type": "array",
         "items": {
          "type": "integer",
          "format": "int64"
         }
        }
       },
       "application/json": {
        "schema": {
         "type": "array",
         "items": {
          "type": "integer",
          "format": "int64"
         }
        }
       },
       "text/json": {
        "schema": {
         "type": "array",
         "items": {
          "type": "integer",
          "format": "int64"
         }
        }
       }
      }
     }
    },
    "operationId": "post-products-products-bulkupdate",
    "summary": "Zaktualizuj wybrane pola produktów (masowo)",
    "description": "Masowo aktualizuje wskazane pola w wielu produktach."
   }
  },
  "/api/products/v2/products/byProperties": {
   "post": {
    "tags": [
     "Produkty"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/RetrieveByPropertiesQuery"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/RetrieveByPropertiesQuery"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/RetrieveByPropertiesQuery"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/RetrieveProductQueryResponse"
         }
        }
       },
       "application/json": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/RetrieveProductQueryResponse"
         }
        }
       },
       "text/json": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/RetrieveProductQueryResponse"
         }
        }
       }
      }
     }
    },
    "operationId": "post-products-products-byproperties",
    "summary": "Wyszukaj produkty po właściwościach",
    "description": "Zwraca produkty pasujące do podanych wartości właściwości (np. SKU, EAN). To operacja odczytu."
   }
  },
  "/api/products/v2/products/delete": {
   "post": {
    "tags": [
     "Produkty"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/DeleteProductsByIdsRequest"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/DeleteProductsByIdsRequest"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/DeleteProductsByIdsRequest"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "204": {
      "description": "No Content"
     }
    },
    "operationId": "post-products-products-delete",
    "summary": "Usuń produkty po ID (masowo)",
    "description": "Usuwa wiele produktów o wskazanych identyfikatorach w jednym żądaniu."
   }
  },
  "/api/products/v3/products/ids": {
   "get": {
    "tags": [
     "Produkty"
    ],
    "parameters": [
     {
      "name": "catalogId",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     },
     {
      "name": "warehouseId",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     },
     {
      "name": "priceGroupId",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     },
     {
      "name": "productId",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     },
     {
      "name": "categoryId",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     },
     {
      "name": "productName",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "ean",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "sku",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "vat",
      "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": "priceFrom",
      "in": "query",
      "schema": {
       "type": "number",
       "format": "double"
      }
     },
     {
      "name": "priceTo",
      "in": "query",
      "schema": {
       "type": "number",
       "format": "double"
      }
     },
     {
      "name": "weightFrom",
      "in": "query",
      "schema": {
       "type": "number",
       "format": "double"
      }
     },
     {
      "name": "weightTo",
      "in": "query",
      "schema": {
       "type": "number",
       "format": "double"
      }
     },
     {
      "name": "widthFrom",
      "in": "query",
      "schema": {
       "type": "number",
       "format": "double"
      }
     },
     {
      "name": "widthTo",
      "in": "query",
      "schema": {
       "type": "number",
       "format": "double"
      }
     },
     {
      "name": "heightFrom",
      "in": "query",
      "schema": {
       "type": "number",
       "format": "double"
      }
     },
     {
      "name": "heightTo",
      "in": "query",
      "schema": {
       "type": "number",
       "format": "double"
      }
     },
     {
      "name": "lengthFrom",
      "in": "query",
      "schema": {
       "type": "number",
       "format": "double"
      }
     },
     {
      "name": "lengthTo",
      "in": "query",
      "schema": {
       "type": "number",
       "format": "double"
      }
     },
     {
      "name": "sortBy",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "andFilters",
      "in": "query",
      "schema": {
       "type": "array",
       "items": {
        "type": "string"
       }
      }
     },
     {
      "name": "excludedIds",
      "in": "query",
      "schema": {
       "type": "array",
       "items": {
        "type": "integer",
        "format": "int64"
       }
      }
     },
     {
      "name": "includedIds",
      "in": "query",
      "schema": {
       "type": "array",
       "items": {
        "type": "integer",
        "format": "int64"
       }
      }
     },
     {
      "name": "sortOrder",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "availability",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "productConnections",
      "in": "query",
      "schema": {
       "type": "array",
       "items": {
        "type": "string"
       }
      }
     },
     {
      "name": "excludedProductConnections",
      "in": "query",
      "schema": {
       "type": "array",
       "items": {
        "type": "string"
       }
      }
     },
     {
      "name": "hasNoProductConnections",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     },
     {
      "name": "pageSize",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     },
     {
      "name": "pageNumber",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int32"
      }
     },
     {
      "name": "isBundle",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     },
     {
      "name": "strictFilter",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     },
     {
      "name": "searchOperator",
      "in": "query",
      "schema": {
       "enum": [
        "AND",
        "OR"
       ],
       "allOf": [
        {
         "$ref": "#/components/schemas/SearchOperator"
        }
       ]
      }
     },
     {
      "name": "includes.includeCatalog",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     },
     {
      "name": "includes.includeManufacturer",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     },
     {
      "name": "includes.includeCategory",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     },
     {
      "name": "includes.includeStocks",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     },
     {
      "name": "includes.includeProperties",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     },
     {
      "name": "includes.includeProductLinks",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     },
     {
      "name": "includes.includeComplexFields",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     },
     {
      "name": "includes.includeVariants",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     },
     {
      "name": "includes.includeBundleItems",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     },
     {
      "name": "includes.includeTranslations",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     },
     {
      "name": "location",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "categoriesIds",
      "in": "query",
      "schema": {
       "type": "array",
       "items": {
        "type": "integer",
        "format": "int64"
       }
      }
     },
     {
      "name": "manufacturersIds",
      "in": "query",
      "schema": {
       "type": "array",
       "items": {
        "type": "integer",
        "format": "int64"
       }
      }
     },
     {
      "name": "complexFieldFilters",
      "in": "query",
      "schema": {
       "type": "array",
       "items": {
        "$ref": "#/components/schemas/RetrieveProductListComplexFieldFilter"
       }
      }
     },
     {
      "name": "externalProductId",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "productPropertyExternalId",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "currency",
      "in": "query",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "language",
      "in": "query",
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/PaginatedResponseOfInt64"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/PaginatedResponseOfInt64"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/PaginatedResponseOfInt64"
        }
       }
      }
     }
    },
    "operationId": "get-products-products-ids",
    "summary": "Pobierz ID produktów spełniających filtr",
    "description": "Zwraca stronicowaną listę samych identyfikatorów produktów pasujących do filtrów. Przydatne do synchronizacji i operacji masowych."
   }
  },
  "/api/products/v2/products/parent": {
   "put": {
    "tags": [
     "Produkty"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/UpdateParentCommand"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/UpdateParentCommand"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/UpdateParentCommand"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success"
     },
     "422": {
      "description": "Client Error",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/ProblemDetails"
        }
       }
      }
     }
    },
    "operationId": "put-products-products-parent",
    "summary": "Zmień produkt nadrzędny wariantów",
    "description": "Przypisuje produkty jako warianty innego produktu nadrzędnego lub zmienia to przypisanie."
   }
  },
  "/api/products/v2/productsByIds": {
   "get": {
    "tags": [
     "Produkty"
    ],
    "parameters": [
     {
      "name": "ids",
      "in": "query",
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/RetrieveProductQueryResponse"
         }
        }
       },
       "application/json": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/RetrieveProductQueryResponse"
         }
        }
       },
       "text/json": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/RetrieveProductQueryResponse"
         }
        }
       }
      }
     }
    },
    "deprecated": true,
    "operationId": "get-products-productsbyids",
    "summary": "Pobierz produkty po ID (GET)",
    "description": "Zwraca dane wielu produktów o identyfikatorach przekazanych w query stringu. Odpowiednik getInventoryProductsData w BaseLinker."
   }
  },
  "/api/products/v4/productsByIds": {
   "post": {
    "tags": [
     "Produkty"
    ],
    "summary": "Pobierz produkty po ID",
    "requestBody": {
     "description": "",
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/GetProductsByIdsPostV4Request"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/GetProductsByIdsPostV4Request"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/GetProductsByIdsPostV4Request"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/GetProductsByIdsPostV4Response"
         }
        }
       },
       "application/json": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/GetProductsByIdsPostV4Response"
         }
        }
       },
       "text/json": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/GetProductsByIdsPostV4Response"
         }
        }
       }
      }
     }
    },
    "operationId": "post-products-productsbyids",
    "description": "Zwraca dane wielu produktów o identyfikatorach przekazanych w treści żądania; zalecane przy dużej liczbie ID. Odpowiednik getInventoryProductsData w BaseLinker."
   }
  },
  "/api/products/v3/productsByIdsLight": {
   "post": {
    "tags": [
     "Produkty"
    ],
    "summary": "Pobierz produkty po ID (wersja uproszczona)",
    "requestBody": {
     "description": "",
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/RetrieveMultipleProductsByIdsLiteRequest"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/RetrieveMultipleProductsByIdsLiteRequest"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/RetrieveMultipleProductsByIdsLiteRequest"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/RetrieveMultipleProductsByIdsLiteResponse"
         }
        }
       },
       "application/json": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/RetrieveMultipleProductsByIdsLiteResponse"
         }
        }
       },
       "text/json": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/RetrieveMultipleProductsByIdsLiteResponse"
         }
        }
       }
      }
     }
    },
    "operationId": "post-products-productsbyidslight",
    "description": "Zwraca podstawowe dane produktów oraz ich pola złożone z definicjami; lżejsza alternatywa dla pełnego pobierania produktów."
   }
  },
  "/api/products/v2/productsByProductLinks": {
   "post": {
    "tags": [
     "Produkty"
    ],
    "summary": "Pobierz produkty po powiązaniach z integracjami",
    "requestBody": {
     "description": "<b>Example</b>\n                ```\n                {\n                \"connectionId\": 123456,\n                \"productLinks\": [\n                {\n                \"externalProductId\": \"123\",\n                \"externalVariantId\": \"456\"\n                }\n                ]\n                }\n                ```",
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/RetrieveProductsByProductLinksRequest"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/RetrieveProductsByProductLinksRequest"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/RetrieveProductsByProductLinksRequest"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/RetrieveProductQueryResponse"
         }
        }
       },
       "application/json": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/RetrieveProductQueryResponse"
         }
        }
       },
       "text/json": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/RetrieveProductQueryResponse"
         }
        }
       }
      }
     }
    },
    "operationId": "post-products-productsbyproductlinks",
    "description": "Zwraca produkty z katalogu powiązane z podanymi produktami lub ofertami w zewnętrznych integracjach. To operacja odczytu."
   }
  },
  "/api/products/v3/productsByPropertyMultipleValues": {
   "post": {
    "tags": [
     "Produkty"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/RetrieveByPropertyMultipleValuesV3Request"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/RetrieveByPropertyMultipleValuesV3Request"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "allOf": [
         {
          "$ref": "#/components/schemas/RetrieveByPropertyMultipleValuesV3Request"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/RetrieveByPropertyMultipleValuesV3Response"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/RetrieveByPropertyMultipleValuesV3Response"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/RetrieveByPropertyMultipleValuesV3Response"
        }
       }
      }
     }
    },
    "operationId": "post-products-productsbypropertymultiplevalues",
    "summary": "Pobierz produkty po wielu wartościach pola",
    "description": "Zwraca produkty, których wskazana właściwość (np. SKU lub EAN) przyjmuje jedną z podanych wartości. To operacja odczytu."
   }
  },
  "/api/warehouses/v2/warehouses": {
   "get": {
    "tags": [
     "Magazyny"
    ],
    "parameters": [
     {
      "name": "catalogId",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     },
     {
      "name": "pageSize",
      "in": "query",
      "description": "Max value : 1000",
      "schema": {
       "maximum": 1000,
       "type": "integer",
       "format": "int32",
       "default": 100
      }
     },
     {
      "name": "pageNumber",
      "in": "query",
      "schema": {
       "type": "integer",
       "format": "int32",
       "default": 0
      }
     },
     {
      "name": "forUi",
      "in": "query",
      "schema": {
       "type": "boolean"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/PaginatedResponseOfRetrieveWarehouseListQueryResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/PaginatedResponseOfRetrieveWarehouseListQueryResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/PaginatedResponseOfRetrieveWarehouseListQueryResponse"
        }
       }
      }
     }
    },
    "operationId": "get-warehouses-warehouses",
    "summary": "Pobierz listę magazynów",
    "description": "Zwraca stronicowaną listę magazynów, opcjonalnie dla wskazanego katalogu. Odpowiednik getInventoryWarehouses w BaseLinker."
   },
   "post": {
    "tags": [
     "Magazyny"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "required": [
         "name",
         "postCode",
         "address",
         "city",
         "country"
        ],
        "allOf": [
         {
          "$ref": "#/components/schemas/CreateWarehouseCommand"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "required": [
         "name",
         "postCode",
         "address",
         "city",
         "country"
        ],
        "allOf": [
         {
          "$ref": "#/components/schemas/CreateWarehouseCommand"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "required": [
         "name",
         "postCode",
         "address",
         "city",
         "country"
        ],
        "allOf": [
         {
          "$ref": "#/components/schemas/CreateWarehouseCommand"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success"
     }
    },
    "operationId": "post-warehouses-warehouses",
    "summary": "Utwórz magazyn",
    "description": "Dodaje nowy magazyn. Odpowiednik addInventoryWarehouse w BaseLinker."
   }
  },
  "/api/warehouses/v2/warehouses/{id}": {
   "get": {
    "tags": [
     "Magazyny"
    ],
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Success",
      "content": {
       "text/plain": {
        "schema": {
         "$ref": "#/components/schemas/RetrieveWarehouseQueryResponse"
        }
       },
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/RetrieveWarehouseQueryResponse"
        }
       },
       "text/json": {
        "schema": {
         "$ref": "#/components/schemas/RetrieveWarehouseQueryResponse"
        }
       }
      }
     }
    },
    "operationId": "get-warehouses-warehouses-id",
    "summary": "Pobierz magazyn po ID",
    "description": "Zwraca szczegóły pojedynczego magazynu."
   },
   "put": {
    "tags": [
     "Magazyny"
    ],
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     }
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "required": [
         "name",
         "postCode",
         "address",
         "city",
         "country",
         "id",
         "warehouseType",
         "stockEdition"
        ],
        "allOf": [
         {
          "$ref": "#/components/schemas/UpdateWarehouseCommand"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "required": [
         "name",
         "postCode",
         "address",
         "city",
         "country",
         "id",
         "warehouseType",
         "stockEdition"
        ],
        "allOf": [
         {
          "$ref": "#/components/schemas/UpdateWarehouseCommand"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "required": [
         "name",
         "postCode",
         "address",
         "city",
         "country",
         "id",
         "warehouseType",
         "stockEdition"
        ],
        "allOf": [
         {
          "$ref": "#/components/schemas/UpdateWarehouseCommand"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success"
     }
    },
    "operationId": "put-warehouses-warehouses-id",
    "summary": "Zaktualizuj magazyn",
    "description": "Aktualizuje dane magazynu. Odpowiednik addInventoryWarehouse (edycja) w BaseLinker."
   },
   "delete": {
    "tags": [
     "Magazyny"
    ],
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "integer",
       "format": "int64"
      }
     }
    ],
    "responses": {
     "204": {
      "description": "No Content"
     }
    },
    "operationId": "delete-warehouses-warehouses-id",
    "summary": "Usuń magazyn",
    "description": "Usuwa magazyn. Odpowiednik deleteInventoryWarehouse w BaseLinker."
   }
  },
  "/api/warehouses/v2/warehouses/is-default": {
   "patch": {
    "tags": [
     "Magazyny"
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "required": [
         "id"
        ],
        "allOf": [
         {
          "$ref": "#/components/schemas/SetWarehouseAsDefaultCommand"
         }
        ]
       }
      },
      "text/json": {
       "schema": {
        "required": [
         "id"
        ],
        "allOf": [
         {
          "$ref": "#/components/schemas/SetWarehouseAsDefaultCommand"
         }
        ]
       }
      },
      "application/*+json": {
       "schema": {
        "required": [
         "id"
        ],
        "allOf": [
         {
          "$ref": "#/components/schemas/SetWarehouseAsDefaultCommand"
         }
        ]
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Success"
     }
    },
    "operationId": "patch-warehouses-warehouses-is-default",
    "summary": "Ustaw magazyn domyślny",
    "description": "Oznacza wskazany magazyn jako domyślny."
   }
  }
 },
 "components": {
  "schemas": {
   "CreateCatalogCommand": {
    "required": [
     "defaultLanguage",
     "defaultPriceGroupId",
     "languages",
     "name"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "name": {
      "type": "string",
      "nullable": true
     },
     "description": {
      "type": "string",
      "nullable": true
     },
     "reservations": {
      "type": "boolean",
      "nullable": true
     },
     "defaultPriceGroupId": {
      "type": "integer",
      "format": "int64"
     },
     "defaultWarehouseId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "languages": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "nullable": true
     },
     "defaultLanguage": {
      "type": "string",
      "nullable": true
     },
     "priceGroupIds": {
      "type": "array",
      "items": {
       "type": "integer",
       "format": "int64"
      },
      "nullable": true
     },
     "warehousesIds": {
      "type": "array",
      "items": {
       "type": "integer",
       "format": "int64"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "RetrieveCatalogListQueryResponse": {
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "name": {
      "type": "string",
      "nullable": true
     },
     "description": {
      "type": "string",
      "nullable": true
     },
     "isDefault": {
      "type": "boolean"
     },
     "reservations": {
      "type": "boolean"
     },
     "languages": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "nullable": true
     },
     "defaultLanguage": {
      "type": "string",
      "nullable": true
     },
     "defaultPriceGroupId": {
      "type": "integer",
      "format": "int64"
     },
     "defaultWarehouseId": {
      "type": "integer",
      "format": "int64"
     },
     "priceGroupIds": {
      "type": "array",
      "items": {
       "type": "integer",
       "format": "int64"
      },
      "nullable": true
     },
     "warehouseIds": {
      "type": "array",
      "items": {
       "type": "integer",
       "format": "int64"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "RetrieveCatalogListCategoriesQueryResponse": {
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "name": {
      "type": "string",
      "nullable": true
     },
     "description": {
      "type": "string",
      "nullable": true
     },
     "isDefault": {
      "type": "boolean"
     },
     "reservations": {
      "type": "boolean"
     },
     "languages": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "nullable": true
     },
     "defaultLanguage": {
      "type": "string",
      "nullable": true
     },
     "defaultPriceGroupId": {
      "type": "integer",
      "format": "int64"
     },
     "defaultWarehouseId": {
      "type": "integer",
      "format": "int64"
     },
     "categories": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/RetrieveCategoriesTreeResponse"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "RetrieveCategoriesTreeResponse": {
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "name": {
      "type": "string",
      "nullable": true
     },
     "subCategories": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/RetrieveCategoriesTreeResponse"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "RetrieveCatalogQueryResponse": {
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "name": {
      "type": "string",
      "nullable": true
     },
     "description": {
      "type": "string",
      "nullable": true
     },
     "isDefault": {
      "type": "boolean"
     },
     "reservations": {
      "type": "boolean"
     },
     "priceGroupIds": {
      "type": "array",
      "items": {
       "type": "integer",
       "format": "int64"
      },
      "nullable": true
     },
     "warehouseIds": {
      "type": "array",
      "items": {
       "type": "integer",
       "format": "int64"
      },
      "nullable": true
     },
     "languages": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "nullable": true
     },
     "defaultLanguage": {
      "type": "string",
      "nullable": true
     },
     "defaultPriceGroupId": {
      "type": "integer",
      "format": "int64"
     },
     "defaultWarehouseId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "SetCatalogAsDefaultCommand": {
    "required": [
     "id"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     }
    },
    "additionalProperties": false
   },
   "UpdateCatalogCommand": {
    "required": [
     "defaultLanguage",
     "defaultPriceGroupId",
     "id",
     "languages",
     "name"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "name": {
      "type": "string",
      "nullable": true
     },
     "description": {
      "type": "string",
      "nullable": true
     },
     "defaultPriceGroupId": {
      "type": "integer",
      "format": "int64"
     },
     "defaultWarehouseId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "languages": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "nullable": true
     },
     "defaultLanguage": {
      "type": "string",
      "nullable": true
     },
     "priceGroupIds": {
      "type": "array",
      "items": {
       "type": "integer",
       "format": "int64"
      },
      "nullable": true
     },
     "warehousesIds": {
      "type": "array",
      "items": {
       "type": "integer",
       "format": "int64"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "CreateCategoryCommand": {
    "required": [
     "name"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "name": {
      "type": "string",
      "nullable": true
     },
     "parentId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "catalogId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "ProductCategoryListQueryResponse": {
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "productsCount": {
      "type": "integer",
      "format": "int32"
     }
    },
    "additionalProperties": false
   },
   "RetrieveCategoryQueryResponse": {
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "name": {
      "type": "string",
      "nullable": true
     },
     "parentId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "catalogId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "UpdateCategoryCommand": {
    "required": [
     "name"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "name": {
      "type": "string",
      "nullable": true
     },
     "parentId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "catalogId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "DescriptionComplexFieldTranslationDto": {
    "type": "object",
    "properties": {
     "name": {
      "type": "string",
      "nullable": true
     },
     "description": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "ProductPropertyTranslationDto": {
    "type": "object",
    "properties": {
     "name": {
      "type": "string",
      "nullable": true
     },
     "value": {
      "type": "string",
      "nullable": true
     }
    },
    "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
   },
   "BundlePriceCalculationMethod": {
    "enum": [
     "Fixed",
     "Auto"
    ],
    "type": "string"
   },
   "Currency": {
    "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"
   },
   "PaginatedResponseOfRetrieveCatalogListQueryResponse": {
    "type": "object",
    "properties": {
     "totalRecords": {
      "type": "integer",
      "format": "int32"
     },
     "totalPages": {
      "type": "integer",
      "format": "int32"
     },
     "data": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/RetrieveCatalogListQueryResponse"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "PaginatedResponseOfRetrieveCatalogListCategoriesQueryResponse": {
    "type": "object",
    "properties": {
     "totalRecords": {
      "type": "integer",
      "format": "int32"
     },
     "totalPages": {
      "type": "integer",
      "format": "int32"
     },
     "data": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/RetrieveCatalogListCategoriesQueryResponse"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "PaginatedResponseOfRetrieveManufacturerListQueryResponse": {
    "type": "object",
    "properties": {
     "totalRecords": {
      "type": "integer",
      "format": "int32"
     },
     "totalPages": {
      "type": "integer",
      "format": "int32"
     },
     "data": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/RetrieveManufacturerListQueryResponse"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "PaginatedResponseOfRetrieveContainerListQueryResponse": {
    "type": "object",
    "properties": {
     "totalRecords": {
      "type": "integer",
      "format": "int32"
     },
     "totalPages": {
      "type": "integer",
      "format": "int32"
     },
     "data": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/RetrieveContainerListQueryResponse"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "PaginatedResponseOfRetrievePriceGroupListQueryResponse": {
    "type": "object",
    "properties": {
     "totalRecords": {
      "type": "integer",
      "format": "int32"
     },
     "totalPages": {
      "type": "integer",
      "format": "int32"
     },
     "data": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/RetrievePriceGroupListQueryResponse"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "PaginatedResponseOfRetrieveProductListQueryResponse": {
    "type": "object",
    "properties": {
     "totalRecords": {
      "type": "integer",
      "format": "int32"
     },
     "totalPages": {
      "type": "integer",
      "format": "int32"
     },
     "data": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ListRetrieveProductListQueryResponse"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "PaginatedResponseOfRetrieveWarehouseListQueryResponse": {
    "type": "object",
    "properties": {
     "totalRecords": {
      "type": "integer",
      "format": "int32"
     },
     "totalPages": {
      "type": "integer",
      "format": "int32"
     },
     "data": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/RetrieveWarehouseListQueryResponse"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "PriceGroupType": {
    "enum": [
     "None",
     "Standard",
     "Dependent"
    ],
    "type": "string"
   },
   "SearchOperator": {
    "enum": [
     "AND",
     "OR"
    ],
    "type": "string"
   },
   "GetCountriesListQueryResponse": {
    "type": "object",
    "properties": {
     "name": {
      "type": "string",
      "nullable": true
     },
     "code": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "PriceHistoryEntry": {
    "type": "object",
    "properties": {
     "historyId": {
      "type": "integer",
      "format": "int64"
     },
     "productId": {
      "type": "integer",
      "format": "int64"
     },
     "priceGroupId": {
      "type": "integer",
      "format": "int64"
     },
     "price": {
      "type": "number",
      "format": "double"
     },
     "previousPrice": {
      "type": "number",
      "format": "double",
      "nullable": true
     },
     "vat": {
      "type": "number",
      "format": "double"
     },
     "updatedAt": {
      "type": "string",
      "format": "date-time"
     },
     "actor": {
      "type": "string",
      "nullable": true
     },
     "stocks": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/PriceHistoryStockEntry"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "PriceHistoryStockEntry": {
    "type": "object",
    "properties": {
     "quantity": {
      "type": "integer",
      "format": "int32"
     },
     "warehouseId": {
      "type": "integer",
      "format": "int64"
     },
     "locationName": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "RetrievePriceHistoryListQueryResponse": {
    "type": "object",
    "properties": {
     "prices": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/PriceHistoryEntry"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "RetrieveStockHistoryListQueryResponse": {
    "type": "object",
    "properties": {
     "stocks": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/StockHistoryEntry"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "StockHistoryEntry": {
    "type": "object",
    "properties": {
     "historyId": {
      "type": "integer",
      "format": "int64"
     },
     "productId": {
      "type": "integer",
      "format": "int64"
     },
     "quantity": {
      "type": "integer",
      "format": "int32"
     },
     "previousQuantity": {
      "type": "integer",
      "format": "int32",
      "nullable": true
     },
     "warehouseId": {
      "type": "integer",
      "format": "int64"
     },
     "locationName": {
      "type": "string",
      "nullable": true
     },
     "updatedAt": {
      "type": "string",
      "format": "date-time"
     },
     "actor": {
      "type": "string",
      "nullable": true
     },
     "prices": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/StockHistoryPriceEntry"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "StockHistoryPriceEntry": {
    "type": "object",
    "properties": {
     "priceGroupId": {
      "type": "integer",
      "format": "int64"
     },
     "price": {
      "type": "number",
      "format": "double"
     },
     "vat": {
      "type": "number",
      "format": "double"
     }
    },
    "additionalProperties": false
   },
   "GetAllUsedLanguagesInCatalogsResponse": {
    "type": "object",
    "properties": {
     "languages": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "GetLanguagesListQueryResponse": {
    "type": "object",
    "properties": {
     "name": {
      "type": "string",
      "nullable": true
     },
     "code": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "CreateManufacturerCommand": {
    "required": [
     "name"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "name": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "RetrieveManufacturerListQueryResponse": {
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "name": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "RetrieveManufacturerQueryResponse": {
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "name": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "UpdateManufacturerCommand": {
    "required": [
     "id",
     "name"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "name": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "CreateContainerCommand": {
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "name": {
      "type": "string",
      "nullable": true
     },
     "height": {
      "type": "number",
      "format": "double"
     },
     "width": {
      "type": "number",
      "format": "double"
     },
     "length": {
      "type": "number",
      "format": "double"
     },
     "position": {
      "type": "integer",
      "format": "int32"
     },
     "marginLength": {
      "type": "number",
      "format": "double",
      "nullable": true
     },
     "marginWidth": {
      "type": "number",
      "format": "double",
      "nullable": true
     },
     "marginHeight": {
      "type": "number",
      "format": "double",
      "nullable": true
     },
     "itemsNumberThesholdToApplyMargin": {
      "type": "integer",
      "format": "int32",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "UpsertPackingSettingsCommand": {
    "type": "object",
    "properties": {
     "perContainerMargin": {
      "type": "number",
      "format": "double",
      "nullable": true
     },
     "perProductMargin": {
      "type": "number",
      "format": "double",
      "nullable": true
     },
     "maxProductsPerContainer": {
      "type": "integer",
      "format": "int32",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "RetrieveContainerListQueryResponse": {
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "name": {
      "type": "string",
      "nullable": true
     },
     "height": {
      "type": "number",
      "format": "double"
     },
     "length": {
      "type": "number",
      "format": "double"
     },
     "width": {
      "type": "number",
      "format": "double"
     },
     "position": {
      "type": "integer",
      "format": "int32"
     },
     "marginLength": {
      "type": "number",
      "format": "double",
      "nullable": true
     },
     "marginWidth": {
      "type": "number",
      "format": "double",
      "nullable": true
     },
     "marginHeight": {
      "type": "number",
      "format": "double",
      "nullable": true
     },
     "itemsNumberThesholdToApplyMargin": {
      "type": "integer",
      "format": "int32",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "RetrieveContainerQueryResponse": {
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "name": {
      "type": "string",
      "nullable": true
     },
     "height": {
      "type": "number",
      "format": "double"
     },
     "width": {
      "type": "number",
      "format": "double"
     },
     "length": {
      "type": "number",
      "format": "double"
     },
     "position": {
      "type": "integer",
      "format": "int32"
     },
     "marginLength": {
      "type": "number",
      "format": "double",
      "nullable": true
     },
     "marginWidth": {
      "type": "number",
      "format": "double",
      "nullable": true
     },
     "marginHeight": {
      "type": "number",
      "format": "double",
      "nullable": true
     },
     "itemsNumberThesholdToApplyMargin": {
      "type": "integer",
      "format": "int32",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "UpdateContainerCommand": {
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "name": {
      "type": "string",
      "nullable": true
     },
     "height": {
      "type": "number",
      "format": "double"
     },
     "length": {
      "type": "number",
      "format": "double"
     },
     "width": {
      "type": "number",
      "format": "double"
     },
     "position": {
      "type": "integer",
      "format": "int32"
     },
     "marginLength": {
      "type": "number",
      "format": "double",
      "nullable": true
     },
     "marginWidth": {
      "type": "number",
      "format": "double",
      "nullable": true
     },
     "marginHeight": {
      "type": "number",
      "format": "double",
      "nullable": true
     },
     "itemsNumberThesholdToApplyMargin": {
      "type": "integer",
      "format": "int32",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "FitProductResponse": {
    "type": "object",
    "properties": {
     "productId": {
      "type": "integer",
      "format": "int64"
     },
     "quantity": {
      "type": "integer",
      "format": "int32"
     },
     "coordX": {
      "type": "number",
      "format": "double"
     },
     "coordY": {
      "type": "number",
      "format": "double"
     },
     "coordZ": {
      "type": "number",
      "format": "double"
     },
     "dim1": {
      "type": "number",
      "format": "double"
     },
     "dim2": {
      "type": "number",
      "format": "double"
     },
     "dim3": {
      "type": "number",
      "format": "double"
     }
    },
    "additionalProperties": false
   },
   "FitProductsCommand": {
    "type": "object",
    "properties": {
     "containerId": {
      "type": "integer",
      "format": "int64"
     },
     "products": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/PackItem"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "FitProductsResponse": {
    "type": "object",
    "properties": {
     "isFit": {
      "type": "boolean"
     },
     "containerId": {
      "type": "integer",
      "format": "int64",
      "readOnly": true
     },
     "fitProducts": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/FitProductResponse"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "FitListProductsCommand": {
    "type": "object",
    "properties": {
     "containerIds": {
      "type": "array",
      "items": {
       "type": "integer",
       "format": "int64"
      },
      "nullable": true
     },
     "products": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/PackItem"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "FitListProductsResponse": {
    "type": "object",
    "properties": {
     "results": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/FitProductsResponse"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "PackItem": {
    "type": "object",
    "properties": {
     "productId": {
      "type": "integer",
      "format": "int64"
     },
     "quantity": {
      "type": "integer",
      "format": "int32"
     }
    },
    "additionalProperties": false
   },
   "PackProductsResponse": {
    "type": "object",
    "properties": {
     "containerId": {
      "type": "integer",
      "format": "int64",
      "readOnly": true
     },
     "packedProducts": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/PackedProductResponse"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "PackedProductResponse": {
    "type": "object",
    "properties": {
     "productId": {
      "type": "integer",
      "format": "int64"
     },
     "quantity": {
      "type": "integer",
      "format": "int32"
     },
     "coordX": {
      "type": "number",
      "format": "double"
     },
     "coordY": {
      "type": "number",
      "format": "double"
     },
     "coordZ": {
      "type": "number",
      "format": "double"
     },
     "dim1": {
      "type": "number",
      "format": "double"
     },
     "dim2": {
      "type": "number",
      "format": "double"
     },
     "dim3": {
      "type": "number",
      "format": "double"
     }
    },
    "additionalProperties": false
   },
   "RetrievePackingSettingsQueryResponse": {
    "type": "object",
    "properties": {
     "perContainerMargin": {
      "type": "number",
      "format": "double"
     },
     "perProductMargin": {
      "type": "number",
      "format": "double"
     },
     "maxProductsPerContainer": {
      "type": "integer",
      "format": "int32",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "RetrievePimSettingsQueryResponse": {
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "migrateDescriptionImagesToSRGallery": {
      "type": "boolean"
     },
     "descriptionImageLegacyHosts": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "UpdatePimSettingsCommand": {
    "type": "object",
    "properties": {
     "migrateDescriptionImagesToSRGallery": {
      "type": "boolean"
     },
     "descriptionImageLegacyHosts": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "CreatePriceGroupCommand": {
    "required": [
     "name"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "name": {
      "type": "string",
      "nullable": true
     },
     "description": {
      "type": "string",
      "nullable": true
     },
     "currency": {
      "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"
      ],
      "allOf": [
       {
        "$ref": "#/components/schemas/Currency"
       }
      ],
      "description": "Currency cannot be None"
     },
     "type": {
      "enum": [
       "None",
       "Standard",
       "Dependent"
      ],
      "allOf": [
       {
        "$ref": "#/components/schemas/PriceGroupType"
       }
      ],
      "description": "Price Group cannot be None"
     },
     "catalogIds": {
      "type": "array",
      "items": {
       "type": "integer",
       "format": "int64"
      },
      "nullable": true
     },
     "bundlePriceCalculationMethod": {
      "enum": [
       "Fixed",
       "Auto"
      ],
      "allOf": [
       {
        "$ref": "#/components/schemas/BundlePriceCalculationMethod"
       }
      ]
     },
     "bundlePriceMultiplier": {
      "type": "number",
      "format": "double"
     },
     "bundlePriceDiscount": {
      "type": "number",
      "format": "double"
     },
     "baseGroupData": {
      "allOf": [
       {
        "$ref": "#/components/schemas/CreatePriceGroupDependentGroupBaseGroupData"
       }
      ],
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "CreatePriceGroupDependentGroupBaseGroupData": {
    "type": "object",
    "properties": {
     "basePriceGroupId": {
      "type": "integer",
      "format": "int64"
     },
     "priceMultiplier": {
      "type": "number",
      "format": "double"
     },
     "addToPrice": {
      "type": "number",
      "format": "double"
     }
    },
    "additionalProperties": false
   },
   "ListRetrievePriceGroupBaseGroupResponse": {
    "type": "object",
    "properties": {
     "basePriceGroupId": {
      "type": "integer",
      "format": "int64"
     },
     "priceMultiplier": {
      "type": "number",
      "format": "double"
     },
     "addToPrice": {
      "type": "number",
      "format": "double"
     }
    },
    "additionalProperties": false
   },
   "RetrievePriceGroupListQueryResponse": {
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "name": {
      "type": "string",
      "nullable": true
     },
     "description": {
      "type": "string",
      "nullable": true
     },
     "isDefault": {
      "type": "boolean"
     },
     "currency": {
      "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"
      ],
      "allOf": [
       {
        "$ref": "#/components/schemas/Currency"
       }
      ]
     },
     "type": {
      "enum": [
       "None",
       "Standard",
       "Dependent"
      ],
      "allOf": [
       {
        "$ref": "#/components/schemas/PriceGroupType"
       }
      ]
     },
     "bundlePriceCalculationMethod": {
      "enum": [
       "Fixed",
       "Auto"
      ],
      "allOf": [
       {
        "$ref": "#/components/schemas/BundlePriceCalculationMethod"
       }
      ]
     },
     "bundlePriceMultiplier": {
      "type": "number",
      "format": "double"
     },
     "bundlePriceDiscount": {
      "type": "number",
      "format": "double"
     },
     "baseGroupData": {
      "allOf": [
       {
        "$ref": "#/components/schemas/ListRetrievePriceGroupBaseGroupResponse"
       }
      ],
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "RetrieveRetrievePriceGroupBaseGroupResponse": {
    "type": "object",
    "properties": {
     "basePriceGroupId": {
      "type": "integer",
      "format": "int64"
     },
     "priceMultiplier": {
      "type": "number",
      "format": "double"
     },
     "addToPrice": {
      "type": "number",
      "format": "double"
     }
    },
    "additionalProperties": false
   },
   "RetrievePriceGroupQueryResponse": {
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "name": {
      "type": "string",
      "nullable": true
     },
     "description": {
      "type": "string",
      "nullable": true
     },
     "isDefault": {
      "type": "boolean"
     },
     "currency": {
      "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"
      ],
      "allOf": [
       {
        "$ref": "#/components/schemas/Currency"
       }
      ]
     },
     "type": {
      "enum": [
       "None",
       "Standard",
       "Dependent"
      ],
      "allOf": [
       {
        "$ref": "#/components/schemas/PriceGroupType"
       }
      ]
     },
     "bundlePriceCalculationMethod": {
      "enum": [
       "Fixed",
       "Auto"
      ],
      "allOf": [
       {
        "$ref": "#/components/schemas/BundlePriceCalculationMethod"
       }
      ]
     },
     "bundlePriceMultiplier": {
      "type": "number",
      "format": "double"
     },
     "bundlePriceDiscount": {
      "type": "number",
      "format": "double"
     },
     "catalogIds": {
      "type": "array",
      "items": {
       "type": "integer",
       "format": "int64"
      },
      "nullable": true
     },
     "baseGroupData": {
      "allOf": [
       {
        "$ref": "#/components/schemas/RetrieveRetrievePriceGroupBaseGroupResponse"
       }
      ],
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "SetPriceGroupAsDefaultCommand": {
    "required": [
     "id"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     }
    },
    "additionalProperties": false
   },
   "UpdatePriceGroupBaseGroupData": {
    "type": "object",
    "properties": {
     "basePriceGroupId": {
      "type": "integer",
      "format": "int64"
     },
     "priceMultiplier": {
      "type": "number",
      "format": "double"
     },
     "addToPrice": {
      "type": "number",
      "format": "double"
     }
    },
    "additionalProperties": false
   },
   "UpdatePriceGroupCommand": {
    "required": [
     "id",
     "name"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "name": {
      "type": "string",
      "nullable": true
     },
     "description": {
      "type": "string",
      "nullable": true
     },
     "currency": {
      "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"
      ],
      "allOf": [
       {
        "$ref": "#/components/schemas/Currency"
       }
      ],
      "description": "Currency cannot be None"
     },
     "type": {
      "enum": [
       "None",
       "Standard",
       "Dependent"
      ],
      "allOf": [
       {
        "$ref": "#/components/schemas/PriceGroupType"
       }
      ],
      "description": "Price Group cannot be None"
     },
     "catalogIds": {
      "type": "array",
      "items": {
       "type": "integer",
       "format": "int64"
      },
      "nullable": true
     },
     "bundlePriceCalculationMethod": {
      "enum": [
       "Fixed",
       "Auto"
      ],
      "allOf": [
       {
        "$ref": "#/components/schemas/BundlePriceCalculationMethod"
       }
      ]
     },
     "bundlePriceMultiplier": {
      "type": "number",
      "format": "double"
     },
     "bundlePriceDiscount": {
      "type": "number",
      "format": "double"
     },
     "baseGroupData": {
      "allOf": [
       {
        "$ref": "#/components/schemas/UpdatePriceGroupBaseGroupData"
       }
      ],
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "CreateProductLinkRequest": {
    "type": "object",
    "properties": {
     "productId": {
      "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
   },
   "ErrorDetailsResponse": {
    "type": "object",
    "properties": {
     "message": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "ProductLinkResponse": {
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "productId": {
      "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
   },
   "UpdateProductLinkRequest": {
    "type": "object",
    "properties": {
     "productId": {
      "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
   },
   "BulkCreateProductsCommand": {
    "type": "object",
    "properties": {
     "createProductCommands": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/CreateProductCommand"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "BulkCreateWithDependenciesAdditionalEan": {
    "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
   },
   "BulkCreateProductsWithDependenciesCommand": {
    "type": "object",
    "properties": {
     "products": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ProductWithDependencies"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "ProductBundleItem": {
    "type": "object",
    "properties": {
     "bundleItemProductId": {
      "type": "integer",
      "format": "int64"
     },
     "quantity": {
      "type": "integer",
      "format": "int32"
     }
    },
    "additionalProperties": false
   },
   "ProductCategoryId": {
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "name": {
      "type": "string",
      "nullable": true
     },
     "parentId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "BulkCreateWithDependenciesProductComplexField": {
    "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
   },
   "ProductCreateResult": {
    "type": "object",
    "properties": {
     "externalId": {
      "type": "string",
      "nullable": true
     },
     "id": {
      "type": "integer",
      "format": "int64"
     }
    },
    "additionalProperties": false
   },
   "ProductImage": {
    "type": "object",
    "properties": {
     "slot": {
      "type": "integer",
      "format": "int32"
     },
     "imageLink": {
      "type": "string",
      "nullable": true
     },
     "imageFile": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "BulkCreateWithDependenciesProductLink": {
    "type": "object",
    "properties": {
     "externalProductId": {
      "type": "string",
      "nullable": true
     },
     "externalVariantId": {
      "type": "string",
      "nullable": true
     },
     "externalConnectionId": {
      "type": "string",
      "nullable": true
     },
     "connectionId": {
      "type": "integer",
      "format": "int64"
     }
    },
    "additionalProperties": false
   },
   "ProductManufacturerId": {
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "name": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "BulkCreateWithDependenciesProductPriceGroup": {
    "type": "object",
    "properties": {
     "priceGroupId": {
      "type": "integer",
      "format": "int64"
     },
     "price": {
      "type": "number",
      "format": "double"
     }
    },
    "additionalProperties": false
   },
   "BulkCreateWithDependenciesProductProperty": {
    "type": "object",
    "properties": {
     "name": {
      "type": "string",
      "nullable": true
     },
     "value": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "BulkCreateWithDependenciesProductStock": {
    "type": "object",
    "properties": {
     "warehouseId": {
      "type": "integer",
      "format": "int64"
     },
     "quantity": {
      "type": "integer",
      "format": "int32"
     },
     "locationName": {
      "type": "string",
      "nullable": true
     },
     "vatAmount": {
      "type": "number",
      "format": "double",
      "nullable": true
     },
     "vatSymbol": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "ProductWithDependencies": {
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "externalId": {
      "type": "string",
      "nullable": true
     },
     "name": {
      "type": "string",
      "nullable": true
     },
     "catalogId": {
      "type": "integer",
      "format": "int64"
     },
     "sku": {
      "type": "string",
      "nullable": true
     },
     "ean": {
      "type": "string",
      "nullable": true
     },
     "manufacturerId": {
      "allOf": [
       {
        "$ref": "#/components/schemas/ProductManufacturerId"
       }
      ],
      "nullable": true
     },
     "weight": {
      "type": "number",
      "format": "double",
      "nullable": true
     },
     "height": {
      "type": "number",
      "format": "double",
      "nullable": true
     },
     "width": {
      "type": "number",
      "format": "double",
      "nullable": true
     },
     "length": {
      "type": "number",
      "format": "double",
      "nullable": true
     },
     "vat": {
      "type": "number",
      "format": "double",
      "nullable": true
     },
     "categoryId": {
      "allOf": [
       {
        "$ref": "#/components/schemas/ProductCategoryId"
       }
      ],
      "nullable": true
     },
     "parentId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "isBundle": {
      "type": "boolean",
      "nullable": true
     },
     "stocks": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/BulkCreateWithDependenciesProductStock"
      },
      "nullable": true
     },
     "productPriceGroups": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/BulkCreateWithDependenciesProductPriceGroup"
      },
      "nullable": true
     },
     "isAsteriskMarked": {
      "type": "boolean",
      "nullable": true
     },
     "properties": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/BulkCreateWithDependenciesProductProperty"
      },
      "nullable": true
     },
     "overwriteProductLinks": {
      "type": "boolean",
      "nullable": true
     },
     "productLinks": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/BulkCreateWithDependenciesProductLink"
      },
      "nullable": true
     },
     "complexFields": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/BulkCreateWithDependenciesProductComplexField"
      },
      "nullable": true
     },
     "bundleItems": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ProductBundleItem"
      },
      "nullable": true
     },
     "replaceAllExistingImages": {
      "type": "boolean",
      "nullable": true
     },
     "images": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ProductImage"
      },
      "nullable": true
     },
     "additionalEans": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/BulkCreateWithDependenciesAdditionalEan"
      },
      "nullable": true
     },
     "translations": {
      "type": "object",
      "additionalProperties": {
       "$ref": "#/components/schemas/TranslationDto"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "BulkUpdateProductsCommand": {
    "type": "object",
    "properties": {
     "updates": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/UpdateUpdateProductCommand"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "CreateAdditionalEan": {
    "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
   },
   "BasePriceGroupData": {
    "type": "object",
    "properties": {
     "basePriceGroupId": {
      "type": "integer",
      "format": "int64"
     },
     "priceMultiplier": {
      "type": "number",
      "format": "double"
     },
     "addToPrice": {
      "type": "number",
      "format": "double"
     }
    },
    "additionalProperties": false
   },
   "CreateBundleItem": {
    "type": "object",
    "properties": {
     "bundleItemProductId": {
      "type": "integer",
      "format": "int64"
     },
     "quantity": {
      "type": "integer",
      "format": "int32"
     }
    },
    "additionalProperties": false
   },
   "CreateProductCommand": {
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "name": {
      "type": "string",
      "nullable": true
     },
     "catalogId": {
      "type": "integer",
      "format": "int64"
     },
     "sku": {
      "type": "string",
      "nullable": true
     },
     "ean": {
      "type": "string",
      "nullable": true
     },
     "manufacturerId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "weight": {
      "type": "number",
      "format": "double"
     },
     "height": {
      "type": "number",
      "format": "double"
     },
     "width": {
      "type": "number",
      "format": "double"
     },
     "length": {
      "type": "number",
      "format": "double"
     },
     "vat": {
      "type": "number",
      "format": "double"
     },
     "categoryId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "parentId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "isBundle": {
      "type": "boolean",
      "nullable": true
     },
     "stocks": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/CreateStock"
      },
      "nullable": true
     },
     "productPriceGroups": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/CreateProductPriceGroup"
      },
      "nullable": true
     },
     "isAsteriskMarked": {
      "type": "boolean",
      "nullable": true
     },
     "properties": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/CreateProductProperty"
      },
      "nullable": true
     },
     "productLinks": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/CreateProductLink"
      },
      "nullable": true
     },
     "complexFields": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/CreateProductComplexField"
      },
      "nullable": true
     },
     "bundleItems": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/CreateBundleItem"
      },
      "nullable": true
     },
     "translations": {
      "type": "object",
      "additionalProperties": {
       "$ref": "#/components/schemas/TranslationDto"
      },
      "nullable": true
     },
     "vatSymbol": {
      "type": "string",
      "nullable": true
     },
     "additionalEans": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/CreateAdditionalEan"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "CreateProductComplexField": {
    "type": "object",
    "properties": {
     "name": {
      "type": "string",
      "nullable": true
     },
     "value": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "CreateProductLink": {
    "type": "object",
    "properties": {
     "externalProductId": {
      "type": "string",
      "nullable": true
     },
     "externalVariantId": {
      "type": "string",
      "nullable": true
     },
     "externalConnectionId": {
      "type": "string",
      "nullable": true
     },
     "connectionId": {
      "type": "integer",
      "format": "int64"
     }
    },
    "additionalProperties": false
   },
   "CreateProductPriceGroup": {
    "type": "object",
    "properties": {
     "priceGroupId": {
      "type": "integer",
      "format": "int64"
     },
     "price": {
      "type": "number",
      "format": "double"
     },
     "basePriceGroupData": {
      "allOf": [
       {
        "$ref": "#/components/schemas/BasePriceGroupData"
       }
      ],
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "CreateProductProperty": {
    "type": "object",
    "properties": {
     "name": {
      "type": "string",
      "nullable": true
     },
     "value": {
      "type": "string",
      "nullable": true
     },
     "externalId": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "CreateStock": {
    "type": "object",
    "properties": {
     "warehouseId": {
      "type": "integer",
      "format": "int64"
     },
     "quantity": {
      "type": "integer",
      "format": "int32"
     },
     "locationName": {
      "type": "string",
      "nullable": true
     },
     "vatAmount": {
      "type": "number",
      "format": "double",
      "nullable": true
     },
     "vatSymbol": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "DeleteProductsByIdsRequest": {
    "type": "object",
    "properties": {
     "ids": {
      "type": "array",
      "items": {
       "type": "integer",
       "format": "int64"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "DuplicateProductCommand": {
    "type": "object",
    "properties": {
     "productId": {
      "type": "integer",
      "format": "int64"
     }
    },
    "additionalProperties": false
   },
   "DuplicateProductResponse": {
    "type": "object",
    "properties": {
     "product": {
      "allOf": [
       {
        "$ref": "#/components/schemas/RetrieveProductQueryResponse"
       }
      ],
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "IncludeProductNavigationProperties": {
    "type": "object",
    "properties": {
     "includeCatalog": {
      "type": "boolean"
     },
     "includeManufacturer": {
      "type": "boolean"
     },
     "includeCategory": {
      "type": "boolean"
     },
     "includeStocks": {
      "type": "boolean"
     },
     "includeProperties": {
      "type": "boolean"
     },
     "includeProductLinks": {
      "type": "boolean"
     },
     "includeComplexFields": {
      "type": "boolean"
     },
     "includeVariants": {
      "type": "boolean"
     },
     "includeBundleItems": {
      "type": "boolean"
     },
     "includeTranslations": {
      "type": "boolean"
     }
    },
    "additionalProperties": false
   },
   "ListRetreiveProductComplexFieldQueryResponse": {
    "type": "object",
    "properties": {
     "name": {
      "type": "string",
      "nullable": true
     },
     "value": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "ListRetrieveProductListBundleItemQueryResponse": {
    "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/ListRetrieveProductListStockQueryResponse"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "ListRetrieveProductListCatalogQueryResponse": {
    "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
   },
   "ListRetrieveProductListCategoryQueryResponse": {
    "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
   },
   "ListRetrieveProductListLinkQueryResponse": {
    "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
   },
   "ListRetrieveProductListManufacturerQueryResponse": {
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "name": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "ListRetrieveProductListPriceGroupQueryResponse": {
    "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": {
      "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"
      ],
      "allOf": [
       {
        "$ref": "#/components/schemas/Currency"
       }
      ]
     },
     "createdAt": {
      "type": "string",
      "format": "date-time"
     },
     "updatedAt": {
      "type": "string",
      "format": "date-time",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "ListRetrieveProductListPropertyQueryResponse": {
    "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
   },
   "ListRetrieveProductListQueryResponse": {
    "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/ListRetrieveProductListCatalogQueryResponse"
       }
      ],
      "nullable": true
     },
     "category": {
      "allOf": [
       {
        "$ref": "#/components/schemas/ListRetrieveProductListCategoryQueryResponse"
       }
      ],
      "nullable": true
     },
     "manufacturer": {
      "allOf": [
       {
        "$ref": "#/components/schemas/ListRetrieveProductListManufacturerQueryResponse"
       }
      ],
      "nullable": true
     },
     "stocks": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ListRetrieveProductListStockQueryResponse"
      },
      "nullable": true
     },
     "productPriceGroups": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ListRetrieveProductListPriceGroupQueryResponse"
      },
      "nullable": true
     },
     "properties": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ListRetrieveProductListPropertyQueryResponse"
      },
      "nullable": true
     },
     "productLinks": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ListRetrieveProductListLinkQueryResponse"
      },
      "nullable": true
     },
     "complexFields": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ListRetreiveProductComplexFieldQueryResponse"
      },
      "nullable": true
     },
     "bundleItems": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ListRetrieveProductListBundleItemQueryResponse"
      },
      "nullable": true
     },
     "translations": {
      "type": "object",
      "additionalProperties": {
       "$ref": "#/components/schemas/TranslationDto"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "ListRetrieveProductListStockQueryResponse": {
    "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"
     },
     "vatSymbol": {
      "type": "string",
      "nullable": true
     },
     "createdAt": {
      "type": "string",
      "format": "date-time"
     },
     "updatedAt": {
      "type": "string",
      "format": "date-time",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "RetrieveProductAdditionalEanQueryResponse": {
    "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": {
    "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": {
    "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": {
    "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": {
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "name": {
      "type": "string",
      "nullable": true
     },
     "value": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "RetrieveProductManufacturerQueryResponse": {
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "name": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "RetrieveProductProductLinkQueryResponse": {
    "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": {
    "type": "object",
    "properties": {
     "priceGroupId": {
      "type": "integer",
      "format": "int64"
     },
     "currency": {
      "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"
      ],
      "allOf": [
       {
        "$ref": "#/components/schemas/Currency"
       }
      ]
     },
     "price": {
      "type": "number",
      "format": "double",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "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": {
    "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": {
    "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"
     },
     "vatSymbol": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "RetrieveByProductLinksProductLink": {
    "type": "object",
    "properties": {
     "externalProductId": {
      "type": "string",
      "nullable": true
     },
     "externalVariantId": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "RetrieveProductsByProductLinksRequest": {
    "type": "object",
    "properties": {
     "connectionId": {
      "type": "integer",
      "format": "int64"
     },
     "productLinks": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/RetrieveByProductLinksProductLink"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "RetrieveByPropertiesQuery": {
    "type": "object",
    "properties": {
     "catalogId": {
      "type": "integer",
      "format": "int64"
     },
     "propertyFilterSearchValues": {
      "type": "array",
      "items": {
       "type": "array",
       "items": {
        "$ref": "#/components/schemas/PropertyFilterSearchValues"
       }
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "UpdateAdditionalEan": {
    "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
   },
   "UpdateBundleItem": {
    "type": "object",
    "properties": {
     "bundleItemProductId": {
      "type": "integer",
      "format": "int64"
     },
     "quantity": {
      "type": "integer",
      "format": "int32"
     }
    },
    "additionalProperties": false
   },
   "UpdateProductComplexField": {
    "type": "object",
    "properties": {
     "name": {
      "type": "string",
      "nullable": true
     },
     "value": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "UpdateProductLink": {
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "externalProductId": {
      "type": "string",
      "nullable": true
     },
     "externalVariantId": {
      "type": "string",
      "nullable": true
     },
     "externalConnectionId": {
      "type": "string",
      "nullable": true
     },
     "connectionId": {
      "type": "integer",
      "format": "int64"
     }
    },
    "additionalProperties": false
   },
   "UpdateProductPriceGroup": {
    "type": "object",
    "properties": {
     "priceGroupId": {
      "type": "integer",
      "format": "int64"
     },
     "price": {
      "type": "number",
      "format": "double"
     }
    },
    "additionalProperties": false
   },
   "UpdateProductProperty": {
    "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
   },
   "UpdateStock": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "nullable": true
     },
     "quantity": {
      "type": "integer",
      "format": "int32"
     },
     "locationName": {
      "type": "string",
      "nullable": true
     },
     "vatAmount": {
      "type": "number",
      "format": "double",
      "nullable": true
     },
     "warehouseId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "vatSymbol": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "UpdateUpdateProductCommand": {
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "name": {
      "type": "string",
      "nullable": true
     },
     "catalogId": {
      "type": "integer",
      "format": "int64"
     },
     "manufacturerId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "sku": {
      "type": "string",
      "nullable": true
     },
     "ean": {
      "type": "string",
      "nullable": true
     },
     "weight": {
      "type": "number",
      "format": "double"
     },
     "height": {
      "type": "number",
      "format": "double"
     },
     "width": {
      "type": "number",
      "format": "double"
     },
     "length": {
      "type": "number",
      "format": "double"
     },
     "vat": {
      "type": "number",
      "format": "double"
     },
     "categoryId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "skipCategoryUpdate": {
      "type": "boolean"
     },
     "parentId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "skipParentUpdate": {
      "type": "boolean"
     },
     "isBundle": {
      "type": "boolean",
      "nullable": true
     },
     "stocks": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/UpdateStock"
      },
      "nullable": true
     },
     "productPriceGroups": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/UpdateProductPriceGroup"
      },
      "nullable": true
     },
     "isAsteriskMarked": {
      "type": "boolean",
      "nullable": true
     },
     "overrideAllStocks": {
      "type": "boolean"
     },
     "properties": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/UpdateProductProperty"
      },
      "nullable": true
     },
     "productLinks": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/UpdateProductLink"
      },
      "nullable": true
     },
     "complexFields": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/UpdateProductComplexField"
      },
      "nullable": true
     },
     "bundleItems": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/UpdateBundleItem"
      },
      "nullable": true
     },
     "translations": {
      "type": "object",
      "additionalProperties": {
       "$ref": "#/components/schemas/TranslationDto"
      },
      "nullable": true
     },
     "vatSymbol": {
      "type": "string",
      "nullable": true
     },
     "additionalEans": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/UpdateAdditionalEan"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "UpdateParentCommand": {
    "type": "object",
    "properties": {
     "childId": {
      "type": "integer",
      "format": "int64"
     },
     "parentId": {
      "type": "integer",
      "format": "int64"
     }
    },
    "additionalProperties": false
   },
   "PropertyFilterSearchValues": {
    "type": "object",
    "properties": {
     "propertyName": {
      "type": "string",
      "nullable": true
     },
     "searchValue": {
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "CreateWarehouseCommand": {
    "required": [
     "address",
     "city",
     "country",
     "name",
     "postCode"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "name": {
      "type": "string",
      "nullable": true
     },
     "description": {
      "type": "string",
      "nullable": true
     },
     "address": {
      "type": "string",
      "nullable": true
     },
     "postCode": {
      "type": "string",
      "nullable": true
     },
     "city": {
      "type": "string",
      "nullable": true
     },
     "country": {
      "type": "string",
      "nullable": true
     },
     "catalogIds": {
      "type": "array",
      "items": {
       "type": "integer",
       "format": "int64"
      },
      "nullable": true
     },
     "stockEdition": {
      "type": "boolean"
     },
     "warehouseType": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "GetWarehouseListCatalogQueryResponse": {
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "name": {
      "type": "string",
      "nullable": true
     },
     "description": {
      "type": "string",
      "nullable": true
     },
     "isDefault": {
      "type": "boolean"
     }
    },
    "additionalProperties": false
   },
   "RetrieveWarehouseListQueryResponse": {
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "name": {
      "type": "string",
      "nullable": true
     },
     "description": {
      "type": "string",
      "nullable": true
     },
     "address": {
      "type": "string",
      "nullable": true
     },
     "postCode": {
      "type": "string",
      "nullable": true
     },
     "city": {
      "type": "string",
      "nullable": true
     },
     "country": {
      "type": "string",
      "nullable": true
     },
     "catalogs": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/GetWarehouseListCatalogQueryResponse"
      },
      "nullable": true
     },
     "isDefault": {
      "type": "boolean"
     },
     "stockEdition": {
      "type": "boolean"
     },
     "warehouseType": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "RetrieveWarehouseQueryResponse": {
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "name": {
      "type": "string",
      "nullable": true
     },
     "description": {
      "type": "string",
      "nullable": true
     },
     "address": {
      "type": "string",
      "nullable": true
     },
     "postCode": {
      "type": "string",
      "nullable": true
     },
     "city": {
      "type": "string",
      "nullable": true
     },
     "country": {
      "type": "string",
      "nullable": true
     },
     "isDefault": {
      "type": "boolean"
     },
     "stockEdition": {
      "type": "boolean"
     },
     "warehouseType": {
      "type": "string",
      "nullable": true
     },
     "catalogIds": {
      "type": "array",
      "items": {
       "type": "integer",
       "format": "int64"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "SetWarehouseAsDefaultCommand": {
    "required": [
     "id"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     }
    },
    "additionalProperties": false
   },
   "UpdateWarehouseCommand": {
    "required": [
     "address",
     "city",
     "country",
     "id",
     "name",
     "postCode",
     "stockEdition",
     "warehouseType"
    ],
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "name": {
      "type": "string",
      "nullable": true
     },
     "description": {
      "type": "string",
      "nullable": true
     },
     "address": {
      "type": "string",
      "nullable": true
     },
     "postCode": {
      "type": "string",
      "nullable": true
     },
     "city": {
      "type": "string",
      "nullable": true
     },
     "country": {
      "type": "string",
      "nullable": true
     },
     "catalogIds": {
      "type": "array",
      "items": {
       "type": "integer",
       "format": "int64"
      },
      "nullable": true
     },
     "stockEdition": {
      "type": "boolean"
     },
     "warehouseType": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "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": {}
   },
   "RetrieveCategoryListQueryResponseV2": {
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "name": {
      "type": "string",
      "nullable": true
     },
     "parentId": {
      "type": "string",
      "nullable": true
     },
     "catalogId": {
      "type": "string",
      "nullable": true
     },
     "children": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/RetrieveCategoryListQueryResponseV2"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "PaginatedResponseOfRetrieveComplexFieldsListQueryResponse": {
    "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
   },
   "AddComplexFieldFileResponse": {
    "type": "object",
    "properties": {
     "downloadLink": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "CreateComplexFieldCommand": {
    "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
     }
    },
    "additionalProperties": false
   },
   "RetrieveComplexFieldsListQueryResponse": {
    "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
   },
   "RetrieveComplexFieldsQueryResponse": {
    "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
   },
   "RetrieveComplexFieldsByNamesQuery": {
    "type": "object",
    "properties": {
     "names": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "RetrieveComplexFieldsByNamesResponse": {
    "type": "object",
    "properties": {
     "complexFields": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/RetrieveComplexFieldsQueryResponse"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "UpdateComplexFieldCommand": {
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "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
     }
    },
    "additionalProperties": false
   },
   "ComplexFieldRenderType": {
    "enum": [
     "Text",
     "LongText",
     "Number",
     "Select",
     "Checkbox",
     "Radio",
     "Date",
     "File",
     "FileLink"
    ],
    "type": "string"
   },
   "PaginatedResponseOfRetrieveProductListQueryResponse2": {
    "type": "object",
    "properties": {
     "totalRecords": {
      "type": "integer",
      "format": "int32"
     },
     "totalPages": {
      "type": "integer",
      "format": "int32"
     },
     "data": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ListV3RetrieveProductListQueryResponse"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "PaginatedResponseOfInt64": {
    "type": "object",
    "properties": {
     "totalRecords": {
      "type": "integer",
      "format": "int32"
     },
     "totalPages": {
      "type": "integer",
      "format": "int32"
     },
     "data": {
      "type": "array",
      "items": {
       "type": "integer",
       "format": "int64"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "PackProductsCommandV3": {
    "type": "object",
    "properties": {
     "products": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/PackItem"
      },
      "nullable": true
     },
     "containerIds": {
      "type": "array",
      "items": {
       "type": "integer",
       "format": "int64"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "AdvancedFilterProductsQuery": {
    "type": "object",
    "properties": {
     "filterGroups": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/AdvancedFilterGroup"
      },
      "nullable": true
     },
     "catalogId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "warehouseId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "isBundle": {
      "type": "boolean",
      "nullable": true
     },
     "sortBy": {
      "type": "string",
      "nullable": true
     },
     "sortOrder": {
      "type": "string",
      "nullable": true
     },
     "includes": {
      "allOf": [
       {
        "$ref": "#/components/schemas/IncludeProductNavigationProperties"
       }
      ],
      "nullable": true
     },
     "pageSize": {
      "type": "integer",
      "format": "int32"
     },
     "pageNumber": {
      "type": "integer",
      "format": "int32"
     }
    },
    "additionalProperties": false
   },
   "ProductPrice": {
    "type": "object",
    "properties": {
     "priceGroupId": {
      "type": "integer",
      "format": "int64"
     },
     "value": {
      "type": "number",
      "format": "double"
     }
    },
    "additionalProperties": false
   },
   "ProductPriceUpdateErrorDetails": {
    "type": "object",
    "properties": {
     "productId": {
      "type": "integer",
      "format": "int64"
     },
     "errorMessage": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "ProductsPricesUpdate": {
    "type": "object",
    "properties": {
     "productId": {
      "type": "integer",
      "format": "int64"
     },
     "prices": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ProductPrice"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "ProductsPricesUpdateResults": {
    "type": "object",
    "properties": {
     "exid": {
      "type": "string",
      "format": "uuid"
     },
     "updatedCount": {
      "type": "integer",
      "format": "int32"
     },
     "failedCount": {
      "type": "integer",
      "format": "int32"
     },
     "errorDetails": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ProductPriceUpdateErrorDetails"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "BulkStocksUpdateProductStock": {
    "type": "object",
    "properties": {
     "warehouseId": {
      "type": "integer",
      "format": "int64"
     },
     "quantity": {
      "type": "integer",
      "format": "int32"
     },
     "vatSymbol": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "ProductStockUpdateErrorDetails": {
    "type": "object",
    "properties": {
     "productId": {
      "type": "integer",
      "format": "int64"
     },
     "errorMessage": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "ProductsStocksUpdate": {
    "type": "object",
    "properties": {
     "productId": {
      "type": "integer",
      "format": "int64"
     },
     "stocks": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/BulkStocksUpdateProductStock"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "ProductsStocksUpdateResults": {
    "type": "object",
    "properties": {
     "exid": {
      "type": "string",
      "format": "uuid"
     },
     "updatedCount": {
      "type": "integer",
      "format": "int32"
     },
     "failedCount": {
      "type": "integer",
      "format": "int32"
     },
     "errorDetails": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ProductStockUpdateErrorDetails"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "BundlesRefreshStocksInCatalogCommand": {
    "type": "object",
    "properties": {
     "catalogId": {
      "type": "integer",
      "format": "int64"
     }
    },
    "additionalProperties": false
   },
   "ListV3RetreiveProductComplexFieldQueryResponse": {
    "type": "object",
    "properties": {
     "name": {
      "type": "string",
      "nullable": true
     },
     "value": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "ListV3RetrieveProductListBundleItemQueryResponse": {
    "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/ListV3RetrieveProductListStockQueryResponse"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "ListV3RetrieveProductListCatalogQueryResponse": {
    "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
   },
   "ListV3RetrieveProductListCategoryQueryResponse": {
    "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
   },
   "RetrieveProductListComplexFieldFilter": {
    "type": "object",
    "properties": {
     "fieldName": {
      "type": "string",
      "nullable": true
     },
     "value": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "ListV3RetrieveProductListLinkQueryResponse": {
    "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
   },
   "ListV3RetrieveProductListManufacturerQueryResponse": {
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "name": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "ListV3RetrieveProductListPriceGroupQueryResponse": {
    "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": {
      "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"
      ],
      "allOf": [
       {
        "$ref": "#/components/schemas/Currency"
       }
      ]
     },
     "createdAt": {
      "type": "string",
      "format": "date-time"
     },
     "updatedAt": {
      "type": "string",
      "format": "date-time",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "ListV3RetrieveProductListPropertyQueryResponse": {
    "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
   },
   "ListV3RetrieveProductListQueryResponse": {
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "name": {
      "type": "string",
      "nullable": true
     },
     "isParent": {
      "type": "boolean"
     },
     "parentId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "variantsCount": {
      "type": "integer",
      "format": "int32"
     },
     "nameWithParentName": {
      "type": "string",
      "nullable": true
     },
     "variants": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ListV3RetrieveProductListQueryResponse"
      },
      "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/ListV3RetrieveProductListCatalogQueryResponse"
       }
      ],
      "nullable": true
     },
     "category": {
      "allOf": [
       {
        "$ref": "#/components/schemas/ListV3RetrieveProductListCategoryQueryResponse"
       }
      ],
      "nullable": true
     },
     "manufacturer": {
      "allOf": [
       {
        "$ref": "#/components/schemas/ListV3RetrieveProductListManufacturerQueryResponse"
       }
      ],
      "nullable": true
     },
     "stocks": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ListV3RetrieveProductListStockQueryResponse"
      },
      "nullable": true
     },
     "productPriceGroups": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ListV3RetrieveProductListPriceGroupQueryResponse"
      },
      "nullable": true
     },
     "properties": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ListV3RetrieveProductListPropertyQueryResponse"
      },
      "nullable": true
     },
     "productLinks": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ListV3RetrieveProductListLinkQueryResponse"
      },
      "nullable": true
     },
     "complexFields": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ListV3RetreiveProductComplexFieldQueryResponse"
      },
      "nullable": true
     },
     "bundleItems": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/ListV3RetrieveProductListBundleItemQueryResponse"
      },
      "nullable": true
     },
     "translations": {
      "type": "object",
      "additionalProperties": {
       "$ref": "#/components/schemas/TranslationDto"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "ListV3RetrieveProductListStockQueryResponse": {
    "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"
     },
     "vatSymbol": {
      "type": "string",
      "nullable": true
     },
     "createdAt": {
      "type": "string",
      "format": "date-time"
     },
     "updatedAt": {
      "type": "string",
      "format": "date-time",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "RetrieveByPropertyMultipleValuesV3Property3ValuesPair": {
    "type": "object",
    "properties": {
     "property": {
      "type": "string",
      "nullable": true
     },
     "values": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "RetrieveByPropertyMultipleValuesV3Request": {
    "type": "object",
    "properties": {
     "propertyValuesPairs": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/RetrieveByPropertyMultipleValuesV3Property3ValuesPair"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "RetrieveByPropertyMultipleValuesV3Response": {
    "type": "object",
    "properties": {
     "products": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/RetrieveProductQueryResponse"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "RetrieveMultipleProductsByIdsLiteAdditionalEanResponse": {
    "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
   },
   "RetrieveMultipleProductsByIdsLiteComplexFieldDefinitionResponse": {
    "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
     },
     "options": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "RetrieveMultipleProductsByIdsLiteComplexFieldResponse": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "nullable": true
     },
     "name": {
      "type": "string",
      "nullable": true
     },
     "value": {
      "type": "string",
      "nullable": true
     },
     "definition": {
      "allOf": [
       {
        "$ref": "#/components/schemas/RetrieveMultipleProductsByIdsLiteComplexFieldDefinitionResponse"
       }
      ],
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "RetrieveMultipleProductsByIdsLiteRequest": {
    "type": "object",
    "properties": {
     "ids": {
      "type": "array",
      "items": {
       "type": "integer",
       "format": "int64"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "RetrieveMultipleProductsByIdsLiteResponse": {
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64"
     },
     "parentId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "isParent": {
      "type": "boolean"
     },
     "catalogId": {
      "type": "integer",
      "format": "int64"
     },
     "manufacturerId": {
      "type": "integer",
      "format": "int64"
     },
     "name": {
      "type": "string",
      "nullable": true
     },
     "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"
     },
     "categoryId": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "isBundle": {
      "type": "boolean",
      "nullable": true
     },
     "isAsteriskMarked": {
      "type": "boolean",
      "nullable": true
     },
     "complexFields": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/RetrieveMultipleProductsByIdsLiteComplexFieldResponse"
      },
      "nullable": true
     },
     "additionalEans": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/RetrieveMultipleProductsByIdsLiteAdditionalEanResponse"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "UpdateV3AdditionalEan": {
    "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
   },
   "UpdateV3BundleItem": {
    "type": "object",
    "properties": {
     "bundleItemProductId": {
      "type": "integer",
      "format": "int64"
     },
     "quantity": {
      "type": "integer",
      "format": "int32"
     }
    },
    "additionalProperties": false
   },
   "UpdateV3ProductComplexField": {
    "type": "object",
    "properties": {
     "name": {
      "type": "string",
      "nullable": true
     },
     "value": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "UpdateV3ProductLink": {
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "format": "int64",
      "nullable": true
     },
     "externalProductId": {
      "type": "string",
      "nullable": true
     },
     "externalVariantId": {
      "type": "string",
      "nullable": true
     },
     "externalConnectionId": {
      "type": "string",
      "nullable": true
     },
     "connectionId": {
      "type": "integer",
      "format": "int64"
     }
    },
    "additionalProperties": false
   },
   "UpdateV3ProductPriceGroup": {
    "type": "object",
    "properties": {
     "priceGroupId": {
      "type": "integer",
      "format": "int64"
     },
     "price": {
      "type": "number",
      "format": "double"
     }
    },
    "additionalProperties": false
   },
   "UpdateV3ProductProperty": {
    "type": "object",
    "properties": {
     "name": {
      "type": "string",
      "nullable": true
     },
     "value": {
      "type": "string",
      "nullable": true
     },
     "externalId": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "UpdateV3Stock": {
    "type": "object",
    "properties": {
     "warehouseId": {
      "type": "integer",
      "format": "int64"
     },
     "quantity": {
      "type": "integer",
      "format": "int32",
      "nullable": true
     },
     "locationName": {
      "type": "string",
      "nullable": true
     },
     "vatAmount": {
      "type": "number",
      "format": "double",
      "nullable": true
     },
     "vatSymbol": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "UpdateV3UpdateProductCommand": {
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "description": "Required. Unique identifier for the product. Must match with ID in URI.",
      "format": "int64"
     },
     "name": {
      "type": "string",
      "description": "Optional. Name of the product.",
      "nullable": true
     },
     "catalogId": {
      "type": "integer",
      "description": "Optional. Catalog identifier to which the product belongs.",
      "format": "int64",
      "nullable": true
     },
     "manufacturerId": {
      "type": "integer",
      "description": "Optional. Manufacturer identifier of the product.",
      "format": "int64",
      "nullable": true
     },
     "sku": {
      "type": "string",
      "description": "Optional. SKU (Stock Keeping Unit) of the product.",
      "nullable": true
     },
     "ean": {
      "type": "string",
      "description": "Optional. EAN (European Article Number) of the product.",
      "nullable": true
     },
     "weight": {
      "type": "number",
      "description": "Optional. Weight of the product.",
      "format": "double",
      "nullable": true
     },
     "height": {
      "type": "number",
      "description": "Optional. Height of the product.",
      "format": "double",
      "nullable": true
     },
     "width": {
      "type": "number",
      "description": "Optional. Width of the product.",
      "format": "double",
      "nullable": true
     },
     "length": {
      "type": "number",
      "description": "Optional. Length of the product.",
      "format": "double",
      "nullable": true
     },
     "vat": {
      "type": "number",
      "description": "Optional. VAT rate of the product.",
      "format": "double",
      "nullable": true
     },
     "categoryId": {
      "type": "integer",
      "description": "Optional. Category identifier of the product.",
      "format": "int64",
      "nullable": true
     },
     "parentId": {
      "type": "integer",
      "description": "Optional. Parent product identifier if applicable.",
      "format": "int64",
      "nullable": true
     },
     "isBundle": {
      "type": "boolean",
      "description": "Optional. Flag indicating whether the product is a bundle.",
      "nullable": true
     },
     "isAsteriskMarked": {
      "type": "boolean",
      "description": "Optional. Flag indicating whether the product is marked with an asterisk.",
      "nullable": true
     },
     "stocks": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/UpdateV3Stock"
      },
      "description": "Optional. Collection of stock information for the product. New stocks will be added, existing (with the same warehouse identifier) will be updated. Set to null to skip and leave it unchanged.",
      "nullable": true
     },
     "purgeExistingStocks": {
      "type": "boolean",
      "description": "Optional. Flag indicating whether to purge existing stock data before updating.",
      "nullable": true
     },
     "productPriceGroups": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/UpdateV3ProductPriceGroup"
      },
      "description": "Optional. Collection of product price groups. New prices will be added, existing (with the same price group identifier) will be updated. Set to null to skip and leave it unchanged.",
      "nullable": true
     },
     "purgeExistingProductPriceGroups": {
      "type": "boolean",
      "description": "Optional. Flag indicating whether to purge existing product price groups before updating.",
      "nullable": true
     },
     "properties": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/UpdateV3ProductProperty"
      },
      "description": "Optional. Collection of product properties. New properties will be added, existing (with the same name) will be updated. Set to null to skip and leave it unchanged.",
      "nullable": true
     },
     "purgeExistingProperties": {
      "type": "boolean",
      "description": "Optional. Flag indicating whether to purge existing product properties before updating.",
      "nullable": true
     },
     "productLinks": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/UpdateV3ProductLink"
      },
      "description": "Optional. Collection of product links. Must always contains complete list of items. Set to null to skip and leave it unchanged.",
      "nullable": true
     },
     "purgeExistingProductLinks": {
      "type": "boolean",
      "description": "Optional. Flag indicating whether to purge existing product links before updating.",
      "nullable": true
     },
     "complexFields": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/UpdateV3ProductComplexField"
      },
      "description": "Optional. Collection of product complex fields. New fields will be updated, existing (with the same name) will be updated. Set to null to skip and leave it unchanged.",
      "nullable": true
     },
     "purgeExistingComplexFields": {
      "type": "boolean",
      "description": "Optional. Flag indicating whether to purge existing product complex fields before updating.",
      "nullable": true
     },
     "bundleItems": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/UpdateV3BundleItem"
      },
      "description": "Optional. Collection of bundle items for the product if it is a bundle. Must always contains complete list of items. Set to null to skip and leave it unchanged.",
      "nullable": true
     },
     "translations": {
      "type": "object",
      "additionalProperties": {
       "$ref": "#/components/schemas/TranslationDto"
      },
      "description": "Optional. Translation matrix keyed by language. Missing non-Polish languages are overwritten as empty strings when provided.",
      "nullable": true
     },
     "vatSymbol": {
      "type": "string",
      "description": "Optional. Text VAT symbol (e.g. ZW, NP) of the product.",
      "nullable": true
     },
     "additionalEans": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/UpdateV3AdditionalEan"
      },
      "description": "Optional. Complete collection of additional EAN codes. Must always contain the complete list of items - codes missing from it are removed. Set to null to skip and leave it unchanged, set to an empty array to clear it. None of them may repeat within the product or equal its main EAN.",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "AdvancedFilterCondition": {
    "type": "object",
    "properties": {
     "field": {
      "type": "string",
      "nullable": true
     },
     "fieldType": {
      "enum": [
       "Text",
       "Numeric",
       "Dictionary",
       "Date",
       "Boolean",
       "DictionaryMultiple"
      ],
      "allOf": [
       {
        "$ref": "#/components/schemas/AdvancedFilterFieldType"
       }
      ]
     },
     "operator": {
      "type": "string",
      "nullable": true
     },
     "value": {
      "type": "string",
      "nullable": true
     },
     "valueTo": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "AdvancedFilterFieldDefinition": {
    "type": "object",
    "properties": {
     "key": {
      "type": "string",
      "nullable": true
     },
     "fieldType": {
      "enum": [
       "Text",
       "Numeric",
       "Dictionary",
       "Date",
       "Boolean",
       "DictionaryMultiple"
      ],
      "allOf": [
       {
        "$ref": "#/components/schemas/AdvancedFilterFieldType"
       }
      ]
     },
     "operators": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "nullable": true
     },
     "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": {
    "type": "object",
    "properties": {
     "conditions": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/AdvancedFilterCondition"
      },
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "AdvancedFilterOption": {
    "type": "object",
    "properties": {
     "value": {
      "type": "string",
      "nullable": true
     },
     "label": {
      "type": "string",
      "nullable": true
     }
    },
    "additionalProperties": false
   },
   "GetProductsByIdsPostV4Request": {
    "type": "object",
    "properties": {
     "includes": {
      "allOf": [
       {
        "$ref": "#/components/schemas/IncludeProductNavigationProperties"
       }
      ],
      "nullable": true
     },
     "ids": {
      "type": "array",
      "items": {
       "type": "integer",
       "format": "int64"
      },
      "nullable": true
     },
     "forUi": {
      "type": "boolean"
     }
    },
    "additionalProperties": false
   },
   "GetProductsByIdsPostV4Response": {
    "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
   }
  },
  "securitySchemes": {
   "Bearer": {
    "type": "http",
    "scheme": "bearer",
    "bearerFormat": "JWT",
    "description": "Token API wygenerowany w panelu Sellrocket."
   }
  }
 },
 "security": [
  {
   "Bearer": []
  }
 ]
}