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