Implementation of CalculationProfiles

This commit is contained in:
Nico Kroll 2024-08-21 20:09:51 +02:00
parent 78ff9504f6
commit 41ef94f527
1 changed files with 46 additions and 17 deletions

View File

@ -1,7 +1,7 @@
openapi: 3.0.0
info:
title: "TyrePro-API, Shop"
version: "Version 5"
version: "Version 6"
servers:
- url: "https://musterreifen.com/api/shop"
description: "Development server, customers domain"
@ -426,14 +426,6 @@ paths:
type: "string"
default: null
example: "ebb89e89-8d25-809e-7814-c53b686ae164"
- name: "GuidDeliveryType"
description: "For providing more accurate stock and price information."
in: "query"
required: false
schema:
type: "string"
default: null
example: "ebb89e89-8d25-809e-7814-c53b686ae164"
responses:
200:
description: "successful operation"
@ -482,6 +474,14 @@ paths:
type: "string"
default: null
example: "ebb89e89-8d25-809e-7814-c53b686ae164"
- name: "GuidCalculationProfile"
description: "If provided, the prices will base on this profile."
in: "query"
required: false
schema:
type: "string"
default: null
example: "ebb89e89-8d25-809e-7814-c53b686ae164"
responses:
200:
description: "successful operation"
@ -769,6 +769,14 @@ paths:
type: "string"
default: null
example: "ebb89e89-8d25-809e-7814-c53b686ae164"
- name: "GuidCalculationProfile"
description: "If provided, the prices will base on this profile."
in: "query"
required: false
schema:
type: "string"
default: null
example: "ebb89e89-8d25-809e-7814-c53b686ae164"
responses:
200:
description: "successful operation"
@ -902,6 +910,14 @@ paths:
type: "string"
default: null
example: "ebb89e89-8d25-809e-7814-c53b686ae164"
- name: "GuidCalculationProfile"
description: "If provided, the prices will base on this profile."
in: "query"
required: false
schema:
type: "string"
default: null
example: "ebb89e89-8d25-809e-7814-c53b686ae164"
responses:
200:
description: "successful operation"
@ -1000,6 +1016,14 @@ paths:
type: "string"
default: null
example: "ebb89e89-8d25-809e-7814-c53b686ae164"
- name: "GuidCalculationProfile"
description: "If provided, the prices will base on this profile."
in: "query"
required: false
schema:
type: "string"
default: null
example: "ebb89e89-8d25-809e-7814-c53b686ae164"
responses:
200:
description: "successful operation"
@ -1033,6 +1057,14 @@ paths:
type: "string"
default: null
example: "ebb89e89-8d25-809e-7814-c53b686ae164"
- name: "GuidCalculationProfile"
description: "If provided, the prices will base on this profile."
in: "query"
required: false
schema:
type: "string"
default: null
example: "ebb89e89-8d25-809e-7814-c53b686ae164"
responses:
200:
description: "successful operation"
@ -1341,10 +1373,7 @@ components:
type: "number"
StockType:
type: "string"
EarliestDeliveryDate:
type: "string"
format: "date"
LatestDeliveryDate:
DeliveryDate:
type: "string"
format: "date"
AmountInCart:
@ -1385,6 +1414,7 @@ components:
- "Guid"
- "Designation"
- "SequenceNumber"
- "ProvidedByShopOperator"
properties:
Guid:
type: "string"
@ -1392,6 +1422,8 @@ components:
type: "string"
SequenceNumber:
type: "integer"
ProvidedByShopOperator:
type: "boolean"
Calculation:
type: "object"
required:
@ -1667,10 +1699,7 @@ components:
type: "number"
PriceGross:
type: "number"
EarliestDeliveryDate:
type: "string"
format: "date"
LatestDeliveryDate:
DeliveryDate:
type: "string"
format: "date"
PaymentType: