1
+ # This file is auto-generated from the current state of the GraphQL API. Instead of editing this file,
2
+ # please edit the ruby definition files and run `bin/rails graphql:schema:dump` to regenerate the schema.
3
+ #
4
+ # If you're just looking to browse, you may find it friendlier to use the graphiql browser which is
5
+ # available in services-internal at https://app.shopify.com/services/internal/shops/14168/graphql.
6
+ # Check out the "Docs" tab in the top right.
7
+
1
8
schema {
2
9
query : Input
3
10
mutation : MutationRoot
@@ -19,7 +26,7 @@ type Attribute {
19
26
}
20
27
21
28
"""
22
- Represents information about the buyer that is interacting with the cart.
29
+ Represents information about the buyer that is interacting with the cart. Only set when the buyer is logged in.
23
30
"""
24
31
type BuyerIdentity {
25
32
"""
@@ -67,6 +74,11 @@ type Cart {
67
74
"""
68
75
cost : CartCost !
69
76
77
+ """
78
+ A list of lines containing information about the items that can be delivered.
79
+ """
80
+ deliverableLines : [DeliverableCartLine ! ]!
81
+
70
82
"""
71
83
The delivery groups available for the cart based on the buyer's shipping address.
72
84
"""
@@ -359,21 +371,6 @@ type CompanyLocation implements HasMetafields {
359
371
updatedAt : DateTime !
360
372
}
361
373
362
- """
363
- A country which comprises a market.
364
- """
365
- type Country implements Region {
366
- """
367
- The two-letter code for the country.
368
- """
369
- code : CountryCode !
370
-
371
- """
372
- The country name.
373
- """
374
- name : String !
375
- }
376
-
377
374
"""
378
375
The code designating a country/region, which generally follows ISO 3166-1 alpha-2 guidelines.
379
376
If a territory doesn't have a country code value in the `CountryCode` enum, then it might be considered a subdivision
@@ -2514,6 +2511,38 @@ Example values: `"29.99"`, `"29.999"`.
2514
2511
"""
2515
2512
scalar Decimal
2516
2513
2514
+ """
2515
+ Represents information about the merchandise in the cart.
2516
+ """
2517
+ type DeliverableCartLine {
2518
+ """
2519
+ Retrieve a cart line attribute by key.
2520
+
2521
+ Cart line attributes are also known as line item properties in Liquid.
2522
+ """
2523
+ attribute (
2524
+ """
2525
+ The key of the attribute to retrieve.
2526
+ """
2527
+ key : String
2528
+ ): Attribute
2529
+
2530
+ """
2531
+ The ID of the cart line.
2532
+ """
2533
+ id : ID !
2534
+
2535
+ """
2536
+ The merchandise that the buyer intends to purchase.
2537
+ """
2538
+ merchandise : Merchandise !
2539
+
2540
+ """
2541
+ The quantity of the merchandise that the customer intends to purchase.
2542
+ """
2543
+ quantity : Int !
2544
+ }
2545
+
2517
2546
"""
2518
2547
List of different delivery method types.
2519
2548
"""
@@ -2576,7 +2605,7 @@ input FulfillmentGroupRankedLocations {
2576
2605
"""
2577
2606
The identifier for the fulfillment group.
2578
2607
"""
2579
- fulfillmentGroupId : String !
2608
+ fulfillmentGroupId : ID !
2580
2609
2581
2610
"""
2582
2611
The ranked locations for this fulfillment group.
@@ -2594,6 +2623,76 @@ input FunctionResult {
2594
2623
operations : [Operation ! ]!
2595
2624
}
2596
2625
2626
+ """
2627
+ Represents a gate configuration.
2628
+ """
2629
+ type GateConfiguration implements HasMetafields {
2630
+ """
2631
+ An optional string identifier.
2632
+ """
2633
+ appId : String
2634
+
2635
+ """
2636
+ A non-unique string used to group gate configurations.
2637
+ """
2638
+ handle : String
2639
+
2640
+ """
2641
+ The ID of the gate configuration.
2642
+ """
2643
+ id : ID !
2644
+
2645
+ """
2646
+ Returns a metafield by namespace and key that belongs to the resource.
2647
+ """
2648
+ metafield (
2649
+ """
2650
+ The key for the metafield.
2651
+ """
2652
+ key : String !
2653
+
2654
+ """
2655
+ The namespace for the metafield.
2656
+ """
2657
+ namespace : String !
2658
+ ): Metafield
2659
+ }
2660
+
2661
+ """
2662
+ Represents a connection from a subject to a gate configuration.
2663
+ """
2664
+ type GateSubject {
2665
+ """
2666
+ The bound gate configuration.
2667
+ """
2668
+ configuration (
2669
+ """
2670
+ The appId of the gate configurations to search for.
2671
+ """
2672
+ appId : String @deprecated (reason : " Use GateSubject.handle to filter gates instead." )
2673
+ ): GateConfiguration !
2674
+
2675
+ """
2676
+ The ID of the gate subject.
2677
+ """
2678
+ id : ID !
2679
+ }
2680
+
2681
+ """
2682
+ Gate subjects associated to the specified resource.
2683
+ """
2684
+ interface HasGates {
2685
+ """
2686
+ Returns active gate subjects bound to the resource.
2687
+ """
2688
+ gates (
2689
+ """
2690
+ The handle of the gate configurations to search for.
2691
+ """
2692
+ handle : String
2693
+ ): [GateSubject ! ]!
2694
+ }
2695
+
2597
2696
"""
2598
2697
Represents information about the metafields associated to the specified resource.
2599
2698
"""
@@ -2622,6 +2721,9 @@ Example value: `"gid://shopify/Product/10079785100"`
2622
2721
"""
2623
2722
scalar ID
2624
2723
2724
+ """
2725
+ The input object for the function.
2726
+ """
2625
2727
type Input {
2626
2728
"""
2627
2729
Cart.
@@ -2660,7 +2762,7 @@ type InventoryLocation {
2660
2762
}
2661
2763
2662
2764
"""
2663
- Represents the location where the physical good resides.
2765
+ Represents the location where the inventory resides.
2664
2766
"""
2665
2767
type Location implements HasMetafields {
2666
2768
"""
@@ -2798,6 +2900,16 @@ type MailingAddress {
2798
2900
"""
2799
2901
lastName : String
2800
2902
2903
+ """
2904
+ The approximate latitude of the address.
2905
+ """
2906
+ latitude : Float
2907
+
2908
+ """
2909
+ The approximate longitude of the address.
2910
+ """
2911
+ longitude : Float
2912
+
2801
2913
"""
2802
2914
The full name of the customer, based on firstName and lastName.
2803
2915
"""
@@ -2834,6 +2946,21 @@ type Market {
2834
2946
regions : [Region ! ]!
2835
2947
}
2836
2948
2949
+ """
2950
+ A country which comprises a market.
2951
+ """
2952
+ type MarketRegionCountry implements Region {
2953
+ """
2954
+ The two-letter code for the country.
2955
+ """
2956
+ code : CountryCode !
2957
+
2958
+ """
2959
+ The country name.
2960
+ """
2961
+ name : String !
2962
+ }
2963
+
2837
2964
"""
2838
2965
The merchandise to be purchased at checkout.
2839
2966
"""
@@ -2891,11 +3018,11 @@ type MutationRoot {
2891
3018
}
2892
3019
2893
3020
"""
2894
- A list of ranked locations for a fulfillment group.
3021
+ An operation to apply to the fulfillment group inventory locations .
2895
3022
"""
2896
3023
input Operation {
2897
3024
"""
2898
- The ranked locations for a fulfillment group.
3025
+ Request to rank a fulfillment group's inventory locations .
2899
3026
"""
2900
3027
rank : FulfillmentGroupRankedLocations !
2901
3028
}
@@ -2923,7 +3050,17 @@ type OrderRoutingLocationRule implements HasMetafields {
2923
3050
"""
2924
3051
Represents a product.
2925
3052
"""
2926
- type Product implements HasMetafields {
3053
+ type Product implements HasGates & HasMetafields {
3054
+ """
3055
+ Returns active gate subjects bound to the resource.
3056
+ """
3057
+ gates (
3058
+ """
3059
+ The handle of the gate configurations to search for.
3060
+ """
3061
+ handle : String
3062
+ ): [GateSubject ! ]!
3063
+
2927
3064
"""
2928
3065
A unique human-friendly string of the product's title.
2929
3066
"""
0 commit comments