Browse Source

docs(core): Add explanation to Order.promotions field

Michael Bromley 5 years ago
parent
commit
67437b0e88
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/core/src/api/schema/type/order.type.graphql

+ 1 - 0
packages/core/src/api/schema/type/order.type.graphql

@@ -14,6 +14,7 @@ type Order implements Node {
     "Order-level adjustments to the order total, such as discounts from promotions"
     "Order-level adjustments to the order total, such as discounts from promotions"
     adjustments: [Adjustment!]!
     adjustments: [Adjustment!]!
     couponCodes: [String!]!
     couponCodes: [String!]!
+    "Promotions applied to the order. Only gets populated after the payment process has completed."
     promotions: [Promotion!]!
     promotions: [Promotion!]!
     payments: [Payment!]
     payments: [Payment!]
     fulfillments: [Fulfillment!]
     fulfillments: [Fulfillment!]