openapi: 3.0.0 info: title: 'Mocny Full API documentation' version: '0.1' servers: - url: 'https://qamocny.aptekatest.pl' description: 'QA server' - url: 'http://mocnyfull-web' description: 'Local server' - url: 'https://hxmocny.aptekatest.pl' description: 'Hotfix server' paths: /api/client/definition/payments: patch: tags: - 'Order - Payment' operationId: cee43cd8294b59f4b08a1a9438db6426 requestBody: content: application/json: schema: $ref: '#/components/schemas/SynchronizeOrderPaymentsRequestModel' responses: '204': description: 'Successful operation' security: - cmsOAuth2Bearer: [] - cmsOAuth2: [] /api/client/document: post: tags: - 'Document - Incoming' operationId: 6433046018c03a819327947693a5d94d requestBody: content: application/json: schema: $ref: '#/components/schemas/DocumentIncomingRequestModel' responses: '200': description: 'Successful operation' content: application/json: schema: properties: data: { $ref: '#/components/schemas/DocumentIncomingResponseModel' } type: object security: - cmsOAuth2Bearer: [] - cmsOAuth2: [] /api/client/document/incoming: get: tags: - 'Document - Incoming' operationId: 39814997e9ef74903b5d56c40101fee6 requestBody: content: application/json: schema: $ref: '#/components/schemas/DocumentIncomingRequestModel' responses: '200': description: 'Successful operation' content: application/json: schema: properties: data: { $ref: '#/components/schemas/DocumentIncomingListingResponseModel' } type: object security: - cmsOAuth2Bearer: [] - cmsOAuth2: [] put: tags: - 'Document - Incoming' operationId: 3477622fe3852491913faccb3e8bdde4 requestBody: content: application/json: schema: $ref: '#/components/schemas/DocumentIncomingRequestModel' responses: '200': description: 'Successful operation' content: application/json: schema: properties: data: { $ref: '#/components/schemas/DocumentIncomingResponseModel' } type: object security: - cmsOAuth2Bearer: [] - cmsOAuth2: [] '/api/client/document/incoming/{id}': get: tags: - 'Document - Incoming' operationId: 17a08d0e499b4cb61a6f05f2cb816ec9 responses: '200': description: 'Successful operation' content: application/json: schema: properties: data: { $ref: '#/components/schemas/DocumentIncomingResponseModel' } type: object security: - cmsOAuth2Bearer: [] - cmsOAuth2: [] delete: tags: - 'Document - Incoming' operationId: 8224819acf1b597403e7863613df5f3b responses: '204': description: 'Successful operation' security: - cmsOAuth2Bearer: [] - cmsOAuth2: [] '/api/client/document/incoming/{id}/position/{productIdentifier}': delete: tags: - 'Document - Incoming' operationId: b1547478dc05722bd38f7d0caf3570b3 responses: '204': description: 'Successful operation' security: - cmsOAuth2Bearer: [] - cmsOAuth2: [] '/api/client/document/incoming/{id}/declare': post: tags: - 'Document - Incoming' operationId: 592dc03b7314d8461a3ff1e67479bb7f responses: '204': description: 'Successful operation' security: - cmsOAuth2Bearer: [] - cmsOAuth2: [] /api/client/document/outgoing: get: tags: - 'Document - Outgoing' operationId: aacfa520f6d385f2203a08f11a43b4bd requestBody: content: application/json: schema: $ref: '#/components/schemas/OutgoingListingFilterRequestModel' responses: '200': description: 'Successful operation' content: application/json: schema: properties: data: { description: 'List of objects', type: array, items: { $ref: '#/components/schemas/OutgoingListingResponseModel' } } type: object security: - cmsOAuth2Bearer: [] - cmsOAuth2: [] '/api/client/document/outgoing/{id}': get: tags: - 'Document - Outgoing' operationId: b7266e1ea956297493b9752744055ed1 responses: '200': description: 'Successful operation' content: application/json: schema: properties: data: { $ref: '#/components/schemas/OutgoingResponseModel' } type: object security: - cmsOAuth2Bearer: [] - cmsOAuth2: [] /api/client/document/outgoing/correction/create: post: tags: - 'Document - Outgoing' operationId: 1fe8d630549db2e567c6b9328c63537b requestBody: content: application/json: schema: $ref: '#/components/schemas/CreateOutgoingCorrectionRequestModel' responses: '200': description: 'Successful operation' content: application/json: schema: properties: data: { $ref: '#/components/schemas/CreateOutgoingCorrectionResponseModel' } type: object security: - cmsOAuth2Bearer: [] - cmsOAuth2: [] '/api/client/document/outgoing/correction/{id}': get: tags: - 'Document - Outgoing' operationId: 82774f9a7e3078e4350930ef8c642a50 responses: '200': description: 'Successful operation' content: application/json: schema: properties: data: { $ref: '#/components/schemas/OutgoingCorrectionResponseModel' } type: object security: - cmsOAuth2Bearer: [] - cmsOAuth2: [] '/api/client/document/outgoing/correction/{id}/update': post: tags: - 'Document - Outgoing' operationId: d9f6e3670e430bc3748b8978d35541d2 requestBody: content: application/json: schema: $ref: '#/components/schemas/UpdateOutgoingCorrectionRequestModel' responses: '200': description: 'Successful operation' content: application/json: schema: properties: data: { $ref: '#/components/schemas/UpdateOutgoingCorrectionResponseModel' } type: object security: - cmsOAuth2Bearer: [] - cmsOAuth2: [] '/api/client/document/outgoing/correction/{id}/accept': post: tags: - 'Document - Outgoing' operationId: 0f186fbd7ac55ced140f9e003b3d713f responses: '200': description: 'Successful operation' content: application/json: schema: properties: data: { $ref: '#/components/schemas/AcceptOutgoingCorrectionResponseModel' } type: object security: - cmsOAuth2Bearer: [] - cmsOAuth2: [] '/api/client/document/outgoing/correction/{id}/position/{positionId}': get: tags: - 'Document - Outgoing' operationId: 6e5245bb5b240f61ca207e37d7de5441 responses: '200': description: 'Successful operation' content: application/json: schema: properties: data: { $ref: '#/components/schemas/OutgoingCorrectionPositionResponseModel' } type: object security: - cmsOAuth2Bearer: [] - cmsOAuth2: [] '/api/client/document/outgoing/correction/{id}/position/{positionId}/stock': get: tags: - 'Document - Outgoing' operationId: 333628b9ee103573c58f650e3267fe55 responses: '200': description: 'Successful operation' content: application/json: schema: properties: data: { $ref: '#/components/schemas/OutgoingCorrectionPositionStockResponseModel' } type: object security: - cmsOAuth2Bearer: [] - cmsOAuth2: [] '/api/client/document/outgoing/correction/{id}/position/{positionId}/update': post: tags: - 'Document - Outgoing' operationId: b822ddf50b3f37644c1aa65c7ccd7b1e requestBody: content: application/json: schema: $ref: '#/components/schemas/UpdateOutgoingCorrectionPositionRequestModel' responses: '200': description: 'Successful operation' content: application/json: schema: properties: data: { $ref: '#/components/schemas/UpdateOutgoingCorrectionPositionResponseModel' } type: object security: - cmsOAuth2Bearer: [] - cmsOAuth2: [] '/api/client/document/outgoing/correction/{id}/position/{positionId}/delete': delete: tags: - 'Document - Outgoing' operationId: a64da61a5649d54408846c409146f58b responses: '200': description: 'Successful operation' content: application/json: schema: properties: data: { $ref: '#/components/schemas/DeleteOutgoingCorrectionPositionResponseModel' } type: object security: - cmsOAuth2Bearer: [] - cmsOAuth2: [] /api/client/document/outgoing/issues: get: tags: - 'Document - Outgoing - Issue' operationId: cd29978d7e0fbd2573cda00e32de79a6 requestBody: content: application/json: schema: $ref: '#/components/schemas/DocumentOutgoingIssueListingRequestModel' responses: '200': description: 'Successful operation' content: application/json: schema: properties: data: { description: Object, type: InnovationSoftware\Document\App\Outgoing\Issue\Model\Listing\Response\DocumentOutgoingIssueListingResponseModel } type: object security: - cmsOAuth2Bearer: [] - cmsOAuth2: [] /document/outgoing/issues/resolve: post: tags: - 'Document - Outgoing - Issue' operationId: 9f1ae6001811b141d9c8838b57c2d282 requestBody: content: application/json: schema: $ref: '#/components/schemas/OutgoingIssueResolveRequestModel' responses: '204': description: 'Successful operation' security: - cmsOAuth2Bearer: [] - cmsOAuth2: [] /api/client/orders: put: tags: - Order description: 'Aktualizuje zamówienie' operationId: dcb2a95d36d7420a38eb320bd5e18a6d requestBody: content: application/json: schema: $ref: '#/components/schemas/OrderDTO' responses: '200': description: 'Zwraca zaktualizowane zamówienie' /api/client/orders/exists: post: tags: - Order description: 'Sprawdza czy zamówienia istnieją' operationId: 36fe2a8e229d7d1ace965c4e0eb2fc97 requestBody: content: application/json: schema: $ref: '#/components/schemas/OrdersExistRequestModel' responses: '200': description: 'Zwraca słownik z informacją czy zamówienie istnieje' content: application/json: schema: type: object additionalProperties: type: boolean /api/client/order/shipment/methods: patch: tags: - 'Order - ShipmentMethod' operationId: ab383f306e37e36af99dbf7f8d9318ac requestBody: content: application/json: schema: $ref: '#/components/schemas/SynchronizeOrderShipmentMethodsRequestModel' responses: '204': description: 'Successful operation' security: - cmsOAuth2Bearer: [] - cmsOAuth2: [] /api/client/order/statuses: patch: tags: - 'Order - Status' operationId: 11248a5452661ca009e6242823372cc0 requestBody: content: application/json: schema: $ref: '#/components/schemas/SynchronizeOrderStatusesRequestModel' responses: '204': description: 'Successful operation' security: - cmsOAuth2Bearer: [] - cmsOAuth2: [] /api/client/warehouse/producer: get: tags: - 'Warehouse - Producer' operationId: b2ec49dd2f483db5a2d0dbec7a382855 requestBody: content: application/json: schema: $ref: '#/components/schemas/ProducerListingFilterRequestModel' responses: '200': description: 'Successful operation' content: application/json: schema: properties: data: { description: 'List of objects', type: array, items: { $ref: '#/components/schemas/ProducerListingResponseModel' } } type: object security: - cmsOAuth2Bearer: [] - cmsOAuth2: [] put: tags: - 'Warehouse - Producer' description: 'Aktualizuje/tworzy producentów' operationId: 7b887175796fedbc223bffc9d28ba858 requestBody: content: application/json: schema: $ref: '#/components/schemas/ProducerUpsertRequestModel' responses: '200': description: 'Successful operation' content: application/json: schema: properties: data: { $ref: '#/components/schemas/ProducerUpsertResponseModel' } type: object security: - cmsOAuth2Bearer: [] - cmsOAuth2: [] '/api/client/warehouse/producer/{id}': get: tags: - 'Warehouse - Producer' operationId: 9b4ad41ea79e5dbfa74bc972801d8798 responses: '200': description: 'Successful operation' content: application/json: schema: properties: data: { $ref: '#/components/schemas/ProducerSingleResponseModel' } type: object security: - cmsOAuth2Bearer: [] - cmsOAuth2: [] /api/client/warehouse/product: get: tags: - 'Warehouse - Product' operationId: 9ff65a156dc9b11f85a68fa80f51a401 responses: '200': description: 'List of products' content: application/json: schema: type: array items: $ref: '#/components/schemas/ProductSearchResultModel' security: - cmsOAuth2Bearer: [] - cmsOAuth2: [] post: tags: - 'Warehouse - Product' operationId: 7ae8ad1fb649846319ae4f924cdc6f4f requestBody: content: application/json: schema: $ref: '#/components/schemas/CreateProductRequestModel' responses: '201': description: 'Object has been created' content: application/json: schema: properties: data: { $ref: '#/components/schemas/CreateProductModel' } type: object security: - cmsOAuth2Bearer: [] - cmsOAuth2: [] patch: tags: - 'Warehouse - Product' operationId: 70191fa44e42f3cee53c7688dfeb6e05 requestBody: content: application/json: schema: $ref: '#/components/schemas/UpdateProductRequestModel' responses: '201': description: 'Object has been created' content: application/json: schema: properties: data: { $ref: '#/components/schemas/UpdateProductRequestModel' } type: object security: - cmsOAuth2Bearer: [] - cmsOAuth2: [] /api/client/warehouse/product/stock_amount: get: tags: - 'Warehouse - Product' operationId: 31475c8aa939dd92eb65cc0f8472deff requestBody: content: application/json: schema: $ref: '#/components/schemas/ProductStockAmountListingFilterRequestModel' responses: '200': description: 'Zwraca status OK' content: application/json: schema: properties: response: { type: boolean } data: { type: array, items: { $ref: '#/components/schemas/ProductStockAmountResponseModel' } } pagination: { $ref: '#/components/schemas/PaginationModel' } type: object security: - cmsOAuth2Bearer: [] - cmsOAuth2: [] components: schemas: OrderUpdateRequestModel: properties: orderIdentifier: type: string shopSymbol: type: string status: oneOf: - $ref: '#/components/schemas/OrderUpdateStatusRequestModel' nullable: true isPaid: description: 'Ma zdefiniowaną wartość, gdy zamówienie ma status domyślnie oznaczony jako dostarczony i jest opłacone' type: boolean nullable: true paymentAt: description: 'Ma zdefiniowaną wartość, gdy zamówienie ma status domyślnie oznaczony jako dostarczony i jest opłacone' type: string nullable: true shipment: oneOf: - $ref: '#/components/schemas/ShipmentRequestModel' nullable: true description: 'Dane wysyłki' type: object ShipmentRequestModel: properties: number: type: string type: object OrderUpdateStatusRequestModel: properties: orderStatusId: type: string type: object AddressModel: properties: street: type: string nullable: true number: type: string nullable: true apartmentNumber: type: string nullable: true city: type: string nullable: true postalCode: type: string nullable: true country: type: string nullable: true type: object BankModel: properties: name: type: string number: type: string type: object MoneyModel: properties: value: type: integer currency: type: string type: object SynchronizeOrderPaymentRequestModel: properties: id: type: string name: type: string isActive: type: boolean isCashOutDelivery: type: boolean isProblematic: type: boolean nullable: true generatedIdentifier: type: integer nullable: true type: object SynchronizeOrderPaymentsRequestModel: properties: payments: type: array items: $ref: '#/components/schemas/SynchronizeOrderPaymentRequestModel' type: object ShopRequestModelAddress: properties: street: type: string nullable: true number: type: string nullable: true apartmentNumber: type: string nullable: true city: type: string nullable: true postalCode: type: string nullable: true country: type: string nullable: true type: object ShopRequestModelCompany: properties: name: type: string nullable: true address: $ref: '#/components/schemas/ShopRequestModelAddress' type: object ShopRequestModelOrganizationUnit: properties: name: type: string address: $ref: '#/components/schemas/ShopRequestModelAddress' email: type: string nullable: true fax: type: string nullable: true nip: type: string nullable: true phoneNumber: type: string nullable: true type: object ShopRequestModel: properties: externalId: type: string format: uuid symbol: type: string codename: type: string organizationUnit: $ref: '#/components/schemas/ShopRequestModelOrganizationUnit' company: $ref: '#/components/schemas/ShopRequestModelCompany' bankName: type: string bankNumber: type: string countryCode: type: string currencyCode: type: string defaultLanguage: description: 'Domyślny język sklepu' type: string enum: - PL - CZ - DE - SK type: object CreateShopModel: properties: clientId: type: string format: uuid clientSecret: type: string type: object UpdateShopModel: allOf: - $ref: '#/components/schemas/BaseIdModel' WmsMoneyModel: properties: value: type: string currency: type: string type: object MoneyVO: properties: value: type: integer currency: type: string type: object PersonVO: properties: firstName: type: string nullable: true lastName: type: string nullable: true email: type: string nullable: true phoneCountryCode: type: string nullable: true phoneNumber: type: string nullable: true type: object BaseIdModel: properties: id: type: string format: uuid type: object PaginationModel: properties: pageSize: type: integer totalCount: type: integer currentPage: type: integer previousPage: type: integer nullable: true nextPage: type: integer nullable: true type: object DocumentIncomingListingFiltersRequestModel: properties: number: type: string nullable: true remarks: type: string nullable: true deliveryDate: type: string format: datetime nullable: true declared: type: boolean nullable: true labelingByRosa: type: boolean page: type: integer pageSize: type: integer type: object DocumentIncomingPositionStockCorrectionModel: properties: positionId: description: 'Identyfikator liczbowy pozycji' type: integer amount: description: 'Otrzymana ilość' type: integer type: object DocumentIncomingRequestModel: properties: id: type: string nullable: true number: type: string nullable: true remarks: type: string nullable: true deliveryDate: type: string format: datetime nullable: true positions: type: array items: $ref: '#/components/schemas/DocumentIncomingRequestPositionModel' type: object DocumentIncomingRequestPositionModel: properties: productIdentifier: type: integer quantity: type: integer expiration: type: string format: datetime nullable: true series: type: string nullable: true barcode: type: string nullable: true ean: type: string nullable: true type: object DocumentIncomingStockCorrectionModel: properties: positions: description: 'Maksymalnie 300 rekordów' type: array items: $ref: '#/components/schemas/DocumentIncomingPositionStockCorrectionModel' type: object DocumentIncomingListingResponseModel: properties: id: type: string number: type: string positions: type: array items: $ref: '#/components/schemas/DocumentIncomingPositionResponseModel' remarks: type: string nullable: true deliveryDate: type: string format: datetime nullable: true declaredAt: type: string format: datetime nullable: true labelingByRosa: type: boolean type: object DocumentIncomingPositionResponseModel: properties: productIdentifier: type: integer quantity: type: integer expiration: type: string format: datetime nullable: true series: type: string nullable: true barcode: type: string nullable: true ean: type: string nullable: true name: type: string nullable: true receivedQuantity: type: integer nullable: true type: object DocumentIncomingResponseModel: properties: id: type: string number: type: string positions: type: array items: $ref: '#/components/schemas/DocumentIncomingPositionResponseModel' remarks: type: string nullable: true deliveryDate: type: string format: datetime nullable: true declaredAt: type: string format: datetime nullable: true labelingByRosa: type: boolean type: object WmsIncomingListRequestModel: properties: currentPage: type: integer pageSize: type: integer updatedAt: type: string format: 'yyyy-MM-dd HH:mm:ss' nullable: true generatedId: type: integer nullable: true isHidden: type: boolean nullable: true type: object WmsIncomingPositionListRequestModel: properties: currentPage: type: integer pageSize: type: integer updatedAt: type: string format: 'yyyy-MM-dd HH:mm:ss' nullable: true inBuffer: type: boolean nullable: true incomingDocumentId: type: integer nullable: true type: object WmsIncomingPositionResponseModel: properties: id: description: 'Identyfikator uuid pozycji' type: string format: uuid generatedId: description: 'Identyfikator liczbowy pozycji' type: integer incomingDocumentId: description: 'Identyfikator liczbowy dokumentu' type: integer productId: description: 'Identyfikator liczbowy produktu' type: integer productName: description: 'Nazwa produktu' type: string supplierId: description: 'Identyfikator liczbowy dostawcy, zawsze 0' type: integer supplierName: description: 'Nazwa dostawcy, nazwa kodowa sklepu' type: string example: fulfillment number: description: 'Numer pozycji na dokumencie' type: integer bloz07: description: 'Numer bloz07 produktu, jeżeli brak to 0' type: integer quantityPurchased: description: 'Zakupiona ilość bazowa' type: integer medicationAmount: description: 'Sprzedana ilość lekospisowa' type: integer amountAvailable: description: 'Dostępna ilość' type: integer netMedicationPurchasePrice: description: 'Cena lekospisowa zakupu netto, zawsze null' type: 'null' nullable: true grossMedicationPurchasePrice: description: 'Cena lekospisowa zakupu brutto, zawsze null' type: 'null' nullable: true vat: description: 'Stawka VAT, zawsze null' type: 'null' nullable: true expirationDate: description: 'Data ważności dostawy, jeżeli brak to null' type: string format: Y-m-d nullable: true series: description: 'Seria dostawy, jeżeli brak to null' type: string nullable: true supplierBarcode: description: 'Kod kreskowy produktu, jeżeli brak to null' type: string nullable: true measureUnit: description: 'Jednostka miary produktu, jeżeli brak to null' type: string nullable: true inBuffor: description: 'Wskaźnik czy dokument jest w buforze' type: boolean acceptDate: description: 'Data zatwierdzenia, zawsze null' type: 'null' nullable: true issueDate: description: 'Data wystawienia, zawsze null' type: 'null' nullable: true saleDate: description: 'Data sprzedaży, zawsze null' type: 'null' nullable: true ean: description: 'Kod ean produktu, jeżeli brak to null' type: string nullable: true updatedAt: description: 'Data i godzina aktualizacji dokumentu' type: string format: 'Y-m-d\TH:i:sP' stoppedAmount: description: 'Wstrzymana ilość, zawsze null' type: 'null' nullable: true stoppedType: description: 'Rodzaj wstrzymania, zawsze null' type: 'null' nullable: true comments: description: 'Uwagi do pozycji, zawsze null' type: 'null' nullable: true netPurchasePrice: description: 'Cena zakupu netto, zawsze null' type: 'null' nullable: true grossPurchasePrice: description: 'Cena zakupu brutto, zawsze null' type: 'null' nullable: true isDeleted: description: 'Wskaźnik czy pozycja jest usunięta' type: boolean source: description: 'Nazwa kodowa sklepu z którego pochodzi dokument' type: string deliveryDate: description: 'Data dostawy' type: string format: Y-m-d type: object WmsIncomingResponseModel: properties: id: description: 'Identyfikator uuid dokumentu' type: string format: uuid generatedId: description: 'Identyfikator liczbowy dokumentu' type: integer documentDefinitionId: description: 'Identyfikator liczbowy rodzaju dokumentu' type: integer supplierId: description: 'Identyfikator liczbowy dostawcy, zawsze 0' type: integer supplierName: description: 'Nazwa dostawcy, nazwa kodowa sklepu' type: string example: fulfillment inBuffer: description: 'Wskaźnik czy dokument jest w buforze' type: boolean issueDate: description: 'Data wystawienia, zawsze null' type: 'null' nullable: true saleDate: description: 'Data sprzedaży, zawsze null' type: 'null' nullable: true acceptDate: description: 'Data zatwierdzenia, zawsze null' type: 'null' nullable: true number: description: 'Numer dokumentu' type: string totalGross: description: 'Łączna wartość brutto dokumentu, zawsze null' type: 'null' nullable: true comments: description: 'Uwagi do dokumentu' type: string isHidden: description: 'Wskaźnik czy dokument jest usunięty' type: boolean updatedAt: description: 'Data i godzina aktualizacji dokumentu' type: string format: 'Y-m-d\TH:i:sP' payDate: description: 'Termin płatności dla dokumentów kredytowych, zawsze null' type: 'null' nullable: true source: description: 'Nazwa kodowa sklepu z którego pochodzi dokument' type: string deliveryDate: description: 'Data dostawy' type: string format: Y-m-d type: object CreateOutgoingCorrectionRequestModel: properties: outgoingId: type: string positionRootIds: type: array items: type: string correctToZero: type: boolean type: object UpdateOutgoingCorrectionPositionRequestModel: properties: id: type: string title: type: string amount: type: integer vat: type: integer singleNet: $ref: '#/components/schemas/MoneyModel' singleGross: $ref: '#/components/schemas/MoneyModel' type: object UpdateOutgoingCorrectionRequestModel: properties: issueDate: type: string paymentMethodExternalId: type: string nullable: true receiver: type: string nullable: true correctionReason: type: string correctionIssue: type: string nullable: true type: object AcceptOutgoingCorrectionResponseModel: properties: success: type: boolean id: type: string documentNumber: type: string nullable: true errors: type: array items: type: string type: object CreateOutgoingCorrectionResponseModel: properties: id: type: string type: object DeleteOutgoingCorrectionPositionResponseModel: properties: id: type: string outgoingId: type: string type: object OutgoingCorrectionPositionDataResponseModel: properties: amount: type: integer vat: type: integer singleNet: $ref: '#/components/schemas/MoneyModel' singleGross: $ref: '#/components/schemas/MoneyModel' net: $ref: '#/components/schemas/MoneyModel' gross: $ref: '#/components/schemas/MoneyModel' type: object OutgoingCorrectionPositionResponseModel: properties: id: type: string generatedIdentifier: type: integer type: type: string number: type: integer title: type: string productGeneratedIdentifier: type: integer nullable: true unit: type: string nullable: true series: type: string nullable: true expirationDate: type: string nullable: true dataBefore: $ref: '#/components/schemas/OutgoingCorrectionPositionDataResponseModel' dataAfter: $ref: '#/components/schemas/OutgoingCorrectionPositionDataResponseModel' type: object OutgoingCorrectionPositionStockResponseModel: properties: positionId: type: string incomingPositionId: type: string min: type: integer max: type: integer received: type: integer type: object OutgoingCorrectionResponseModel: properties: id: type: string parentId: type: string generatedIdentifier: type: integer parentGeneratedIdentifier: type: integer documentNumber: type: string nullable: true parentDocumentNumber: type: string documentState: type: string isCorrection: type: boolean correctionReason: type: string correctionIssue: type: string nullable: true receiver: type: string nullable: true documentTypeName: type: string paymentMethodExternalId: type: string nullable: true paymentMethodName: type: string nullable: true issueDate: type: string nullable: true acceptedAt: type: string nullable: true createdAt: type: string fullPriceNet: $ref: '#/components/schemas/MoneyModel' fullPriceGross: $ref: '#/components/schemas/MoneyModel' positions: type: array items: $ref: '#/components/schemas/OutgoingPositionResponseModel' rates: type: array items: $ref: '#/components/schemas/OutgoingRateResponseModel' related: type: array items: $ref: '#/components/schemas/OutgoingRelatedResponseModel' type: object UpdateOutgoingCorrectionPositionResponseModel: properties: id: type: string outgoingId: type: string type: object UpdateOutgoingCorrectionResponseModel: properties: id: type: string type: object DocumentOutgoingIssueListingRequestModel: properties: orderIdentifier: type: string nullable: true documentNumber: type: string nullable: true minDateCreated: type: string format: datetime nullable: true maxDateCreated: type: string format: datetime nullable: true page: type: integer pageSize: type: integer type: object OutgoingIssueRequestModel: { } OutgoingIssueResolveRequestModel: properties: issues: type: array items: $ref: '#/components/schemas/OutgoingIssueRequestModel' type: object OutgoingListingFilterRequestModel: properties: documentNumber: type: string nullable: true documentState: oneOf: - $ref: '#/components/schemas/DocumentState' nullable: true orderIdentifier: type: string nullable: true minIssueDate: type: string format: datetime nullable: true maxIssueDate: type: string format: datetime nullable: true minAcceptedAt: type: string format: datetime nullable: true maxAcceptedAt: type: string format: datetime nullable: true minPaymentAt: type: string format: datetime nullable: true maxPaymentAt: type: string format: datetime nullable: true minFullPriceNet: type: integer nullable: true maxFullPriceNet: type: integer nullable: true minFullPriceGross: type: integer nullable: true maxFullPriceGross: type: integer nullable: true purchaserName: type: string nullable: true currentPage: type: integer pageSize: type: integer type: object OutgoingContractorResponseModel: properties: name: type: string address: $ref: '#/components/schemas/AddressModel' phone: type: string nullable: true email: type: string nullable: true fax: type: string nullable: true pesel: type: string nullable: true nip: type: string nullable: true regon: type: string nullable: true type: object OutgoingListingResponseModel: properties: id: type: string generatedIdentifier: type: integer documentState: type: string documentNumber: type: string nullable: true orderIdentifier: type: string nullable: true issueDate: type: string nullable: true acceptedAt: type: string nullable: true documentTypeName: type: string isCorrection: type: boolean purchaserName: type: string nullable: true purchaserPhone: type: string nullable: true purchaserEmail: type: string nullable: true fullPriceNet: $ref: '#/components/schemas/MoneyModel' fullPriceGross: $ref: '#/components/schemas/MoneyModel' type: object OutgoingPositionResponseModel: properties: id: type: string generatedIdentifier: type: integer type: type: string number: type: integer title: type: string productGeneratedIdentifier: type: integer nullable: true unit: type: string nullable: true series: type: string nullable: true expirationDate: type: string nullable: true amount: type: integer vat: type: integer singleNet: $ref: '#/components/schemas/MoneyModel' singleGross: $ref: '#/components/schemas/MoneyModel' net: $ref: '#/components/schemas/MoneyModel' gross: $ref: '#/components/schemas/MoneyModel' type: object OutgoingRateResponseModel: properties: vat: type: integer net: $ref: '#/components/schemas/MoneyModel' gross: $ref: '#/components/schemas/MoneyModel' vatValue: $ref: '#/components/schemas/MoneyModel' type: object OutgoingRelatedResponseModel: properties: id: type: string generatedIdentifier: type: integer documentTypeName: type: string isCorrection: type: boolean documentNumber: type: string acceptedAt: type: string type: object OutgoingResponseModel: properties: id: type: string generatedIdentifier: type: integer documentNumber: type: string nullable: true documentState: type: string isCorrection: type: boolean documentTypeName: type: string issueDate: type: string nullable: true acceptedAt: type: string nullable: true createdAt: type: string orderIdentifier: type: string nullable: true paymentMethodExternalId: type: string nullable: true paymentMethodName: type: string nullable: true fullPriceNet: $ref: '#/components/schemas/MoneyModel' fullPriceGross: $ref: '#/components/schemas/MoneyModel' seller: $ref: '#/components/schemas/OutgoingSellerResponseModel' contractor: $ref: '#/components/schemas/OutgoingContractorResponseModel' positions: type: array items: $ref: '#/components/schemas/OutgoingPositionResponseModel' rates: type: array items: $ref: '#/components/schemas/OutgoingRateResponseModel' related: type: array items: $ref: '#/components/schemas/OutgoingRelatedResponseModel' type: object OutgoingSellerResponseModel: properties: name: type: string address: $ref: '#/components/schemas/AddressModel' companyName: type: string nullable: true companyAddress: $ref: '#/components/schemas/AddressModel' bank: $ref: '#/components/schemas/BankModel' nip: type: string email: type: string nullable: true phone: type: string nullable: true regon: type: string nullable: true fax: type: string nullable: true permit: type: string nullable: true type: object WmsOutgoingListRequestModel: properties: currentPage: type: integer pageSize: type: integer updatedAt: type: string format: 'yyyy-MM-dd HH:mm:ss' nullable: true documentTypeId: type: integer nullable: true type: object WmsOutgoingPositionListRequestModel: properties: currentPage: type: integer pageSize: type: integer updatedAt: type: string format: 'yyyy-MM-dd HH:mm:ss' nullable: true maxUpdatedAt: type: string format: 'yyyy-MM-dd HH:mm:ss' nullable: true documentTypeId: type: integer nullable: true type: object WmsOutgoingPositionResponseModel: properties: id: description: 'Identyfikator uuid pozycji' type: string format: uuid generatedId: description: 'Identyfikator liczbowy pozycji' type: integer documentTypeId: description: 'Identyfikator liczbowy rodzaju dokumentu' type: integer outgoingDocumentId: description: 'Identyfikator liczbowy dokumentu' type: integer productId: description: 'Identyfikator liczbowy produktu, jeżeli brak to 0' type: integer productName: description: 'Nazwa produktu' type: string amount: description: 'Sprzedana ilość' type: integer number: description: 'Numer pozycji na dokumencie' type: integer bloz07: description: 'Numer bloz07 produktu, jeżeli brak to 0' type: integer priceNet: $ref: '#/components/schemas/WmsMoneyModel' priceGross: $ref: '#/components/schemas/WmsMoneyModel' purchaseNetPrice: description: 'Pojedyncza cena zakupu netto, zawsze null' type: 'null' nullable: true productZeroPrice: $ref: '#/components/schemas/WmsMoneyModel' saleDate: description: 'Data sprzedaży, dla rezerwacji data utworzenia dokumentu' type: string format: Y-m-d vat: description: 'Stawka VAT, wartość numeryczna z przedziału 0-100' type: string example: '23' updatedAt: description: 'Data i godzina aktualizacji pozycji' type: string format: 'Y-m-d\TH:i:sP' isDeleted: description: 'Wskaźnik czy pozycja jest usunięta' type: boolean inBuffer: description: 'Wskaźnik czy pozycja należy do dokumentu, który jest rezerwacją' type: boolean wsfis: description: 'Wskaźnik fiskalizacji, zawsze pusta wartość' type: string example: '' wskor: description: 'Wskaźnik czy pozycja była korygowana' type: integer enum: - 0 - 1 idspk: description: 'Identyfikator liczbowy pozycji korygowanej, jeżeli brak to 0' type: integer idkzak: description: 'Identyfikator liczbowy pozycji zakupu, jeżeli brak to 0' type: integer nrkln: description: 'Identyfikator liczbowy dokumentu' type: integer orderId: description: 'Identyfikator liczbowy zamówienia, jeżeli brak to 0' type: integer datsp: description: 'Data utworzenia zamówienia, jeżeli brak to ta sama wartość co w polu saleDate' type: string format: Y-m-d source: description: 'Nazwa kodowa sklepu z którego pochodzi dokument' type: string example: fulfullment allegroFee: description: 'Prowizja allegro, jeżeli brak to 0' type: string allegroPrice: description: 'Cena allegro, jeżeli brak to 0' type: string isAllegroSmart: description: 'Wskaźnik czy allegro smart' type: string enum: - '0' - '1' allegroOfferID: description: 'Identyfikator oferty allegro, jeżeli brak to 0' type: string baseLinkerOrderSource: description: 'Nazwa sklepu z którego pochodzi zamówienie baselinkera' type: string example: empik nullable: true baseLinkerOrderSourceAccount: description: 'Nazwa konta baselinker z którego pochodzi zamówienie' type: string nullable: true type: object WmsOutgoingResponseModel: properties: id: description: 'Identyfikator uuid dokumentu' type: string format: uuid generatedId: description: 'Identyfikator liczbowy dokumentu' type: integer documentTypeId: description: 'Identyfikator liczbowy rodzaju dokumentu' type: integer issueDate: description: 'Data wystawienia, dla rezerwacji data utworzenia dokumentu' type: string format: Y-m-d saleDate: description: 'Data sprzedaży, dla rezerwacji data utworzenia dokumentu' type: string format: Y-m-d documentNumber: description: 'Numer dokumentu, dla rezerwacji null' type: string nullable: true paymentDate: description: 'Termin płatności dla dokumentów kredytowych, zawsze null' type: 'null' nullable: true leftToPayGross: description: 'Kwota do zapłaty dla dokumentów kredytowych, zawsze null' type: 'null' nullable: true totalGross: $ref: '#/components/schemas/WmsMoneyModel' isCreditDocument: description: 'Wskaźnik czy dokument kredytowy, zawsze false' type: boolean paymentFormId: description: 'Identyfikator liczbowy metody płatności, jeżeli brak to 0' type: integer updatedAt: description: 'Data i godzina aktualizacji dokumentu' type: string format: 'Y-m-d\TH:i:sP' isDeleted: description: 'Wskaźnik czy dokument jest usunięty' type: boolean inBuffer: description: 'Wskaźnik czy dokument jest rezerwacją' type: boolean source: description: 'Nazwa kodowa sklepu z którego pochodzi dokument' type: string example: fulfullment type: object DocumentState: description: 'Possible document states' type: string enum: - draft - warehouse_reserved - warehouse_confirmed - accepted - cancelled FilterListingDTO: properties: number: type: string nullable: true remarks: type: string nullable: true deliveryDate: type: string format: datetime nullable: true declared: type: boolean nullable: true labelingByRosa: type: boolean type: object OrderDTO: properties: id: type: string shopSymbol: type: string orderStatus: type: string format: uuid createdAt: type: string updatedAt: type: string clientComment: type: string internalComment: type: string person: $ref: '#/components/schemas/PersonVO' shipment: $ref: '#/components/schemas/ShipmentDTO' payment: $ref: '#/components/schemas/PaymentDTO' invoiceData: oneOf: - $ref: '#/components/schemas/PreInvoiceDataDTO' nullable: true itemsCost: $ref: '#/components/schemas/MoneyVO' allCost: $ref: '#/components/schemas/MoneyVO' type: object PaymentDTO: properties: id: type: string format: uuid status: type: string enum: - waiting - finished_correct - finished_incorrect - canceled - rejected cost: $ref: '#/components/schemas/MoneyVO' provisionCost: $ref: '#/components/schemas/MoneyVO' paymentAt: type: string isCashOnDelivery: type: boolean isPaid: type: boolean type: type: string enum: - tpay_blik - tpay_google_pay - tpay_fast_transfer_online - paypo - basic_transfer - cash_out_delivery - tpay_apple_pay nullable: true type: object PreInvoiceDataDTO: properties: type: type: string enum: - person - company - foundation address: type: InnovationSoftware\Application\Data\ValueObject\AddressVO name: type: string nullable: true nip: type: string nullable: true pesel: type: string nullable: true regon: type: string nullable: true patientAddress: type: InnovationSoftware\Application\Data\ValueObject\AddressVO nullable: true patientFirstName: type: string nullable: true patientLastName: type: string nullable: true firstName: type: string nullable: true lastName: type: string nullable: true type: object ShipmentDTO: properties: id: type: string format: uuid name: type: string cost: $ref: '#/components/schemas/MoneyVO' address: type: InnovationSoftware\Application\Data\ValueObject\AddressVO pointId: type: string nullable: true pointName: type: string nullable: true remoteId: type: string nullable: true type: object OrdersExistRequestModel: properties: orderIdentifiers: type: array items: type: string type: object SynchronizeOrderShipmentMethodRequestModel: properties: id: type: string name: type: string isActive: type: boolean isProblematic: type: boolean generatedIdentifier: type: integer nullable: true type: object SynchronizeOrderShipmentMethodsRequestModel: properties: shipmentMethods: type: array items: $ref: '#/components/schemas/SynchronizeOrderShipmentMethodRequestModel' type: object SynchronizeOrderStatusRequestModel: properties: id: type: string name: type: string isActive: type: boolean generatedIdentifier: type: integer nullable: true defaultAction: type: string nullable: true type: object SynchronizeOrderStatusesRequestModel: properties: statuses: type: array items: $ref: '#/components/schemas/SynchronizeOrderStatusRequestModel' type: object WmsAllegroDetailsModel: properties: deliveryId: type: string nullable: true deliveryName: type: string nullable: true outerOrderId: type: string nullable: true buyerLogin: type: string nullable: true deliveryAddressCompanyName: type: string nullable: true labelCount: type: string nullable: true calculatedFees: nullable: true oneOf: - $ref: '#/components/schemas/AllegroDetailsCalculatedFeesModel' isSmart: type: boolean nullable: true allegroOfferIds: description: 'string> $allegroOfferIds' type: array items: type: string type: object AllegroDetailsCalculatedFeesModel: type: array items: properties: feePreviews: $ref: '#/components/schemas/AllegroDetailsItemFeeModel' reconciliations: $ref: '#/components/schemas/AllegroDetailsItemAllegroPriceModel' type: object AllegroDetailsItemAllegroPriceModel: properties: idSoft: type: integer singlePrice: type: string amount: type: integer type: object AllegroDetailsItemFeeModel: properties: idSoft: type: integer singlePrice: type: string amount: type: integer type: object WmsBaseLinkerDetailsModel: properties: orderSource: type: string nullable: true outerOrderId: type: string nullable: true orderSourceAccount: type: string nullable: true type: object WmsFulfillmentDetailsModel: properties: orderItemReturnsMap: description: bool> type: array items: type: boolean type: object WmsOrderAllegroDeliveryModel: properties: deliveryID: description: 'Identyfikator dostawy z Allegro' type: string format: uuid nullable: true deliveryName: description: 'Nazwa dostawy z Allegro' type: string nullable: true type: object WmsOrderItemModel: properties: ID: description: 'Identyfikator pozycji w formie liczbowej' type: string orderID: description: 'Identyfikator zamówienia w formie liczbowej' type: string productID: description: 'Identyfikator produktu w formie liczbowej' type: string nullable: true allegroOfferID: description: 'Id oferty na allegro' type: string quantity: description: 'Ilość zamówiona' type: string productValue: description: 'Cena jednostkowa' type: string price: description: 'Łączna cena pozycji' type: string productName: description: 'Nazwa produktu' type: string productZeroPrice: description: 'Cena zero produktu w momencie sprzedaży' type: string tax: description: 'Stawka vat (ZW dla zwolnionego)' type: string productIndex: description: 'Liczba porządkowa pozycji na zamówieniu w RosaSoft' type: string ean: description: 'Kod EAN produktu' type: string nullable: true producerName: description: 'Nazwa producenta' type: string nullable: true barcode: description: 'Kod kreskowy produktu' type: string nullable: true gratis: description: 'Wskaźnik czy produkt jest gratisem' type: string enum: - '0' - '1' isDeleted: description: 'Wskaźnik czy pozycja jest usunięta' type: string enum: - '0' - '1' allegroPrice: description: 'Prowizja allegro jednostkowa' type: string isReturn: description: 'Czy pozycja jest zwrotem?' type: boolean type: object WmsGetOrderRequestModel: properties: currentPage: type: integer pageSize: type: integer orderID: type: integer nullable: true updatedAt: type: DateTimeImmutable nullable: true type: object WmsOrderListResponseModel: properties: orderID: description: 'Identyfikator zamówienia w formie liczbowej' type: string datsp: description: 'Data złożenia zamówienia' type: string orderDate: description: 'Data i czas złożenia zamówienia' type: string paymentType: description: 'Nazwa metody płatności' type: string deliveryType: description: 'Nazwa metody dostawy' type: string deliveryPrice: description: 'Koszt dostawy' type: string primaryBasketPrice: description: 'Wartość pozycji zamówienia w walucie pierwotnej, bez uwzględnienia kosztu dostawy' type: string basketPrice: description: 'Wartość pozycji zamówienia, bez uwzględnienia kosztu dostawy' type: string nullable: true orderPrice: description: 'Całkowita wartość zamówienia (dostawa + pozycje)' type: string nullable: true name: description: 'Imię zamawiającego' type: string surname: description: 'Nazwisko zamawiającego' type: string address: description: 'Ulica zamawiającego' type: string nullable: true homeno: description: 'Numer domu zamawiającego' type: string nullable: true placeno: description: 'Numer mieszkania zamawiającego' type: string nullable: true city: description: 'Miasto zamawiającego' type: string nullable: true postCode: description: 'Kod pocztowy zamawiającego' type: string nullable: true countryCode: description: 'Kod kraju dostawy' type: string nullable: true phone: description: 'Numer telefonu zamawiającego' type: string nullable: true name_w: description: 'Imię zamawiającego' type: string nullable: true surname_w: description: 'Nazwisko zamawiającego' type: string nullable: true address_w: description: 'Ulica zamawiającego' type: string nullable: true placeno_w: description: 'Numer mieszkania zamawiającego' type: string nullable: true homeno_w: description: 'Numer domu zamawiającego' type: string nullable: true city_w: description: 'Miasto zamawiającego' type: string nullable: true postCode_w: description: 'Kod pocztowy zamawiającego' type: string nullable: true phone_w: description: 'Numer telefonu zamawiającego' type: string nullable: true userID: description: 'Identyfikator użytkownika (zawsze NULL)' nullable: true statusID: description: 'Identyfikator statusu zamówienia w formie liczbowej' type: string company: description: 'Nazwa firmy z danych do wysyłki' type: string nullable: true info: description: 'Uwagi wewnętrzne do zamówienia' type: string nullable: true need-invoice: description: 'Znacznik czy potrzebna faktura' type: string enum: - '0' - '1' - null nullable: true email: description: 'Adres email zamawiającego' type: string nullable: true payStatus: description: 'Znacznik opłacenia zamówienia' type: string enum: - '0' - '1' primaryCurrency: description: 'Waluta pierwotna' type: string currency: description: 'Waluta (zawsze PLN)' type: string currencyRatio: description: 'Kurs waluty (zawsze NULL)' nullable: true note: description: 'Uwagi klienta' type: string nullable: true deliveryID: description: 'Identyfikator dostawy w formie liczbowej' type: string paymentID: description: 'Identyfikator płatności w formie liczbowej' type: string company_w: description: 'Nazwa firmy z danych do wysyłki' type: string nullable: true outerOrderID: description: 'Identyfikator zamówienia z zewnętrznego serwisu' type: string nullable: true source: description: 'Nazwa kodowa sklepu' type: string nullable: true baseLinkerOrderSource: description: 'Nazwa sklepu źródłowego' type: string nullable: true baseLinkerOrderSourceAccount: description: 'Nazwa konta' type: string nullable: true shopOrderId: description: 'Numer zamówienia w CMS' type: string nullable: true isAllegro: description: 'Znacznik czy zamówienie pochodzi z Allegro' type: string items: type: array items: $ref: '#/components/schemas/WmsOrderItemModel' parcellocker: description: 'Kod punktu odbioru' type: string nullable: true allegroDelivery: $ref: '#/components/schemas/WmsOrderAllegroDeliveryModel' oid: description: 'Identyfikator zamówienia w formie liczbowej' type: string nrkln: description: 'Identyfikator zamówienia w formie liczbowej' type: string labelCount: description: 'Ilość etykiet' type: string nullable: true isAllegroSmart: description: 'Czy Allegro Smart' type: string type: object WmsSetOrderWaybillNumberRequestModel: properties: orderId: type: integer deliveryNumber: type: string type: object WmsNotAssignedProductRequestModel: properties: productId: description: 'Identyfikator liczbowy produktu' type: integer amount: description: 'Brakująca ilość' type: integer type: object WmsUpdateOrderDocumentStatusRequestModel: properties: orderId: description: 'Identyfikator liczbowy zamówienia' type: integer assignmentStatus: description: 'Status przypisania' type: integer enum: - 0 - 1 reasonNonAssignment: description: 'Powód nieprzypisania zamówienia, jeżeli brak to null' type: string nullable: true productsNotAssignment: description: 'Lista nieprzypisanych produktów' type: array items: $ref: '#/components/schemas/WmsNotAssignedProductRequestModel' type: object WmsUpdateOrdersDocumentStatusRequestModel: properties: orders: description: 'Maksymalnie 300 rekordów' type: array items: $ref: '#/components/schemas/WmsUpdateOrderDocumentStatusRequestModel' type: object WmsUpdateOrderDocumentStatusResponseModel: properties: orderId: type: string documentState: $ref: '#/components/schemas/DocumentState' isPaid: type: boolean type: object WmsUpdateOrderStatusRequestModel: properties: statusId: description: 'Identyfikator liczbowy statusu zamówienia' type: integer orderIds: description: 'Lista identyfikatorów liczbowych poszczególnych zamówień' type: array items: type: integer type: object ProducerListingFilterRequestModel: properties: currentPage: type: integer pageSize: type: integer type: object ProducerUpsertRequestModel: properties: id: type: string nullable: true name: type: string address: $ref: '#/components/schemas/AddressModel' distributorName: type: string nullable: true distributorAddress: $ref: '#/components/schemas/AddressModel' entityResponsibleName: type: string nullable: true entityResponsibleAddress: $ref: '#/components/schemas/AddressModel' email: type: string nullable: true phone: type: string nullable: true additionalInformation: type: string nullable: true type: object ProducerListingResponseModel: properties: id: type: string generatedIdentifier: type: integer name: type: string type: object ProducerSingleResponseModel: properties: id: type: string generatedIdentifier: type: integer name: type: string address: $ref: '#/components/schemas/AddressModel' distributorName: type: string nullable: true distributorAddress: $ref: '#/components/schemas/AddressModel' entityResponsibleName: type: string nullable: true entityResponsibleAddress: $ref: '#/components/schemas/AddressModel' email: type: string nullable: true phone: type: string nullable: true additionalInformation: type: string nullable: true type: object ProducerUpsertResponseModel: properties: id: type: string generatedIdentifier: type: integer type: object CreateProductRequestModel: properties: name: type: string ean: type: string barcode: type: string unit: type: string weight: type: number format: float package: type: string capacity: type: string producerGeneratedIdentifier: type: integer type: object ProductSearchModel: properties: query: type: string type: object UpdateProductRequestModel: properties: generatedIdentifier: type: integer producerGeneratedIdentifier: type: integer name: type: string type: object CreateProductModel: properties: generatedIdentifier: type: integer type: object ProductSearchResultModel: properties: generatedIdentifier: type: integer name: type: string type: object UpdateProductModel: properties: generatedIdentifier: type: integer type: object ProductStockAmountListingFilterRequestModel: properties: currentPage: type: integer pageSize: type: integer generatedIdentifier: type: integer nullable: true name: type: string nullable: true type: object ProductStockAmountResponseModel: properties: generatedIdentifier: type: integer name: type: string general: type: integer reserved: type: integer readyToSell: type: integer type: object WmsBaseInformationModel: properties: tradeName: description: 'Nazwa handlowa produktu' type: string producerId: description: 'Identyfikator liczbowy producenta, jeżeli brak to 0' type: integer producerName: description: 'Nazwa producenta, jeżeli brak to null' type: string nullable: true tradeNameUC: description: 'Nazwa handlowa produktu (uppercase)' type: string isHidden: description: 'Wskaźnik czy produkt jest ukryty' type: boolean bloz07: description: 'Numer bloz07 produktu, zawsze null' type: 'null' nullable: true ean: description: 'Numer ean produktu, jeżeli brak to null' type: string nullable: true barcode: description: 'Kod kreskowy produktu, jeżeli brak to null' type: string nullable: true gratis: description: 'Wskaźnik czy produkt jest gratisem' type: string enum: - '0' - '1' type: object WmsProductPriceModel: properties: taxRate: description: 'Stawka VAT, jeżeli brak to null' type: string example: '23' nullable: true type: object WmsGetProductRequestModel: properties: currentPage: type: integer pageSize: type: integer updatedAt: type: string format: 'yyyy-MM-dd HH:mm:ss' nullable: true type: object WmsProductListResponseModel: properties: id: description: 'Identyfikator uuid produktu' type: string format: uuid generatedId: description: 'Identyfikator liczbowy produktu' type: integer type: description: 'Rodzaj produktu' type: string enum: - product - service baseInformation: $ref: '#/components/schemas/WmsBaseInformationModel' price: $ref: '#/components/schemas/WmsProductPriceModel' registration: description: 'Informacje o rejestracji produktu, zawsze null' type: 'null' nullable: true source: description: 'Nazwa kodowa sklepu z którego pochodzi produkt' type: string type: object WmsUpdateProductStockAmountProductRequestModel: properties: productId: description: 'Identyfikator liczbowy produktu' type: integer amount: description: 'Ilość do sprzedaży' type: integer type: object WmsUpdateProductStockAmountRequestModel: properties: products: description: 'Maksymalnie 300 rekordów' type: array items: $ref: '#/components/schemas/WmsUpdateProductStockAmountProductRequestModel' timestamp: description: 'Data pobrania dokumentów zakupowych' type: string pattern: '(\d{4})-(\d{2})-(\d{2}) (\d{2}):(\d{2}):(\d{2})' example: '2023-01-01 01:01:01' type: object securitySchemes: cmsOAuth2: type: oauth2 flows: clientCredentials: tokenUrl: /token scopes: - CLIENT cmsOAuth2Bearer: type: http scheme: bearer wmsApiKey: type: apiKey name: X-AUTH-TOKEN in: header cmsApiKey: type: apiKey name: X-AUTH-TOKEN in: header security: - wmsApiKey: [] cmsApiKey: [] cmsOAuth2: - CLIENT cmsOAuth2Bearer: [] tags: - name: 'Order - Payment' description: 'Order - Payment' - name: 'Document - Incoming' description: 'Document - Incoming' - name: 'Document - Outgoing' description: 'Document - Outgoing' - name: 'Document - Outgoing - Issue' description: 'Document - Outgoing - Issue' - name: Order description: Order - name: 'Order - ShipmentMethod' description: 'Order - ShipmentMethod' - name: 'Order - Status' description: 'Order - Status' - name: 'Warehouse - Producer' description: 'Warehouse - Producer' - name: 'Warehouse - Product' description: 'Warehouse - Product'