order.graphql 48 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532
  1. # The order-level discount applied to a draft order.
  2. type DraftOrderAppliedDiscount {
  3. # The amount of money discounted, with values shown in both shop currency and presentment currency.
  4. amountSet: MoneyBag!
  5. # Amount of money discounted.
  6. amountV2: MoneyV2!
  7. # Description of the order-level discount.
  8. description: String!
  9. # Name of the order-level discount.
  10. title: String
  11. # The order level discount amount. If valueType is "percentage",
  12. # then value is the percentage discount.
  13. value: Float!
  14. # Type of the order-level discount.
  15. valueType: DraftOrderAppliedDiscountType!
  16. }
  17. # A line item included in a draft order.
  18. type DraftOrderLineItem implements Node {
  19. # The discount that will be applied to the line item or the overall order.
  20. appliedDiscount: DraftOrderAppliedDiscount
  21. # Whether the line item is a custom line item (true) or a product variant line item (false).
  22. custom: Boolean!
  23. # A list of attributes that represent custom features or special requests.
  24. customAttributes: [Attribute!]!
  25. # Additional information (metafields) about the line item with the associated types.
  26. customAttributesV2: [TypedAttribute!]!
  27. # The line item price after discounts are applied.
  28. discountedTotal: Money!
  29. # The line item price after discounts are applied.
  30. discountedTotalSet: MoneyBag!
  31. # The discountedTotal divided by quantity, resulting in the value of the discount per unit.
  32. discountedUnitPrice: Money!
  33. # The discountedTotal divided by quantity, resulting in the value of the discount per unit.
  34. discountedUnitPriceSet: MoneyBag!
  35. # Name of the service provider who fulfilled the order.
  36. #
  37. # Valid values are either manual or the name of the provider.
  38. # For example, amazon, shipwire.
  39. #
  40. # Deleted fulfillment services will return null.
  41. fulfillmentService: FulfillmentService
  42. # A globally-unique identifier.
  43. id: ID!
  44. # The image associated with the draft order line item.
  45. image: Image
  46. # Whether the line item is a gift card.
  47. isGiftCard: Boolean!
  48. # The name of the product.
  49. name: String!
  50. # The total price (without discounts) of the line item, based on the original unit price of the variant x quantity.
  51. originalTotal: Money!
  52. # The total price (without discounts) of the line item,based on the original unit price of the variant x quantity.
  53. originalTotalSet: MoneyBag!
  54. # The variant price without any discounts applied.
  55. originalUnitPrice: Money!
  56. # The variant price without any discounts applied.
  57. originalUnitPriceSet: MoneyBag!
  58. # The product corresponding to the line item’s product variant.
  59. product: Product
  60. # The number of product variants that are requested in the draft order.
  61. quantity: Int!
  62. # Whether physical shipping is required for the variant.
  63. requiresShipping: Boolean!
  64. # The SKU number of the product variant.
  65. sku: String
  66. # A list of tax line objects, each of which details the total taxes applicable to the order.
  67. taxLines: [TaxLine!]!
  68. # Whether the variant is taxable.
  69. taxable: Boolean!
  70. # The title of the product or variant. This field only applies to custom line items.
  71. title: String!
  72. # The total value of the discount that is applied to the line item.
  73. totalDiscount: Money!
  74. # The total value of the discount that is applied to the line item.
  75. totalDiscountSet: MoneyBag!
  76. # The associated variant for the line item.
  77. variant: ProductVariant
  78. # The name of the variant.
  79. variantTitle: String
  80. # The name of the vendor who created the product variant.
  81. vendor: String
  82. # The weight unit and value for a draft order line item.
  83. weight: Weight
  84. }
  85. # Represents the payment schedule for a single payment defined in the payment terms.
  86. type PaymentSchedule implements Node {
  87. # Amount owed for this payment schedule.
  88. amount: MoneyV2!
  89. # Date and time when the payment schedule is paid or fulfilled.
  90. completedAt: DateTime
  91. # Date and time when the payment schedule is due.
  92. dueAt: DateTime
  93. # A globally-unique identifier.
  94. id: ID!
  95. # Date and time when the invoice is sent.
  96. issuedAt: DateTime
  97. }
  98. # Represents the payment terms for an order or draft order.
  99. type PaymentTerms implements Node {
  100. # Duration of payment terms in days based on the payment terms template used to create the payment terms.
  101. dueInDays: Int
  102. # A globally-unique identifier.
  103. id: ID!
  104. # Whether the payment terms have overdue payment schedules.
  105. overdue: Boolean!
  106. # List of schedules for the payment terms.
  107. paymentSchedules(
  108. first: Int
  109. after: String
  110. last: Int
  111. before: String
  112. reverse: Boolean = false
  113. ): PaymentScheduleConnection!
  114. # The name of the payment terms template used to create the payment terms.
  115. paymentTermsName: String!
  116. # The payment terms template type used to create the payment terms.
  117. paymentTermsType: PaymentTermsType!
  118. # The payment terms name, translated into the shop admin's preferred language.
  119. translatedName: String!
  120. }
  121. # Represents a selling method (for example, "Subscribe and save" or "Pre-paid"). Selling plan groups
  122. # and associated records (selling plans and policies) are deleted 48 hours after a merchant
  123. # uninstalls their subscriptions app. We recommend backing up these records if you need to restore them later.
  124. type SellingPlanGroup implements Node {
  125. # The identifier for app, exposed in Liquid and product JSON.
  126. appId: String
  127. # Whether the given product is directly associated to the selling plan group.
  128. appliesToProduct(productId: ID!): Boolean!
  129. # Whether the given product variant is directly associated to the selling plan group.
  130. appliesToProductVariant(productVariantId: ID!): Boolean!
  131. # Whether any of the product variants of the given product are associated to the selling plan group.
  132. appliesToProductVariants(productId: ID!): Boolean!
  133. # The date and time when the selling plan group was created.
  134. createdAt: DateTime!
  135. # The merchant-facing description of the selling plan group.
  136. description: String
  137. # A globally-unique identifier.
  138. id: ID!
  139. # The merchant-facing label of the selling plan group.
  140. merchantCode: String!
  141. # The buyer-facing label of the selling plan group.
  142. name: String!
  143. # The values of all options available on the selling plan group. Selling plans are grouped together in Liquid when they are created by the same app, and have the same selling_plan_group.name and selling_plan_group.options values.
  144. options: [String!]!
  145. # The relative position of the selling plan group for display.
  146. position: Int
  147. # A count of products associated to the selling plan group.
  148. productCount: Int!
  149. # A count of product variants associated to the selling plan group.
  150. productVariantCount(productId: ID): Int!
  151. # Product variants associated to the selling plan group.
  152. productVariants(
  153. productId: ID
  154. first: Int
  155. after: String
  156. last: Int
  157. before: String
  158. reverse: Boolean = false
  159. ): ProductVariantConnection!
  160. # Products associated to the selling plan group.
  161. products(
  162. first: Int
  163. after: String
  164. last: Int
  165. before: String
  166. reverse: Boolean = false
  167. ): ProductConnection!
  168. # Selling plans associated to the selling plan group.
  169. sellingPlans(
  170. first: Int
  171. after: String
  172. last: Int
  173. before: String
  174. reverse: Boolean = false
  175. ): SellingPlanConnection!
  176. # A summary of the policies associated to the selling plan group.
  177. summary: String
  178. }
  179. # Represents how a product can be sold and purchased. Selling plans and associated records (selling plan groups
  180. # and policies) are deleted 48 hours after a merchant uninstalls their subscriptions app. We recommend backing
  181. # up these records if you need to restore them later.
  182. #
  183. # For more information on selling plans, refer to
  184. # Creating and managing selling plans.
  185. type SellingPlan implements Node {
  186. # A selling plan policy which describes the recurring billing details.
  187. billingPolicy: SellingPlanBillingPolicy!
  188. # The category used to classify the selling plan for reporting purposes.
  189. category: SellingPlanCategory
  190. # The date and time when the selling plan was created.
  191. createdAt: DateTime!
  192. # A selling plan policy which describes the delivery details.
  193. deliveryPolicy: SellingPlanDeliveryPolicy!
  194. # Buyer facing string which describes the selling plan commitment.
  195. description: String
  196. # A globally-unique identifier.
  197. id: ID!
  198. # When to reserve inventory for a selling plan.
  199. inventoryPolicy: SellingPlanInventoryPolicy
  200. # A customer-facing description of the selling plan.
  201. #
  202. # If your store supports multiple currencies, then don't include country-specific pricing content,
  203. # such as "Buy monthly, get 10$ CAD off". This field won't be converted to reflect different currencies.
  204. name: String!
  205. # The values of all options available on the selling plan.
  206. # Selling plans are grouped together in Liquid when they are created by the same app,
  207. # and have the same selling_plan_group.name and selling_plan_group.options values.
  208. options: [String!]!
  209. # Relative position of the selling plan for display. A lower position will be displayed before a higher position.
  210. position: Int
  211. # Selling plan pricing details.
  212. pricingPolicies: [SellingPlanPricingPolicy!]!
  213. }
  214. # The selling plan inventory policy.
  215. type SellingPlanInventoryPolicy {
  216. # When to reserve inventory for the order.
  217. reserve: SellingPlanReserve!
  218. }
  219. # A payment transaction in the context of an order.
  220. type OrderTransaction implements Node {
  221. # The masked account number associated with the payment method.
  222. accountNumber: String
  223. # The amount and currency of the transaction in shop and presentment currencies.
  224. amountSet: MoneyBag!
  225. authorizationCode: String
  226. # Authorization code associated with the transaction.
  227. # The time when the authorization expires. This field is available only to stores on a Shopify Plus plan and is populated only for Shopify Payments authorizations.
  228. authorizationExpiresAt: DateTime
  229. # Date and time when the transaction was created.
  230. createdAt: DateTime!
  231. # A standardized error code, independent of the payment provider.
  232. errorCode: OrderTransactionErrorCode
  233. # The transaction fees charged on the order transaction. Only present for Shopify Payments transactions.
  234. fees: [TransactionFee!]!
  235. # The human-readable payment gateway name used to process the transaction.
  236. formattedGateway: String
  237. # The payment gateway used to process the transaction.
  238. gateway: String
  239. # A globally-unique identifier.
  240. id: ID!
  241. # The kind of transaction.
  242. kind: OrderTransactionKind!
  243. # Whether the transaction can be manually captured.
  244. manuallyCapturable: Boolean!
  245. # Specifies the available amount with currency to refund on the gateway.
  246. # This value is only available for transactions of type SuggestedRefund.
  247. maximumRefundableV2: MoneyV2
  248. # The associated order.
  249. order: Order
  250. # The associated parent transaction, for example the authorization of a capture.
  251. parentTransaction: OrderTransaction
  252. # The payment icon to display for the transaction.
  253. paymentIcon: Image
  254. # Date and time when the transaction was processed.
  255. processedAt: DateTime
  256. # The transaction receipt that the payment gateway attaches to the transaction.
  257. # The value of this field depends on which payment gateway processed the transaction.
  258. receiptJson: JSON
  259. # The settlement currency.
  260. settlementCurrency: CurrencyCode
  261. # The rate used when converting the transaction amount to settlement currency.
  262. settlementCurrencyRate: Decimal
  263. # Contains all Shopify Payments information related to an order transaction.
  264. # This field is available only to stores on a Shopify Plus plan.
  265. shopifyPaymentsSet: ShopifyPaymentsTransactionSet
  266. # The status of this transaction.
  267. status: OrderTransactionStatus!
  268. # Whether the transaction is a test transaction.
  269. test: Boolean!
  270. # Specifies the available amount with currency to capture on the gateway in shop and presentment currencies.
  271. # Only available when an amount is capturable or manually mark as paid.
  272. totalUnsettledSet: MoneyBag
  273. # Staff member who was logged into the Shopify POS device when the transaction was processed.
  274. user: StaffMember
  275. }
  276. # Transaction fee related to an order transaction.
  277. type TransactionFee implements Node {
  278. # Amount of the fee.
  279. amount: MoneyV2!
  280. # Flat rate charge for a transaction.
  281. flatFee: MoneyV2!
  282. # Name of the credit card flat fee.
  283. flatFeeName: String
  284. # A globally-unique identifier.
  285. id: ID!
  286. # Percentage charge.
  287. rate: Decimal!
  288. # Name of the credit card rate.
  289. rateName: String
  290. # Tax amount charged on the fee.
  291. taxAmount: MoneyV2!
  292. # Name of the type of fee.
  293. type: String!
  294. }
  295. # Presents all Shopify Payments specific information related to an order transaction.
  296. type ShopifyPaymentsTransactionSet {
  297. # Contains all fields related to an extended authorization.
  298. extendedAuthorizationSet: ShopifyPaymentsExtendedAuthorization
  299. # Contains all fields related to a refund.
  300. refundSet: ShopifyPaymentsRefundSet
  301. }
  302. # Presents all Shopify Payments specific information related to an order refund.
  303. type ShopifyPaymentsRefundSet {
  304. # The acquirer reference number (ARN) code generated for Visa/Mastercard transactions.
  305. acquirerReferenceNumber: String
  306. }
  307. # Presents all Shopify Payments information related to an extended authorization.
  308. type ShopifyPaymentsExtendedAuthorization {
  309. # The time after which the extended authorization expires.
  310. # After the expiry, the merchant is unable to capture the payment.
  311. extendedAuthorizationExpiresAt: DateTime!
  312. # The time after which capture will incur an additional fee.
  313. standardAuthorizationExpiresAt: DateTime!
  314. }
  315. # Represents a refund suggested by Shopify based on the items being reimbursed.
  316. # You can then use the suggested refund object to generate an actual refund.
  317. type SuggestedRefund {
  318. # The total monetary value to be refunded in shop and presentment currencies.
  319. amountSet: MoneyBag!
  320. # The sum of all the discounted prices of the line items being refunded.
  321. discountedSubtotalSet: MoneyBag!
  322. # The total monetary value available to refund in shop and presentment currencies.
  323. maximumRefundableSet: MoneyBag!
  324. # A list of duties to be refunded from the order.
  325. refundDuties: [RefundDuty!]!
  326. # A list of line items to be refunded, along with restock instructions.
  327. refundLineItems: [RefundLineItem!]!
  328. # The shipping costs to be refunded from the order.
  329. shipping: ShippingRefund!
  330. # The sum of all the prices of the line items being refunded in shop and presentment currencies.
  331. subtotalSet: MoneyBag!
  332. # A list of suggested order transactions.
  333. suggestedTransactions: [SuggestedOrderTransaction!]!
  334. # The total cart discount amount that was applied to all line items in this refund.
  335. totalCartDiscountAmountSet: MoneyBag!
  336. # The sum of all the duties being refunded from the order in shop and presentment currencies. The value must be positive.
  337. totalDutiesSet: MoneyBag!
  338. # The sum of the taxes being refunded from the order in shop and presentment currencies. The value must be positive.
  339. totalTaxSet: MoneyBag!
  340. }
  341. # A suggested transaction. Suggested transaction are usually used in the context of refunds
  342. # and exchanges.
  343. type SuggestedOrderTransaction {
  344. # The masked account number associated with the payment method.
  345. accountNumber: String
  346. # The amount and currency of the suggested order transaction in shop and presentment currencies.
  347. amountSet: MoneyBag!
  348. # The human-readable payment gateway name suggested to process the transaction.
  349. formattedGateway: String
  350. # The suggested payment gateway used to process the transaction.
  351. gateway: String
  352. # Specifies the kind of the suggested order transaction.
  353. kind: SuggestedOrderTransactionKind!
  354. # Specifies the available amount to refund on the gateway in shop and presentment currencies. Only available within SuggestedRefund.
  355. maximumRefundableSet: MoneyBag
  356. # The associated parent transaction, for example the authorization of a capture.
  357. parentTransaction: OrderTransaction
  358. }
  359. # Represents the shipping costs refunded on the Refund.
  360. type ShippingRefund {
  361. # The monetary value of the shipping fees to be refunded in shop and presentment currencies.
  362. amountSet: MoneyBag!
  363. # The maximum amount of shipping fees currently refundable in shop and presentment currencies.
  364. maximumRefundableSet: MoneyBag!
  365. # The monetary value of the tax allocated to shipping fees to be refunded in shop and presentment currencies.
  366. taxSet: MoneyBag!
  367. }
  368. # A line item that's included in a refund.
  369. type RefundLineItem {
  370. # The LineItem resource associated to the refunded line item.
  371. lineItem: LineItem!
  372. # The inventory restock location.
  373. location: Location
  374. # The price of a refunded line item in shop and presentment currencies.
  375. priceSet: MoneyBag!
  376. # The quantity of a refunded line item.
  377. quantity: Int!
  378. # The type of restock for the refunded line item.
  379. restockType: RefundLineItemRestockType!
  380. # Whether the refunded line item was restocked. Not applicable in the context of a SuggestedRefund.
  381. restocked: Boolean!
  382. # The subtotal price of a refunded line item in shop and presentment currencies.
  383. subtotalSet: MoneyBag!
  384. # The total tax charged on a refunded line item in shop and presentment currencies.
  385. totalTaxSet: MoneyBag!
  386. }
  387. type LineItem implements Node {
  388. # The subscription contract associated with this line item.
  389. contract: SubscriptionContract
  390. # The line item's quantity, minus the removed quantity.
  391. currentQuantity: Int!
  392. # A list of attributes that represent custom features or special requests.
  393. customAttributes: [Attribute!]!
  394. # The discounts that have been allocated onto the line item by discount applications.
  395. discountAllocations: [DiscountAllocation!]!
  396. # The total line price after discounts are applied, in shop and presentment currencies.
  397. discountedTotalSet: MoneyBag!
  398. # The approximate split price of a line item unit, in shop and presentment currencies.
  399. # This value doesn't include discounts applied to the entire order.
  400. discountedUnitPriceSet: MoneyBag!
  401. # The duties associated with the line item.
  402. duties: [Duty!]!
  403. # A globally-unique identifier.
  404. id: ID!
  405. # The image associated to the line item's variant.
  406. image: Image
  407. # Whether the line item can be edited or not.
  408. merchantEditable: Boolean!
  409. # The name of the product.
  410. name: String!
  411. # The total number of units that can't be fulfilled.
  412. # For example, if items have been refunded, or the item is not something that can be fulfilled,
  413. # like a tip.Please see the FulfillmentOrder object for more fulfillment details.
  414. nonFulfillableQuantity: Int!
  415. # The total price in shop and presentment currencies, without discounts applied.
  416. # This value is based on the unit price of the variant x quantity.
  417. originalTotalSet: MoneyBag!
  418. # The variant unit price without discounts applied, in shop and presentment currencies.
  419. originalUnitPriceSet: MoneyBag!
  420. # The Product object associated with this line item's variant.
  421. product: Product
  422. # The number of variant units ordered.
  423. quantity: Int!
  424. # The line item's quantity, minus the removed quantity.
  425. refundableQuantity: Int!
  426. # Whether physical shipping is required for the variant.
  427. requiresShipping: Boolean!
  428. # Whether the line item can be restocked.
  429. restockable: Boolean!
  430. # The selling plan details associated with the line item.
  431. sellingPlan: LineItemSellingPlan
  432. sku: String
  433. # The variant SKU number.
  434. # Staff attributed to the initial sale of the line item.
  435. staffMember: StaffMember
  436. # The taxes charged for this line item.
  437. taxLines(first: Int): [TaxLine!]!
  438. # Whether the variant is taxable.
  439. taxable: Boolean!
  440. # The title of the product.
  441. title: String!
  442. # The total amount of the discount that's allocated to the line item, in the shop and presentment currencies.
  443. # This field must be explicitly set using draft orders, Shopify scripts, or the API.
  444. totalDiscountSet: MoneyBag!
  445. # The total discounted value of unfulfilled units, in shop and presentment currencies.
  446. unfulfilledDiscountedTotalSet: MoneyBag!
  447. # The total price, without any discounts applied.
  448. # This value is based on the unit price of the variant x quantity of all unfulfilled units, in shop and presentment currencies.
  449. unfulfilledOriginalTotalSet: MoneyBag!
  450. # The number of units not yet fulfilled.
  451. unfulfilledQuantity: Int!
  452. # The Variant object associated with this line item.
  453. variant: ProductVariant
  454. # The name of the variant.
  455. variantTitle: String
  456. # The name of the vendor who made the variant.
  457. vendor: String
  458. }
  459. # Custom subscription discount.
  460. type SubscriptionManualDiscount {
  461. # Entitled line items used to apply the subscription discount on.
  462. entitledLines: SubscriptionDiscountEntitledLines!
  463. # The unique identifier.
  464. id: ID!
  465. # The maximum number of times the subscription discount will be applied on orders.
  466. recurringCycleLimit: Int
  467. # The reason that the discount on the subscription draft is rejected.
  468. rejectionReason: SubscriptionDiscountRejectionReason
  469. # Type of line the discount applies on.
  470. targetType: DiscountTargetType!
  471. # The title associated with the subscription discount.
  472. title: String
  473. # The type of the subscription discount.
  474. type: DiscountType!
  475. # The number of times the discount was applied.
  476. usageCount: Int!
  477. # The value of the subscription discount.
  478. value: SubscriptionDiscountValue!
  479. }
  480. # Represents the subscription lines the discount applies on.
  481. type SubscriptionDiscountEntitledLines {
  482. # Specify whether the subscription discount will apply on all subscription lines.
  483. all: Boolean!
  484. # The list of subscription lines associated with the subscription discount.
  485. lines(
  486. first: Int
  487. after: String
  488. last: Int
  489. before: String
  490. reverse: Boolean = false
  491. ): SubscriptionLineConnection!
  492. }
  493. # Represents a Subscription Line.
  494. type SubscriptionLine {
  495. # The price per unit for the subscription line in the contract's currency.
  496. currentPrice: MoneyV2!
  497. # List of custom attributes associated to the line item.
  498. customAttributes: [Attribute!]!
  499. # Discount allocations.
  500. discountAllocations: [SubscriptionDiscountAllocation!]!
  501. # The unique identifier.
  502. id: ID!
  503. # Total line price including all discounts.
  504. lineDiscountedPrice: MoneyV2!
  505. # Describe the price changes of the line over time.
  506. pricingPolicy: SubscriptionPricingPolicy
  507. # The product id associated with the subscription line.
  508. productId: ID
  509. # The quantity of the unit selected for the subscription line.
  510. quantity: Int!
  511. # Whether physical shipping is required for the variant.
  512. requiresShipping: Boolean!
  513. # The selling plan ID associated to the line.
  514. #
  515. # Indicates which selling plan was used to create this
  516. # contract line initially. The selling plan ID is also used to
  517. # find the associated delivery profile.
  518. #
  519. # The subscription contract, subscription line, or selling plan might have
  520. # changed. As a result, the selling plan's attributes might not
  521. # match the information on the contract.
  522. sellingPlanId: ID
  523. # The selling plan name associated to the line. This name describes
  524. # the order line items created from this subscription line
  525. # for both merchants and customers.
  526. #
  527. # The value can be different from the selling plan's name, because both
  528. # the selling plan's name and the subscription line's selling_plan_name
  529. # attribute can be updated independently.
  530. sellingPlanName: String
  531. # Variant SKU number of the item associated with the subscription line.
  532. sku: String
  533. # Whether the variant is taxable.
  534. taxable: Boolean!
  535. # Product title of the item associated with the subscription line.
  536. title: String!
  537. # The product variant id associated with the subscription line.
  538. variantId: ID
  539. # The image associated with the line item's variant or product.
  540. variantImage: Image
  541. # Product variant title of the item associated with the subscription line.
  542. variantTitle: String
  543. }
  544. # Represents a Subscription Delivery Policy.
  545. type SubscriptionDeliveryPolicy {
  546. # The specific anchor dates upon which the delivery interval calculations should be made.
  547. anchors: [SellingPlanAnchor!]!
  548. # The kind of interval that is associated with this schedule (e.g. Monthly, Weekly, etc).
  549. interval: SellingPlanInterval!
  550. # The number of delivery intervals between deliveries.
  551. intervalCount: Int!
  552. }
  553. # Represents a Subscription Billing Policy.
  554. type SubscriptionBillingPolicy {
  555. # Specific anchor dates upon which the billing interval calculations should be made.
  556. anchors: [SellingPlanAnchor!]!
  557. # The kind of interval that is associated with this schedule (e.g. Monthly, Weekly, etc).
  558. interval: SellingPlanInterval!
  559. # The number of billing intervals between invoices.
  560. intervalCount: Int!
  561. # Maximum amount of cycles after which the subscription ends.
  562. maxCycles: Int
  563. # Minimum amount of cycles required in the subscription.
  564. minCycles: Int
  565. }
  566. # Represents a selling plan policy anchor.
  567. type SellingPlanAnchor {
  568. # The cutoff day for the anchor.
  569. #
  570. # If type is WEEKDAY, then the value must be between 1-7. Shopify interprets
  571. # the days of the week according to ISO 8601, where 1 is Monday.
  572. #
  573. # If type is MONTHDAY, then the value must be between 1-31.
  574. #
  575. # If type is YEARDAY, then the value must be null.
  576. cutoffDay: Int
  577. # The day of the anchor.
  578. #
  579. # If type is WEEKDAY, then the value must be between 1-7. Shopify interprets
  580. # the days of the week according to ISO 8601, where 1 is Monday.
  581. #
  582. # If type is not WEEKDAY, then the value must be between 1-31.
  583. day: Int!
  584. # The month of the anchor. If type is different than YEARDAY, then the value must
  585. # be null or between 1-12.
  586. month: Int
  587. # Represents the anchor type, it can be one one of WEEKDAY, MONTHDAY, YEARDAY.
  588. type: SellingPlanAnchorType!
  589. }
  590. # Represents a Subscription Line Pricing Policy.
  591. type SubscriptionPricingPolicy {
  592. # The base price per unit for the subscription line in the contract's currency.
  593. basePrice: MoneyV2!
  594. # The adjustments per cycle for the subscription line.
  595. cycleDiscounts: [SubscriptionCyclePriceAdjustment!]!
  596. }
  597. # Represents a Subscription Line Pricing Cycle Adjustment.
  598. type SubscriptionCyclePriceAdjustment {
  599. # Price adjustment type.
  600. adjustmentType: SellingPlanPricingPolicyAdjustmentType!
  601. # Price adjustment value.
  602. adjustmentValue: SellingPlanPricingPolicyAdjustmentValue!
  603. # The number of cycles required before this pricing policy applies.
  604. afterCycle: Int!
  605. # The computed price after the adjustments applied.
  606. computedPrice: MoneyV2!
  607. }
  608. # Represents what a particular discount reduces from a line price.
  609. type SubscriptionDiscountAllocation {
  610. # Allocation amount.
  611. amount: MoneyV2!
  612. # Discount that created the allocation.
  613. discount: SubscriptionDiscount!
  614. }
  615. # Represents the selling plan for a line item.
  616. type LineItemSellingPlan {
  617. # The name of the selling plan for display purposes.
  618. name: String!
  619. # The ID of the selling plan associated with the line item.
  620. sellingPlanId: ID
  621. }
  622. type Duty implements Node {
  623. # The ISO 3166-1 alpha-2 country code of the country of origin used in calculating the duty.
  624. countryCodeOfOrigin: CountryCode
  625. # The harmonized system code of the item used in calculating the duty.
  626. harmonizedSystemCode: String
  627. # A globally-unique identifier.
  628. id: ID!
  629. # The amount of the duty.
  630. price: MoneyBag!
  631. # A list of taxes charged on the duty.
  632. taxLines: [TaxLine!]!
  633. }
  634. # Represents a refunded duty.
  635. type RefundDuty {
  636. # The amount of a refunded duty in shop and presentment currencies.
  637. amountSet: MoneyBag!
  638. # The duty associated with this refunded duty.
  639. originalDuty: Duty
  640. }
  641. # The record of the line items and transactions that were refunded to a customer,
  642. # along with restocking instructions for refunded line items.
  643. type Refund implements LegacyInteroperability&Node {
  644. # The date and time when the refund was created.
  645. createdAt: DateTime
  646. # A list of the refunded duties as part of this refund.
  647. duties: [RefundDuty!]
  648. # A globally-unique identifier.
  649. id: ID!
  650. # The ID of the corresponding resource in the REST Admin API.
  651. legacyResourceId: UnsignedInt64!
  652. # The optional note associated with the refund.
  653. note: String
  654. # The order associated with the refund.
  655. order: Order!
  656. # The RefundLineItem resources attached to the refund.
  657. refundLineItems(
  658. first: Int
  659. after: String
  660. last: Int
  661. before: String
  662. reverse: Boolean = false
  663. ): RefundLineItemConnection!
  664. # The staff member who created the refund.
  665. staffMember: StaffMember
  666. # The total amount across all transactions for the refund, in shop and presentment currencies.
  667. totalRefundedSet: MoneyBag!
  668. # The transactions associated with the refund.
  669. transactions(
  670. first: Int
  671. after: String
  672. last: Int
  673. before: String
  674. reverse: Boolean = false
  675. ): OrderTransactionConnection!
  676. # The date and time when the refund was updated.
  677. updatedAt: DateTime!
  678. }
  679. # Represents a fraud check on an order.
  680. type OrderRisk {
  681. # Whether the risk level is shown in the Shopify admin.
  682. # If false, then this order risk is ignored when Shopify determines the overall risk level for the order.
  683. display: Boolean!
  684. # The likelihood that an order is fraudulent, based on this order risk.
  685. #
  686. # The level can be set by Shopify risk analysis or by an app.
  687. level: OrderRiskLevel
  688. # The risk message that's shown to the merchant in the Shopify admin.
  689. message: String
  690. }
  691. # The payment collection details for an order that requires additional payment following an edit to the order.
  692. type OrderPaymentCollectionDetails {
  693. # The URL to use for collecting an additional payment on the order.
  694. additionalPaymentCollectionUrl: URL
  695. # The list of vaulted payment methods for the order with their permissions.
  696. vaultedPaymentMethods: [PaymentMandate!]
  697. }
  698. # A payment instrument and the permission
  699. # the owner of the instrument gives to the merchant to debit it.
  700. type PaymentMandate implements Node {
  701. # The unique identifier of a payment mandate.
  702. id: ID!
  703. # The outputs details of the payment instrument.
  704. paymentInstrument: PaymentInstrument!
  705. }
  706. # The fields required to reimburse duties on a refund.
  707. input RefundDutyInput {
  708. # The ID of the duty in the refund.
  709. dutyId: ID!
  710. # The type of refund for this duty.
  711. refundType: RefundDutyRefundType
  712. }
  713. # The fields required to reimburse line items on a refund.
  714. input RefundLineItemInput {
  715. # The ID of the line item in the refund.
  716. lineItemId: ID!
  717. # The quantity of the associated line item to be refunded.
  718. quantity: Int!
  719. # The type of restock for this line item.
  720. restockType: RefundLineItemRestockType
  721. # The intended location for restocking. If the restockType is set to NO_RESTOCK, then this value is empty.`
  722. locationId: ID
  723. }
  724. # A summary of the important details for a dispute on an order.
  725. type OrderDisputeSummary implements Node {
  726. # A globally-unique identifier.
  727. id: ID!
  728. # The type that the dispute was initiated as.
  729. initiatedAs: DisputeType!
  730. # The current status of the dispute.
  731. status: DisputeStatus!
  732. }
  733. # The tax allocated to a sale from a single tax line.
  734. type SaleTax {
  735. # The portion of the total tax amount on the related sale that comes from the associated tax line.
  736. amount: MoneyBag!
  737. # The unique identifier for the sale tax.
  738. id: ID!
  739. # The tax line associated with the sale.
  740. taxLine: TaxLine!
  741. }
  742. # A record of an execution of the subscription billing process. Billing attempts use
  743. #idempotency keys to avoid duplicate order creation. A successful billing attempt
  744. #will create an order.
  745. type SubscriptionBillingAttempt implements Node {
  746. # The date and time when the billing attempt was completed.
  747. completedAt: DateTime
  748. # The date and time when the billing attempt was created.
  749. createdAt: DateTime!
  750. # A code corresponding to a payment error during processing.
  751. errorCode: SubscriptionBillingAttemptErrorCode
  752. # A message describing a payment error during processing.
  753. errorMessage: String
  754. # A globally-unique identifier.
  755. id: ID!
  756. # A unique key generated by the client to avoid duplicate payments.
  757. idempotencyKey: String!
  758. # The URL where the customer needs to be redirected so they can complete the 3D Secure payment flow.
  759. nextActionUrl: URL
  760. # The result of this billing attempt if completed successfully.
  761. order: Order
  762. # The date and time used to calculate fulfillment intervals for a billing attempt that
  763. # successfully completed after the current anchor date. To prevent fulfillment from being
  764. # pushed to the next anchor date, this field can override the billing attempt date.
  765. originTime: DateTime
  766. # Whether the billing attempt is still processing.
  767. ready: Boolean!
  768. # The subscription contract.
  769. subscriptionContract: SubscriptionContract!
  770. }
  771. # Represents the payment terms template object.
  772. type PaymentTermsTemplate implements Node {
  773. # The description of the payment terms template.
  774. description: String!
  775. # The number of days between the issued date and due date if this is the net type of payment terms.
  776. dueInDays: Int
  777. # A globally-unique identifier.
  778. id: ID!
  779. # The name of the payment terms template.
  780. name: String!
  781. # The type of the payment terms template.
  782. paymentTermsType: PaymentTermsType!
  783. # The translated payment terms template name.
  784. translatedName: String!
  785. }
  786. # The fixed selling plan billing policy.
  787. type SellingPlanFixedBillingPolicy {
  788. # The checkout charge when the full amount isn't charged at checkout.
  789. checkoutCharge: SellingPlanCheckoutCharge!
  790. # The exact time when to capture the full payment.
  791. remainingBalanceChargeExactTime: DateTime
  792. # The period after remaining_balance_charge_trigger, before capturing the full payment.
  793. # Expressed as an ISO8601 duration.
  794. remainingBalanceChargeTimeAfterCheckout: String
  795. # When to capture payment for amount due.
  796. remainingBalanceChargeTrigger: SellingPlanRemainingBalanceChargeTrigger!
  797. }
  798. # The amount charged at checkout when the full amount isn't charged at checkout.
  799. type SellingPlanCheckoutCharge {
  800. # The charge type for the checkout charge.
  801. type: SellingPlanCheckoutChargeType!
  802. # The charge value for the checkout charge.
  803. value: SellingPlanCheckoutChargeValue!
  804. }
  805. # Represents a recurring selling plan billing policy.
  806. type SellingPlanRecurringBillingPolicy {
  807. # Specific anchor dates upon which the billing interval calculations should be made.
  808. anchors: [SellingPlanAnchor!]!
  809. # The date and time when the selling plan billing policy was created.
  810. createdAt: DateTime!
  811. # The billing frequency, it can be either: day, week, month or year.
  812. interval: SellingPlanInterval!
  813. # The number of intervals between billings.
  814. intervalCount: Int!
  815. # Maximum number of billing iterations.
  816. maxCycles: Int
  817. # Minimum number of billing iterations.
  818. minCycles: Int
  819. }
  820. # Represents a fixed selling plan delivery policy.
  821. type SellingPlanFixedDeliveryPolicy {
  822. # The specific anchor dates upon which the delivery interval calculations should be made.
  823. anchors: [SellingPlanAnchor!]!
  824. # A buffer period for orders to be included in next fulfillment anchor.
  825. cutoff: Int
  826. # The date and time when the fulfillment should trigger.
  827. fulfillmentExactTime: DateTime
  828. # What triggers the fulfillment. The value must be one of ANCHOR, ASAP, EXACT_TIME, or UNKNOWN.
  829. fulfillmentTrigger: SellingPlanFulfillmentTrigger!
  830. # Whether the delivery policy is merchant or buyer-centric.
  831. # Buyer-centric delivery policies state the time when the buyer will receive the goods.
  832. # Merchant-centric delivery policies state the time when the fulfillment should be started.
  833. # Currently, only merchant-centric delivery policies are supported.
  834. intent: SellingPlanFixedDeliveryPolicyIntent!
  835. # The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor.
  836. # The default value for this field is ASAP.
  837. preAnchorBehavior: SellingPlanFixedDeliveryPolicyPreAnchorBehavior!
  838. }
  839. # Represents a recurring selling plan delivery policy.
  840. type SellingPlanRecurringDeliveryPolicy {
  841. # The specific anchor dates upon which the delivery interval calculations should be made.
  842. anchors: [SellingPlanAnchor!]!
  843. # The date and time when the selling plan delivery policy was created.
  844. createdAt: DateTime!
  845. # A buffer period for orders to be included in a cycle.
  846. cutoff: Int
  847. # Whether the delivery policy is merchant or buyer-centric.
  848. # Buyer-centric delivery policies state the time when the buyer will receive the goods.
  849. # Merchant-centric delivery policies state the time when the fulfillment should be started.
  850. # Currently, only merchant-centric delivery policies are supported.
  851. intent: SellingPlanRecurringDeliveryPolicyIntent!
  852. # The delivery frequency, it can be either: day, week, month or year.
  853. interval: SellingPlanInterval!
  854. # The number of intervals between deliveries.
  855. intervalCount: Int!
  856. # The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor.
  857. # The default value for this field is ASAP.
  858. preAnchorBehavior: SellingPlanRecurringDeliveryPolicyPreAnchorBehavior!
  859. }
  860. # The percentage value of the price used for checkout charge.
  861. type SellingPlanCheckoutChargePercentageValue {
  862. # The percentage value of the price used for checkout charge.
  863. percentage: Float!
  864. }
  865. # Represents a fixed selling plan pricing policy.
  866. type SellingPlanFixedPricingPolicy implements SellingPlanPricingPolicyBase {
  867. # The price adjustment type.
  868. adjustmentType: SellingPlanPricingPolicyAdjustmentType!
  869. # The price adjustment value.
  870. adjustmentValue: SellingPlanPricingPolicyAdjustmentValue!
  871. # The date and time when the fixed selling plan pricing policy was created.
  872. createdAt: DateTime!
  873. }
  874. # Represents a recurring selling plan pricing policy.
  875. type SellingPlanRecurringPricingPolicy implements SellingPlanPricingPolicyBase {
  876. # The price adjustment type.
  877. adjustmentType: SellingPlanPricingPolicyAdjustmentType!
  878. # The price adjustment value.
  879. adjustmentValue: SellingPlanPricingPolicyAdjustmentValue!
  880. # Cycle after which this pricing policy applies.
  881. afterCycle: Int
  882. # The date and time when the recurring selling plan pricing policy was created.
  883. createdAt: DateTime!
  884. }
  885. # An auto-generated type for paginating through multiple Orders.
  886. type OrderConnection {
  887. # A list of edges.
  888. edges: [OrderEdge!]!
  889. # A list of the nodes contained in OrderEdge.
  890. nodes: [Order!]!
  891. # Information to aid in pagination.
  892. pageInfo: PageInfo!
  893. }
  894. # An auto-generated type which holds one Order and a cursor during pagination.
  895. type OrderEdge {
  896. # A cursor for use in pagination.
  897. cursor: String!
  898. # The item at the end of OrderEdge.
  899. node: Order!
  900. }
  901. # An auto-generated type for paginating through multiple CustomerPaymentMethods.
  902. type CustomerPaymentMethodConnection {
  903. # A list of edges.
  904. edges: [CustomerPaymentMethodEdge!]!
  905. # A list of the nodes contained in CustomerPaymentMethodEdge.
  906. nodes: [CustomerPaymentMethod!]!
  907. # Information to aid in pagination.
  908. pageInfo: PageInfo!
  909. }
  910. # An auto-generated type which holds one CustomerPaymentMethod and a cursor during pagination.
  911. type CustomerPaymentMethodEdge {
  912. # A cursor for use in pagination.
  913. cursor: String!
  914. # The item at the end of CustomerPaymentMethodEdge.
  915. node: CustomerPaymentMethod!
  916. }
  917. # An auto-generated type for paginating through multiple SubscriptionContracts.
  918. type SubscriptionContractConnection {
  919. # A list of edges.
  920. edges: [SubscriptionContractEdge!]!
  921. # A list of the nodes contained in SubscriptionContractEdge.
  922. nodes: [SubscriptionContract!]!
  923. # Information to aid in pagination.
  924. pageInfo: PageInfo!
  925. }
  926. # An auto-generated type which holds one SubscriptionContract and a cursor during pagination.
  927. type SubscriptionContractEdge {
  928. # A cursor for use in pagination.
  929. cursor: String!
  930. # The item at the end of SubscriptionContractEdge.
  931. node: SubscriptionContract!
  932. }
  933. # An auto-generated type for paginating through multiple SubscriptionManualDiscounts.
  934. type SubscriptionManualDiscountConnection {
  935. # A list of edges.
  936. edges: [SubscriptionManualDiscountEdge!]!
  937. # A list of the nodes contained in SubscriptionManualDiscountEdge.
  938. nodes: [SubscriptionManualDiscount!]!
  939. # Information to aid in pagination.
  940. pageInfo: PageInfo!
  941. }
  942. # An auto-generated type which holds one SubscriptionManualDiscount and a cursor during pagination.
  943. type SubscriptionManualDiscountEdge {
  944. # A cursor for use in pagination.
  945. cursor: String!
  946. # The item at the end of SubscriptionManualDiscountEdge.
  947. node: SubscriptionManualDiscount!
  948. }
  949. # An auto-generated type for paginating through multiple SubscriptionLines.
  950. type SubscriptionLineConnection {
  951. # A list of edges.
  952. edges: [SubscriptionLineEdge!]!
  953. # A list of the nodes contained in SubscriptionLineEdge.
  954. nodes: [SubscriptionLine!]!
  955. # Information to aid in pagination.
  956. pageInfo: PageInfo!
  957. }
  958. # An auto-generated type which holds one SubscriptionLine and a cursor during pagination.
  959. type SubscriptionLineEdge {
  960. # A cursor for use in pagination.
  961. cursor: String!
  962. # The item at the end of SubscriptionLineEdge.
  963. node: SubscriptionLine!
  964. }
  965. # An auto-generated type for paginating through multiple AppPurchaseOneTimes.
  966. type AppPurchaseOneTimeConnection {
  967. # A list of edges.
  968. edges: [AppPurchaseOneTimeEdge!]!
  969. # A list of the nodes contained in AppPurchaseOneTimeEdge.
  970. nodes: [AppPurchaseOneTime!]!
  971. # Information to aid in pagination.
  972. pageInfo: PageInfo!
  973. }
  974. # An auto-generated type which holds one AppPurchaseOneTime and a cursor during pagination.
  975. type AppPurchaseOneTimeEdge {
  976. # A cursor for use in pagination.
  977. cursor: String!
  978. # The item at the end of AppPurchaseOneTimeEdge.
  979. node: AppPurchaseOneTime!
  980. }
  981. # An auto-generated type for paginating through multiple SubscriptionBillingAttempts.
  982. type SubscriptionBillingAttemptConnection {
  983. # A list of edges.
  984. edges: [SubscriptionBillingAttemptEdge!]!
  985. # A list of the nodes contained in SubscriptionBillingAttemptEdge.
  986. nodes: [SubscriptionBillingAttempt!]!
  987. # Information to aid in pagination.
  988. pageInfo: PageInfo!
  989. }
  990. # An auto-generated type which holds one SubscriptionBillingAttempt and a cursor during pagination.
  991. type SubscriptionBillingAttemptEdge {
  992. # A cursor for use in pagination.
  993. cursor: String!
  994. # The item at the end of SubscriptionBillingAttemptEdge.
  995. node: SubscriptionBillingAttempt!
  996. }
  997. # An auto-generated type for paginating through multiple DraftOrders.
  998. type DraftOrderConnection {
  999. # A list of edges.
  1000. edges: [DraftOrderEdge!]!
  1001. # A list of the nodes contained in DraftOrderEdge.
  1002. nodes: [DraftOrder!]!
  1003. # Information to aid in pagination.
  1004. pageInfo: PageInfo!
  1005. }
  1006. # An auto-generated type which holds one DraftOrder and a cursor during pagination.
  1007. type DraftOrderEdge {
  1008. # A cursor for use in pagination.
  1009. cursor: String!
  1010. # The item at the end of DraftOrderEdge.
  1011. node: DraftOrder!
  1012. }
  1013. # An auto-generated type for paginating through multiple PaymentSchedules.
  1014. type PaymentScheduleConnection {
  1015. # A list of edges.
  1016. edges: [PaymentScheduleEdge!]!
  1017. # A list of the nodes contained in PaymentScheduleEdge.
  1018. nodes: [PaymentSchedule!]!
  1019. # Information to aid in pagination.
  1020. pageInfo: PageInfo!
  1021. }
  1022. # An auto-generated type which holds one PaymentSchedule and a cursor during pagination.
  1023. type PaymentScheduleEdge {
  1024. # A cursor for use in pagination.
  1025. cursor: String!
  1026. # The item at the end of PaymentScheduleEdge.
  1027. node: PaymentSchedule!
  1028. }
  1029. # An auto-generated type for paginating through multiple SellingPlans.
  1030. type SellingPlanConnection {
  1031. # A list of edges.
  1032. edges: [SellingPlanEdge!]!
  1033. # A list of the nodes contained in SellingPlanEdge.
  1034. nodes: [SellingPlan!]!
  1035. # Information to aid in pagination.
  1036. pageInfo: PageInfo!
  1037. }
  1038. # An auto-generated type which holds one SellingPlan and a cursor during pagination.
  1039. type SellingPlanEdge {
  1040. # A cursor for use in pagination.
  1041. cursor: String!
  1042. # The item at the end of SellingPlanEdge.
  1043. node: SellingPlan!
  1044. }
  1045. # An auto-generated type for paginating through multiple RefundLineItems.
  1046. type RefundLineItemConnection {
  1047. # A list of edges.
  1048. edges: [RefundLineItemEdge!]!
  1049. # A list of the nodes contained in RefundLineItemEdge.
  1050. nodes: [RefundLineItem!]!
  1051. # Information to aid in pagination.
  1052. pageInfo: PageInfo!
  1053. }
  1054. # An auto-generated type which holds one RefundLineItem and a cursor during pagination.
  1055. type RefundLineItemEdge {
  1056. # A cursor for use in pagination.
  1057. cursor: String!
  1058. # The item at the end of RefundLineItemEdge.
  1059. node: RefundLineItem!
  1060. }
  1061. # An auto-generated type for paginating through multiple OrderTransactions.
  1062. type OrderTransactionConnection {
  1063. # A list of edges.
  1064. edges: [OrderTransactionEdge!]!
  1065. # A list of the nodes contained in OrderTransactionEdge.
  1066. nodes: [OrderTransaction!]!
  1067. # Information to aid in pagination.
  1068. pageInfo: PageInfo!
  1069. }
  1070. # An auto-generated type which holds one OrderTransaction and a cursor during pagination.
  1071. type OrderTransactionEdge {
  1072. # A cursor for use in pagination.
  1073. cursor: String!
  1074. # The item at the end of OrderTransactionEdge.
  1075. node: OrderTransaction!
  1076. }
  1077. # An auto-generated type for paginating through multiple SellingPlanGroups.
  1078. type SellingPlanGroupConnection {
  1079. # A list of edges.
  1080. edges: [SellingPlanGroupEdge!]!
  1081. # A list of the nodes contained in SellingPlanGroupEdge.
  1082. nodes: [SellingPlanGroup!]!
  1083. # Information to aid in pagination.
  1084. pageInfo: PageInfo!
  1085. }
  1086. # An auto-generated type which holds one SellingPlanGroup and a cursor during pagination.
  1087. type SellingPlanGroupEdge {
  1088. # A cursor for use in pagination.
  1089. cursor: String!
  1090. # The item at the end of SellingPlanGroupEdge.
  1091. node: SellingPlanGroup!
  1092. }
  1093. # An auto-generated type for paginating through multiple LineItems.
  1094. type LineItemConnection {
  1095. # A list of edges.
  1096. edges: [LineItemEdge!]!
  1097. # A list of the nodes contained in LineItemEdge.
  1098. nodes: [LineItem!]!
  1099. # Information to aid in pagination.
  1100. pageInfo: PageInfo!
  1101. }
  1102. # An auto-generated type which holds one LineItem and a cursor during pagination.
  1103. type LineItemEdge {
  1104. # A cursor for use in pagination.
  1105. cursor: String!
  1106. # The item at the end of LineItemEdge.
  1107. node: LineItem!
  1108. }
  1109. # An auto-generated type for paginating through multiple ShippingLines.
  1110. type ShippingLineConnection {
  1111. # A list of edges.
  1112. edges: [ShippingLineEdge!]!
  1113. # A list of the nodes contained in ShippingLineEdge.
  1114. nodes: [ShippingLine!]!
  1115. # Information to aid in pagination.
  1116. pageInfo: PageInfo!
  1117. }
  1118. # An auto-generated type which holds one ShippingLine and a cursor during pagination.
  1119. type ShippingLineEdge {
  1120. # A cursor for use in pagination.
  1121. cursor: String!
  1122. # The item at the end of ShippingLineEdge.
  1123. node: ShippingLine!
  1124. }
  1125. # An auto-generated type for paginating through multiple DraftOrderLineItems.
  1126. type DraftOrderLineItemConnection {
  1127. # A list of edges.
  1128. edges: [DraftOrderLineItemEdge!]!
  1129. # A list of the nodes contained in DraftOrderLineItemEdge.
  1130. nodes: [DraftOrderLineItem!]!
  1131. # Information to aid in pagination.
  1132. pageInfo: PageInfo!
  1133. }
  1134. # An auto-generated type which holds one DraftOrderLineItem and a cursor during pagination.
  1135. type DraftOrderLineItemEdge {
  1136. # A cursor for use in pagination.
  1137. cursor: String!
  1138. # The item at the end of DraftOrderLineItemEdge.
  1139. node: DraftOrderLineItem!
  1140. }