changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "currency": {
+ "type": "string"
+ },
+ "discount": {
+ "type": "number"
+ },
+ "error": {
+ "description": "Present when the cart is empty.",
+ "type": "string"
+ },
+ "issues": {
+ "description": "Lines that became unavailable, if any.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "items": {
+ "description": "Re-priced order lines.",
+ "items": {
+ "properties": {
+ "custom": {
+ "type": "boolean"
+ },
+ "price": {
+ "type": "number"
+ },
+ "product": {
+ "type": "string"
+ },
+ "qty": {
+ "type": "integer"
+ },
+ "size": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "note": {
+ "type": "string"
+ },
+ "promo_code": {
+ "type": "string"
+ },
+ "ready_to_prepare": {
+ "description": "True when an address is set and all lines are orderable.",
+ "type": "boolean"
+ },
+ "shipping": {
+ "properties": {
+ "method": {
+ "type": "string"
+ },
+ "price": {
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "shipping_address": {
+ "description": "Address set via set_shipping_address (null if not set).",
+ "type": "object"
+ },
+ "subtotal": {
+ "type": "number"
+ },
+ "total": {
+ "type": "number"
+ }
+ },
+ "type": "object"
+}