Skip to content

Commit 5731133

Browse files
authored
Merge pull request #562 from Shopify/2024-10
Update APIs to 2024-10
2 parents f7211ff + 4220788 commit 5731133

File tree

58 files changed

+1078
-242
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+1078
-242
lines changed

checkout/javascript/cart-checkout-validation/default/schema.graphql

Lines changed: 27 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@ Only allow the field to be queried when targeting one of the specified targets.
99
directive @restrictTarget(only: [String!]!) on FIELD_DEFINITION
1010

1111
"""
12-
Represents a generic custom attribute.
12+
Represents a generic custom attribute, such as whether an order is a customer's first.
1313
"""
1414
type Attribute {
1515
"""
16-
Key or name of the attribute.
16+
The key or name of the attribute. For example, `"customersFirstOrder"`.
1717
"""
1818
key: String!
1919

2020
"""
21-
Value of the attribute.
21+
The value of the attribute. For example, `"true"`.
2222
"""
2323
value: String
2424
}
@@ -2844,7 +2844,7 @@ type HttpResponse {
28442844
"""
28452845
The HTTP headers.
28462846
"""
2847-
headers: [HttpResponseHeader!]!
2847+
headers: [HttpResponseHeader!]! @deprecated(reason: "Use `header` instead.")
28482848

28492849
"""
28502850
The HTTP status code.
@@ -2940,7 +2940,7 @@ type Language {
29402940
}
29412941

29422942
"""
2943-
ISO 639-1 language codes supported by Shopify.
2943+
Language codes supported by Shopify.
29442944
"""
29452945
enum LanguageCode {
29462946
"""
@@ -3018,6 +3018,11 @@ enum LanguageCode {
30183018
"""
30193019
CE
30203020

3021+
"""
3022+
Central Kurdish.
3023+
"""
3024+
CKB
3025+
30213026
"""
30223027
Czech.
30233028
"""
@@ -3098,6 +3103,11 @@ enum LanguageCode {
30983103
"""
30993104
FI
31003105

3106+
"""
3107+
Filipino.
3108+
"""
3109+
FIL
3110+
31013111
"""
31023112
Faroese.
31033113
"""
@@ -3448,6 +3458,16 @@ enum LanguageCode {
34483458
"""
34493459
RW
34503460

3461+
"""
3462+
Sanskrit.
3463+
"""
3464+
SA
3465+
3466+
"""
3467+
Sardinian.
3468+
"""
3469+
SC
3470+
34513471
"""
34523472
Sindhi.
34533473
"""
@@ -4234,8 +4254,8 @@ scalar TimeWithoutTimezone
42344254
Represents an [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986) and
42354255
[RFC 3987](https://datatracker.ietf.org/doc/html/rfc3987)-compliant URI string.
42364256
4237-
For example, `"https://johns-apparel.myshopify.com"` is a valid URL. It includes a scheme (`https`) and a host
4238-
(`johns-apparel.myshopify.com`).
4257+
For example, `"https://example.myshopify.com"` is a valid URL. It includes a scheme (`https`) and a host
4258+
(`example.myshopify.com`).
42394259
"""
42404260
scalar URL
42414261

checkout/javascript/cart-checkout-validation/default/shopify.extension.toml.liquid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
api_version = "2024-07"
1+
api_version = "2024-10"
22

33
[[extensions]]
44
name = "t:name"

checkout/javascript/cart-transform/default/schema.graphql

Lines changed: 27 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@ Requires that exactly one field must be supplied and that field must not be `nul
99
directive @oneOf on INPUT_OBJECT
1010

1111
"""
12-
Represents a generic custom attribute.
12+
Represents a generic custom attribute, such as whether an order is a customer's first.
1313
"""
1414
type Attribute {
1515
"""
16-
Key or name of the attribute.
16+
The key or name of the attribute. For example, `"customersFirstOrder"`.
1717
"""
1818
key: String!
1919

2020
"""
21-
Value of the attribute.
21+
The value of the attribute. For example, `"true"`.
2222
"""
2323
value: String
2424
}
@@ -2763,7 +2763,7 @@ type Language {
27632763
}
27642764

27652765
"""
2766-
ISO 639-1 language codes supported by Shopify.
2766+
Language codes supported by Shopify.
27672767
"""
27682768
enum LanguageCode {
27692769
"""
@@ -2841,6 +2841,11 @@ enum LanguageCode {
28412841
"""
28422842
CE
28432843

2844+
"""
2845+
Central Kurdish.
2846+
"""
2847+
CKB
2848+
28442849
"""
28452850
Czech.
28462851
"""
@@ -2921,6 +2926,11 @@ enum LanguageCode {
29212926
"""
29222927
FI
29232928

2929+
"""
2930+
Filipino.
2931+
"""
2932+
FIL
2933+
29242934
"""
29252935
Faroese.
29262936
"""
@@ -3271,6 +3281,16 @@ enum LanguageCode {
32713281
"""
32723282
RW
32733283

3284+
"""
3285+
Sanskrit.
3286+
"""
3287+
SA
3288+
3289+
"""
3290+
Sardinian.
3291+
"""
3292+
SC
3293+
32743294
"""
32753295
Sindhi.
32763296
"""
@@ -4021,8 +4041,8 @@ scalar TimeWithoutTimezone
40214041
Represents an [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986) and
40224042
[RFC 3987](https://datatracker.ietf.org/doc/html/rfc3987)-compliant URI string.
40234043
4024-
For example, `"https://johns-apparel.myshopify.com"` is a valid URL. It includes a scheme (`https`) and a host
4025-
(`johns-apparel.myshopify.com`).
4044+
For example, `"https://example.myshopify.com"` is a valid URL. It includes a scheme (`https`) and a host
4045+
(`example.myshopify.com`).
40264046
"""
40274047
scalar URL
40284048

@@ -4046,7 +4066,7 @@ input UpdateOperation {
40464066
price: UpdateOperationPriceAdjustment
40474067

40484068
"""
4049-
The title override for the cart line item. If not provided, the variant title is used.
4069+
The title override for the cart line item.
40504070
"""
40514071
title: String
40524072
}

checkout/javascript/cart-transform/default/shopify.extension.toml.liquid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
api_version = "2024-07"
1+
api_version = "2024-10"
22

33
[[extensions]]
44
name = "t:name"

checkout/javascript/delivery-customization/default/schema.graphql

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@ Requires that exactly one field must be supplied and that field must not be `nul
99
directive @oneOf on INPUT_OBJECT
1010

1111
"""
12-
Represents a generic custom attribute.
12+
Represents a generic custom attribute, such as whether an order is a customer's first.
1313
"""
1414
type Attribute {
1515
"""
16-
Key or name of the attribute.
16+
The key or name of the attribute. For example, `"customersFirstOrder"`.
1717
"""
1818
key: String!
1919

2020
"""
21-
Value of the attribute.
21+
The value of the attribute. For example, `"true"`.
2222
"""
2323
value: String
2424
}
@@ -2806,7 +2806,7 @@ type Language {
28062806
}
28072807

28082808
"""
2809-
ISO 639-1 language codes supported by Shopify.
2809+
Language codes supported by Shopify.
28102810
"""
28112811
enum LanguageCode {
28122812
"""
@@ -2884,6 +2884,11 @@ enum LanguageCode {
28842884
"""
28852885
CE
28862886

2887+
"""
2888+
Central Kurdish.
2889+
"""
2890+
CKB
2891+
28872892
"""
28882893
Czech.
28892894
"""
@@ -2964,6 +2969,11 @@ enum LanguageCode {
29642969
"""
29652970
FI
29662971

2972+
"""
2973+
Filipino.
2974+
"""
2975+
FIL
2976+
29672977
"""
29682978
Faroese.
29692979
"""
@@ -3314,6 +3324,16 @@ enum LanguageCode {
33143324
"""
33153325
RW
33163326

3327+
"""
3328+
Sanskrit.
3329+
"""
3330+
SA
3331+
3332+
"""
3333+
Sardinian.
3334+
"""
3335+
SC
3336+
33173337
"""
33183338
Sindhi.
33193339
"""

checkout/javascript/delivery-customization/default/shopify.extension.toml.liquid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
api_version = "2024-07"
1+
api_version = "2024-10"
22

33
[[extensions]]
44
name = "t:name"

checkout/javascript/payment-customization/default/schema.graphql

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@ Requires that exactly one field must be supplied and that field must not be `nul
99
directive @oneOf on INPUT_OBJECT
1010

1111
"""
12-
Represents a generic custom attribute.
12+
Represents a generic custom attribute, such as whether an order is a customer's first.
1313
"""
1414
type Attribute {
1515
"""
16-
Key or name of the attribute.
16+
The key or name of the attribute. For example, `"customersFirstOrder"`.
1717
"""
1818
key: String!
1919

2020
"""
21-
Value of the attribute.
21+
The value of the attribute. For example, `"true"`.
2222
"""
2323
value: String
2424
}
@@ -2796,7 +2796,7 @@ type Language {
27962796
}
27972797

27982798
"""
2799-
ISO 639-1 language codes supported by Shopify.
2799+
Language codes supported by Shopify.
28002800
"""
28012801
enum LanguageCode {
28022802
"""
@@ -2874,6 +2874,11 @@ enum LanguageCode {
28742874
"""
28752875
CE
28762876

2877+
"""
2878+
Central Kurdish.
2879+
"""
2880+
CKB
2881+
28772882
"""
28782883
Czech.
28792884
"""
@@ -2954,6 +2959,11 @@ enum LanguageCode {
29542959
"""
29552960
FI
29562961

2962+
"""
2963+
Filipino.
2964+
"""
2965+
FIL
2966+
29572967
"""
29582968
Faroese.
29592969
"""
@@ -3304,6 +3314,16 @@ enum LanguageCode {
33043314
"""
33053315
RW
33063316

3317+
"""
3318+
Sanskrit.
3319+
"""
3320+
SA
3321+
3322+
"""
3323+
Sardinian.
3324+
"""
3325+
SC
3326+
33073327
"""
33083328
Sindhi.
33093329
"""
@@ -3856,6 +3876,10 @@ type PaymentCustomizationPaymentMethod {
38563876
Unique identifier for the payment method.
38573877
"""
38583878
id: ID!
3879+
3880+
"""
3881+
Name for the payment method.
3882+
"""
38593883
name: String!
38603884

38613885
"""

checkout/javascript/payment-customization/default/shopify.extension.toml.liquid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
api_version = "2024-07"
1+
api_version = "2024-10"
22

33
[[extensions]]
44
name = "t:name"

0 commit comments

Comments
 (0)