{
    "openapi": "3.2.0",
    "info": {
        "title": "API dla dostawców — Świat Pomysłów",
        "version": "2",
        "description": "API dostawcy sklepu Świat Pomysłów: zamówienia, etykiety, produkty, rozliczenia, reklamy, wiadomości. Opis po polsku z przykładami: https://swiatpomyslow.pl/dostawca/api"
    },
    "servers": [
        {
            "url": "https://swiatpomyslow.pl",
            "description": "Świat Pomysłów"
        }
    ],
    "paths": {
        "/api/v2/supplier/account": {
            "get": {
                "operationId": "app_api_supplier_account_get",
                "tags": [
                    "Konto"
                ],
                "responses": {
                    "200": {
                        "description": "SupplierApiAccount resource",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiAccount.jsonld"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiAccount"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    }
                },
                "summary": "Moje konto",
                "description": "Dane firmy, status współpracy, czas wysyłki ustawiony przez sklep i liczba zamówień w każdym stanie. Marży sklepu nie pokazujemy.\n\n- status: pending (czeka na zatwierdzenie przez sklep), active, suspended (zawieszone — klucz przestaje działać).",
                "parameters": []
            },
            "patch": {
                "operationId": "app_api_supplier_account_patch",
                "tags": [
                    "Konto"
                ],
                "responses": {
                    "200": {
                        "description": "SupplierApiAccount resource updated",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiAccount.jsonld"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiAccount"
                                }
                            }
                        },
                        "links": {}
                    },
                    "400": {
                        "description": "Invalid input",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    },
                    "422": {
                        "description": "An error occurred",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation"
                                }
                            }
                        },
                        "links": {}
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    }
                },
                "summary": "Zmiana danych",
                "description": "Zmieniają się tylko podane pola. Nazwy firmy i NIP-u nie zmienisz sam — napisz do sklepu.\n\n- Nagłówek Content-Type: application/merge-patch+json.\n- Błędne dane → 422 z listą pól (violations).",
                "parameters": [],
                "requestBody": {
                    "description": "The updated SupplierApiAccount resource",
                    "content": {
                        "application/merge-patch+json": {
                            "schema": {
                                "$ref": "#/components/schemas/SupplierApiAccount.SupplierAccountUpdate.jsonMergePatch"
                            }
                        }
                    },
                    "required": true
                }
            }
        },
        "/api/v2/supplier/ads/account": {
            "get": {
                "operationId": "app_api_supplier_ads_account_get",
                "tags": [
                    "Reklamy"
                ],
                "responses": {
                    "200": {
                        "description": "SupplierApiAdAccount resource",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiAdAccount.jsonld"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiAdAccount"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    }
                },
                "summary": "Konto reklamowe",
                "description": "Limit miesięczny, ile już zajęte w tym miesiącu (kliknięcia + banery) i czy reklamy działają.",
                "parameters": []
            },
            "put": {
                "operationId": "app_api_supplier_ads_account_put",
                "tags": [
                    "Reklamy"
                ],
                "responses": {
                    "200": {
                        "description": "SupplierApiAdAccount resource updated",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiAdAccount.jsonld"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiAdAccount"
                                }
                            }
                        },
                        "links": {}
                    },
                    "400": {
                        "description": "Invalid input",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    },
                    "422": {
                        "description": "An error occurred",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation"
                                }
                            }
                        },
                        "links": {}
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    }
                },
                "summary": "Limit miesięczny",
                "description": "Najwięcej, ile wydasz na reklamy w miesiącu. Po jego wyczerpaniu reklamy same stają do końca miesiąca.",
                "parameters": [],
                "requestBody": {
                    "description": "The updated SupplierApiAdAccount resource",
                    "content": {
                        "application/ld+json": {
                            "schema": {
                                "$ref": "#/components/schemas/SupplierApiAdAccount.SupplierAdAccountInput.partial"
                            }
                        },
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SupplierApiAdAccount.SupplierAdAccountInput.partial"
                            }
                        }
                    },
                    "required": true
                }
            }
        },
        "/api/v2/supplier/ads/banner-availability": {
            "get": {
                "operationId": "app_api_supplier_ads_banner_availability",
                "tags": [
                    "Reklamy"
                ],
                "responses": {
                    "200": {
                        "description": "SupplierApiAdBannerAvailability resource",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiAdBannerAvailability.jsonld"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiAdBannerAvailability"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    }
                },
                "summary": "Wolne terminy banerów",
                "description": "",
                "parameters": []
            }
        },
        "/api/v2/supplier/ads/banners": {
            "get": {
                "operationId": "app_api_supplier_ads_banners_get_collection",
                "tags": [
                    "Reklamy"
                ],
                "responses": {
                    "200": {
                        "description": "SupplierApiAdBanner collection",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "type": "object",
                                    "description": "SupplierApiAdBanner.jsonld collection.",
                                    "allOf": [
                                        {
                                            "$ref": "#/components/schemas/HydraCollectionBaseSchemaNoPagination"
                                        },
                                        {
                                            "type": "object",
                                            "required": [
                                                "hydra:member"
                                            ],
                                            "properties": {
                                                "hydra:member": {
                                                    "type": "array",
                                                    "items": {
                                                        "$ref": "#/components/schemas/SupplierApiAdBanner.jsonld"
                                                    }
                                                }
                                            }
                                        }
                                    ]
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "type": "array",
                                    "items": {
                                        "$ref": "#/components/schemas/SupplierApiAdBanner"
                                    }
                                }
                            }
                        }
                    }
                },
                "summary": "Moje banery",
                "description": "",
                "parameters": []
            },
            "post": {
                "operationId": "app_api_supplier_ads_banner_post",
                "tags": [
                    "Reklamy"
                ],
                "responses": {
                    "201": {
                        "description": "SupplierApiAdBanner resource created",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiAdBanner.jsonld"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiAdBanner"
                                }
                            }
                        },
                        "links": {}
                    },
                    "400": {
                        "description": "Invalid input",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    },
                    "422": {
                        "description": "An error occurred",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation"
                                }
                            }
                        },
                        "links": {}
                    }
                },
                "summary": "Zarezerwuj baner",
                "description": "Termin rezerwuje się od razu; sklep sprawdza baner przed startem (status pending → approved albo rejected z powodem, e-mail). Koszt (dni × cena dnia) liczy się do limitu miesięcznego.\n\n- Termin zajęty albo za mało miejsca w limicie → 422.",
                "parameters": [],
                "requestBody": {
                    "description": "The new SupplierApiAdBanner resource",
                    "content": {
                        "application/ld+json": {
                            "schema": {
                                "$ref": "#/components/schemas/SupplierApiAdBanner.SupplierAdBannerInput"
                            }
                        },
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SupplierApiAdBanner.SupplierAdBannerInput"
                            }
                        }
                    },
                    "required": true
                }
            }
        },
        "/api/v2/supplier/ads/banners/{id}": {
            "get": {
                "operationId": "app_api_supplier_ads_banner_get",
                "tags": [
                    "Reklamy"
                ],
                "responses": {
                    "200": {
                        "description": "SupplierApiAdBanner resource",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiAdBanner.jsonld"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiAdBanner"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    }
                },
                "summary": "Jeden baner",
                "description": "",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "SupplierApiAdBanner identifier",
                        "required": true,
                        "deprecated": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false
                    }
                ]
            },
            "delete": {
                "operationId": "app_api_supplier_ads_banner_delete",
                "tags": [
                    "Reklamy"
                ],
                "responses": {
                    "204": {
                        "description": "SupplierApiAdBanner resource deleted"
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    }
                },
                "summary": "Zrezygnuj z banera",
                "description": "Najpóźniej dzień przed startem — termin się zwalnia, nic nie płacisz. Odpowiedź 204.\n\n- Baner już się wyświetla albo zakończony → 422.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "SupplierApiAdBanner identifier",
                        "required": true,
                        "deprecated": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false
                    }
                ]
            }
        },
        "/api/v2/supplier/ads/campaigns": {
            "get": {
                "operationId": "app_api_supplier_ads_campaigns_get_collection",
                "tags": [
                    "Reklamy"
                ],
                "responses": {
                    "200": {
                        "description": "SupplierApiAdCampaign collection",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "type": "object",
                                    "description": "SupplierApiAdCampaign.jsonld collection.",
                                    "allOf": [
                                        {
                                            "$ref": "#/components/schemas/HydraCollectionBaseSchemaNoPagination"
                                        },
                                        {
                                            "type": "object",
                                            "required": [
                                                "hydra:member"
                                            ],
                                            "properties": {
                                                "hydra:member": {
                                                    "type": "array",
                                                    "items": {
                                                        "$ref": "#/components/schemas/SupplierApiAdCampaign.jsonld"
                                                    }
                                                }
                                            }
                                        }
                                    ]
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "type": "array",
                                    "items": {
                                        "$ref": "#/components/schemas/SupplierApiAdCampaign"
                                    }
                                }
                            }
                        }
                    }
                },
                "summary": "Kampanie",
                "description": "",
                "parameters": []
            },
            "post": {
                "operationId": "app_api_supplier_ads_campaign_post",
                "tags": [
                    "Reklamy"
                ],
                "responses": {
                    "201": {
                        "description": "SupplierApiAdCampaign resource created",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiAdCampaign.jsonld"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiAdCampaign"
                                }
                            }
                        },
                        "links": {}
                    },
                    "400": {
                        "description": "Invalid input",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    },
                    "422": {
                        "description": "An error occurred",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation"
                                }
                            }
                        },
                        "links": {}
                    }
                },
                "summary": "Nowa kampania",
                "description": "Od razu bierze udział w aukcji (jeśli masz limit miesięczny).\n\n- Stawka poniżej minimalnej, daty w przeszłości itp. → 422 z opisem po polsku.",
                "parameters": [],
                "requestBody": {
                    "description": "The new SupplierApiAdCampaign resource",
                    "content": {
                        "application/ld+json": {
                            "schema": {
                                "$ref": "#/components/schemas/SupplierApiAdCampaign.SupplierAdCampaignInput"
                            }
                        },
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SupplierApiAdCampaign.SupplierAdCampaignInput"
                            }
                        }
                    },
                    "required": true
                }
            }
        },
        "/api/v2/supplier/ads/campaigns/{id}": {
            "get": {
                "operationId": "app_api_supplier_ads_campaign_get",
                "tags": [
                    "Reklamy"
                ],
                "responses": {
                    "200": {
                        "description": "SupplierApiAdCampaign resource",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiAdCampaign.jsonld"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiAdCampaign"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    }
                },
                "summary": "Jedna kampania",
                "description": "",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "SupplierApiAdCampaign identifier",
                        "required": true,
                        "deprecated": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false
                    }
                ]
            },
            "put": {
                "operationId": "app_api_supplier_ads_campaign_put",
                "tags": [
                    "Reklamy"
                ],
                "responses": {
                    "200": {
                        "description": "SupplierApiAdCampaign resource updated",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiAdCampaign.jsonld"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiAdCampaign"
                                }
                            }
                        },
                        "links": {}
                    },
                    "400": {
                        "description": "Invalid input",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    },
                    "422": {
                        "description": "An error occurred",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation"
                                }
                            }
                        },
                        "links": {}
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    }
                },
                "summary": "Zmiana kampanii",
                "description": "Pola jak przy POST; pominięte zostają bez zmian (\"dailyBudget\": null usuwa limit dzienny).",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "SupplierApiAdCampaign identifier",
                        "required": true,
                        "deprecated": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false
                    }
                ],
                "requestBody": {
                    "description": "The updated SupplierApiAdCampaign resource",
                    "content": {
                        "application/ld+json": {
                            "schema": {
                                "$ref": "#/components/schemas/SupplierApiAdCampaign.SupplierAdCampaignInput.partial"
                            }
                        },
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SupplierApiAdCampaign.SupplierAdCampaignInput.partial"
                            }
                        }
                    },
                    "required": true
                }
            },
            "delete": {
                "operationId": "app_api_supplier_ads_campaign_delete",
                "tags": [
                    "Reklamy"
                ],
                "responses": {
                    "204": {
                        "description": "SupplierApiAdCampaign resource deleted"
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    }
                },
                "summary": "Zakończ kampanię",
                "description": "Na stałe (status ended) — wyniki zostają w statystykach. Odpowiedź 204.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "SupplierApiAdCampaign identifier",
                        "required": true,
                        "deprecated": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false
                    }
                ]
            }
        },
        "/api/v2/supplier/ads/campaigns/{id}/pause": {
            "post": {
                "operationId": "app_api_supplier_ads_campaign_pause",
                "tags": [
                    "Reklamy"
                ],
                "responses": {
                    "200": {
                        "description": "SupplierApiAdCampaign resource created",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiAdCampaign.jsonld"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiAdCampaign"
                                }
                            }
                        },
                        "links": {}
                    },
                    "400": {
                        "description": "Invalid input",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    },
                    "422": {
                        "description": "An error occurred",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation"
                                }
                            }
                        },
                        "links": {}
                    }
                },
                "summary": "Wstrzymaj",
                "description": "",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "SupplierApiAdCampaign identifier",
                        "required": true,
                        "deprecated": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false
                    }
                ]
            }
        },
        "/api/v2/supplier/ads/campaigns/{id}/products": {
            "put": {
                "operationId": "app_api_supplier_ads_campaign_products",
                "tags": [
                    "Reklamy"
                ],
                "responses": {
                    "200": {
                        "description": "SupplierApiAdCampaign resource updated",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiAdCampaign.jsonld"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiAdCampaign"
                                }
                            }
                        },
                        "links": {}
                    },
                    "400": {
                        "description": "Invalid input",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    },
                    "422": {
                        "description": "An error occurred",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation"
                                }
                            }
                        },
                        "links": {}
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    }
                },
                "summary": "Produkty w kampanii",
                "description": "Dodaj albo usuń produkty (SKU albo numery ofert). Dodanie przełącza kampanię na „wybrane”.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "SupplierApiAdCampaign identifier",
                        "required": true,
                        "deprecated": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false
                    }
                ],
                "requestBody": {
                    "description": "The updated SupplierApiAdCampaign resource",
                    "content": {
                        "application/ld+json": {
                            "schema": {
                                "$ref": "#/components/schemas/SupplierApiAdCampaign.SupplierAdProductsInput.partial"
                            }
                        },
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SupplierApiAdCampaign.SupplierAdProductsInput.partial"
                            }
                        }
                    },
                    "required": true
                }
            }
        },
        "/api/v2/supplier/ads/campaigns/{id}/resume": {
            "post": {
                "operationId": "app_api_supplier_ads_campaign_resume",
                "tags": [
                    "Reklamy"
                ],
                "responses": {
                    "200": {
                        "description": "SupplierApiAdCampaign resource created",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiAdCampaign.jsonld"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiAdCampaign"
                                }
                            }
                        },
                        "links": {}
                    },
                    "400": {
                        "description": "Invalid input",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    },
                    "422": {
                        "description": "An error occurred",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation"
                                }
                            }
                        },
                        "links": {}
                    }
                },
                "summary": "Wznów",
                "description": "",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "SupplierApiAdCampaign identifier",
                        "required": true,
                        "deprecated": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false
                    }
                ]
            }
        },
        "/api/v2/supplier/ads/campaigns/{id}/stats": {
            "get": {
                "operationId": "app_api_supplier_ads_campaign_stats",
                "tags": [
                    "Reklamy"
                ],
                "responses": {
                    "200": {
                        "description": "SupplierApiAdStats resource",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiAdStats.jsonld"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiAdStats"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    }
                },
                "summary": "Wyniki kampanii",
                "description": "Jak GET /ads/stats, ale jednej kampanii — z produktami (kliknięcia, koszt, sprzedaż bezpośrednia).",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "SupplierApiAdStats identifier",
                        "required": true,
                        "deprecated": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false
                    }
                ]
            }
        },
        "/api/v2/supplier/ads/invoices": {
            "get": {
                "operationId": "app_api_supplier_ads_invoices_get_collection",
                "tags": [
                    "Reklamy"
                ],
                "responses": {
                    "200": {
                        "description": "SupplierApiAdInvoice collection",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "type": "object",
                                    "description": "SupplierApiAdInvoice.jsonld collection.",
                                    "allOf": [
                                        {
                                            "$ref": "#/components/schemas/HydraCollectionBaseSchemaNoPagination"
                                        },
                                        {
                                            "type": "object",
                                            "required": [
                                                "hydra:member"
                                            ],
                                            "properties": {
                                                "hydra:member": {
                                                    "type": "array",
                                                    "items": {
                                                        "$ref": "#/components/schemas/SupplierApiAdInvoice.jsonld"
                                                    }
                                                }
                                            }
                                        }
                                    ]
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "type": "array",
                                    "items": {
                                        "$ref": "#/components/schemas/SupplierApiAdInvoice"
                                    }
                                }
                            }
                        }
                    }
                },
                "summary": "Faktury za reklamy",
                "description": "",
                "parameters": []
            }
        },
        "/api/v2/supplier/ads/invoices/{id}": {
            "get": {
                "operationId": "app_api_supplier_ads_invoice_get",
                "tags": [
                    "Reklamy"
                ],
                "responses": {
                    "200": {
                        "description": "SupplierApiAdInvoice resource",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiAdInvoice.jsonld"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiAdInvoice"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    }
                },
                "summary": "Faktura z pozycjami",
                "description": "Pozycje: kliknięcia po kampaniach i miejscach, dni banerów. Przelew na bankAccount, tytuł = numer faktury. Po terminie bez wpłaty reklamy stają (wracają po zaksięgowaniu).",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "SupplierApiAdInvoice identifier",
                        "required": true,
                        "deprecated": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false
                    }
                ]
            }
        },
        "/api/v2/supplier/ads/placements": {
            "get": {
                "operationId": "app_api_supplier_ads_placements_get",
                "tags": [
                    "Reklamy"
                ],
                "responses": {
                    "200": {
                        "description": "SupplierApiAdPlacements resource",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiAdPlacements.jsonld"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiAdPlacements"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    }
                },
                "summary": "Miejsca i ceny",
                "description": "Stawka minimalna i proponowana za kliknięcie w każdym miejscu oraz ceny banerów za dzień.",
                "parameters": []
            }
        },
        "/api/v2/supplier/ads/stats": {
            "get": {
                "operationId": "app_api_supplier_ads_stats",
                "tags": [
                    "Reklamy"
                ],
                "responses": {
                    "200": {
                        "description": "SupplierApiAdStats resource",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiAdStats.jsonld"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiAdStats"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    }
                },
                "summary": "Wyniki wszystkich reklam",
                "description": "Sumy (wyświetlenia, kliknięcia, CTR, koszt kliknięć i banerów, średni CPC, zamówienia, sprzedaż w Twoich cenach zakupu, ROAS), dzień po dniu, miejsca i kampanie.\n\n- ROAS = sprzedaż ÷ koszt (5 = za 1 zł reklamy sprzedałeś towar za 5 zł). Sprzedaż = zamówienia do 7 dni po kliknięciu (ta sama przeglądarka), bez anulowanych.",
                "parameters": []
            }
        },
        "/api/v2/supplier/balance": {
            "get": {
                "operationId": "app_api_supplier_balance_get",
                "tags": [
                    "Rozliczenia"
                ],
                "responses": {
                    "200": {
                        "description": "SupplierApiBalance resource",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiBalance.jsonld"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiBalance"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    }
                },
                "summary": "Saldo bieżącego tygodnia",
                "description": "Sprzedane, jeszcze nierozliczone pozycje (ostatnie 200) i sumy. closesAt = koniec tygodnia.\n\n- missingPrices = pozycje bez ceny zakupu; wejdą do rozliczenia, gdy cena się pojawi.",
                "parameters": []
            }
        },
        "/api/v2/supplier/categories": {
            "get": {
                "operationId": "app_api_supplier_categories",
                "tags": [
                    "Produkty i pliki"
                ],
                "responses": {
                    "200": {
                        "description": "SupplierApiCategory collection",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "type": "object",
                                    "description": "SupplierApiCategory.jsonld collection.",
                                    "allOf": [
                                        {
                                            "$ref": "#/components/schemas/HydraCollectionBaseSchemaNoPagination"
                                        },
                                        {
                                            "type": "object",
                                            "required": [
                                                "hydra:member"
                                            ],
                                            "properties": {
                                                "hydra:member": {
                                                    "type": "array",
                                                    "items": {
                                                        "$ref": "#/components/schemas/SupplierApiCategory.jsonld"
                                                    }
                                                }
                                            }
                                        }
                                    ]
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "type": "array",
                                    "items": {
                                        "$ref": "#/components/schemas/SupplierApiCategory"
                                    }
                                }
                            }
                        }
                    }
                },
                "summary": "Kategorie sklepu",
                "description": "Całe drzewo naszych kategorii (w kolejności drzewa). Kod (code) wpisujesz w pole taxon produktu. Wybieraj najdokładniejszą kategorię — najlepiej bez podkategorii (leaf: true).",
                "parameters": []
            }
        },
        "/api/v2/supplier/conversations": {
            "get": {
                "operationId": "app_api_supplier_conversations_get_collection",
                "tags": [
                    "Wiadomości ze sklepem"
                ],
                "responses": {
                    "200": {
                        "description": "SupplierApiConversation collection",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "type": "object",
                                    "description": "SupplierApiConversation.jsonld collection.",
                                    "allOf": [
                                        {
                                            "$ref": "#/components/schemas/HydraCollectionBaseSchema"
                                        },
                                        {
                                            "type": "object",
                                            "required": [
                                                "hydra:member"
                                            ],
                                            "properties": {
                                                "hydra:member": {
                                                    "type": "array",
                                                    "items": {
                                                        "$ref": "#/components/schemas/SupplierApiConversation.jsonld"
                                                    }
                                                }
                                            }
                                        }
                                    ]
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "type": "array",
                                    "items": {
                                        "$ref": "#/components/schemas/SupplierApiConversation"
                                    }
                                }
                            }
                        }
                    }
                },
                "summary": "Rozmowy",
                "description": "Od najnowszej wiadomości. unread = nowa wiadomość od sklepu.",
                "parameters": [
                    {
                        "name": "page",
                        "in": "query",
                        "description": "The collection page number",
                        "required": false,
                        "deprecated": false,
                        "schema": {
                            "type": "integer",
                            "default": 1,
                            "minimum": 1
                        },
                        "style": "form",
                        "explode": true
                    },
                    {
                        "name": "itemsPerPage",
                        "in": "query",
                        "description": "The number of items per page",
                        "required": false,
                        "deprecated": false,
                        "schema": {
                            "type": "integer",
                            "default": 50,
                            "minimum": 0,
                            "maximum": 100
                        },
                        "style": "form",
                        "explode": true
                    }
                ]
            }
        },
        "/api/v2/supplier/conversations/{id}": {
            "get": {
                "operationId": "app_api_supplier_conversation_get",
                "tags": [
                    "Wiadomości ze sklepem"
                ],
                "responses": {
                    "200": {
                        "description": "SupplierApiConversation resource",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiConversation.jsonld"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiConversation"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    }
                },
                "summary": "Rozmowa z wiadomościami",
                "description": "Otwarcie oznacza nowe wiadomości jako przeczytane.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "SupplierApiConversation identifier",
                        "required": true,
                        "deprecated": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false
                    }
                ]
            }
        },
        "/api/v2/supplier/conversations/{id}/messages": {
            "post": {
                "operationId": "app_api_supplier_conversation_reply",
                "tags": [
                    "Wiadomości ze sklepem"
                ],
                "responses": {
                    "201": {
                        "description": "SupplierApiConversation resource created",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiConversation.jsonld"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiConversation"
                                }
                            }
                        },
                        "links": {}
                    },
                    "400": {
                        "description": "Invalid input",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    },
                    "422": {
                        "description": "An error occurred",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation"
                                }
                            }
                        },
                        "links": {}
                    }
                },
                "summary": "Odpowiedz",
                "description": "",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "SupplierApiConversation identifier",
                        "required": true,
                        "deprecated": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false
                    }
                ],
                "requestBody": {
                    "description": "The new SupplierApiConversation resource",
                    "content": {
                        "application/ld+json": {
                            "schema": {
                                "$ref": "#/components/schemas/SupplierApiConversation.MessageInput"
                            }
                        },
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SupplierApiConversation.MessageInput"
                            }
                        }
                    },
                    "required": true
                }
            }
        },
        "/api/v2/supplier/feeds": {
            "get": {
                "operationId": "app_api_supplier_feeds_get_collection",
                "tags": [
                    "Produkty i pliki"
                ],
                "responses": {
                    "200": {
                        "description": "SupplierApiFeed collection",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "type": "object",
                                    "description": "SupplierApiFeed.jsonld collection.",
                                    "allOf": [
                                        {
                                            "$ref": "#/components/schemas/HydraCollectionBaseSchemaNoPagination"
                                        },
                                        {
                                            "type": "object",
                                            "required": [
                                                "hydra:member"
                                            ],
                                            "properties": {
                                                "hydra:member": {
                                                    "type": "array",
                                                    "items": {
                                                        "$ref": "#/components/schemas/SupplierApiFeed.jsonld"
                                                    }
                                                }
                                            }
                                        }
                                    ]
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "type": "array",
                                    "items": {
                                        "$ref": "#/components/schemas/SupplierApiFeed"
                                    }
                                }
                            }
                        }
                    }
                },
                "summary": "Pliki z produktami i wynik importu",
                "description": "Twoje źródła produktów (link do pliku, wgrany plik, API) z wynikiem ostatniego importu i pierwszymi błędami.\n\n- sourceType: url (link pobierany co scheduleHours godzin), upload (wgrany plik), api. setupStatus: new = sklep ustawia, które pola w pliku to nazwa, cena, stan; active = importujemy.",
                "parameters": []
            }
        },
        "/api/v2/supplier/feeds/{id}/run": {
            "post": {
                "operationId": "app_api_supplier_feed_run",
                "tags": [
                    "Produkty i pliki"
                ],
                "responses": {
                    "202": {
                        "description": "SupplierApiFeed resource created",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiFeed.jsonld"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiFeed"
                                }
                            }
                        },
                        "links": {}
                    },
                    "400": {
                        "description": "Invalid input",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    },
                    "422": {
                        "description": "An error occurred",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation"
                                }
                            }
                        },
                        "links": {}
                    }
                },
                "summary": "Pobierz plik teraz",
                "description": "Import ruszy w tle (odpowiedź 202) — wynik sprawdzisz w GET /feeds. Nie dotyczy źródła „api”.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "SupplierApiFeed identifier",
                        "required": true,
                        "deprecated": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false
                    }
                ]
            }
        },
        "/api/v2/supplier/orders": {
            "get": {
                "operationId": "app_api_supplier_orders_get_collection",
                "tags": [
                    "Zamówienia"
                ],
                "responses": {
                    "200": {
                        "description": "SupplierApiOrder collection",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "type": "object",
                                    "description": "SupplierApiOrder.jsonld collection.",
                                    "allOf": [
                                        {
                                            "$ref": "#/components/schemas/HydraCollectionBaseSchema"
                                        },
                                        {
                                            "type": "object",
                                            "required": [
                                                "hydra:member"
                                            ],
                                            "properties": {
                                                "hydra:member": {
                                                    "type": "array",
                                                    "items": {
                                                        "$ref": "#/components/schemas/SupplierApiOrder.jsonld"
                                                    }
                                                }
                                            }
                                        }
                                    ]
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "type": "array",
                                    "items": {
                                        "$ref": "#/components/schemas/SupplierApiOrder"
                                    }
                                }
                            }
                        }
                    }
                },
                "summary": "Lista zamówień",
                "description": "Od najnowszych. Najczęściej: ?state=new co kilka minut — nowe zamówienia do realizacji.",
                "parameters": [
                    {
                        "name": "page",
                        "in": "query",
                        "description": "The collection page number",
                        "required": false,
                        "deprecated": false,
                        "schema": {
                            "type": "integer",
                            "default": 1,
                            "minimum": 1
                        },
                        "style": "form",
                        "explode": true
                    },
                    {
                        "name": "itemsPerPage",
                        "in": "query",
                        "description": "The number of items per page",
                        "required": false,
                        "deprecated": false,
                        "schema": {
                            "type": "integer",
                            "default": 50,
                            "minimum": 0,
                            "maximum": 100
                        },
                        "style": "form",
                        "explode": true
                    }
                ]
            }
        },
        "/api/v2/supplier/orders/{number}": {
            "get": {
                "operationId": "app_api_supplier_order_get",
                "tags": [
                    "Zamówienia"
                ],
                "responses": {
                    "200": {
                        "description": "SupplierApiOrder resource",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiOrder.jsonld"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiOrder"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    }
                },
                "summary": "Jedno zamówienie",
                "description": "To samo co na liście. Cudze albo nieistniejące zamówienie = 404.",
                "parameters": [
                    {
                        "name": "number",
                        "in": "path",
                        "description": "SupplierApiOrder identifier",
                        "required": true,
                        "deprecated": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false
                    }
                ]
            }
        },
        "/api/v2/supplier/orders/{number}/accept": {
            "post": {
                "operationId": "app_api_supplier_order_accept",
                "tags": [
                    "Zamówienia"
                ],
                "responses": {
                    "200": {
                        "description": "SupplierApiOrder resource created",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiOrder.jsonld"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiOrder"
                                }
                            }
                        },
                        "links": {}
                    },
                    "400": {
                        "description": "Invalid input",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    },
                    "422": {
                        "description": "An error occurred",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation"
                                }
                            }
                        },
                        "links": {}
                    }
                },
                "summary": "Potwierdź przyjęcie",
                "description": "Stan new → accepted: dajesz znać, że realizujesz zamówienie. Nie trzeba, jeśli od razu tworzysz etykietę (to też potwierdza).\n\n- Już potwierdzone, wysłane albo anulowane → 422.",
                "parameters": [
                    {
                        "name": "number",
                        "in": "path",
                        "description": "SupplierApiOrder identifier",
                        "required": true,
                        "deprecated": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false
                    }
                ]
            }
        },
        "/api/v2/supplier/orders/{number}/dispatch": {
            "post": {
                "operationId": "app_api_supplier_order_dispatch",
                "tags": [
                    "Zamówienia"
                ],
                "responses": {
                    "200": {
                        "description": "SupplierApiOrder resource created",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiOrder.jsonld"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiOrder"
                                }
                            }
                        },
                        "links": {}
                    },
                    "400": {
                        "description": "Invalid input",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    },
                    "422": {
                        "description": "An error occurred",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation"
                                }
                            }
                        },
                        "links": {}
                    }
                },
                "summary": "Nadane z etykietą od sklepu",
                "description": "Paczka z etykietą od sklepu oddana przewoźnikowi: stan shipped, klient dostaje numer z etykiety.\n\n- Bez gotowej etykiety → 422.",
                "parameters": [
                    {
                        "name": "number",
                        "in": "path",
                        "description": "SupplierApiOrder identifier",
                        "required": true,
                        "deprecated": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false
                    }
                ]
            }
        },
        "/api/v2/supplier/orders/{number}/label": {
            "get": {
                "operationId": "app_api_supplier_label_get",
                "tags": [
                    "Nadawanie — etykiety i szablony paczek"
                ],
                "responses": {
                    "200": {
                        "description": "SupplierApiLabel resource",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiLabel.jsonld"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiLabel"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    }
                },
                "summary": "Etykieta zamówienia",
                "description": "Obecna etykieta (albo ostatnia, np. nieudana z powodem w error). Brak etykiety = 404.",
                "parameters": [
                    {
                        "name": "number",
                        "in": "path",
                        "description": "SupplierApiLabel identifier",
                        "required": true,
                        "deprecated": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false
                    }
                ]
            },
            "post": {
                "operationId": "app_api_supplier_label_post",
                "tags": [
                    "Nadawanie — etykiety i szablony paczek"
                ],
                "responses": {
                    "201": {
                        "description": "SupplierApiLabel resource created",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiLabel.jsonld"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiLabel"
                                }
                            }
                        },
                        "links": {}
                    },
                    "400": {
                        "description": "Invalid input",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    },
                    "422": {
                        "description": "An error occurred",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation"
                                }
                            }
                        },
                        "links": {}
                    }
                },
                "summary": "Utwórz etykietę",
                "description": "Sklep zamawia przesyłkę u przewoźnika z zamówienia (nie da się go zmienić). Podaj szablon albo wymiary; bez niczego — Twój domyślny szablon. Utworzenie etykiety potwierdza zamówienie (accepted).\n\n- Odpowiedź 201. Gdy status = pending, sprawdź GET …/label za kilka sekund.\n- Paczka do Paczkomatu musi mieć gabaryt A, B albo C — inaczej 422.\n- Już jest etykieta → 422 (najpierw DELETE). Brak adresu nadania albo telefonu w koncie → 422.\n- Na serwerze sklepu to prawdziwa przesyłka u przewoźnika (sklep za nią płaci) — nie twórz etykiet „na próbę”.",
                "parameters": [
                    {
                        "name": "number",
                        "in": "path",
                        "description": "SupplierApiLabel identifier",
                        "required": true,
                        "deprecated": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false
                    }
                ],
                "requestBody": {
                    "description": "The new SupplierApiLabel resource",
                    "content": {
                        "application/ld+json": {
                            "schema": {
                                "$ref": "#/components/schemas/SupplierApiLabel.SupplierLabelInput"
                            }
                        },
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SupplierApiLabel.SupplierLabelInput"
                            }
                        }
                    },
                    "required": true
                }
            },
            "delete": {
                "operationId": "app_api_supplier_label_delete",
                "tags": [
                    "Nadawanie — etykiety i szablony paczek"
                ],
                "responses": {
                    "204": {
                        "description": "SupplierApiLabel resource deleted"
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    }
                },
                "summary": "Anuluj etykietę",
                "description": "Przed nadaniem, np. gdy zmieniasz karton. Odpowiedź 204. Potem możesz utworzyć nową.\n\n- Paczka już nadana → 422. Opłaconej przesyłki przewoźnik czasem nie anuluje przez API — wtedy 422 z powodem; napisz do sklepu.",
                "parameters": [
                    {
                        "name": "number",
                        "in": "path",
                        "description": "SupplierApiLabel identifier",
                        "required": true,
                        "deprecated": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false
                    }
                ]
            }
        },
        "/api/v2/supplier/orders/{number}/label/pdf": {
            "get": {
                "operationId": "app_api_supplier_label_pdf",
                "tags": [
                    "Nadawanie"
                ],
                "summary": "PDF etykiety",
                "description": "Plik PDF (format A6) do wydruku — odpowiedź to sam plik (Content-Type: application/pdf), nie JSON.",
                "parameters": [
                    {
                        "name": "number",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Numer zamówienia (paczki), np. 4829193756-2"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Plik PDF etykiety (A6)",
                        "content": {
                            "application/pdf": {
                                "schema": {
                                    "type": "string",
                                    "format": "binary"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Paczka nie ma etykiety"
                    },
                    "422": {
                        "description": "Etykieta jeszcze niegotowa"
                    }
                }
            }
        },
        "/api/v2/supplier/orders/{number}/messages": {
            "post": {
                "operationId": "app_api_supplier_order_message",
                "tags": [
                    "Wiadomości ze sklepem"
                ],
                "responses": {
                    "201": {
                        "description": "SupplierApiConversation resource created",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiConversation.jsonld"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiConversation"
                                }
                            }
                        },
                        "links": {}
                    },
                    "400": {
                        "description": "Invalid input",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    },
                    "422": {
                        "description": "An error occurred",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation"
                                }
                            }
                        },
                        "links": {}
                    }
                },
                "summary": "Napisz w sprawie paczki",
                "description": "Nowa rozmowa o paczce albo kolejna wiadomość w istniejącej.",
                "parameters": [
                    {
                        "name": "number",
                        "in": "path",
                        "description": "SupplierApiConversation identifier",
                        "required": true,
                        "deprecated": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false
                    }
                ],
                "requestBody": {
                    "description": "The new SupplierApiConversation resource",
                    "content": {
                        "application/ld+json": {
                            "schema": {
                                "$ref": "#/components/schemas/SupplierApiConversation.MessageInput"
                            }
                        },
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SupplierApiConversation.MessageInput"
                            }
                        }
                    },
                    "required": true
                }
            }
        },
        "/api/v2/supplier/orders/{number}/ship": {
            "post": {
                "operationId": "app_api_supplier_order_ship",
                "tags": [
                    "Zamówienia"
                ],
                "responses": {
                    "200": {
                        "description": "SupplierApiOrder resource created",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiOrder.jsonld"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiOrder"
                                }
                            }
                        },
                        "links": {}
                    },
                    "400": {
                        "description": "Invalid input",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    },
                    "422": {
                        "description": "An error occurred",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation"
                                }
                            }
                        },
                        "links": {}
                    }
                },
                "summary": "Wysłane z własnym numerem przesyłki",
                "description": "Gdy nadajesz paczkę sam (swoją umową). Numer trafia do klienta e-mailem razem z linkiem do śledzenia. Pusty numer = numer z etykiety od sklepu (jak /dispatch).\n\n- Wysłane albo anulowane wcześniej → 422.",
                "parameters": [
                    {
                        "name": "number",
                        "in": "path",
                        "description": "SupplierApiOrder identifier",
                        "required": true,
                        "deprecated": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false
                    }
                ],
                "requestBody": {
                    "description": "The new SupplierApiOrder resource",
                    "content": {
                        "application/ld+json": {
                            "schema": {
                                "$ref": "#/components/schemas/SupplierApiOrder.SupplierShipInput"
                            }
                        },
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SupplierApiOrder.SupplierShipInput"
                            }
                        }
                    },
                    "required": true
                }
            }
        },
        "/api/v2/supplier/parcel-templates": {
            "get": {
                "operationId": "app_api_supplier_parcel_templates_get_collection",
                "tags": [
                    "Nadawanie — etykiety i szablony paczek"
                ],
                "responses": {
                    "200": {
                        "description": "SupplierApiParcelTemplate collection",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "type": "object",
                                    "description": "SupplierApiParcelTemplate.jsonld collection.",
                                    "allOf": [
                                        {
                                            "$ref": "#/components/schemas/HydraCollectionBaseSchemaNoPagination"
                                        },
                                        {
                                            "type": "object",
                                            "required": [
                                                "hydra:member"
                                            ],
                                            "properties": {
                                                "hydra:member": {
                                                    "type": "array",
                                                    "items": {
                                                        "$ref": "#/components/schemas/SupplierApiParcelTemplate.jsonld"
                                                    }
                                                }
                                            }
                                        }
                                    ]
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "type": "array",
                                    "items": {
                                        "$ref": "#/components/schemas/SupplierApiParcelTemplate"
                                    }
                                }
                            }
                        }
                    }
                },
                "summary": "Szablony paczek",
                "description": "Twoje kartony. Domyślny jest pierwszy. lockerSize = gabaryt Paczkomatu liczony z wymiarów (A, B, C); null = za duży, tylko kurier.",
                "parameters": []
            },
            "post": {
                "operationId": "app_api_supplier_parcel_template_post",
                "tags": [
                    "Nadawanie — etykiety i szablony paczek"
                ],
                "responses": {
                    "201": {
                        "description": "SupplierApiParcelTemplate resource created",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiParcelTemplate.jsonld"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiParcelTemplate"
                                }
                            }
                        },
                        "links": {}
                    },
                    "400": {
                        "description": "Invalid input",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    },
                    "422": {
                        "description": "An error occurred",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation"
                                }
                            }
                        },
                        "links": {}
                    }
                },
                "summary": "Nowy szablon",
                "description": "- Najwyżej 30 szablonów. Błędne dane → 422.\n- Gabaryty Paczkomatu: A do 8 × 38 × 64 cm, B do 19 × 38 × 64, C do 41 × 38 × 64, najwyżej 25 kg.",
                "parameters": [],
                "requestBody": {
                    "description": "The new SupplierApiParcelTemplate resource",
                    "content": {
                        "application/ld+json": {
                            "schema": {
                                "$ref": "#/components/schemas/SupplierApiParcelTemplate.SupplierParcelTemplateInput"
                            }
                        },
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SupplierApiParcelTemplate.SupplierParcelTemplateInput"
                            }
                        }
                    },
                    "required": true
                }
            }
        },
        "/api/v2/supplier/parcel-templates/{id}": {
            "get": {
                "operationId": "app_api_supplier_parcel_template_get",
                "tags": [
                    "Nadawanie — etykiety i szablony paczek"
                ],
                "responses": {
                    "200": {
                        "description": "SupplierApiParcelTemplate resource",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiParcelTemplate.jsonld"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiParcelTemplate"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    }
                },
                "summary": "Jeden szablon",
                "description": "",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "SupplierApiParcelTemplate identifier",
                        "required": true,
                        "deprecated": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false
                    }
                ]
            },
            "put": {
                "operationId": "app_api_supplier_parcel_template_put",
                "tags": [
                    "Nadawanie — etykiety i szablony paczek"
                ],
                "responses": {
                    "200": {
                        "description": "SupplierApiParcelTemplate resource updated",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiParcelTemplate.jsonld"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiParcelTemplate"
                                }
                            }
                        },
                        "links": {}
                    },
                    "400": {
                        "description": "Invalid input",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    },
                    "422": {
                        "description": "An error occurred",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation"
                                }
                            }
                        },
                        "links": {}
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    }
                },
                "summary": "Zmiana szablonu",
                "description": "Pola jak przy tworzeniu; pominięte zostają bez zmian.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "SupplierApiParcelTemplate identifier",
                        "required": true,
                        "deprecated": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false
                    }
                ],
                "requestBody": {
                    "description": "The updated SupplierApiParcelTemplate resource",
                    "content": {
                        "application/ld+json": {
                            "schema": {
                                "$ref": "#/components/schemas/SupplierApiParcelTemplate.SupplierParcelTemplateInput.partial"
                            }
                        },
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SupplierApiParcelTemplate.SupplierParcelTemplateInput.partial"
                            }
                        }
                    },
                    "required": true
                }
            },
            "delete": {
                "operationId": "app_api_supplier_parcel_template_delete",
                "tags": [
                    "Nadawanie — etykiety i szablony paczek"
                ],
                "responses": {
                    "204": {
                        "description": "SupplierApiParcelTemplate resource deleted"
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    }
                },
                "summary": "Usunięcie szablonu",
                "description": "Odpowiedź 204 (bez treści). Gdy usuniesz domyślny, domyślny zostaje następny.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "SupplierApiParcelTemplate identifier",
                        "required": true,
                        "deprecated": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false
                    }
                ]
            }
        },
        "/api/v2/supplier/products": {
            "get": {
                "operationId": "app_api_supplier_products_get_collection",
                "tags": [
                    "Produkty i pliki"
                ],
                "responses": {
                    "200": {
                        "description": "SupplierApiProduct collection",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "type": "object",
                                    "description": "SupplierApiProduct.jsonld collection.",
                                    "allOf": [
                                        {
                                            "$ref": "#/components/schemas/HydraCollectionBaseSchema"
                                        },
                                        {
                                            "type": "object",
                                            "required": [
                                                "hydra:member"
                                            ],
                                            "properties": {
                                                "hydra:member": {
                                                    "type": "array",
                                                    "items": {
                                                        "$ref": "#/components/schemas/SupplierApiProduct.jsonld"
                                                    }
                                                }
                                            }
                                        }
                                    ]
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "type": "array",
                                    "items": {
                                        "$ref": "#/components/schemas/SupplierApiProduct"
                                    }
                                }
                            }
                        }
                    }
                },
                "summary": "Lista produktów",
                "description": "",
                "parameters": [
                    {
                        "name": "page",
                        "in": "query",
                        "description": "The collection page number",
                        "required": false,
                        "deprecated": false,
                        "schema": {
                            "type": "integer",
                            "default": 1,
                            "minimum": 1
                        },
                        "style": "form",
                        "explode": true
                    },
                    {
                        "name": "itemsPerPage",
                        "in": "query",
                        "description": "The number of items per page",
                        "required": false,
                        "deprecated": false,
                        "schema": {
                            "type": "integer",
                            "default": 50,
                            "minimum": 0,
                            "maximum": 100
                        },
                        "style": "form",
                        "explode": true
                    }
                ]
            }
        },
        "/api/v2/supplier/products/batch": {
            "post": {
                "operationId": "app_api_supplier_products_batch",
                "tags": [
                    "Produkty i pliki"
                ],
                "responses": {
                    "200": {
                        "description": "SupplierApiProduct resource created",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiProduct.jsonld"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiProduct"
                                }
                            }
                        },
                        "links": {}
                    },
                    "400": {
                        "description": "Invalid input",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    },
                    "422": {
                        "description": "An error occurred",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation"
                                }
                            }
                        },
                        "links": {}
                    }
                },
                "summary": "Wiele produktów naraz",
                "description": "Do 500 produktów w jednym zapytaniu — każdy z polem sku i polami jak w PUT. Najlepsze do aktualizacji stanów i cen. Błędne pozycje nie zatrzymują reszty.",
                "parameters": [],
                "requestBody": {
                    "description": "The new SupplierApiProduct resource",
                    "content": {
                        "application/ld+json": {
                            "schema": {
                                "$ref": "#/components/schemas/SupplierApiProduct.SupplierProductBatchInput"
                            }
                        },
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SupplierApiProduct.SupplierProductBatchInput"
                            }
                        }
                    },
                    "required": true
                }
            }
        },
        "/api/v2/supplier/products/{sku}": {
            "get": {
                "operationId": "app_api_supplier_product_get",
                "tags": [
                    "Produkty i pliki"
                ],
                "responses": {
                    "200": {
                        "description": "SupplierApiProduct resource",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiProduct.jsonld"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiProduct"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    }
                },
                "summary": "Jeden produkt",
                "description": "Po SKU dowolnego wariantu — w odpowiedzi cały produkt z wariantami.",
                "parameters": [
                    {
                        "name": "sku",
                        "in": "path",
                        "description": "SupplierApiProduct identifier",
                        "required": true,
                        "deprecated": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false
                    }
                ]
            },
            "put": {
                "operationId": "app_api_supplier_product_put",
                "tags": [
                    "Produkty i pliki"
                ],
                "responses": {
                    "200": {
                        "description": "SupplierApiProduct resource updated",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiProduct.jsonld"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiProduct"
                                }
                            }
                        },
                        "links": {}
                    },
                    "400": {
                        "description": "Invalid input",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    },
                    "422": {
                        "description": "An error occurred",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation"
                                }
                            }
                        },
                        "links": {}
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    }
                },
                "summary": "Dodaj albo zmień produkt",
                "description": "Ten sam adres dodaje nowy i zmienia istniejący (możesz wysyłać wielokrotnie). Zmiana ceny zakupu zmienia cenę w sklepie wg zasad sklepu.\n\n- Błąd w danych (np. brak ceny) → 422 z opisem.\n- W odpowiedzi safety (producent i osoba odpowiedzialna tak, jak widzi je klient), gpsrComplete i gpsrMissing — uzupełnij braki, zanim sklep zacznie je wymagać.\n- Nowy produkt: moderationStatus = pending i moderationDeadline (najpóźniej wtedy pojawi się w sklepie). PUT odrzuconego produktu wysyła go ponownie do akceptacji; zmiany zaakceptowanego nie wymagają akceptacji.",
                "parameters": [
                    {
                        "name": "sku",
                        "in": "path",
                        "description": "SupplierApiProduct identifier",
                        "required": true,
                        "deprecated": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false
                    }
                ],
                "requestBody": {
                    "description": "The updated SupplierApiProduct resource",
                    "content": {
                        "application/ld+json": {
                            "schema": {
                                "$ref": "#/components/schemas/SupplierApiProduct.SupplierProductInput.partial"
                            }
                        },
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SupplierApiProduct.SupplierProductInput.partial"
                            }
                        }
                    },
                    "required": true
                }
            },
            "delete": {
                "operationId": "app_api_supplier_product_delete",
                "tags": [
                    "Produkty i pliki"
                ],
                "responses": {
                    "204": {
                        "description": "SupplierApiProduct resource deleted"
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    }
                },
                "summary": "Wycofaj produkt",
                "description": "Stan wariantu = 0; gdy żaden wariant produktu nie jest dostępny, produkt znika ze sklepu (issue: missing). Odpowiedź 204. Ponowny PUT przywraca produkt.",
                "parameters": [
                    {
                        "name": "sku",
                        "in": "path",
                        "description": "SupplierApiProduct identifier",
                        "required": true,
                        "deprecated": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false
                    }
                ]
            }
        },
        "/api/v2/supplier/register": {
            "post": {
                "operationId": "app_api_supplier_register",
                "tags": [
                    "Rejestracja"
                ],
                "responses": {
                    "201": {
                        "description": "SupplierApiRegistration resource created",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiRegistration.jsonld"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiRegistration"
                                }
                            }
                        },
                        "links": {}
                    },
                    "400": {
                        "description": "Invalid input",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    },
                    "422": {
                        "description": "An error occurred",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation"
                                }
                            }
                        },
                        "links": {}
                    }
                },
                "summary": "Zgłoszenie dostawcy",
                "description": "Konto czeka na zatwierdzenie przez sklep. Logować się do panelu (i zrobić klucz API) możesz od razu.\n\n- Odpowiedź 201. Najwyżej 5 rejestracji na godzinę z jednego adresu IP (potem 429).\n- NIP, nazwa albo e-mail już w sklepie → 422.",
                "parameters": [],
                "requestBody": {
                    "description": "The new SupplierApiRegistration resource",
                    "content": {
                        "application/ld+json": {
                            "schema": {
                                "$ref": "#/components/schemas/SupplierApiRegistration.SupplierRegistration"
                            }
                        },
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SupplierApiRegistration.SupplierRegistration"
                            }
                        }
                    },
                    "required": true
                },
                "security": []
            }
        },
        "/api/v2/supplier/returns": {
            "get": {
                "operationId": "app_api_supplier_returns_get_collection",
                "tags": [
                    "Zwroty"
                ],
                "responses": {
                    "200": {
                        "description": "SupplierApiReturn collection",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "type": "object",
                                    "description": "SupplierApiReturn.jsonld collection.",
                                    "allOf": [
                                        {
                                            "$ref": "#/components/schemas/HydraCollectionBaseSchema"
                                        },
                                        {
                                            "type": "object",
                                            "required": [
                                                "hydra:member"
                                            ],
                                            "properties": {
                                                "hydra:member": {
                                                    "type": "array",
                                                    "items": {
                                                        "$ref": "#/components/schemas/SupplierApiReturn.jsonld"
                                                    }
                                                }
                                            }
                                        }
                                    ]
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "type": "array",
                                    "items": {
                                        "$ref": "#/components/schemas/SupplierApiReturn"
                                    }
                                }
                            }
                        }
                    }
                },
                "summary": "Lista zwrotów",
                "description": "Od najnowszych. Szukanie po numerze zwrotu albo przesyłki — zawsze tylko Twoje zwroty.",
                "parameters": [
                    {
                        "name": "page",
                        "in": "query",
                        "description": "The collection page number",
                        "required": false,
                        "deprecated": false,
                        "schema": {
                            "type": "integer",
                            "default": 1,
                            "minimum": 1
                        },
                        "style": "form",
                        "explode": true
                    },
                    {
                        "name": "itemsPerPage",
                        "in": "query",
                        "description": "The number of items per page",
                        "required": false,
                        "deprecated": false,
                        "schema": {
                            "type": "integer",
                            "default": 50,
                            "minimum": 0,
                            "maximum": 100
                        },
                        "style": "form",
                        "explode": true
                    }
                ]
            }
        },
        "/api/v2/supplier/returns/{number}": {
            "get": {
                "operationId": "app_api_supplier_return_get",
                "tags": [
                    "Zwroty"
                ],
                "responses": {
                    "200": {
                        "description": "SupplierApiReturn resource",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiReturn.jsonld"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiReturn"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    }
                },
                "summary": "Jeden zwrot",
                "description": "Po numerze zwrotu (z kartki w paczce) ALBO numerze przesyłki. Zwrot innego dostawcy = 404, nawet gdy numer istnieje.",
                "parameters": [
                    {
                        "name": "number",
                        "in": "path",
                        "description": "SupplierApiReturn identifier",
                        "required": true,
                        "deprecated": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false
                    }
                ]
            }
        },
        "/api/v2/supplier/returns/{number}/accept": {
            "post": {
                "operationId": "app_api_supplier_return_accept",
                "tags": [
                    "Zwroty"
                ],
                "responses": {
                    "200": {
                        "description": "SupplierApiReturn resource created",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiReturn.jsonld"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiReturn"
                                }
                            }
                        },
                        "links": {}
                    },
                    "400": {
                        "description": "Invalid input",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    },
                    "422": {
                        "description": "An error occurred",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation"
                                }
                            }
                        },
                        "links": {}
                    }
                },
                "summary": "Akceptuj zwrot",
                "description": "Towar wrócił i jest w porządku. Rozliczenie zmniejsza się o zwrócone sztuki (po Twojej cenie zakupu), sklep zwraca pieniądze klientowi.\n\n- Można, gdy canDecide = true (zwrot nadany, w drodze albo doręczony). Już rozpatrzony → 422.",
                "parameters": [
                    {
                        "name": "number",
                        "in": "path",
                        "description": "SupplierApiReturn identifier",
                        "required": true,
                        "deprecated": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false
                    }
                ]
            }
        },
        "/api/v2/supplier/returns/{number}/photos/{id}": {
            "get": {
                "operationId": "app_api_supplier_return_photo",
                "tags": [
                    "Zwroty"
                ],
                "summary": "Zdjęcie przy odrzuceniu",
                "parameters": [
                    {
                        "name": "number",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Numer zwrotu (ZW…) albo numer przesyłki"
                    },
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Plik JPEG",
                        "content": {
                            "image/jpeg": {
                                "schema": {
                                    "type": "string",
                                    "format": "binary"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Nie ma takiego zdjęcia"
                    }
                }
            }
        },
        "/api/v2/supplier/returns/{number}/reject": {
            "post": {
                "operationId": "app_api_supplier_return_reject",
                "tags": [
                    "Zwroty"
                ],
                "summary": "Odrzuć zwrot",
                "description": "Uzasadnienie i do 10 zdjęć przesyłki i zawartości (JPG, PNG, WebP, do 10 MB każde) jako multipart/form-data. Bez zdjęć można wysłać JSON {\"note\": \"…\"}.",
                "parameters": [
                    {
                        "name": "number",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Numer zwrotu (ZW…) albo numer przesyłki"
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "type": "object",
                                "required": [
                                    "note"
                                ],
                                "properties": {
                                    "note": {
                                        "type": "string",
                                        "minLength": 10
                                    },
                                    "photos[]": {
                                        "type": "array",
                                        "maxItems": 10,
                                        "items": {
                                            "type": "string",
                                            "format": "binary"
                                        }
                                    }
                                }
                            }
                        },
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "required": [
                                    "note"
                                ],
                                "properties": {
                                    "note": {
                                        "type": "string",
                                        "minLength": 10
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Zwrot po odrzuceniu (jak GET /returns/{number})"
                    },
                    "404": {
                        "description": "Nie ma takiego zwrotu (albo nie jest Twój)"
                    },
                    "422": {
                        "description": "Za krótkie uzasadnienie, za dużo / złe zdjęcia, zwrot już rozpatrzony"
                    }
                }
            }
        },
        "/api/v2/supplier/safety-contacts": {
            "get": {
                "operationId": "app_api_supplier_safety_contacts_get_collection",
                "tags": [
                    "Bezpieczeństwo produktu (GPSR)"
                ],
                "responses": {
                    "200": {
                        "description": "SupplierApiSafetyContact collection",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "type": "object",
                                    "description": "SupplierApiSafetyContact.jsonld collection.",
                                    "allOf": [
                                        {
                                            "$ref": "#/components/schemas/HydraCollectionBaseSchemaNoPagination"
                                        },
                                        {
                                            "type": "object",
                                            "required": [
                                                "hydra:member"
                                            ],
                                            "properties": {
                                                "hydra:member": {
                                                    "type": "array",
                                                    "items": {
                                                        "$ref": "#/components/schemas/SupplierApiSafetyContact.jsonld"
                                                    }
                                                }
                                            }
                                        }
                                    ]
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "type": "array",
                                    "items": {
                                        "$ref": "#/components/schemas/SupplierApiSafetyContact"
                                    }
                                }
                            }
                        }
                    }
                },
                "summary": "Producenci i osoby odpowiedzialne",
                "description": "Twoje kontakty GPSR. Parametr type=manufacturer albo responsible zawęża listę.",
                "parameters": []
            },
            "post": {
                "operationId": "app_api_supplier_safety_contact_post",
                "tags": [
                    "Bezpieczeństwo produktu (GPSR)"
                ],
                "responses": {
                    "201": {
                        "description": "SupplierApiSafetyContact resource created",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiSafetyContact.jsonld"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiSafetyContact"
                                }
                            }
                        },
                        "links": {}
                    },
                    "400": {
                        "description": "Invalid input",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    },
                    "422": {
                        "description": "An error occurred",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation"
                                }
                            }
                        },
                        "links": {}
                    }
                },
                "summary": "Dodaj producenta albo osobę odpowiedzialną",
                "description": "Wymagane: nazwa, ulica, kod, miejscowość, kraj oraz e-mail albo strona. Osoba odpowiedzialna musi mieć siedzibę w UE.",
                "parameters": [],
                "requestBody": {
                    "description": "The new SupplierApiSafetyContact resource",
                    "content": {
                        "application/ld+json": {
                            "schema": {
                                "$ref": "#/components/schemas/SupplierApiSafetyContact.SupplierSafetyContactInput"
                            }
                        },
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SupplierApiSafetyContact.SupplierSafetyContactInput"
                            }
                        }
                    },
                    "required": true
                }
            }
        },
        "/api/v2/supplier/safety-contacts/{id}": {
            "get": {
                "operationId": "app_api_supplier_safety_contact_get",
                "tags": [
                    "Bezpieczeństwo produktu (GPSR)"
                ],
                "responses": {
                    "200": {
                        "description": "SupplierApiSafetyContact resource",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiSafetyContact.jsonld"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiSafetyContact"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    }
                },
                "summary": "Jeden kontakt",
                "description": "Dane kontaktu i w ilu produktach jest wskazany wprost (productsCount).",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "SupplierApiSafetyContact identifier",
                        "required": true,
                        "deprecated": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false
                    }
                ]
            },
            "put": {
                "operationId": "app_api_supplier_safety_contact_put",
                "tags": [
                    "Bezpieczeństwo produktu (GPSR)"
                ],
                "responses": {
                    "200": {
                        "description": "SupplierApiSafetyContact resource updated",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiSafetyContact.jsonld"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiSafetyContact"
                                }
                            }
                        },
                        "links": {}
                    },
                    "400": {
                        "description": "Invalid input",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    },
                    "422": {
                        "description": "An error occurred",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation"
                                }
                            }
                        },
                        "links": {}
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    }
                },
                "summary": "Zmień kontakt",
                "description": "Zmieniają się tylko podane pola (rodzaju nie zmienisz). Klient od razu widzi nowe dane przy produktach.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "SupplierApiSafetyContact identifier",
                        "required": true,
                        "deprecated": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false
                    }
                ],
                "requestBody": {
                    "description": "The updated SupplierApiSafetyContact resource",
                    "content": {
                        "application/ld+json": {
                            "schema": {
                                "$ref": "#/components/schemas/SupplierApiSafetyContact.SupplierSafetyContactInput.partial"
                            }
                        },
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SupplierApiSafetyContact.SupplierSafetyContactInput.partial"
                            }
                        }
                    },
                    "required": true
                }
            },
            "delete": {
                "operationId": "app_api_supplier_safety_contact_delete",
                "tags": [
                    "Bezpieczeństwo produktu (GPSR)"
                ],
                "responses": {
                    "204": {
                        "description": "SupplierApiSafetyContact resource deleted"
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    }
                },
                "summary": "Usuń kontakt",
                "description": "Odpowiedź 204. Produkty, które go wskazywały, dostaną producenta automatycznie (po marce albo domyślnego) — sprawdź gpsrMissing.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "description": "SupplierApiSafetyContact identifier",
                        "required": true,
                        "deprecated": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false
                    }
                ]
            }
        },
        "/api/v2/supplier/settlements": {
            "get": {
                "operationId": "app_api_supplier_settlements_get_collection",
                "tags": [
                    "Rozliczenia"
                ],
                "responses": {
                    "200": {
                        "description": "SupplierApiSettlement collection",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "type": "object",
                                    "description": "SupplierApiSettlement.jsonld collection.",
                                    "allOf": [
                                        {
                                            "$ref": "#/components/schemas/HydraCollectionBaseSchema"
                                        },
                                        {
                                            "type": "object",
                                            "required": [
                                                "hydra:member"
                                            ],
                                            "properties": {
                                                "hydra:member": {
                                                    "type": "array",
                                                    "items": {
                                                        "$ref": "#/components/schemas/SupplierApiSettlement.jsonld"
                                                    }
                                                }
                                            }
                                        }
                                    ]
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "type": "array",
                                    "items": {
                                        "$ref": "#/components/schemas/SupplierApiSettlement"
                                    }
                                }
                            }
                        }
                    }
                },
                "summary": "Rozliczenia tygodniowe",
                "description": "",
                "parameters": [
                    {
                        "name": "page",
                        "in": "query",
                        "description": "The collection page number",
                        "required": false,
                        "deprecated": false,
                        "schema": {
                            "type": "integer",
                            "default": 1,
                            "minimum": 1
                        },
                        "style": "form",
                        "explode": true
                    },
                    {
                        "name": "itemsPerPage",
                        "in": "query",
                        "description": "The number of items per page",
                        "required": false,
                        "deprecated": false,
                        "schema": {
                            "type": "integer",
                            "default": 20,
                            "minimum": 0,
                            "maximum": 100
                        },
                        "style": "form",
                        "explode": true
                    }
                ]
            }
        },
        "/api/v2/supplier/settlements/{number}": {
            "get": {
                "operationId": "app_api_supplier_settlement_get",
                "tags": [
                    "Rozliczenia"
                ],
                "responses": {
                    "200": {
                        "description": "SupplierApiSettlement resource",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiSettlement.jsonld"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiSettlement"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    }
                },
                "summary": "Jedno rozliczenie z pozycjami",
                "description": "Numer np. R-2026-W46-0007. Pozycje to załącznik do faktury (sumy wg stawek VAT w vatBreakdown).",
                "parameters": [
                    {
                        "name": "number",
                        "in": "path",
                        "description": "SupplierApiSettlement identifier",
                        "required": true,
                        "deprecated": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false
                    }
                ]
            }
        },
        "/api/v2/supplier/settlements/{number}/invoice": {
            "post": {
                "operationId": "app_api_supplier_settlement_invoice",
                "tags": [
                    "Rozliczenia"
                ],
                "responses": {
                    "200": {
                        "description": "SupplierApiSettlement resource created",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiSettlement.jsonld"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupplierApiSettlement"
                                }
                            }
                        },
                        "links": {}
                    },
                    "400": {
                        "description": "Invalid input",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Error"
                                }
                            }
                        },
                        "links": {}
                    },
                    "422": {
                        "description": "An error occurred",
                        "content": {
                            "application/ld+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation.jsonld"
                                }
                            },
                            "application/problem+json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation"
                                }
                            },
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ConstraintViolation"
                                }
                            }
                        },
                        "links": {}
                    }
                },
                "summary": "Numer Twojej faktury",
                "description": "Po wystawieniu faktury na totalGross podaj jej numer.",
                "parameters": [
                    {
                        "name": "number",
                        "in": "path",
                        "description": "SupplierApiSettlement identifier",
                        "required": true,
                        "deprecated": false,
                        "schema": {
                            "type": "string"
                        },
                        "style": "simple",
                        "explode": false
                    }
                ],
                "requestBody": {
                    "description": "The new SupplierApiSettlement resource",
                    "content": {
                        "application/ld+json": {
                            "schema": {
                                "$ref": "#/components/schemas/SupplierApiSettlement.SupplierInvoiceInput"
                            }
                        },
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SupplierApiSettlement.SupplierInvoiceInput"
                            }
                        }
                    },
                    "required": true
                }
            }
        }
    },
    "components": {
        "schemas": {
            "ConstraintViolation": {
                "type": "object",
                "description": "Unprocessable entity",
                "properties": {
                    "status": {
                        "default": 422,
                        "type": "integer"
                    },
                    "violations": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "propertyPath": {
                                    "type": "string",
                                    "description": "The property path of the violation"
                                },
                                "message": {
                                    "type": "string",
                                    "description": "The message associated with the violation"
                                },
                                "code": {
                                    "type": "string",
                                    "description": "The code of the violation"
                                },
                                "hint": {
                                    "type": "string",
                                    "description": "An extra hint to understand the violation"
                                },
                                "payload": {
                                    "type": "object",
                                    "additionalProperties": true,
                                    "description": "The serialized payload of the violation"
                                }
                            },
                            "required": [
                                "propertyPath",
                                "message"
                            ]
                        }
                    },
                    "detail": {
                        "readOnly": true,
                        "type": "string"
                    },
                    "type": {
                        "readOnly": true,
                        "type": "string"
                    },
                    "title": {
                        "readOnly": true,
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "instance": {
                        "readOnly": true,
                        "type": [
                            "string",
                            "null"
                        ]
                    }
                }
            },
            "ConstraintViolation.jsonld": {
                "allOf": [
                    {
                        "$ref": "#/components/schemas/HydraItemBaseSchema"
                    },
                    {
                        "type": "object",
                        "properties": {
                            "status": {
                                "default": 422,
                                "type": "integer"
                            },
                            "violations": {
                                "type": "array",
                                "items": {
                                    "type": "object",
                                    "properties": {
                                        "propertyPath": {
                                            "type": "string",
                                            "description": "The property path of the violation"
                                        },
                                        "message": {
                                            "type": "string",
                                            "description": "The message associated with the violation"
                                        },
                                        "code": {
                                            "type": "string",
                                            "description": "The code of the violation"
                                        },
                                        "hint": {
                                            "type": "string",
                                            "description": "An extra hint to understand the violation"
                                        },
                                        "payload": {
                                            "type": "object",
                                            "additionalProperties": true,
                                            "description": "The serialized payload of the violation"
                                        }
                                    },
                                    "required": [
                                        "propertyPath",
                                        "message"
                                    ]
                                }
                            },
                            "detail": {
                                "readOnly": true,
                                "type": "string"
                            },
                            "description": {
                                "readOnly": true,
                                "type": "string"
                            },
                            "type": {
                                "readOnly": true,
                                "type": "string"
                            },
                            "title": {
                                "readOnly": true,
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "instance": {
                                "readOnly": true,
                                "type": [
                                    "string",
                                    "null"
                                ]
                            }
                        }
                    }
                ],
                "description": "Unprocessable entity"
            },
            "Error": {
                "type": "object",
                "description": "A representation of common errors.",
                "properties": {
                    "title": {
                        "readOnly": true,
                        "description": "A short, human-readable summary of the problem.",
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "detail": {
                        "readOnly": true,
                        "description": "A human-readable explanation specific to this occurrence of the problem.",
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "status": {
                        "type": [
                            "integer",
                            "null"
                        ],
                        "examples": [
                            404
                        ],
                        "default": 400
                    },
                    "instance": {
                        "readOnly": true,
                        "description": "A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.",
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "type": {
                        "readOnly": true,
                        "description": "A URI reference that identifies the problem type",
                        "type": "string"
                    }
                }
            },
            "Error.jsonld": {
                "allOf": [
                    {
                        "$ref": "#/components/schemas/HydraItemBaseSchema"
                    },
                    {
                        "type": "object",
                        "properties": {
                            "title": {
                                "readOnly": true,
                                "description": "A short, human-readable summary of the problem.",
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "detail": {
                                "readOnly": true,
                                "description": "A human-readable explanation specific to this occurrence of the problem.",
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "status": {
                                "type": [
                                    "integer",
                                    "null"
                                ],
                                "examples": [
                                    404
                                ],
                                "default": 400
                            },
                            "instance": {
                                "readOnly": true,
                                "description": "A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.",
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "type": {
                                "readOnly": true,
                                "description": "A URI reference that identifies the problem type",
                                "type": "string"
                            },
                            "description": {
                                "readOnly": true,
                                "type": [
                                    "string",
                                    "null"
                                ]
                            }
                        }
                    }
                ],
                "description": "A representation of common errors."
            },
            "HydraCollectionBaseSchema": {
                "allOf": [
                    {
                        "$ref": "#/components/schemas/HydraCollectionBaseSchemaNoPagination"
                    },
                    {
                        "type": "object",
                        "properties": {
                            "hydra:view": {
                                "type": "object",
                                "properties": {
                                    "@id": {
                                        "type": "string",
                                        "format": "iri-reference"
                                    },
                                    "@type": {
                                        "type": "string"
                                    },
                                    "hydra:first": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "format": "iri-reference"
                                    },
                                    "hydra:last": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "format": "iri-reference"
                                    },
                                    "hydra:previous": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "format": "iri-reference"
                                    },
                                    "hydra:next": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "format": "iri-reference"
                                    }
                                },
                                "example": {
                                    "@id": "string",
                                    "@type": "string",
                                    "hydra:first": "string",
                                    "hydra:last": "string",
                                    "hydra:previous": "string",
                                    "hydra:next": "string"
                                }
                            }
                        }
                    }
                ]
            },
            "HydraCollectionBaseSchemaNoPagination": {
                "type": "object",
                "properties": {
                    "hydra:totalItems": {
                        "type": "integer",
                        "minimum": 0
                    },
                    "hydra:search": {
                        "type": "object",
                        "properties": {
                            "@type": {
                                "type": "string"
                            },
                            "hydra:template": {
                                "type": "string"
                            },
                            "hydra:variableRepresentation": {
                                "type": "string"
                            },
                            "hydra:mapping": {
                                "type": "array",
                                "items": {
                                    "type": "object",
                                    "properties": {
                                        "@type": {
                                            "type": "string"
                                        },
                                        "variable": {
                                            "type": "string"
                                        },
                                        "property": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "required": {
                                            "type": "boolean"
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "HydraItemBaseSchema": {
                "type": "object",
                "properties": {
                    "@context": {
                        "oneOf": [
                            {
                                "type": "string"
                            },
                            {
                                "type": "object",
                                "properties": {
                                    "@vocab": {
                                        "type": "string"
                                    },
                                    "hydra": {
                                        "type": "string",
                                        "enum": [
                                            "http://www.w3.org/ns/hydra/core#"
                                        ]
                                    }
                                },
                                "required": [
                                    "@vocab",
                                    "hydra"
                                ],
                                "additionalProperties": true
                            }
                        ]
                    },
                    "@id": {
                        "type": "string"
                    },
                    "@type": {
                        "type": "string"
                    }
                },
                "required": [
                    "@id",
                    "@type"
                ]
            },
            "SupplierApiAccount": {
                "type": "object",
                "properties": {
                    "id": {
                        "default": "me",
                        "type": "string"
                    },
                    "name": {
                        "default": "",
                        "type": "string"
                    },
                    "displayName": {
                        "default": "",
                        "type": "string"
                    },
                    "status": {
                        "default": "",
                        "type": "string"
                    },
                    "cooperationModel": {
                        "default": "",
                        "type": "string"
                    },
                    "taxId": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "street": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "postcode": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "city": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "contactPerson": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "contactEmail": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "contactPhone": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "bankAccount": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "dispatchStreet": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "dispatchPostcode": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "dispatchCity": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "returnStreet": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "returnPostcode": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "returnCity": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "shippingDays": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "cutoffHour": {
                        "default": 12,
                        "type": "integer"
                    },
                    "dispatchWeekdays": {
                        "default": [
                            1,
                            2,
                            3,
                            4,
                            5
                        ],
                        "type": "array",
                        "items": {}
                    },
                    "carriers": {
                        "type": "array",
                        "items": {}
                    },
                    "orders": {
                        "type": "array",
                        "items": {}
                    }
                }
            },
            "SupplierApiAccount.SupplierAccountUpdate.jsonMergePatch": {
                "type": "object",
                "properties": {
                    "street": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "postcode": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "city": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "contactPerson": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "contactEmail": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "contactPhone": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "bankAccount": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "dispatchStreet": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "dispatchPostcode": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "dispatchCity": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "returnStreet": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "returnPostcode": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "returnCity": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "shippingDays": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "cutoffHour": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "dispatchWeekdays": {
                        "type": [
                            "array",
                            "null"
                        ],
                        "items": {}
                    },
                    "carriers": {
                        "type": [
                            "array",
                            "null"
                        ],
                        "items": {}
                    }
                }
            },
            "SupplierApiAccount.jsonld": {
                "allOf": [
                    {
                        "$ref": "#/components/schemas/HydraItemBaseSchema"
                    },
                    {
                        "type": "object",
                        "properties": {
                            "id": {
                                "default": "me",
                                "type": "string"
                            },
                            "name": {
                                "default": "",
                                "type": "string"
                            },
                            "displayName": {
                                "default": "",
                                "type": "string"
                            },
                            "status": {
                                "default": "",
                                "type": "string"
                            },
                            "cooperationModel": {
                                "default": "",
                                "type": "string"
                            },
                            "taxId": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "street": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "postcode": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "city": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "contactPerson": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "contactEmail": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "contactPhone": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "bankAccount": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "dispatchStreet": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "dispatchPostcode": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "dispatchCity": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "returnStreet": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "returnPostcode": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "returnCity": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "shippingDays": {
                                "type": [
                                    "integer",
                                    "null"
                                ]
                            },
                            "cutoffHour": {
                                "default": 12,
                                "type": "integer"
                            },
                            "dispatchWeekdays": {
                                "default": [
                                    1,
                                    2,
                                    3,
                                    4,
                                    5
                                ],
                                "type": "array",
                                "items": {}
                            },
                            "carriers": {
                                "type": "array",
                                "items": {}
                            },
                            "orders": {
                                "type": "array",
                                "items": {}
                            }
                        }
                    }
                ]
            },
            "SupplierApiAdAccount": {
                "type": "object",
                "properties": {
                    "id": {
                        "default": "me",
                        "type": "string"
                    },
                    "monthlyLimit": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "status": {
                        "default": "off",
                        "type": "string"
                    },
                    "statusReason": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "usedClicks": {
                        "default": 0,
                        "type": "integer"
                    },
                    "usedBanners": {
                        "default": 0,
                        "type": "integer"
                    },
                    "usedTotal": {
                        "default": 0,
                        "type": "integer"
                    },
                    "remaining": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "month": {
                        "default": "",
                        "type": "string"
                    }
                }
            },
            "SupplierApiAdAccount.SupplierAdAccountInput.partial": {
                "type": "object",
                "properties": {
                    "monthlyLimit": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    }
                }
            },
            "SupplierApiAdAccount.jsonld": {
                "allOf": [
                    {
                        "$ref": "#/components/schemas/HydraItemBaseSchema"
                    },
                    {
                        "type": "object",
                        "properties": {
                            "id": {
                                "default": "me",
                                "type": "string"
                            },
                            "monthlyLimit": {
                                "type": [
                                    "integer",
                                    "null"
                                ]
                            },
                            "status": {
                                "default": "off",
                                "type": "string"
                            },
                            "statusReason": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "usedClicks": {
                                "default": 0,
                                "type": "integer"
                            },
                            "usedBanners": {
                                "default": 0,
                                "type": "integer"
                            },
                            "usedTotal": {
                                "default": 0,
                                "type": "integer"
                            },
                            "remaining": {
                                "type": [
                                    "integer",
                                    "null"
                                ]
                            },
                            "month": {
                                "default": "",
                                "type": "string"
                            }
                        }
                    }
                ]
            },
            "SupplierApiAdBanner": {
                "type": "object",
                "properties": {
                    "id": {
                        "default": 0,
                        "type": "integer"
                    },
                    "slot": {
                        "default": "",
                        "type": "string"
                    },
                    "slotLabel": {
                        "default": "",
                        "type": "string"
                    },
                    "startsOn": {
                        "default": "",
                        "type": "string"
                    },
                    "endsOn": {
                        "default": "",
                        "type": "string"
                    },
                    "days": {
                        "default": 0,
                        "type": "integer"
                    },
                    "dayPrice": {
                        "default": 0,
                        "type": "integer"
                    },
                    "totalPrice": {
                        "default": 0,
                        "type": "integer"
                    },
                    "title": {
                        "default": "",
                        "type": "string"
                    },
                    "subtitle": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "imageUrl": {
                        "default": "",
                        "type": "string"
                    },
                    "targetUrl": {
                        "default": "",
                        "type": "string"
                    },
                    "status": {
                        "default": "",
                        "type": "string"
                    },
                    "reviewNote": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "impressions": {
                        "default": 0,
                        "type": "integer"
                    },
                    "clicks": {
                        "default": 0,
                        "type": "integer"
                    },
                    "orders": {
                        "default": 0,
                        "type": "integer"
                    },
                    "supplierValue": {
                        "default": 0,
                        "type": "integer"
                    }
                }
            },
            "SupplierApiAdBanner.SupplierAdBannerInput": {
                "type": "object",
                "properties": {
                    "slot": {
                        "default": "",
                        "type": "string"
                    },
                    "startsOn": {
                        "default": "",
                        "type": "string"
                    },
                    "endsOn": {
                        "default": "",
                        "type": "string"
                    },
                    "title": {
                        "default": "",
                        "type": "string"
                    },
                    "subtitle": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "target": {
                        "default": "offers",
                        "type": "string"
                    },
                    "targetValue": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "image": {
                        "default": "",
                        "type": "string"
                    }
                }
            },
            "SupplierApiAdBanner.jsonld": {
                "allOf": [
                    {
                        "$ref": "#/components/schemas/HydraItemBaseSchema"
                    },
                    {
                        "type": "object",
                        "properties": {
                            "id": {
                                "default": 0,
                                "type": "integer"
                            },
                            "slot": {
                                "default": "",
                                "type": "string"
                            },
                            "slotLabel": {
                                "default": "",
                                "type": "string"
                            },
                            "startsOn": {
                                "default": "",
                                "type": "string"
                            },
                            "endsOn": {
                                "default": "",
                                "type": "string"
                            },
                            "days": {
                                "default": 0,
                                "type": "integer"
                            },
                            "dayPrice": {
                                "default": 0,
                                "type": "integer"
                            },
                            "totalPrice": {
                                "default": 0,
                                "type": "integer"
                            },
                            "title": {
                                "default": "",
                                "type": "string"
                            },
                            "subtitle": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "imageUrl": {
                                "default": "",
                                "type": "string"
                            },
                            "targetUrl": {
                                "default": "",
                                "type": "string"
                            },
                            "status": {
                                "default": "",
                                "type": "string"
                            },
                            "reviewNote": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "impressions": {
                                "default": 0,
                                "type": "integer"
                            },
                            "clicks": {
                                "default": 0,
                                "type": "integer"
                            },
                            "orders": {
                                "default": 0,
                                "type": "integer"
                            },
                            "supplierValue": {
                                "default": 0,
                                "type": "integer"
                            }
                        }
                    }
                ]
            },
            "SupplierApiAdBannerAvailability": {
                "type": "object",
                "properties": {
                    "id": {
                        "default": "current",
                        "type": "string"
                    },
                    "from": {
                        "default": "",
                        "type": "string"
                    },
                    "to": {
                        "default": "",
                        "type": "string"
                    },
                    "slots": {
                        "type": "array",
                        "items": {}
                    }
                }
            },
            "SupplierApiAdBannerAvailability.jsonld": {
                "allOf": [
                    {
                        "$ref": "#/components/schemas/HydraItemBaseSchema"
                    },
                    {
                        "type": "object",
                        "properties": {
                            "id": {
                                "default": "current",
                                "type": "string"
                            },
                            "from": {
                                "default": "",
                                "type": "string"
                            },
                            "to": {
                                "default": "",
                                "type": "string"
                            },
                            "slots": {
                                "type": "array",
                                "items": {}
                            }
                        }
                    }
                ]
            },
            "SupplierApiAdCampaign": {
                "type": "object",
                "properties": {
                    "id": {
                        "default": 0,
                        "type": "integer"
                    },
                    "name": {
                        "default": "",
                        "type": "string"
                    },
                    "status": {
                        "default": "",
                        "type": "string"
                    },
                    "bids": {
                        "type": "array",
                        "items": {}
                    },
                    "externalChannels": {
                        "type": "array",
                        "items": {}
                    },
                    "dailyBudget": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "spentToday": {
                        "default": 0,
                        "type": "integer"
                    },
                    "startsOn": {
                        "default": "",
                        "type": "string"
                    },
                    "endsOn": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "productScope": {
                        "default": "all",
                        "type": "string"
                    },
                    "products": {
                        "type": "array",
                        "items": {}
                    },
                    "createdAt": {
                        "default": "",
                        "type": "string"
                    }
                }
            },
            "SupplierApiAdCampaign.SupplierAdCampaignInput": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "bids": {
                        "type": [
                            "array",
                            "null"
                        ],
                        "items": {}
                    },
                    "dailyBudget": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "startsOn": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "endsOn": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "productScope": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "products": {
                        "type": [
                            "array",
                            "null"
                        ],
                        "items": {}
                    },
                    "externalChannels": {
                        "type": [
                            "array",
                            "null"
                        ],
                        "items": {}
                    }
                }
            },
            "SupplierApiAdCampaign.SupplierAdCampaignInput.partial": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "bids": {
                        "type": [
                            "array",
                            "null"
                        ],
                        "items": {}
                    },
                    "dailyBudget": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "startsOn": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "endsOn": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "productScope": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "products": {
                        "type": [
                            "array",
                            "null"
                        ],
                        "items": {}
                    },
                    "externalChannels": {
                        "type": [
                            "array",
                            "null"
                        ],
                        "items": {}
                    }
                }
            },
            "SupplierApiAdCampaign.SupplierAdProductsInput.partial": {
                "type": "object",
                "properties": {
                    "add": {
                        "type": "array",
                        "items": {}
                    },
                    "remove": {
                        "type": "array",
                        "items": {}
                    },
                    "scope": {
                        "type": [
                            "string",
                            "null"
                        ]
                    }
                }
            },
            "SupplierApiAdCampaign.jsonld": {
                "allOf": [
                    {
                        "$ref": "#/components/schemas/HydraItemBaseSchema"
                    },
                    {
                        "type": "object",
                        "properties": {
                            "id": {
                                "default": 0,
                                "type": "integer"
                            },
                            "name": {
                                "default": "",
                                "type": "string"
                            },
                            "status": {
                                "default": "",
                                "type": "string"
                            },
                            "bids": {
                                "type": "array",
                                "items": {}
                            },
                            "externalChannels": {
                                "type": "array",
                                "items": {}
                            },
                            "dailyBudget": {
                                "type": [
                                    "integer",
                                    "null"
                                ]
                            },
                            "spentToday": {
                                "default": 0,
                                "type": "integer"
                            },
                            "startsOn": {
                                "default": "",
                                "type": "string"
                            },
                            "endsOn": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "productScope": {
                                "default": "all",
                                "type": "string"
                            },
                            "products": {
                                "type": "array",
                                "items": {}
                            },
                            "createdAt": {
                                "default": "",
                                "type": "string"
                            }
                        }
                    }
                ]
            },
            "SupplierApiAdInvoice": {
                "type": "object",
                "properties": {
                    "id": {
                        "default": 0,
                        "type": "integer"
                    },
                    "number": {
                        "default": "",
                        "type": "string"
                    },
                    "period": {
                        "default": "",
                        "type": "string"
                    },
                    "totalNet": {
                        "default": 0,
                        "type": "integer"
                    },
                    "vatRate": {
                        "default": 23,
                        "type": "integer"
                    },
                    "totalVat": {
                        "default": 0,
                        "type": "integer"
                    },
                    "totalGross": {
                        "default": 0,
                        "type": "integer"
                    },
                    "issuedAt": {
                        "default": "",
                        "type": "string"
                    },
                    "dueOn": {
                        "default": "",
                        "type": "string"
                    },
                    "status": {
                        "default": "",
                        "type": "string"
                    },
                    "overdue": {
                        "default": false,
                        "type": "boolean"
                    },
                    "paidAt": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "bankAccount": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "lines": {
                        "type": "array",
                        "items": {}
                    },
                    "seller": {
                        "type": "array",
                        "items": {}
                    },
                    "buyer": {
                        "type": "array",
                        "items": {}
                    }
                }
            },
            "SupplierApiAdInvoice.jsonld": {
                "allOf": [
                    {
                        "$ref": "#/components/schemas/HydraItemBaseSchema"
                    },
                    {
                        "type": "object",
                        "properties": {
                            "id": {
                                "default": 0,
                                "type": "integer"
                            },
                            "number": {
                                "default": "",
                                "type": "string"
                            },
                            "period": {
                                "default": "",
                                "type": "string"
                            },
                            "totalNet": {
                                "default": 0,
                                "type": "integer"
                            },
                            "vatRate": {
                                "default": 23,
                                "type": "integer"
                            },
                            "totalVat": {
                                "default": 0,
                                "type": "integer"
                            },
                            "totalGross": {
                                "default": 0,
                                "type": "integer"
                            },
                            "issuedAt": {
                                "default": "",
                                "type": "string"
                            },
                            "dueOn": {
                                "default": "",
                                "type": "string"
                            },
                            "status": {
                                "default": "",
                                "type": "string"
                            },
                            "overdue": {
                                "default": false,
                                "type": "boolean"
                            },
                            "paidAt": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "bankAccount": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "lines": {
                                "type": "array",
                                "items": {}
                            },
                            "seller": {
                                "type": "array",
                                "items": {}
                            },
                            "buyer": {
                                "type": "array",
                                "items": {}
                            }
                        }
                    }
                ]
            },
            "SupplierApiAdPlacements": {
                "type": "object",
                "properties": {
                    "id": {
                        "default": "current",
                        "type": "string"
                    },
                    "placements": {
                        "type": "array",
                        "items": {}
                    },
                    "banners": {
                        "type": "array",
                        "items": {}
                    },
                    "attributionDays": {
                        "default": 7,
                        "type": "integer"
                    },
                    "freeRepeatClickMinutes": {
                        "default": 30,
                        "type": "integer"
                    },
                    "vatRate": {
                        "default": 23,
                        "type": "integer"
                    },
                    "invoiceDueDays": {
                        "default": 14,
                        "type": "integer"
                    },
                    "externalChannels": {
                        "type": "array",
                        "items": {}
                    }
                }
            },
            "SupplierApiAdPlacements.jsonld": {
                "allOf": [
                    {
                        "$ref": "#/components/schemas/HydraItemBaseSchema"
                    },
                    {
                        "type": "object",
                        "properties": {
                            "id": {
                                "default": "current",
                                "type": "string"
                            },
                            "placements": {
                                "type": "array",
                                "items": {}
                            },
                            "banners": {
                                "type": "array",
                                "items": {}
                            },
                            "attributionDays": {
                                "default": 7,
                                "type": "integer"
                            },
                            "freeRepeatClickMinutes": {
                                "default": 30,
                                "type": "integer"
                            },
                            "vatRate": {
                                "default": 23,
                                "type": "integer"
                            },
                            "invoiceDueDays": {
                                "default": 14,
                                "type": "integer"
                            },
                            "externalChannels": {
                                "type": "array",
                                "items": {}
                            }
                        }
                    }
                ]
            },
            "SupplierApiAdStats": {
                "type": "object",
                "properties": {
                    "id": {
                        "default": "all",
                        "type": "string"
                    },
                    "period": {
                        "default": "30",
                        "type": "string"
                    },
                    "from": {
                        "default": "",
                        "type": "string"
                    },
                    "to": {
                        "default": "",
                        "type": "string"
                    },
                    "totals": {
                        "type": "array",
                        "items": {}
                    },
                    "daily": {
                        "type": "array",
                        "items": {}
                    },
                    "placements": {
                        "type": "array",
                        "items": {}
                    },
                    "campaigns": {
                        "type": "array",
                        "items": {}
                    },
                    "products": {
                        "type": "array",
                        "items": {}
                    }
                }
            },
            "SupplierApiAdStats.jsonld": {
                "allOf": [
                    {
                        "$ref": "#/components/schemas/HydraItemBaseSchema"
                    },
                    {
                        "type": "object",
                        "properties": {
                            "id": {
                                "default": "all",
                                "type": "string"
                            },
                            "period": {
                                "default": "30",
                                "type": "string"
                            },
                            "from": {
                                "default": "",
                                "type": "string"
                            },
                            "to": {
                                "default": "",
                                "type": "string"
                            },
                            "totals": {
                                "type": "array",
                                "items": {}
                            },
                            "daily": {
                                "type": "array",
                                "items": {}
                            },
                            "placements": {
                                "type": "array",
                                "items": {}
                            },
                            "campaigns": {
                                "type": "array",
                                "items": {}
                            },
                            "products": {
                                "type": "array",
                                "items": {}
                            }
                        }
                    }
                ]
            },
            "SupplierApiBalance": {
                "type": "object",
                "properties": {
                    "id": {
                        "default": "current",
                        "type": "string"
                    },
                    "totalNet": {
                        "default": 0,
                        "type": "integer"
                    },
                    "totalVat": {
                        "default": 0,
                        "type": "integer"
                    },
                    "totalGross": {
                        "default": 0,
                        "type": "integer"
                    },
                    "itemsCount": {
                        "default": 0,
                        "type": "integer"
                    },
                    "missingPrices": {
                        "default": 0,
                        "type": "integer"
                    },
                    "week": {
                        "default": "",
                        "type": "string"
                    },
                    "closesAt": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    },
                    "entries": {
                        "type": "array",
                        "items": {}
                    }
                }
            },
            "SupplierApiBalance.jsonld": {
                "allOf": [
                    {
                        "$ref": "#/components/schemas/HydraItemBaseSchema"
                    },
                    {
                        "type": "object",
                        "properties": {
                            "id": {
                                "default": "current",
                                "type": "string"
                            },
                            "totalNet": {
                                "default": 0,
                                "type": "integer"
                            },
                            "totalVat": {
                                "default": 0,
                                "type": "integer"
                            },
                            "totalGross": {
                                "default": 0,
                                "type": "integer"
                            },
                            "itemsCount": {
                                "default": 0,
                                "type": "integer"
                            },
                            "missingPrices": {
                                "default": 0,
                                "type": "integer"
                            },
                            "week": {
                                "default": "",
                                "type": "string"
                            },
                            "closesAt": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "format": "date-time"
                            },
                            "entries": {
                                "type": "array",
                                "items": {}
                            }
                        }
                    }
                ]
            },
            "SupplierApiCategory": {
                "type": "object",
                "properties": {
                    "code": {
                        "default": "",
                        "type": "string"
                    },
                    "name": {
                        "default": "",
                        "type": "string"
                    },
                    "path": {
                        "default": "",
                        "type": "string"
                    },
                    "level": {
                        "default": 0,
                        "type": "integer"
                    },
                    "leaf": {
                        "default": true,
                        "type": "boolean"
                    }
                }
            },
            "SupplierApiCategory.jsonld": {
                "allOf": [
                    {
                        "$ref": "#/components/schemas/HydraItemBaseSchema"
                    },
                    {
                        "type": "object",
                        "properties": {
                            "code": {
                                "default": "",
                                "type": "string"
                            },
                            "name": {
                                "default": "",
                                "type": "string"
                            },
                            "path": {
                                "default": "",
                                "type": "string"
                            },
                            "level": {
                                "default": 0,
                                "type": "integer"
                            },
                            "leaf": {
                                "default": true,
                                "type": "boolean"
                            }
                        }
                    }
                ]
            },
            "SupplierApiConversation": {
                "type": "object",
                "properties": {
                    "id": {
                        "default": 0,
                        "type": "integer"
                    },
                    "supplierOrderNumber": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "status": {
                        "default": "",
                        "type": "string"
                    },
                    "unread": {
                        "default": false,
                        "type": "boolean"
                    },
                    "messagesCount": {
                        "default": 0,
                        "type": "integer"
                    },
                    "lastMessageAt": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    },
                    "lastAuthor": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "lastMessage": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "messages": {
                        "type": [
                            "array",
                            "null"
                        ],
                        "items": {}
                    }
                }
            },
            "SupplierApiConversation.MessageInput": {
                "type": "object",
                "required": [
                    "body"
                ],
                "properties": {
                    "body": {
                        "maxLength": 5000,
                        "default": "",
                        "type": "string"
                    },
                    "topic": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "orderNumber": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "supplierOrderNumber": {
                        "type": [
                            "string",
                            "null"
                        ]
                    }
                }
            },
            "SupplierApiConversation.jsonld": {
                "allOf": [
                    {
                        "$ref": "#/components/schemas/HydraItemBaseSchema"
                    },
                    {
                        "type": "object",
                        "properties": {
                            "id": {
                                "default": 0,
                                "type": "integer"
                            },
                            "supplierOrderNumber": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "status": {
                                "default": "",
                                "type": "string"
                            },
                            "unread": {
                                "default": false,
                                "type": "boolean"
                            },
                            "messagesCount": {
                                "default": 0,
                                "type": "integer"
                            },
                            "lastMessageAt": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "format": "date-time"
                            },
                            "lastAuthor": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "lastMessage": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "messages": {
                                "type": [
                                    "array",
                                    "null"
                                ],
                                "items": {}
                            }
                        }
                    }
                ]
            },
            "SupplierApiFeed": {
                "type": "object",
                "properties": {
                    "id": {
                        "default": 0,
                        "type": "integer"
                    },
                    "sourceType": {
                        "default": "",
                        "type": "string"
                    },
                    "url": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "scheduleHours": {
                        "default": 0,
                        "type": "integer"
                    },
                    "setupStatus": {
                        "default": "",
                        "type": "string"
                    },
                    "running": {
                        "default": false,
                        "type": "boolean"
                    },
                    "lastRunAt": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    },
                    "lastRunStatus": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "lastRunStats": {
                        "type": [
                            "array",
                            "null"
                        ],
                        "items": {}
                    },
                    "lastError": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "lastErrors": {
                        "type": "array",
                        "items": {}
                    },
                    "nextRunAt": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    }
                }
            },
            "SupplierApiFeed.jsonld": {
                "allOf": [
                    {
                        "$ref": "#/components/schemas/HydraItemBaseSchema"
                    },
                    {
                        "type": "object",
                        "properties": {
                            "id": {
                                "default": 0,
                                "type": "integer"
                            },
                            "sourceType": {
                                "default": "",
                                "type": "string"
                            },
                            "url": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "scheduleHours": {
                                "default": 0,
                                "type": "integer"
                            },
                            "setupStatus": {
                                "default": "",
                                "type": "string"
                            },
                            "running": {
                                "default": false,
                                "type": "boolean"
                            },
                            "lastRunAt": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "format": "date-time"
                            },
                            "lastRunStatus": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "lastRunStats": {
                                "type": [
                                    "array",
                                    "null"
                                ],
                                "items": {}
                            },
                            "lastError": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "lastErrors": {
                                "type": "array",
                                "items": {}
                            },
                            "nextRunAt": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "format": "date-time"
                            }
                        }
                    }
                ]
            },
            "SupplierApiLabel": {
                "type": "object",
                "properties": {
                    "number": {
                        "default": "",
                        "type": "string"
                    },
                    "status": {
                        "default": "",
                        "type": "string"
                    },
                    "statusLabel": {
                        "default": "",
                        "type": "string"
                    },
                    "provider": {
                        "default": "",
                        "type": "string"
                    },
                    "trackingNumber": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "parcel": {
                        "type": "array",
                        "items": {}
                    },
                    "error": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "createdAt": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    },
                    "pdfUrl": {
                        "type": [
                            "string",
                            "null"
                        ]
                    }
                }
            },
            "SupplierApiLabel.SupplierLabelInput": {
                "type": "object",
                "properties": {
                    "template": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "length": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "width": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "height": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "weight": {
                        "type": [
                            "number",
                            "null"
                        ]
                    }
                }
            },
            "SupplierApiLabel.jsonld": {
                "allOf": [
                    {
                        "$ref": "#/components/schemas/HydraItemBaseSchema"
                    },
                    {
                        "type": "object",
                        "properties": {
                            "number": {
                                "default": "",
                                "type": "string"
                            },
                            "status": {
                                "default": "",
                                "type": "string"
                            },
                            "statusLabel": {
                                "default": "",
                                "type": "string"
                            },
                            "provider": {
                                "default": "",
                                "type": "string"
                            },
                            "trackingNumber": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "parcel": {
                                "type": "array",
                                "items": {}
                            },
                            "error": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "createdAt": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "format": "date-time"
                            },
                            "pdfUrl": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            }
                        }
                    }
                ]
            },
            "SupplierApiOrder": {
                "type": "object",
                "properties": {
                    "number": {
                        "default": "",
                        "type": "string"
                    },
                    "state": {
                        "default": "",
                        "type": "string"
                    },
                    "stateLabel": {
                        "default": "",
                        "type": "string"
                    },
                    "orderedAt": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    },
                    "acceptedAt": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    },
                    "shippedAt": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    },
                    "trackingNumber": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "itemsCount": {
                        "default": 0,
                        "type": "integer"
                    },
                    "delivery": {
                        "type": "array",
                        "items": {}
                    },
                    "items": {
                        "type": "array",
                        "items": {}
                    },
                    "label": {
                        "type": [
                            "array",
                            "null"
                        ],
                        "items": {}
                    }
                }
            },
            "SupplierApiOrder.SupplierShipInput": {
                "type": "object",
                "properties": {
                    "trackingNumber": {
                        "default": "",
                        "type": "string"
                    }
                }
            },
            "SupplierApiOrder.jsonld": {
                "allOf": [
                    {
                        "$ref": "#/components/schemas/HydraItemBaseSchema"
                    },
                    {
                        "type": "object",
                        "properties": {
                            "number": {
                                "default": "",
                                "type": "string"
                            },
                            "state": {
                                "default": "",
                                "type": "string"
                            },
                            "stateLabel": {
                                "default": "",
                                "type": "string"
                            },
                            "orderedAt": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "format": "date-time"
                            },
                            "acceptedAt": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "format": "date-time"
                            },
                            "shippedAt": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "format": "date-time"
                            },
                            "trackingNumber": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "itemsCount": {
                                "default": 0,
                                "type": "integer"
                            },
                            "delivery": {
                                "type": "array",
                                "items": {}
                            },
                            "items": {
                                "type": "array",
                                "items": {}
                            },
                            "label": {
                                "type": [
                                    "array",
                                    "null"
                                ],
                                "items": {}
                            }
                        }
                    }
                ]
            },
            "SupplierApiParcelTemplate": {
                "type": "object",
                "properties": {
                    "id": {
                        "default": 0,
                        "type": "integer"
                    },
                    "name": {
                        "default": "",
                        "type": "string"
                    },
                    "length": {
                        "default": 0,
                        "type": "integer"
                    },
                    "width": {
                        "default": 0,
                        "type": "integer"
                    },
                    "height": {
                        "default": 0,
                        "type": "integer"
                    },
                    "weight": {
                        "default": 0,
                        "type": "number"
                    },
                    "lockerSize": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "default": {
                        "default": false,
                        "type": "boolean"
                    }
                }
            },
            "SupplierApiParcelTemplate.SupplierParcelTemplateInput": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "length": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "width": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "height": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "weight": {
                        "type": [
                            "number",
                            "null"
                        ]
                    },
                    "default": {
                        "type": [
                            "boolean",
                            "null"
                        ]
                    }
                }
            },
            "SupplierApiParcelTemplate.SupplierParcelTemplateInput.partial": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "length": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "width": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "height": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "weight": {
                        "type": [
                            "number",
                            "null"
                        ]
                    },
                    "default": {
                        "type": [
                            "boolean",
                            "null"
                        ]
                    }
                }
            },
            "SupplierApiParcelTemplate.jsonld": {
                "allOf": [
                    {
                        "$ref": "#/components/schemas/HydraItemBaseSchema"
                    },
                    {
                        "type": "object",
                        "properties": {
                            "id": {
                                "default": 0,
                                "type": "integer"
                            },
                            "name": {
                                "default": "",
                                "type": "string"
                            },
                            "length": {
                                "default": 0,
                                "type": "integer"
                            },
                            "width": {
                                "default": 0,
                                "type": "integer"
                            },
                            "height": {
                                "default": 0,
                                "type": "integer"
                            },
                            "weight": {
                                "default": 0,
                                "type": "number"
                            },
                            "lockerSize": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "default": {
                                "default": false,
                                "type": "boolean"
                            }
                        }
                    }
                ]
            },
            "SupplierApiProduct": {
                "type": "object",
                "properties": {
                    "sku": {
                        "default": "",
                        "type": "string"
                    },
                    "offerNumber": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "taxon": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "taxonPath": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "moderationStatus": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "moderationDeadline": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    },
                    "moderationNote": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "safety": {
                        "type": [
                            "array",
                            "null"
                        ],
                        "items": {}
                    },
                    "gpsrComplete": {
                        "default": false,
                        "type": "boolean"
                    },
                    "gpsrMissing": {
                        "type": "array",
                        "items": {}
                    },
                    "name": {
                        "default": "",
                        "type": "string"
                    },
                    "status": {
                        "default": "",
                        "type": "string"
                    },
                    "issue": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "stock": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "purchasePriceNet": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "vatRate": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "ean": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "brand": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "category": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "url": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "variants": {
                        "type": "array",
                        "items": {}
                    },
                    "result": {
                        "type": [
                            "array",
                            "null"
                        ],
                        "items": {}
                    }
                }
            },
            "SupplierApiProduct.SupplierProductBatchInput": {
                "type": "object",
                "properties": {
                    "products": {
                        "minItems": 1,
                        "maxItems": 500,
                        "type": "array",
                        "items": {}
                    }
                }
            },
            "SupplierApiProduct.SupplierProductInput.partial": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "purchasePriceNet": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "purchasePriceGross": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "vatRate": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "stock": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "description": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "images": {
                        "type": "array",
                        "items": {}
                    },
                    "category": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "taxon": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "brand": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "ean": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "weight": {
                        "type": [
                            "number",
                            "null"
                        ]
                    },
                    "group": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "options": {
                        "type": "array",
                        "items": {}
                    },
                    "safety": {
                        "type": [
                            "array",
                            "null"
                        ],
                        "items": {}
                    }
                }
            },
            "SupplierApiProduct.jsonld": {
                "allOf": [
                    {
                        "$ref": "#/components/schemas/HydraItemBaseSchema"
                    },
                    {
                        "type": "object",
                        "properties": {
                            "sku": {
                                "default": "",
                                "type": "string"
                            },
                            "offerNumber": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "taxon": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "taxonPath": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "moderationStatus": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "moderationDeadline": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "format": "date-time"
                            },
                            "moderationNote": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "safety": {
                                "type": [
                                    "array",
                                    "null"
                                ],
                                "items": {}
                            },
                            "gpsrComplete": {
                                "default": false,
                                "type": "boolean"
                            },
                            "gpsrMissing": {
                                "type": "array",
                                "items": {}
                            },
                            "name": {
                                "default": "",
                                "type": "string"
                            },
                            "status": {
                                "default": "",
                                "type": "string"
                            },
                            "issue": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "stock": {
                                "type": [
                                    "integer",
                                    "null"
                                ]
                            },
                            "purchasePriceNet": {
                                "type": [
                                    "integer",
                                    "null"
                                ]
                            },
                            "vatRate": {
                                "type": [
                                    "integer",
                                    "null"
                                ]
                            },
                            "ean": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "brand": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "category": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "url": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "variants": {
                                "type": "array",
                                "items": {}
                            },
                            "result": {
                                "type": [
                                    "array",
                                    "null"
                                ],
                                "items": {}
                            }
                        }
                    }
                ]
            },
            "SupplierApiRegistration": {
                "type": "object",
                "properties": {
                    "supplierId": {
                        "default": 0,
                        "type": "integer"
                    },
                    "status": {
                        "default": "pending",
                        "type": "string"
                    },
                    "message": {
                        "default": "",
                        "type": "string"
                    }
                }
            },
            "SupplierApiRegistration.SupplierRegistration": {
                "type": "object",
                "required": [
                    "companyName",
                    "taxId",
                    "street",
                    "postcode",
                    "city",
                    "contactPerson",
                    "phone",
                    "email",
                    "password"
                ],
                "properties": {
                    "companyName": {
                        "maxLength": 255,
                        "default": "",
                        "type": "string"
                    },
                    "taxId": {
                        "default": "",
                        "type": "string"
                    },
                    "street": {
                        "maxLength": 255,
                        "default": "",
                        "type": "string"
                    },
                    "postcode": {
                        "pattern": "^(\\d{2}-\\d{3})$",
                        "default": "",
                        "type": "string"
                    },
                    "city": {
                        "maxLength": 100,
                        "default": "",
                        "type": "string"
                    },
                    "contactPerson": {
                        "maxLength": 120,
                        "default": "",
                        "type": "string"
                    },
                    "phone": {
                        "pattern": "^([+0-9 ()-]{9,20})$",
                        "default": "",
                        "type": "string"
                    },
                    "email": {
                        "format": "email",
                        "externalDocs": {
                            "url": "https://schema.org/email"
                        },
                        "default": "",
                        "type": "string"
                    },
                    "password": {
                        "minLength": 8,
                        "maxLength": 4096,
                        "default": "",
                        "type": "string"
                    },
                    "acceptTerms": {
                        "default": false,
                        "type": "boolean"
                    }
                }
            },
            "SupplierApiRegistration.jsonld": {
                "allOf": [
                    {
                        "$ref": "#/components/schemas/HydraItemBaseSchema"
                    },
                    {
                        "type": "object",
                        "properties": {
                            "supplierId": {
                                "default": 0,
                                "type": "integer"
                            },
                            "status": {
                                "default": "pending",
                                "type": "string"
                            },
                            "message": {
                                "default": "",
                                "type": "string"
                            }
                        }
                    }
                ]
            },
            "SupplierApiReturn": {
                "type": "object",
                "properties": {
                    "number": {
                        "default": "",
                        "type": "string"
                    },
                    "supplierOrderNumber": {
                        "default": "",
                        "type": "string"
                    },
                    "status": {
                        "default": "",
                        "type": "string"
                    },
                    "statusLabel": {
                        "default": "",
                        "type": "string"
                    },
                    "method": {
                        "default": "",
                        "type": "string"
                    },
                    "parcelSize": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "trackingNumber": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "reason": {
                        "default": "",
                        "type": "string"
                    },
                    "reasonLabel": {
                        "default": "",
                        "type": "string"
                    },
                    "items": {
                        "type": "array",
                        "items": {}
                    },
                    "canDecide": {
                        "default": false,
                        "type": "boolean"
                    },
                    "decisionNote": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "photos": {
                        "type": "array",
                        "items": {}
                    },
                    "createdAt": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    },
                    "shippedAt": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    },
                    "deliveredAt": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    },
                    "decidedAt": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    }
                }
            },
            "SupplierApiReturn.jsonld": {
                "allOf": [
                    {
                        "$ref": "#/components/schemas/HydraItemBaseSchema"
                    },
                    {
                        "type": "object",
                        "properties": {
                            "number": {
                                "default": "",
                                "type": "string"
                            },
                            "supplierOrderNumber": {
                                "default": "",
                                "type": "string"
                            },
                            "status": {
                                "default": "",
                                "type": "string"
                            },
                            "statusLabel": {
                                "default": "",
                                "type": "string"
                            },
                            "method": {
                                "default": "",
                                "type": "string"
                            },
                            "parcelSize": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "trackingNumber": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "reason": {
                                "default": "",
                                "type": "string"
                            },
                            "reasonLabel": {
                                "default": "",
                                "type": "string"
                            },
                            "items": {
                                "type": "array",
                                "items": {}
                            },
                            "canDecide": {
                                "default": false,
                                "type": "boolean"
                            },
                            "decisionNote": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "photos": {
                                "type": "array",
                                "items": {}
                            },
                            "createdAt": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "format": "date-time"
                            },
                            "shippedAt": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "format": "date-time"
                            },
                            "deliveredAt": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "format": "date-time"
                            },
                            "decidedAt": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "format": "date-time"
                            }
                        }
                    }
                ]
            },
            "SupplierApiSafetyContact": {
                "type": "object",
                "properties": {
                    "id": {
                        "default": 0,
                        "type": "integer"
                    },
                    "type": {
                        "default": "",
                        "type": "string"
                    },
                    "name": {
                        "default": "",
                        "type": "string"
                    },
                    "street": {
                        "default": "",
                        "type": "string"
                    },
                    "postcode": {
                        "default": "",
                        "type": "string"
                    },
                    "city": {
                        "default": "",
                        "type": "string"
                    },
                    "countryCode": {
                        "default": "",
                        "type": "string"
                    },
                    "email": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "phone": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "website": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "brands": {
                        "type": "array",
                        "items": {}
                    },
                    "default": {
                        "default": false,
                        "type": "boolean"
                    },
                    "inEu": {
                        "default": true,
                        "type": "boolean"
                    },
                    "productsCount": {
                        "default": 0,
                        "type": "integer"
                    }
                }
            },
            "SupplierApiSafetyContact.SupplierSafetyContactInput": {
                "type": "object",
                "properties": {
                    "type": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "name": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "street": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "postcode": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "city": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "countryCode": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "email": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "phone": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "website": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "brands": {
                        "type": [
                            "array",
                            "null"
                        ],
                        "items": {}
                    },
                    "default": {
                        "type": [
                            "boolean",
                            "null"
                        ]
                    }
                }
            },
            "SupplierApiSafetyContact.SupplierSafetyContactInput.partial": {
                "type": "object",
                "properties": {
                    "type": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "name": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "street": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "postcode": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "city": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "countryCode": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "email": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "phone": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "website": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "brands": {
                        "type": [
                            "array",
                            "null"
                        ],
                        "items": {}
                    },
                    "default": {
                        "type": [
                            "boolean",
                            "null"
                        ]
                    }
                }
            },
            "SupplierApiSafetyContact.jsonld": {
                "allOf": [
                    {
                        "$ref": "#/components/schemas/HydraItemBaseSchema"
                    },
                    {
                        "type": "object",
                        "properties": {
                            "id": {
                                "default": 0,
                                "type": "integer"
                            },
                            "type": {
                                "default": "",
                                "type": "string"
                            },
                            "name": {
                                "default": "",
                                "type": "string"
                            },
                            "street": {
                                "default": "",
                                "type": "string"
                            },
                            "postcode": {
                                "default": "",
                                "type": "string"
                            },
                            "city": {
                                "default": "",
                                "type": "string"
                            },
                            "countryCode": {
                                "default": "",
                                "type": "string"
                            },
                            "email": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "phone": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "website": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "brands": {
                                "type": "array",
                                "items": {}
                            },
                            "default": {
                                "default": false,
                                "type": "boolean"
                            },
                            "inEu": {
                                "default": true,
                                "type": "boolean"
                            },
                            "productsCount": {
                                "default": 0,
                                "type": "integer"
                            }
                        }
                    }
                ]
            },
            "SupplierApiSettlement": {
                "type": "object",
                "properties": {
                    "number": {
                        "default": "",
                        "type": "string"
                    },
                    "week": {
                        "default": "",
                        "type": "string"
                    },
                    "periodStart": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    },
                    "periodEnd": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    },
                    "status": {
                        "default": "",
                        "type": "string"
                    },
                    "statusLabel": {
                        "default": "",
                        "type": "string"
                    },
                    "totalNet": {
                        "default": 0,
                        "type": "integer"
                    },
                    "totalVat": {
                        "default": 0,
                        "type": "integer"
                    },
                    "totalGross": {
                        "default": 0,
                        "type": "integer"
                    },
                    "itemsCount": {
                        "default": 0,
                        "type": "integer"
                    },
                    "vatBreakdown": {
                        "type": "array",
                        "items": {}
                    },
                    "invoiceNumber": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "invoiceSubmittedAt": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    },
                    "paidAt": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    },
                    "payoutReference": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "createdAt": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    },
                    "entries": {
                        "type": [
                            "array",
                            "null"
                        ],
                        "items": {}
                    }
                }
            },
            "SupplierApiSettlement.SupplierInvoiceInput": {
                "type": "object",
                "required": [
                    "invoiceNumber"
                ],
                "properties": {
                    "invoiceNumber": {
                        "maxLength": 60,
                        "default": "",
                        "type": "string"
                    }
                }
            },
            "SupplierApiSettlement.jsonld": {
                "allOf": [
                    {
                        "$ref": "#/components/schemas/HydraItemBaseSchema"
                    },
                    {
                        "type": "object",
                        "properties": {
                            "number": {
                                "default": "",
                                "type": "string"
                            },
                            "week": {
                                "default": "",
                                "type": "string"
                            },
                            "periodStart": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "format": "date-time"
                            },
                            "periodEnd": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "format": "date-time"
                            },
                            "status": {
                                "default": "",
                                "type": "string"
                            },
                            "statusLabel": {
                                "default": "",
                                "type": "string"
                            },
                            "totalNet": {
                                "default": 0,
                                "type": "integer"
                            },
                            "totalVat": {
                                "default": 0,
                                "type": "integer"
                            },
                            "totalGross": {
                                "default": 0,
                                "type": "integer"
                            },
                            "itemsCount": {
                                "default": 0,
                                "type": "integer"
                            },
                            "vatBreakdown": {
                                "type": "array",
                                "items": {}
                            },
                            "invoiceNumber": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "invoiceSubmittedAt": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "format": "date-time"
                            },
                            "paidAt": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "format": "date-time"
                            },
                            "payoutReference": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "createdAt": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "format": "date-time"
                            },
                            "entries": {
                                "type": [
                                    "array",
                                    "null"
                                ],
                                "items": {}
                            }
                        }
                    }
                ]
            }
        },
        "securitySchemes": {
            "kluczApi": {
                "type": "http",
                "scheme": "bearer",
                "description": "Klucz API z panelu dostawcy (Integracja (API)), zaczyna się od sdk_. Nagłówek: Authorization: Bearer sdk_…"
            }
        }
    },
    "security": [
        {
            "kluczApi": []
        }
    ],
    "tags": [
        {
            "name": "Konto",
            "description": "Twoje dane w sklepie. GET /account to najprostszy test, czy klucz działa."
        },
        {
            "name": "Zamówienia",
            "description": "Widzisz tylko swoje paczki, dopiero gdy klient zapłacił (za pobraniem — od razu). Bez danych klienta i bez cen sprzedaży — tylko co spakować i jakim przewoźnikiem. Numer zamówienia = numer zamówienia sklepu + numer paczki, np. 4829193756-2."
        },
        {
            "name": "Nadawanie — etykiety i szablony paczek",
            "description": "Etykietę przygotowuje sklep u przewoźnika wybranego przez klienta (InPost bezpośrednio, pozostali przez Apaczkę). Ty podajesz karton (szablon albo wymiary), drukujesz PDF i oznaczasz paczkę jako nadaną. Adres odbiorcy jest tylko na etykiecie; jako nadawca widnieje sklep, a adresem zwrotnym jest Twój adres nadania (PATCH /account)."
        },
        {
            "name": "Produkty i pliki",
            "description": "Produkty możesz wysyłać przez API (zamiast pliku XML albo obok niego) albo dodawać ręcznie w panelu (Produkty → Dodaj produkt). SKU to Twój identyfikator wariantu. Podajesz cenę zakupu — cenę w sklepie ustala sklep. Z polem taxon (nasza kategoria z GET /categories) produkt pokaże się od razu po akceptacji; z samą Twoją kategorią (category) — gdy sklep przypisze ją do swojej. Każdy NOWY produkt sklep sprawdza w ciągu 2 godzin pracy (pn–pt 9:00–18:00, bez świąt) — jeśli nie zdecyduje, produkt akceptuje się sam (moderationStatus: pending → approved). Odrzucony (rejected) ma w moderationNote powód — popraw go zwykłym PUT, a wróci do sprawdzenia."
        },
        {
            "name": "Bezpieczeństwo produktu (GPSR)",
            "description": "Prawo UE (rozporządzenie 2023/988) wymaga, żeby przy ofercie był producent (nazwa, adres pocztowy, e-mail albo strona), a gdy jest spoza UE — osoba odpowiedzialna w UE, oraz ostrzeżenia po polsku. Firmy dodajesz raz tutaj, a w produktach wskazujesz je polem safety (albo przypisują się same po marce / jako domyślne)."
        },
        {
            "name": "Zwroty",
            "description": "Zwroty jadą prosto do Ciebie (Paczkomat InPost z kodem albo klient odsyła sam) — na Twój adres zwrotów z PATCH /account. W paczce klient wkłada kartkę z numerem zwrotu (ZW…). Bez danych klienta i kwot. Przyjęcie zmniejsza rozliczenie o zwrócone produkty; odrzucenie wymaga uzasadnienia (do 10 zdjęć) — decyzję podejmuje wtedy sklep."
        },
        {
            "name": "Rozliczenia",
            "description": "Kredyt kupiecki: każdy sprzedany produkt dopisujemy do Twojego salda po cenie zakupu z chwili sprzedaży. Tydzień zamykamy w niedzielę o północy (czas polski), w poniedziałek dostajesz prośbę o fakturę; po przelewie rozliczenie jest „wypłacone”."
        },
        {
            "name": "Reklamy",
            "description": "Oferty sponsorowane (płacisz za kliknięcie — aukcja: stawka × jakość, płacisz tyle, ile trzeba, żeby wygrać, nie więcej niż stawka) w wynikach wyszukiwania, na stronie głównej i na kartach produktów oraz banery na stronie głównej (rezerwacja dni). Wszystko do miesięcznego limitu; po końcu miesiąca osobna faktura za reklamy (nie łączymy jej z rozliczeniami za towar). Kwoty w groszach NETTO. Sprzedaż z reklam liczymy w Twoich cenach zakupu."
        },
        {
            "name": "Wiadomości ze sklepem",
            "description": "Rozmawiasz ze sklepem (nie z klientem) — jedna rozmowa na paczkę. Po każdej wiadomości druga strona dostaje e-mail."
        },
        {
            "name": "Rejestracja",
            "description": "Bez klucza — dla firm, które chcą zostać dostawcą. To samo co formularz „Zostań dostawcą”."
        }
    ]
}