This commit is contained in:
seb
2026-10-17 05:10:25 +02:00
parent 988b4848cf
commit 7197a6ddb7
28 changed files with 1172 additions and 166 deletions

View File

@@ -151,12 +151,18 @@ export function register(app, basePath = '') {
* application/json:
* schema:
* type: object
* required: [type, state]
* required: [carrierId, type, state]
* properties:
* carrierId:
* type: integer
* description: Carrier ID
* type:
* type: string
* state:
* type: string
* trackingCode:
* type: string
* description: Carrier parcel tracking code
* warehouseId:
* type: integer
* description: Optional warehouse ID for stock deduction when state is shipped
@@ -329,8 +335,11 @@ export function register(app, basePath = '') {
* application/json:
* schema:
* type: object
* required: [type, state]
* required: [carrierId, type, state]
* properties:
* carrierId:
* type: integer
* description: Carrier ID
* type:
* type: string
* state:
@@ -338,9 +347,6 @@ export function register(app, basePath = '') {
* trackingCode:
* type: string
* description: Carrier parcel tracking code
* carrier:
* type: string
* description: Carrier name (e.g. DHL, UPS, DPD)
* warehouseId:
* type: integer
* description: Optional warehouse ID for stock deduction when state is shipped
@@ -436,9 +442,9 @@ export function register(app, basePath = '') {
* trackingCode:
* type: string
* description: Carrier parcel tracking code
* carrier:
* type: string
* description: Carrier name (e.g. DHL, UPS, DPD)
* carrierId:
* type: integer
* description: Carrier ID
* warehouseId:
* type: integer
* description: Warehouse ID for stock deduction when transitioning to shipped