Implementation of CalculationProfiles
This commit is contained in:
parent
78ff9504f6
commit
41ef94f527
|
|
@ -1,7 +1,7 @@
|
||||||
openapi: 3.0.0
|
openapi: 3.0.0
|
||||||
info:
|
info:
|
||||||
title: "TyrePro-API, Shop"
|
title: "TyrePro-API, Shop"
|
||||||
version: "Version 5"
|
version: "Version 6"
|
||||||
servers:
|
servers:
|
||||||
- url: "https://musterreifen.com/api/shop"
|
- url: "https://musterreifen.com/api/shop"
|
||||||
description: "Development server, customers domain"
|
description: "Development server, customers domain"
|
||||||
|
|
@ -426,14 +426,6 @@ paths:
|
||||||
type: "string"
|
type: "string"
|
||||||
default: null
|
default: null
|
||||||
example: "ebb89e89-8d25-809e-7814-c53b686ae164"
|
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:
|
responses:
|
||||||
200:
|
200:
|
||||||
description: "successful operation"
|
description: "successful operation"
|
||||||
|
|
@ -482,6 +474,14 @@ paths:
|
||||||
type: "string"
|
type: "string"
|
||||||
default: null
|
default: null
|
||||||
example: "ebb89e89-8d25-809e-7814-c53b686ae164"
|
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:
|
responses:
|
||||||
200:
|
200:
|
||||||
description: "successful operation"
|
description: "successful operation"
|
||||||
|
|
@ -769,6 +769,14 @@ paths:
|
||||||
type: "string"
|
type: "string"
|
||||||
default: null
|
default: null
|
||||||
example: "ebb89e89-8d25-809e-7814-c53b686ae164"
|
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:
|
responses:
|
||||||
200:
|
200:
|
||||||
description: "successful operation"
|
description: "successful operation"
|
||||||
|
|
@ -902,6 +910,14 @@ paths:
|
||||||
type: "string"
|
type: "string"
|
||||||
default: null
|
default: null
|
||||||
example: "ebb89e89-8d25-809e-7814-c53b686ae164"
|
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:
|
responses:
|
||||||
200:
|
200:
|
||||||
description: "successful operation"
|
description: "successful operation"
|
||||||
|
|
@ -1000,6 +1016,14 @@ paths:
|
||||||
type: "string"
|
type: "string"
|
||||||
default: null
|
default: null
|
||||||
example: "ebb89e89-8d25-809e-7814-c53b686ae164"
|
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:
|
responses:
|
||||||
200:
|
200:
|
||||||
description: "successful operation"
|
description: "successful operation"
|
||||||
|
|
@ -1033,6 +1057,14 @@ paths:
|
||||||
type: "string"
|
type: "string"
|
||||||
default: null
|
default: null
|
||||||
example: "ebb89e89-8d25-809e-7814-c53b686ae164"
|
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:
|
responses:
|
||||||
200:
|
200:
|
||||||
description: "successful operation"
|
description: "successful operation"
|
||||||
|
|
@ -1341,10 +1373,7 @@ components:
|
||||||
type: "number"
|
type: "number"
|
||||||
StockType:
|
StockType:
|
||||||
type: "string"
|
type: "string"
|
||||||
EarliestDeliveryDate:
|
DeliveryDate:
|
||||||
type: "string"
|
|
||||||
format: "date"
|
|
||||||
LatestDeliveryDate:
|
|
||||||
type: "string"
|
type: "string"
|
||||||
format: "date"
|
format: "date"
|
||||||
AmountInCart:
|
AmountInCart:
|
||||||
|
|
@ -1385,6 +1414,7 @@ components:
|
||||||
- "Guid"
|
- "Guid"
|
||||||
- "Designation"
|
- "Designation"
|
||||||
- "SequenceNumber"
|
- "SequenceNumber"
|
||||||
|
- "ProvidedByShopOperator"
|
||||||
properties:
|
properties:
|
||||||
Guid:
|
Guid:
|
||||||
type: "string"
|
type: "string"
|
||||||
|
|
@ -1392,6 +1422,8 @@ components:
|
||||||
type: "string"
|
type: "string"
|
||||||
SequenceNumber:
|
SequenceNumber:
|
||||||
type: "integer"
|
type: "integer"
|
||||||
|
ProvidedByShopOperator:
|
||||||
|
type: "boolean"
|
||||||
Calculation:
|
Calculation:
|
||||||
type: "object"
|
type: "object"
|
||||||
required:
|
required:
|
||||||
|
|
@ -1667,10 +1699,7 @@ components:
|
||||||
type: "number"
|
type: "number"
|
||||||
PriceGross:
|
PriceGross:
|
||||||
type: "number"
|
type: "number"
|
||||||
EarliestDeliveryDate:
|
DeliveryDate:
|
||||||
type: "string"
|
|
||||||
format: "date"
|
|
||||||
LatestDeliveryDate:
|
|
||||||
type: "string"
|
type: "string"
|
||||||
format: "date"
|
format: "date"
|
||||||
PaymentType:
|
PaymentType:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue