@@ -170,7 +170,7 @@ type CartDeliveryOption {
170
170
"""
171
171
The unique identifier of the delivery option.
172
172
"""
173
- handle : String !
173
+ handle : Handle !
174
174
175
175
"""
176
176
The title of the delivery option.
@@ -2495,6 +2495,11 @@ type Customer implements HasMetafields {
2495
2495
"""
2496
2496
email : String
2497
2497
2498
+ """
2499
+ The customer's first name.
2500
+ """
2501
+ firstName : String
2502
+
2498
2503
"""
2499
2504
Whether the customer has any of the given tags.
2500
2505
"""
@@ -2520,6 +2525,11 @@ type Customer implements HasMetafields {
2520
2525
"""
2521
2526
id : ID !
2522
2527
2528
+ """
2529
+ The customer's last name.
2530
+ """
2531
+ lastName : String
2532
+
2523
2533
"""
2524
2534
Returns a metafield by namespace and key that belongs to the resource.
2525
2535
"""
@@ -2636,6 +2646,26 @@ enum DeliveryMethod {
2636
2646
SHIPPING
2637
2647
}
2638
2648
2649
+ """
2650
+ A customization representing how delivery options are generated.
2651
+ """
2652
+ type DeliveryOptionGenerator implements HasMetafields {
2653
+ """
2654
+ Returns a metafield by namespace and key that belongs to the resource.
2655
+ """
2656
+ metafield (
2657
+ """
2658
+ The key for the metafield.
2659
+ """
2660
+ key : String !
2661
+
2662
+ """
2663
+ The container the metafield belongs to. If omitted, the app-reserved namespace will be used.
2664
+ """
2665
+ namespace : String
2666
+ ): Metafield
2667
+ }
2668
+
2639
2669
"""
2640
2670
A group of one or more items to be fulfilled together.
2641
2671
"""
@@ -2659,39 +2689,30 @@ type FulfillmentGroup {
2659
2689
A list of inventory location handles for the fulfillment group.
2660
2690
"""
2661
2691
inventoryLocationHandles : [Handle ! ]!
2662
- }
2663
-
2664
- """
2665
- A list of ranked locations for this fulfillment group.
2666
- """
2667
- input FulfillmentGroupRankedLocations {
2668
- """
2669
- The identifier for the fulfillment group.
2670
- """
2671
- fulfillmentGroupHandle : Handle !
2672
2692
2673
2693
"""
2674
- The ranked locations for this fulfillment group.
2694
+ The merchandise in the fulfillment group.
2675
2695
"""
2676
- rankings : [RankedLocation ! ]!
2696
+ lines : [CartLine ! ]!
2677
2697
}
2678
2698
2679
2699
"""
2680
- The result of the function. In API versions 2023-10 and beyond, this type is deprecated in favor of `FunctionRunResult`.
2700
+ The result of a local pickup delivery option generator function. In API versions
2701
+ 2023-10 and beyond, this type is deprecated in favor of `FunctionRunResult`.
2681
2702
"""
2682
2703
input FunctionResult {
2683
2704
"""
2684
- The ranked locations for each fulfillment group .
2705
+ The ordered list of operations to apply for local pickup delivery option generation .
2685
2706
"""
2686
2707
operations : [Operation ! ]!
2687
2708
}
2688
2709
2689
2710
"""
2690
- The result of the function.
2711
+ The result of a local pickup delivery option generator function.
2691
2712
"""
2692
2713
input FunctionRunResult {
2693
2714
"""
2694
- The ranked locations for each fulfillment group .
2715
+ The ordered list of operations to apply for local pickup delivery option generation .
2695
2716
"""
2696
2717
operations : [Operation ! ]!
2697
2718
}
@@ -2708,7 +2729,7 @@ type GateConfiguration implements HasMetafields {
2708
2729
"""
2709
2730
A non-unique string used to group gate configurations.
2710
2731
"""
2711
- handle : String
2732
+ handle : Handle
2712
2733
2713
2734
"""
2714
2735
The ID of the gate configuration.
@@ -2769,7 +2790,7 @@ interface HasGates {
2769
2790
"""
2770
2791
The handle of the gate configurations to search for.
2771
2792
"""
2772
- handle : String
2793
+ handle : Handle
2773
2794
): [GateSubject ! ]!
2774
2795
}
2775
2796
@@ -2816,32 +2837,29 @@ Example value: `"gid://shopify/Product/10079785100"`
2816
2837
"""
2817
2838
scalar ID
2818
2839
2819
- """
2820
- The input object for the function.
2821
- """
2822
2840
type Input {
2823
2841
"""
2824
2842
The cart.
2825
2843
"""
2826
2844
cart : Cart !
2827
2845
2828
2846
"""
2829
- List of fulfillment groups in the context of this cart .
2847
+ The delivery option generator that owns the current function .
2830
2848
"""
2831
- fulfillmentGroups : [ FulfillmentGroup ! ] !
2849
+ deliveryOptionGenerator : DeliveryOptionGenerator !
2832
2850
2833
2851
"""
2834
- The localization of the Function execution context .
2852
+ A list of fulfillment groups .
2835
2853
"""
2836
- localization : Localization !
2854
+ fulfillmentGroups : [ FulfillmentGroup ! ] !
2837
2855
2838
2856
"""
2839
- The order routing location rule containing the function .
2857
+ The localization of the Function execution context .
2840
2858
"""
2841
- locationRule : OrderRoutingLocationRule !
2859
+ localization : Localization !
2842
2860
2843
2861
"""
2844
- The locations where the inventory items on this cart are stocked .
2862
+ The locations that can fulfill the items in the cart or that offer local pickup .
2845
2863
"""
2846
2864
locations : [Location ! ]!
2847
2865
@@ -3576,6 +3594,26 @@ enum LanguageCode {
3576
3594
ZU
3577
3595
}
3578
3596
3597
+ """
3598
+ A local pickup delivery option.
3599
+ """
3600
+ input LocalPickupDeliveryOption {
3601
+ """
3602
+ The cost of the delivery option in the currency of the cart. Defaults to zero.
3603
+ """
3604
+ cost : Decimal
3605
+
3606
+ """
3607
+ The pickup location.
3608
+ """
3609
+ pickupLocation : PickupLocation !
3610
+
3611
+ """
3612
+ The title of the delivery option.
3613
+ """
3614
+ title : String
3615
+ }
3616
+
3579
3617
"""
3580
3618
Represents limited information about the current time relative to the parent object.
3581
3619
"""
@@ -3868,7 +3906,7 @@ type Market implements HasMetafields {
3868
3906
"""
3869
3907
A human-readable unique string for the market automatically generated from its title.
3870
3908
"""
3871
- handle : String !
3909
+ handle : Handle !
3872
3910
3873
3911
"""
3874
3912
A globally-unique identifier.
@@ -3977,7 +4015,7 @@ type MutationRoot {
3977
4015
): Void ! @deprecated (reason : " Use the target-specific field instead." )
3978
4016
3979
4017
"""
3980
- Handles the Function result for the purchase.order-routing-location-rule .run target.
4018
+ Handles the Function result for the purchase.local-pickup-delivery-option-generator .run target.
3981
4019
"""
3982
4020
run (
3983
4021
"""
@@ -3988,33 +4026,26 @@ type MutationRoot {
3988
4026
}
3989
4027
3990
4028
"""
3991
- An operation to apply to the fulfillment group inventory locations .
4029
+ An operation to generate local pickup delivery options .
3992
4030
"""
3993
4031
input Operation {
3994
4032
"""
3995
- Request to rank a fulfillment group's inventory locations .
4033
+ The local pickup delivery option to add .
3996
4034
"""
3997
- rank : FulfillmentGroupRankedLocations !
4035
+ add : LocalPickupDeliveryOption !
3998
4036
}
3999
4037
4000
- """
4001
- A customization which ranks inventory locations for fulfillment purposes.
4002
- """
4003
- type OrderRoutingLocationRule implements HasMetafields {
4038
+ input PickupLocation {
4004
4039
"""
4005
- Returns a metafield by namespace and key that belongs to the resource .
4040
+ The location handle of the pickup in-store location .
4006
4041
"""
4007
- metafield (
4008
- """
4009
- The key for the metafield.
4010
- """
4011
- key : String !
4042
+ locationHandle : Handle !
4012
4043
4013
- """
4014
- The container the metafield belongs to. If omitted, the app-reserved namespace will be used .
4015
- """
4016
- namespace : String
4017
- ): Metafield
4044
+ """
4045
+ The pickup instruction to show to customers at checkout .
4046
+ Defaults to location's local pickup expected pickup time setting.
4047
+ """
4048
+ pickupInstruction : String
4018
4049
}
4019
4050
4020
4051
"""
@@ -4028,13 +4059,13 @@ type Product implements HasGates & HasMetafields {
4028
4059
"""
4029
4060
The handle of the gate configurations to search for.
4030
4061
"""
4031
- handle : String
4062
+ handle : Handle
4032
4063
): [GateSubject ! ]!
4033
4064
4034
4065
"""
4035
4066
A unique human-friendly string of the product's title.
4036
4067
"""
4037
- handle : String !
4068
+ handle : Handle !
4038
4069
4039
4070
"""
4040
4071
Whether the product has any of the given tags.
@@ -4192,21 +4223,6 @@ type PurchasingCompany {
4192
4223
location : CompanyLocation !
4193
4224
}
4194
4225
4195
- """
4196
- A location with a rank associated with it.
4197
- """
4198
- input RankedLocation {
4199
- """
4200
- The location handle.
4201
- """
4202
- locationHandle : Handle !
4203
-
4204
- """
4205
- The location's rank.
4206
- """
4207
- rank : Int !
4208
- }
4209
-
4210
4226
"""
4211
4227
Represents how products and variants can be sold and purchased.
4212
4228
"""
@@ -4335,4 +4351,4 @@ enum WeightUnit {
4335
4351
1 pound equals 16 ounces.
4336
4352
"""
4337
4353
POUNDS
4338
- }
4354
+ }
0 commit comments