shopify_api 14.6.0 → 14.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (92) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +11 -0
  3. data/Gemfile.lock +12 -7
  4. data/docs/usage/oauth.md +14 -0
  5. data/docs/usage/rest.md +2 -0
  6. data/docs/usage/webhooks.md +11 -0
  7. data/lib/shopify_api/admin_versions.rb +2 -1
  8. data/lib/shopify_api/clients/rest/admin.rb +5 -0
  9. data/lib/shopify_api/context.rb +12 -3
  10. data/lib/shopify_api/errors/disabled_resource_error.rb +8 -0
  11. data/lib/shopify_api/rest/resources/2024_07/webhook.rb +1 -0
  12. data/lib/shopify_api/rest/resources/2024_10/webhook.rb +1 -0
  13. data/lib/shopify_api/rest/resources/2025_01/abandoned_checkout.rb +194 -0
  14. data/lib/shopify_api/rest/resources/2025_01/access_scope.rb +62 -0
  15. data/lib/shopify_api/rest/resources/2025_01/apple_pay_certificate.rb +109 -0
  16. data/lib/shopify_api/rest/resources/2025_01/application_charge.rb +113 -0
  17. data/lib/shopify_api/rest/resources/2025_01/application_credit.rb +95 -0
  18. data/lib/shopify_api/rest/resources/2025_01/article.rb +269 -0
  19. data/lib/shopify_api/rest/resources/2025_01/asset.rb +122 -0
  20. data/lib/shopify_api/rest/resources/2025_01/assigned_fulfillment_order.rb +92 -0
  21. data/lib/shopify_api/rest/resources/2025_01/balance.rb +58 -0
  22. data/lib/shopify_api/rest/resources/2025_01/blog.rb +166 -0
  23. data/lib/shopify_api/rest/resources/2025_01/cancellation_request.rb +87 -0
  24. data/lib/shopify_api/rest/resources/2025_01/carrier_service.rb +120 -0
  25. data/lib/shopify_api/rest/resources/2025_01/checkout.rb +213 -0
  26. data/lib/shopify_api/rest/resources/2025_01/collect.rb +146 -0
  27. data/lib/shopify_api/rest/resources/2025_01/collection.rb +114 -0
  28. data/lib/shopify_api/rest/resources/2025_01/collection_listing.rb +159 -0
  29. data/lib/shopify_api/rest/resources/2025_01/comment.rb +287 -0
  30. data/lib/shopify_api/rest/resources/2025_01/country.rb +141 -0
  31. data/lib/shopify_api/rest/resources/2025_01/currency.rb +61 -0
  32. data/lib/shopify_api/rest/resources/2025_01/custom_collection.rb +191 -0
  33. data/lib/shopify_api/rest/resources/2025_01/customer.rb +328 -0
  34. data/lib/shopify_api/rest/resources/2025_01/customer_address.rb +215 -0
  35. data/lib/shopify_api/rest/resources/2025_01/deprecated_api_call.rb +61 -0
  36. data/lib/shopify_api/rest/resources/2025_01/discount_code.rb +226 -0
  37. data/lib/shopify_api/rest/resources/2025_01/dispute.rb +115 -0
  38. data/lib/shopify_api/rest/resources/2025_01/dispute_evidence.rb +121 -0
  39. data/lib/shopify_api/rest/resources/2025_01/dispute_file_upload.rb +85 -0
  40. data/lib/shopify_api/rest/resources/2025_01/draft_order.rb +279 -0
  41. data/lib/shopify_api/rest/resources/2025_01/event.rb +152 -0
  42. data/lib/shopify_api/rest/resources/2025_01/fulfillment.rb +235 -0
  43. data/lib/shopify_api/rest/resources/2025_01/fulfillment_event.rb +167 -0
  44. data/lib/shopify_api/rest/resources/2025_01/fulfillment_order.rb +326 -0
  45. data/lib/shopify_api/rest/resources/2025_01/fulfillment_request.rb +116 -0
  46. data/lib/shopify_api/rest/resources/2025_01/fulfillment_service.rb +134 -0
  47. data/lib/shopify_api/rest/resources/2025_01/gift_card.rb +222 -0
  48. data/lib/shopify_api/rest/resources/2025_01/gift_card_adjustment.rb +122 -0
  49. data/lib/shopify_api/rest/resources/2025_01/image.rb +161 -0
  50. data/lib/shopify_api/rest/resources/2025_01/inventory_item.rb +112 -0
  51. data/lib/shopify_api/rest/resources/2025_01/inventory_level.rb +183 -0
  52. data/lib/shopify_api/rest/resources/2025_01/location.rb +171 -0
  53. data/lib/shopify_api/rest/resources/2025_01/locations_for_move.rb +60 -0
  54. data/lib/shopify_api/rest/resources/2025_01/marketing_event.rb +213 -0
  55. data/lib/shopify_api/rest/resources/2025_01/metafield.rb +348 -0
  56. data/lib/shopify_api/rest/resources/2025_01/mobile_platform_application.rb +120 -0
  57. data/lib/shopify_api/rest/resources/2025_01/order.rb +503 -0
  58. data/lib/shopify_api/rest/resources/2025_01/order_risk.rb +148 -0
  59. data/lib/shopify_api/rest/resources/2025_01/page.rb +198 -0
  60. data/lib/shopify_api/rest/resources/2025_01/payment.rb +98 -0
  61. data/lib/shopify_api/rest/resources/2025_01/payment_gateway.rb +147 -0
  62. data/lib/shopify_api/rest/resources/2025_01/payment_transaction.rb +117 -0
  63. data/lib/shopify_api/rest/resources/2025_01/payout.rb +101 -0
  64. data/lib/shopify_api/rest/resources/2025_01/policy.rb +73 -0
  65. data/lib/shopify_api/rest/resources/2025_01/price_rule.rb +227 -0
  66. data/lib/shopify_api/rest/resources/2025_01/product.rb +227 -0
  67. data/lib/shopify_api/rest/resources/2025_01/product_listing.rb +200 -0
  68. data/lib/shopify_api/rest/resources/2025_01/product_resource_feedback.rb +92 -0
  69. data/lib/shopify_api/rest/resources/2025_01/province.rb +136 -0
  70. data/lib/shopify_api/rest/resources/2025_01/recurring_application_charge.rb +184 -0
  71. data/lib/shopify_api/rest/resources/2025_01/redirect.rb +143 -0
  72. data/lib/shopify_api/rest/resources/2025_01/refund.rb +158 -0
  73. data/lib/shopify_api/rest/resources/2025_01/resource_feedback.rb +77 -0
  74. data/lib/shopify_api/rest/resources/2025_01/script_tag.rb +159 -0
  75. data/lib/shopify_api/rest/resources/2025_01/shipping_zone.rb +87 -0
  76. data/lib/shopify_api/rest/resources/2025_01/shop.rb +231 -0
  77. data/lib/shopify_api/rest/resources/2025_01/smart_collection.rb +220 -0
  78. data/lib/shopify_api/rest/resources/2025_01/storefront_access_token.rb +91 -0
  79. data/lib/shopify_api/rest/resources/2025_01/tender_transaction.rb +97 -0
  80. data/lib/shopify_api/rest/resources/2025_01/theme.rb +127 -0
  81. data/lib/shopify_api/rest/resources/2025_01/transaction.rb +194 -0
  82. data/lib/shopify_api/rest/resources/2025_01/usage_charge.rb +106 -0
  83. data/lib/shopify_api/rest/resources/2025_01/user.rb +142 -0
  84. data/lib/shopify_api/rest/resources/2025_01/variant.rb +212 -0
  85. data/lib/shopify_api/rest/resources/2025_01/webhook.rb +173 -0
  86. data/lib/shopify_api/version.rb +1 -1
  87. data/lib/shopify_api/webhooks/registration.rb +17 -3
  88. data/lib/shopify_api/webhooks/registrations/event_bridge.rb +22 -3
  89. data/lib/shopify_api/webhooks/registrations/http.rb +22 -3
  90. data/lib/shopify_api/webhooks/registrations/pub_sub.rb +23 -4
  91. data/lib/shopify_api/webhooks/registry.rb +15 -5
  92. metadata +77 -6
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shopify_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 14.6.0
4
+ version: 14.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shopify
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-10-02 00:00:00.000000000 Z
10
+ date: 2025-01-06 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: activesupport
@@ -222,6 +221,7 @@ files:
222
221
  - lib/shopify_api/context.rb
