union.graphql 3.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. # The main embed of a comment event.
  2. union CommentEventEmbed = Customer | DraftOrder | Order | Product | ProductVariant
  3. union MetafieldReference = Collection | GenericFile | MediaImage | OnlineStorePage | Product | ProductVariant | Video
  4. union PricingValue = MoneyV2 | PricingPercentageValue
  5. # A rate provided by a merchant-defined rate or a participant.
  6. union DeliveryRateProvider = DeliveryParticipant | DeliveryRateDefinition
  7. # The value (weight or price) that the condition field is compared to.
  8. union DeliveryConditionCriteria = MoneyV2 | Weight
  9. # Represents information about the purchasing entity for the order or draft order.
  10. union PurchasingEntity = Customer | PurchasingCompany
  11. # Represents the billing frequency associated to the selling plan (for example, bill every week, or bill every three months).
  12. # The selling plan billing policy and associated records (selling plan groups, selling plans, pricing policies, and delivery policy)
  13. # are deleted 48 hours after a merchant uninstalls their subscriptions app.
  14. # We recommend backing up these records if you need to restore them later.
  15. union SellingPlanBillingPolicy = SellingPlanFixedBillingPolicy | SellingPlanRecurringBillingPolicy
  16. # Represents the delivery frequency associated to the selling plan (for example, deliver every month, or deliver every other week).
  17. # The selling plan delivery policy and associated records (selling plan groups, selling plans, pricing policies, and billing policy)
  18. # are deleted 48 hours after a merchant uninstalls their subscriptions app.
  19. # We recommend backing up these records if you need to restore them later.
  20. union SellingPlanDeliveryPolicy = SellingPlanFixedDeliveryPolicy | SellingPlanRecurringDeliveryPolicy
  21. # The portion of the price to be charged at checkout.
  22. union SellingPlanCheckoutChargeValue = MoneyV2 | SellingPlanCheckoutChargePercentageValue
  23. # Represents the type of pricing associated to the selling plan (for example, a $10 or 20% discount that is set
  24. # for a limited period or that is fixed for the duration of the subscription). Selling plan pricing policies and
  25. # associated records (selling plan groups, selling plans, billing policy, and delivery policy)
  26. # are deleted 48 hours after a merchant uninstalls their subscriptions app.
  27. # We recommend backing up these records if you need to restore them later.
  28. union SellingPlanPricingPolicy = SellingPlanFixedPricingPolicy | SellingPlanRecurringPricingPolicy
  29. # The information about the price that's charged to a shop every plan period.
  30. # The concrete type can be AppRecurringPricing for recurring billing or AppUsagePricing for usage-based billing.
  31. union AppPricingDetails = AppRecurringPricing | AppUsagePricing
  32. # The value of the discount.
  33. union AppSubscriptionDiscountValue = AppSubscriptionDiscountAmount | AppSubscriptionDiscountPercentage
  34. # All possible instruments for CustomerPaymentMethods.
  35. union CustomerPaymentInstrument = CustomerCreditCard | CustomerPaypalBillingAgreement | CustomerShopPayAgreement
  36. # Describes the delivery method to use to get the physical goods to the customer.
  37. union SubscriptionDeliveryMethod = SubscriptionDeliveryMethodLocalDelivery | SubscriptionDeliveryMethodPickup | SubscriptionDeliveryMethodShipping
  38. # Represents a selling plan pricing policy adjustment value type.
  39. union SellingPlanPricingPolicyAdjustmentValue = MoneyV2 | SellingPlanPricingPolicyPercentageValue
  40. # Subscription draft discount types.
  41. union SubscriptionDiscount = SubscriptionAppliedCodeDiscount | SubscriptionManualDiscount
  42. # The value of the discount and how it will be applied.
  43. union SubscriptionDiscountValue = SubscriptionDiscountFixedAmountValue | SubscriptionDiscountPercentageValue
  44. # All possible instrument outputs for Payment Mandates.
  45. union PaymentInstrument = VaultCreditCard | VaultPaypalBillingAgreement