Преглед изворни кода

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

Michael Bromley пре 5 година
родитељ
комит
67437b0e88
1 измењених фајлова са 1 додато и 0 уклоњено
  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"
     adjustments: [Adjustment!]!
     couponCodes: [String!]!
+    "Promotions applied to the order. Only gets populated after the payment process has completed."
     promotions: [Promotion!]!
     payments: [Payment!]
     fulfillments: [Fulfillment!]