223
222
  - lib/shopify_api/errors/context_not_setup_error.rb
224
223
  - lib/shopify_api/errors/cookie_not_found_error.rb
224
+ - lib/shopify_api/errors/disabled_resource_error.rb
225
225
  - lib/shopify_api/errors/feature_deprecated_error.rb
226
226
  - lib/shopify_api/errors/http_response_error.rb
227
227
  - lib/shopify_api/errors/invalid_graphql_request_error.rb
@@ -1064,6 +1064,79 @@ files:
1064
1064
  - lib/shopify_api/rest/resources/2024_10/user.rb
1065
1065
  - lib/shopify_api/rest/resources/2024_10/variant.rb
1066
1066
  - lib/shopify_api/rest/resources/2024_10/webhook.rb
1067
+ - lib/shopify_api/rest/resources/2025_01/abandoned_checkout.rb
1068
+ - lib/shopify_api/rest/resources/2025_01/access_scope.rb
1069
+ - lib/shopify_api/rest/resources/2025_01/apple_pay_certificate.rb
1070
+ - lib/shopify_api/rest/resources/2025_01/application_charge.rb
1071
+ - lib/shopify_api/rest/resources/2025_01/application_credit.rb
1072
+ - lib/shopify_api/rest/resources/2025_01/article.rb
1073
+ - lib/shopify_api/rest/resources/2025_01/asset.rb
1074
+ - lib/shopify_api/rest/resources/2025_01/assigned_fulfillment_order.rb
1075
+ - lib/shopify_api/rest/resources/2025_01/balance.rb
1076
+ - lib/shopify_api/rest/resources/2025_01/blog.rb
1077
+ - lib/shopify_api/rest/resources/2025_01/cancellation_request.rb
1078
+ - lib/shopify_api/rest/resources/2025_01/carrier_service.rb
1079
+ - lib/shopify_api/rest/resources/2025_01/checkout.rb
1080
+ - lib/shopify_api/rest/resources/2025_01/collect.rb
1081
+ - lib/shopify_api/rest/resources/2025_01/collection.rb
1082
+ - lib/shopify_api/rest/resources/2025_01/collection_listing.rb
1083
+ - lib/shopify_api/rest/resources/2025_01/comment.rb
1084
+ - lib/shopify_api/rest/resources/2025_01/country.rb
1085
+ - lib/shopify_api/rest/resources/2025_01/currency.rb
1086
+ - lib/shopify_api/rest/resources/2025_01/custom_collection.rb
1087
+ - lib/shopify_api/rest/resources/2025_01/customer.rb
1088
+ - lib/shopify_api/rest/resources/2025_01/customer_address.rb
1089
+ - lib/shopify_api/rest/resources/2025_01/deprecated_api_call.rb
1090
+ - lib/shopify_api/rest/resources/2025_01/discount_code.rb
1091
+ - lib/shopify_api/rest/resources/2025_01/dispute.rb
1092
+ - lib/shopify_api/rest/resources/2025_01/dispute_evidence.rb
1093
+ - lib/shopify_api/rest/resources/2025_01/dispute_file_upload.rb
1094
+ - lib/shopify_api/rest/resources/2025_01/draft_order.rb
1095
+ - lib/shopify_api/rest/resources/2025_01/event.rb
1096
+ - lib/shopify_api/rest/resources/2025_01/fulfillment.rb
1097
+ - lib/shopify_api/rest/resources/2025_01/fulfillment_event.rb
1098
+ - lib/shopify_api/rest/resources/2025_01/fulfillment_order.rb
1099
+ - lib/shopify_api/rest/resources/2025_01/fulfillment_request.rb
1100
+ - lib/shopify_api/rest/resources/2025_01/fulfillment_service.rb
1101
+ - lib/shopify_api/rest/resources/2025_01/gift_card.rb
1102
+ - lib/shopify_api/rest/resources/2025_01/gift_card_adjustment.rb
1103
+ - lib/shopify_api/rest/resources/2025_01/image.rb
1104
+ - lib/shopify_api/rest/resources/2025_01/inventory_item.rb
1105
+ - lib/shopify_api/rest/resources/2025_01/inventory_level.rb
1106
+ - lib/shopify_api/rest/resources/2025_01/location.rb
1107
+ - lib/shopify_api/rest/resources/2025_01/locations_for_move.rb
1108
+ - lib/shopify_api/rest/resources/2025_01/marketing_event.rb
1109
+ - lib/shopify_api/rest/resources/2025_01/metafield.rb
1110
+ - lib/shopify_api/rest/resources/2025_01/mobile_platform_application.rb
1111
+ - lib/shopify_api/rest/resources/2025_01/order.rb
1112
+ - lib/shopify_api/rest/resources/2025_01/order_risk.rb
1113
+ - lib/shopify_api/rest/resources/2025_01/page.rb
1114
+ - lib/shopify_api/rest/resources/2025_01/payment.rb
1115
+ - lib/shopify_api/rest/resources/2025_01/payment_gateway.rb
1116
+ - lib/shopify_api/rest/resources/2025_01/payment_transaction.rb
1117
+ - lib/shopify_api/rest/resources/2025_01/payout.rb
1118
+ - lib/shopify_api/rest/resources/2025_01/policy.rb
1119
+ - lib/shopify_api/rest/resources/2025_01/price_rule.rb
1120
+ - lib/shopify_api/rest/resources/2025_01/product.rb
1121
+ - lib/shopify_api/rest/resources/2025_01/product_listing.rb
1122
+ - lib/shopify_api/rest/resources/2025_01/product_resource_feedback.rb
1123
+ - lib/shopify_api/rest/resources/2025_01/province.rb
1124
+ - lib/shopify_api/rest/resources/2025_01/recurring_application_charge.rb
1125
+ - lib/shopify_api/rest/resources/2025_01/redirect.rb
1126
+ - lib/shopify_api/rest/resources/2025_01/refund.rb
1127
+ - lib/shopify_api/rest/resources/2025_01/resource_feedback.rb
1128
+ - lib/shopify_api/rest/resources/2025_01/script_tag.rb
1129
+ - lib/shopify_api/rest/resources/2025_01/shipping_zone.rb
1130
+ - lib/shopify_api/rest/resources/2025_01/shop.rb
1131
+ - lib/shopify_api/rest/resources/2025_01/smart_collection.rb
1132
+ - lib/shopify_api/rest/resources/2025_01/storefront_access_token.rb
1133
+ - lib/shopify_api/rest/resources/2025_01/tender_transaction.rb
1134
+ - lib/shopify_api/rest/resources/2025_01/theme.rb
1135
+ - lib/shopify_api/rest/resources/2025_01/transaction.rb
1136
+ - lib/shopify_api/rest/resources/2025_01/usage_charge.rb
1137
+ - lib/shopify_api/rest/resources/2025_01/user.rb
1138
+ - lib/shopify_api/rest/resources/2025_01/variant.rb
1139
+ - lib/shopify_api/rest/resources/2025_01/webhook.rb
1067
1140
  - lib/shopify_api/utils/attributes_comparator.rb
1068
1141
  - lib/shopify_api/utils/graphql_proxy.rb
1069
1142
  - lib/shopify_api/utils/hmac_validator.rb
@@ -1141,7 +1214,6 @@ licenses:
1141
1214
  - MIT
1142
1215
  metadata:
1143
1216
  allowed_push_host: https://rubygems.org
1144
- post_install_message:
1145
1217
  rdoc_options:
1146
1218
  - "--charset=UTF-8"
1147
1219
  require_paths:
@@ -1157,8 +1229,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1157
1229
  - !ruby/object:Gem::Version
1158
1230
  version: '0'
1159
1231
  requirements: []
1160
- rubygems_version: 3.5.20
1161
- signing_key:
1232
+ rubygems_version: 3.6.2
1162
1233
  specification_version: 4
1163
1234
  summary: The gem for accessing the Shopify API
1164
1235
  test_files: []