Extended Offer endpoints

This commit is contained in:
RaggedStaff
2024-05-10 07:20:18 +01:00
parent 05411646db
commit ee25ad8f86
+4
View File
@@ -410,6 +410,8 @@ paths:
"@type": dfc-b:Offer "@type": dfc-b:Offer
dfc-b:hasPrice: 19.99 dfc-b:hasPrice: 19.99
dfc-b:stockLimitation: 5 dfc-b:stockLimitation: 5
dfc-b:discount: 2.95
dfc-b:offersTo: https://test.host/api/dfc/enterprises/10000/customercategory/10005
put: put:
summary: Update Offer summary: Update Offer
parameters: [] parameters: []
@@ -428,6 +430,8 @@ paths:
"@type": dfc-b:Offer "@type": dfc-b:Offer
dfc-b:hasPrice: 9.99 dfc-b:hasPrice: 9.99
dfc-b:stockLimitation: 7 dfc-b:stockLimitation: 7
dfc-b:discount: 1.50
dfc-b:offersTo: https://test.host/api/dfc/enterprises/10000/customercategory/10005
"/api/dfc/persons/{id}": "/api/dfc/persons/{id}":
get: get:
summary: Show person summary: Show person