Update openapi.json
This commit is contained in:
@@ -883,6 +883,22 @@
|
||||
},
|
||||
"required": ["exVat", "incVat"]
|
||||
},
|
||||
"ItemMeta": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": { "type": "string" },
|
||||
"brand": { "type": "string" },
|
||||
"category": { "type": "string" },
|
||||
"category2": { "type": "string" },
|
||||
"category3": { "type": "string" },
|
||||
"category4": { "type": "string" },
|
||||
"category5": { "type": "string" },
|
||||
"sellerId": { "type": "string" },
|
||||
"sellerName": { "type": "string" },
|
||||
"image": { "type": "string" },
|
||||
"outlet": { "type": "string", "nullable": true }
|
||||
}
|
||||
},
|
||||
"CartGrain": {
|
||||
"type": "object",
|
||||
"description": "Cart aggregate (actor state)",
|
||||
@@ -939,37 +955,26 @@
|
||||
"itemId": { "type": "integer" },
|
||||
"parentId": { "type": "integer" },
|
||||
"sku": { "type": "string" },
|
||||
"name": { "type": "string" },
|
||||
"price": { "$ref": "#/components/schemas/Price" },
|
||||
"totalPrice": { "$ref": "#/components/schemas/Price" },
|
||||
"totalTax": { "type": "integer", "format": "int64" },
|
||||
"orgPrice": { "$ref": "#/components/schemas/Price" },
|
||||
"stock": {
|
||||
"type": "integer",
|
||||
"description": "0=OutOfStock,1=LowStock,2=InStock"
|
||||
},
|
||||
"qty": { "type": "integer" },
|
||||
"tax": { "type": "integer" },
|
||||
"taxRate": { "type": "integer" },
|
||||
"brand": { "type": "string" },
|
||||
"category": { "type": "string" },
|
||||
"category2": { "type": "string" },
|
||||
"category3": { "type": "string" },
|
||||
"category4": { "type": "string" },
|
||||
"category5": { "type": "string" },
|
||||
"discount": { "$ref": "#/components/schemas/Price" },
|
||||
"disclaimer": { "type": "string" },
|
||||
"sellerId": { "type": "string" },
|
||||
"sellerName": { "type": "string" },
|
||||
"type": { "type": "string", "description": "Article type" },
|
||||
"image": { "type": "string" },
|
||||
"outlet": { "type": "string", "nullable": true },
|
||||
"storeId": { "type": "string", "nullable": true },
|
||||
"meta": { "$ref": "#/components/schemas/ItemMeta" },
|
||||
"saleStatus": { "type": "string" },
|
||||
"marking": { "$ref": "#/components/schemas/Marking" },
|
||||
"subscriptionDetailsId": { "type": "string" },
|
||||
"orderReference": { "type": "string" },
|
||||
"isSubscribed": { "type": "boolean" }
|
||||
},
|
||||
"required": ["id", "sku", "name", "price", "qty", "tax"]
|
||||
"required": ["id", "sku", "price", "qty"]
|
||||
},
|
||||
"CartDelivery": {
|
||||
"type": "object",
|
||||
|
||||
Reference in New Issue
Block a user