shopify-webhook-schemas 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (155) hide show
  1. package/Readme.md +14 -2
  2. package/dist/src/anonymize-exemplars.d.ts +1 -0
  3. package/dist/src/anonymize-exemplars.js +51 -0
  4. package/dist/src/index.js +2 -2
  5. package/dist/src/scrape.js +501 -182
  6. package/metadatas/2024-07/app_purchases_one_time/update.json +1 -1
  7. package/metadatas/2024-07/app_subscriptions/approaching_capped_amount.json +1 -1
  8. package/metadatas/2024-07/app_subscriptions/update.json +1 -1
  9. package/metadatas/2024-07/bulk_operations/finish.json +2 -2
  10. package/metadatas/2024-07/checkouts/create.json +6 -6
  11. package/metadatas/2024-07/checkouts/update.json +6 -6
  12. package/metadatas/2024-07/draft_orders/create.json +20 -20
  13. package/metadatas/2024-07/draft_orders/update.json +20 -20
  14. package/metadatas/2024-07/orders/edited.json +1 -0
  15. package/metadatas/2024-07/product_listings/add.json +1 -13
  16. package/metadatas/2024-07/product_listings/update.json +1 -13
  17. package/metadatas/2024-07/scheduled_product_listings/add.json +1 -13
  18. package/metadatas/2024-07/scheduled_product_listings/update.json +1 -13
  19. package/metadatas/2024-07/selling_plan_groups/create.json +2 -2
  20. package/metadatas/2024-07/selling_plan_groups/delete.json +2 -2
  21. package/metadatas/2024-07/selling_plan_groups/update.json +2 -2
  22. package/metadatas/2024-07/subscription_billing_attempts/challenged.json +2 -2
  23. package/metadatas/2024-07/subscription_billing_attempts/failure.json +2 -2
  24. package/metadatas/2024-07/subscription_billing_attempts/success.json +2 -2
  25. package/metadatas/2024-07/subscription_billing_cycle_edits/create.json +1 -1
  26. package/metadatas/2024-07/subscription_billing_cycle_edits/delete.json +1 -1
  27. package/metadatas/2024-07/subscription_billing_cycle_edits/update.json +1 -1
  28. package/metadatas/2024-07/subscription_billing_cycles/skip.json +1 -1
  29. package/metadatas/2024-07/subscription_billing_cycles/unskip.json +1 -1
  30. package/metadatas/2024-07/subscription_contracts/activate.json +3 -3
  31. package/metadatas/2024-07/subscription_contracts/cancel.json +3 -3
  32. package/metadatas/2024-07/subscription_contracts/create.json +3 -3
  33. package/metadatas/2024-07/subscription_contracts/expire.json +3 -3
  34. package/metadatas/2024-07/subscription_contracts/fail.json +3 -3
  35. package/metadatas/2024-07/subscription_contracts/pause.json +3 -3
  36. package/metadatas/2024-07/subscription_contracts/update.json +3 -3
  37. package/package.json +9 -1
  38. package/schemas/2023-07/checkouts/create.json +578 -102
  39. package/schemas/2023-07/checkouts/delete.json +26 -4
  40. package/schemas/2023-07/checkouts/update.json +578 -102
  41. package/schemas/2023-07/collection_listings/add.json +9 -2
  42. package/schemas/2023-07/collection_listings/remove.json +7 -0
  43. package/schemas/2023-07/collection_listings/update.json +9 -2
  44. package/schemas/2023-07/company_locations/create.json +8 -2
  45. package/schemas/2023-07/company_locations/delete.json +8 -2
  46. package/schemas/2023-07/company_locations/update.json +8 -2
  47. package/schemas/2023-07/draft_orders/create.json +729 -126
  48. package/schemas/2023-07/draft_orders/update.json +729 -126
  49. package/schemas/2023-07/fulfillments/create.json +149 -30
  50. package/schemas/2023-07/fulfillments/update.json +149 -30
  51. package/schemas/2023-07/order_transactions/create.json +31 -9
  52. package/schemas/2023-07/orders/cancelled.json +966 -48
  53. package/schemas/2023-07/orders/create.json +966 -48
  54. package/schemas/2023-07/orders/fulfilled.json +966 -48
  55. package/schemas/2023-07/orders/paid.json +966 -48
  56. package/schemas/2023-07/orders/partially_fulfilled.json +966 -48
  57. package/schemas/2023-07/orders/updated.json +966 -48
  58. package/schemas/2023-07/products/create.json +191 -17
  59. package/schemas/2023-07/products/update.json +191 -17
  60. package/schemas/2023-10/checkouts/create.json +578 -102
  61. package/schemas/2023-10/checkouts/delete.json +26 -4
  62. package/schemas/2023-10/checkouts/update.json +578 -102
  63. package/schemas/2023-10/collection_listings/add.json +9 -2
  64. package/schemas/2023-10/collection_listings/remove.json +7 -0
  65. package/schemas/2023-10/collection_listings/update.json +9 -2
  66. package/schemas/2023-10/company_locations/create.json +8 -2
  67. package/schemas/2023-10/company_locations/delete.json +8 -2
  68. package/schemas/2023-10/company_locations/update.json +8 -2
  69. package/schemas/2023-10/draft_orders/create.json +729 -126
  70. package/schemas/2023-10/draft_orders/update.json +729 -126
  71. package/schemas/2023-10/fulfillments/create.json +149 -30
  72. package/schemas/2023-10/fulfillments/update.json +149 -30
  73. package/schemas/2023-10/order_transactions/create.json +28 -9
  74. package/schemas/2023-10/orders/cancelled.json +966 -48
  75. package/schemas/2023-10/orders/create.json +966 -48
  76. package/schemas/2023-10/orders/fulfilled.json +966 -48
  77. package/schemas/2023-10/orders/paid.json +966 -48
  78. package/schemas/2023-10/orders/partially_fulfilled.json +966 -48
  79. package/schemas/2023-10/orders/updated.json +966 -48
  80. package/schemas/2023-10/products/create.json +191 -17
  81. package/schemas/2023-10/products/update.json +191 -17
  82. package/schemas/2024-01/checkouts/create.json +585 -100
  83. package/schemas/2024-01/checkouts/delete.json +26 -4
  84. package/schemas/2024-01/checkouts/update.json +585 -100
  85. package/schemas/2024-01/collection_listings/add.json +9 -2
  86. package/schemas/2024-01/collection_listings/remove.json +7 -0
  87. package/schemas/2024-01/collection_listings/update.json +9 -2
  88. package/schemas/2024-01/company_locations/create.json +8 -2
  89. package/schemas/2024-01/company_locations/delete.json +8 -2
  90. package/schemas/2024-01/company_locations/update.json +8 -2
  91. package/schemas/2024-01/draft_orders/create.json +733 -124
  92. package/schemas/2024-01/draft_orders/update.json +733 -124
  93. package/schemas/2024-01/fulfillment_orders/split.json +237 -2
  94. package/schemas/2024-01/fulfillments/create.json +149 -30
  95. package/schemas/2024-01/fulfillments/update.json +149 -30
  96. package/schemas/2024-01/order_transactions/create.json +28 -9
  97. package/schemas/2024-01/orders/cancelled.json +970 -50
  98. package/schemas/2024-01/orders/create.json +970 -50
  99. package/schemas/2024-01/orders/fulfilled.json +970 -50
  100. package/schemas/2024-01/orders/paid.json +970 -50
  101. package/schemas/2024-01/orders/partially_fulfilled.json +970 -50
  102. package/schemas/2024-01/orders/updated.json +970 -50
  103. package/schemas/2024-01/products/create.json +191 -17
  104. package/schemas/2024-01/products/update.json +191 -17
  105. package/schemas/2024-04/checkouts/create.json +585 -100
  106. package/schemas/2024-04/checkouts/delete.json +26 -4
  107. package/schemas/2024-04/checkouts/update.json +585 -100
  108. package/schemas/2024-04/collection_listings/add.json +9 -2
  109. package/schemas/2024-04/collection_listings/remove.json +7 -0
  110. package/schemas/2024-04/collection_listings/update.json +9 -2
  111. package/schemas/2024-04/company_locations/create.json +8 -2
  112. package/schemas/2024-04/company_locations/delete.json +8 -2
  113. package/schemas/2024-04/company_locations/update.json +8 -2
  114. package/schemas/2024-04/draft_orders/create.json +733 -124
  115. package/schemas/2024-04/draft_orders/update.json +733 -124
  116. package/schemas/2024-04/fulfillment_orders/split.json +237 -2
  117. package/schemas/2024-04/fulfillments/create.json +149 -30
  118. package/schemas/2024-04/fulfillments/update.json +149 -30
  119. package/schemas/2024-04/order_transactions/create.json +28 -9
  120. package/schemas/2024-04/orders/cancelled.json +967 -50
  121. package/schemas/2024-04/orders/create.json +967 -50
  122. package/schemas/2024-04/orders/fulfilled.json +967 -50
  123. package/schemas/2024-04/orders/paid.json +967 -50
  124. package/schemas/2024-04/orders/partially_fulfilled.json +967 -50
  125. package/schemas/2024-04/orders/updated.json +967 -50
  126. package/schemas/2024-04/products/create.json +191 -17
  127. package/schemas/2024-04/products/update.json +191 -17
  128. package/schemas/2024-07/checkouts/create.json +585 -100
  129. package/schemas/2024-07/checkouts/delete.json +26 -4
  130. package/schemas/2024-07/checkouts/update.json +585 -100
  131. package/schemas/2024-07/collection_listings/add.json +9 -2
  132. package/schemas/2024-07/collection_listings/remove.json +7 -0
  133. package/schemas/2024-07/collection_listings/update.json +9 -2
  134. package/schemas/2024-07/company_locations/create.json +8 -2
  135. package/schemas/2024-07/company_locations/delete.json +8 -2
  136. package/schemas/2024-07/company_locations/update.json +8 -2
  137. package/schemas/2024-07/draft_orders/create.json +733 -124
  138. package/schemas/2024-07/draft_orders/update.json +733 -124
  139. package/schemas/2024-07/fulfillment_orders/split.json +237 -2
  140. package/schemas/2024-07/fulfillments/create.json +149 -30
  141. package/schemas/2024-07/fulfillments/update.json +149 -30
  142. package/schemas/2024-07/order_transactions/create.json +28 -9
  143. package/schemas/2024-07/orders/cancelled.json +967 -50
  144. package/schemas/2024-07/orders/create.json +967 -50
  145. package/schemas/2024-07/orders/edited.json +5 -0
  146. package/schemas/2024-07/orders/fulfilled.json +967 -50
  147. package/schemas/2024-07/orders/paid.json +967 -50
  148. package/schemas/2024-07/orders/partially_fulfilled.json +967 -50
  149. package/schemas/2024-07/orders/updated.json +967 -50
  150. package/schemas/2024-07/product_listings/add.json +1 -44
  151. package/schemas/2024-07/product_listings/update.json +1 -44
  152. package/schemas/2024-07/products/create.json +191 -17
  153. package/schemas/2024-07/products/update.json +191 -17
  154. package/schemas/2024-07/scheduled_product_listings/add.json +1 -44
  155. package/schemas/2024-07/scheduled_product_listings/update.json +1 -44
@@ -26,10 +26,16 @@
26
26
  "type": "boolean"
27
27
  },
28
28
  "cancel_reason": {
29
- "type": "string"
29
+ "type": [
30
+ "string",
31
+ "null"
32
+ ]
30
33
  },
31
34
  "cancelled_at": {
32
- "type": "string",
35
+ "type": [
36
+ "string",
37
+ "null"
38
+ ],
33
39
  "format": "date-time"
34
40
  },
35
41
  "cart_token": {
@@ -57,10 +63,32 @@
57
63
  ],
58
64
  "properties": {
59
65
  "accept_language": {
60
- "type": "string"
66
+ "type": [
67
+ "string",
68
+ "null"
69
+ ]
61
70
  },
62
71
  "browser_height": {
63
- "type": "integer"
72
+ "type": [
73
+ "integer",
74
+ "null"
75
+ ]
76
+ },
77
+ "browser_ip": {
78
+ "type": "string",
79
+ "format": "ipv4"
80
+ },
81
+ "browser_width": {
82
+ "type": [
83
+ "integer",
84
+ "null"
85
+ ]
86
+ },
87
+ "session_hash": {
88
+ "type": "null"
89
+ },
90
+ "user_agent": {
91
+ "type": "string"
64
92
  }
65
93
  },
66
94
  "required": [
@@ -348,7 +376,10 @@
348
376
  ]
349
377
  },
350
378
  "customer_locale": {
351
- "type": "string"
379
+ "type": [
380
+ "string",
381
+ "null"
382
+ ]
352
383
  },
353
384
  "device_id": {
354
385
  "type": [
@@ -358,7 +389,25 @@
358
389
  },
359
390
  "discount_codes": {
360
391
  "type": "array",
361
- "items": false
392
+ "items": {
393
+ "type": "object",
394
+ "properties": {
395
+ "amount": {
396
+ "type": "string"
397
+ },
398
+ "code": {
399
+ "type": "string"
400
+ },
401
+ "type": {
402
+ "type": "string"
403
+ }
404
+ },
405
+ "required": [
406
+ "amount",
407
+ "code",
408
+ "type"
409
+ ]
410
+ }
362
411
  },
363
412
  "email": {
364
413
  "type": "string",
@@ -371,14 +420,16 @@
371
420
  "type": "string"
372
421
  },
373
422
  "fulfillment_status": {
374
- "type": "string"
423
+ "type": [
424
+ "string",
425
+ "null"
426
+ ]
375
427
  },
376
428
  "landing_site": {
377
429
  "type": [
378
430
  "string",
379
431
  "null"
380
- ],
381
- "format": "uri"
432
+ ]
382
433
  },
383
434
  "landing_site_ref": {
384
435
  "type": [
@@ -410,7 +461,21 @@
410
461
  },
411
462
  "note_attributes": {
412
463
  "type": "array",
413
- "items": false
464
+ "items": {
465
+ "type": "object",
466
+ "properties": {
467
+ "name": {
468
+ "type": "string"
469
+ },
470
+ "value": {
471
+ "type": "string"
472
+ }
473
+ },
474
+ "required": [
475
+ "name",
476
+ "value"
477
+ ]
478
+ }
414
479
  },
415
480
  "number": {
416
481
  "type": "integer"
@@ -544,8 +609,7 @@
544
609
  "type": [
545
610
  "string",
546
611
  "null"
547
- ],
548
- "format": "uri"
612
+ ]
549
613
  },
550
614
  "source_identifier": {
551
615
  "type": [
@@ -613,7 +677,69 @@
613
677
  },
614
678
  "tax_lines": {
615
679
  "type": "array",
616
- "items": false
680
+ "items": {
681
+ "type": "object",
682
+ "properties": {
683
+ "price_set": {
684
+ "type": "object",
685
+ "properties": {
686
+ "presentment_money": {
687
+ "type": "object",
688
+ "properties": {
689
+ "currency_code": {
690
+ "type": "string"
691
+ },
692
+ "amount": {
693
+ "type": "string"
694
+ }
695
+ },
696
+ "required": [
697
+ "currency_code",
698
+ "amount"
699
+ ]
700
+ },
701
+ "shop_money": {
702
+ "type": "object",
703
+ "properties": {
704
+ "amount": {
705
+ "type": "string"
706
+ },
707
+ "currency_code": {
708
+ "type": "string"
709
+ }
710
+ },
711
+ "required": [
712
+ "amount",
713
+ "currency_code"
714
+ ]
715
+ }
716
+ },
717
+ "required": [
718
+ "presentment_money",
719
+ "shop_money"
720
+ ]
721
+ },
722
+ "rate": {
723
+ "type": "number"
724
+ },
725
+ "title": {
726
+ "type": "string"
727
+ },
728
+ "channel_liable": {
729
+ "type": "boolean"
730
+ },
731
+ "price": {
732
+ "type": "string"
733
+ }
734
+ },
735
+ "required": [
736
+ "price_set",
737
+ "rate",
738
+ "title",
739
+ "channel_liable",
740
+ "price"
741
+ ]
742
+ }
617
743
  },
618
744
  "taxes_included": {
619
745
  "type": "boolean"
@@ -878,16 +1004,28 @@
878
1004
  "type": "string"
879
1005
  },
880
1006
  "address2": {
881
- "type": "null"
1007
+ "type": [
1008
+ "string",
1009
+ "null"
1010
+ ]
882
1011
  },
883
1012
  "company": {
884
- "type": "string"
1013
+ "type": [
1014
+ "string",
1015
+ "null"
1016
+ ]
885
1017
  },
886
1018
  "latitude": {
887
- "type": "null"
1019
+ "type": [
1020
+ "number",
1021
+ "null"
1022
+ ]
888
1023
  },
889
1024
  "longitude": {
890
- "type": "null"
1025
+ "type": [
1026
+ "number",
1027
+ "null"
1028
+ ]
891
1029
  },
892
1030
  "name": {
893
1031
  "type": "string"
@@ -928,10 +1066,18 @@
928
1066
  "format": "email"
929
1067
  },
930
1068
  "created_at": {
931
- "type": "null"
1069
+ "type": [
1070
+ "string",
1071
+ "null"
1072
+ ],
1073
+ "format": "date-time"
932
1074
  },
933
1075
  "updated_at": {
934
- "type": "null"
1076
+ "type": [
1077
+ "string",
1078
+ "null"
1079
+ ],
1080
+ "format": "date-time"
935
1081
  },
936
1082
  "first_name": {
937
1083
  "type": "string"
@@ -943,19 +1089,28 @@
943
1089
  "type": "string"
944
1090
  },
945
1091
  "note": {
946
- "type": "null"
1092
+ "type": [
1093
+ "string",
1094
+ "null"
1095
+ ]
947
1096
  },
948
1097
  "verified_email": {
949
1098
  "type": "boolean"
950
1099
  },
951
1100
  "multipass_identifier": {
952
- "type": "null"
1101
+ "type": [
1102
+ "string",
1103
+ "null"
1104
+ ]
953
1105
  },
954
1106
  "tax_exempt": {
955
1107
  "type": "boolean"
956
1108
  },
957
1109
  "phone": {
958
- "type": "null"
1110
+ "type": [
1111
+ "string",
1112
+ "null"
1113
+ ]
959
1114
  },
960
1115
  "email_marketing_consent": {
961
1116
  "type": "object",
@@ -964,10 +1119,17 @@
964
1119
  "type": "string"
965
1120
  },
966
1121
  "opt_in_level": {
967
- "type": "null"
1122
+ "type": [
1123
+ "string",
1124
+ "null"
1125
+ ]
968
1126
  },
969
1127
  "consent_updated_at": {
970
- "type": "null"
1128
+ "type": [
1129
+ "string",
1130
+ "null"
1131
+ ],
1132
+ "format": "date-time"
971
1133
  }
972
1134
  },
973
1135
  "required": [
@@ -977,7 +1139,34 @@
977
1139
  ]
978
1140
  },
979
1141
  "sms_marketing_consent": {
980
- "type": "null"
1142
+ "type": [
1143
+ "object",
1144
+ "null"
1145
+ ],
1146
+ "properties": {
1147
+ "consent_collected_from": {
1148
+ "type": "string"
1149
+ },
1150
+ "consent_updated_at": {
1151
+ "type": [
1152
+ "string",
1153
+ "null"
1154
+ ],
1155
+ "format": "date-time"
1156
+ },
1157
+ "opt_in_level": {
1158
+ "type": "string"
1159
+ },
1160
+ "state": {
1161
+ "type": "string"
1162
+ }
1163
+ },
1164
+ "required": [
1165
+ "consent_collected_from",
1166
+ "consent_updated_at",
1167
+ "opt_in_level",
1168
+ "state"
1169
+ ]
981
1170
  },
982
1171
  "tags": {
983
1172
  "type": "string"
@@ -989,10 +1178,17 @@
989
1178
  "type": "boolean"
990
1179
  },
991
1180
  "accepts_marketing_updated_at": {
992
- "type": "null"
1181
+ "type": [
1182
+ "string",
1183
+ "null"
1184
+ ],
1185
+ "format": "date-time"
993
1186
  },
994
1187
  "marketing_opt_in_level": {
995
- "type": "null"
1188
+ "type": [
1189
+ "string",
1190
+ "null"
1191
+ ]
996
1192
  },
997
1193
  "tax_exemptions": {
998
1194
  "type": "array",
@@ -1012,19 +1208,31 @@
1012
1208
  "type": "integer"
1013
1209
  },
1014
1210
  "first_name": {
1015
- "type": "null"
1211
+ "type": [
1212
+ "string",
1213
+ "null"
1214
+ ]
1016
1215
  },
1017
1216
  "last_name": {
1018
- "type": "null"
1217
+ "type": [
1218
+ "string",
1219
+ "null"
1220
+ ]
1019
1221
  },
1020
1222
  "company": {
1021
- "type": "null"
1223
+ "type": [
1224
+ "string",
1225
+ "null"
1226
+ ]
1022
1227
  },
1023
1228
  "address1": {
1024
1229
  "type": "string"
1025
1230
  },
1026
1231
  "address2": {
1027
- "type": "null"
1232
+ "type": [
1233
+ "string",
1234
+ "null"
1235
+ ]
1028
1236
  },
1029
1237
  "city": {
1030
1238
  "type": "string"
@@ -1105,11 +1313,448 @@
1105
1313
  },
1106
1314
  "discount_applications": {
1107
1315
  "type": "array",
1108
- "items": false
1316
+ "items": {
1317
+ "type": "object",
1318
+ "properties": {
1319
+ "type": {
1320
+ "type": "string"
1321
+ },
1322
+ "value": {
1323
+ "type": "string"
1324
+ },
1325
+ "value_type": {
1326
+ "type": "string"
1327
+ },
1328
+ "allocation_method": {
1329
+ "type": "string"
1330
+ },
1331
+ "target_selection": {
1332
+ "type": "string"
1333
+ },
1334
+ "target_type": {
1335
+ "type": "string"
1336
+ },
1337
+ "code": {
1338
+ "type": "string"
1339
+ },
1340
+ "description": {
1341
+ "type": "string"
1342
+ },
1343
+ "title": {
1344
+ "type": "string"
1345
+ }
1346
+ },
1347
+ "required": [
1348
+ "type",
1349
+ "value",
1350
+ "value_type",
1351
+ "allocation_method",
1352
+ "target_selection",
1353
+ "target_type"
1354
+ ]
1355
+ }
1109
1356
  },
1110
1357
  "fulfillments": {
1111
1358
  "type": "array",
1112
- "items": false
1359
+ "items": {
1360
+ "type": "object",
1361
+ "properties": {
1362
+ "tracking_number": {
1363
+ "type": [
1364
+ "string",
1365
+ "null"
1366
+ ]
1367
+ },
1368
+ "admin_graphql_api_id": {
1369
+ "type": "string",
1370
+ "format": "uri"
1371
+ },
1372
+ "status": {
1373
+ "type": "string"
1374
+ },
1375
+ "tracking_company": {
1376
+ "type": [
1377
+ "string",
1378
+ "null"
1379
+ ]
1380
+ },
1381
+ "tracking_url": {
1382
+ "type": [
1383
+ "string",
1384
+ "null"
1385
+ ],
1386
+ "format": "uri"
1387
+ },
1388
+ "service": {
1389
+ "type": "string"
1390
+ },
1391
+ "shipment_status": {
1392
+ "type": [
1393
+ "string",
1394
+ "null"
1395
+ ]
1396
+ },
1397
+ "tracking_numbers": {
1398
+ "type": "array",
1399
+ "items": {
1400
+ "type": "string"
1401
+ }
1402
+ },
1403
+ "origin_address": {
1404
+ "type": "object"
1405
+ },
1406
+ "receipt": {
1407
+ "type": "object"
1408
+ },
1409
+ "name": {
1410
+ "type": "string"
1411
+ },
1412
+ "tracking_urls": {
1413
+ "type": "array",
1414
+ "items": {
1415
+ "type": "string",
1416
+ "format": "uri"
1417
+ }
1418
+ },
1419
+ "id": {
1420
+ "type": "integer"
1421
+ },
1422
+ "updated_at": {
1423
+ "type": "string",
1424
+ "format": "date-time"
1425
+ },
1426
+ "line_items": {
1427
+ "type": "array",
1428
+ "items": {
1429
+ "type": "object",
1430
+ "properties": {
1431
+ "admin_graphql_api_id": {
1432
+ "type": "string",
1433
+ "format": "uri"
1434
+ },
1435
+ "duties": {
1436
+ "type": "array",
1437
+ "items": false
1438
+ },
1439
+ "fulfillment_service": {
1440
+ "type": "string"
1441
+ },
1442
+ "grams": {
1443
+ "type": "integer"
1444
+ },
1445
+ "sku": {
1446
+ "type": "string"
1447
+ },
1448
+ "price_set": {
1449
+ "type": "object",
1450
+ "properties": {
1451
+ "shop_money": {
1452
+ "type": "object",
1453
+ "properties": {
1454
+ "amount": {
1455
+ "type": "string"
1456
+ },
1457
+ "currency_code": {
1458
+ "type": "string"
1459
+ }
1460
+ },
1461
+ "required": [
1462
+ "amount",
1463
+ "currency_code"
1464
+ ]
1465
+ },
1466
+ "presentment_money": {
1467
+ "type": "object",
1468
+ "properties": {
1469
+ "amount": {
1470
+ "type": "string"
1471
+ },
1472
+ "currency_code": {
1473
+ "type": "string"
1474
+ }
1475
+ },
1476
+ "required": [
1477
+ "amount",
1478
+ "currency_code"
1479
+ ]
1480
+ }
1481
+ },
1482
+ "required": [
1483
+ "shop_money",
1484
+ "presentment_money"
1485
+ ]
1486
+ },
1487
+ "vendor": {
1488
+ "type": "string"
1489
+ },
1490
+ "fulfillable_quantity": {
1491
+ "type": "integer"
1492
+ },
1493
+ "fulfillment_status": {
1494
+ "type": "string"
1495
+ },
1496
+ "discount_allocations": {
1497
+ "type": "array",
1498
+ "items": {
1499
+ "type": "object",
1500
+ "properties": {
1501
+ "amount": {
1502
+ "type": "string"
1503
+ },
1504
+ "amount_set": {
1505
+ "type": "object",
1506
+ "properties": {
1507
+ "presentment_money": {
1508
+ "type": "object",
1509
+ "properties": {
1510
+ "amount": {
1511
+ "type": "string"
1512
+ },
1513
+ "currency_code": {
1514
+ "type": "string"
1515
+ }
1516
+ },
1517
+ "required": [
1518
+ "amount",
1519
+ "currency_code"
1520
+ ]
1521
+ },
1522
+ "shop_money": {
1523
+ "type": "object",
1524
+ "properties": {
1525
+ "amount": {
1526
+ "type": "string"
1527
+ },
1528
+ "currency_code": {
1529
+ "type": "string"
1530
+ }
1531
+ },
1532
+ "required": [
1533
+ "amount",
1534
+ "currency_code"
1535
+ ]
1536
+ }
1537
+ },
1538
+ "required": [
1539
+ "presentment_money",
1540
+ "shop_money"
1541
+ ]
1542
+ },
1543
+ "discount_application_index": {
1544
+ "type": "integer"
1545
+ }
1546
+ },
1547
+ "required": [
1548
+ "amount",
1549
+ "amount_set",
1550
+ "discount_application_index"
1551
+ ]
1552
+ }
1553
+ },
1554
+ "name": {
1555
+ "type": "string"
1556
+ },
1557
+ "tax_lines": {
1558
+ "type": "array",
1559
+ "items": false
1560
+ },
1561
+ "id": {
1562
+ "type": "integer"
1563
+ },
1564
+ "properties": {
1565
+ "type": "array",
1566
+ "items": false
1567
+ },
1568
+ "total_discount_set": {
1569
+ "type": "object",
1570
+ "properties": {
1571
+ "presentment_money": {
1572
+ "type": "object",
1573
+ "properties": {
1574
+ "currency_code": {
1575
+ "type": "string"
1576
+ },
1577
+ "amount": {
1578
+ "type": "string"
1579
+ }
1580
+ },
1581
+ "required": [
1582
+ "currency_code",
1583
+ "amount"
1584
+ ]
1585
+ },
1586
+ "shop_money": {
1587
+ "type": "object",
1588
+ "properties": {
1589
+ "amount": {
1590
+ "type": "string"
1591
+ },
1592
+ "currency_code": {
1593
+ "type": "string"
1594
+ }
1595
+ },
1596
+ "required": [
1597
+ "amount",
1598
+ "currency_code"
1599
+ ]
1600
+ }
1601
+ },
1602
+ "required": [
1603
+ "presentment_money",
1604
+ "shop_money"
1605
+ ]
1606
+ },
1607
+ "variant_inventory_management": {
1608
+ "type": [
1609
+ "string",
1610
+ "null"
1611
+ ]
1612
+ },
1613
+ "variant_title": {
1614
+ "type": [
1615
+ "string",
1616
+ "null"
1617
+ ]
1618
+ },
1619
+ "variant_id": {
1620
+ "type": "integer"
1621
+ },
1622
+ "quantity": {
1623
+ "type": "integer"
1624
+ },
1625
+ "price": {
1626
+ "type": "string"
1627
+ },
1628
+ "taxable": {
1629
+ "type": "boolean"
1630
+ },
1631
+ "total_discount": {
1632
+ "type": "string"
1633
+ },
1634
+ "requires_shipping": {
1635
+ "type": "boolean"
1636
+ },
1637
+ "gift_card": {
1638
+ "type": "boolean"
1639
+ },
1640
+ "product_exists": {
1641
+ "type": "boolean"
1642
+ },
1643
+ "product_id": {
1644
+ "type": "integer"
1645
+ },
1646
+ "title": {
1647
+ "type": "string"
1648
+ },
1649
+ "pre_tax_price": {
1650
+ "type": "string"
1651
+ },
1652
+ "pre_tax_price_set": {
1653
+ "type": "object",
1654
+ "properties": {
1655
+ "presentment_money": {
1656
+ "type": "object",
1657
+ "properties": {
1658
+ "currency_code": {
1659
+ "type": "string"
1660
+ },
1661
+ "amount": {
1662
+ "type": "string"
1663
+ }
1664
+ },
1665
+ "required": [
1666
+ "currency_code",
1667
+ "amount"
1668
+ ]
1669
+ },
1670
+ "shop_money": {
1671
+ "type": "object",
1672
+ "properties": {
1673
+ "amount": {
1674
+ "type": "string"
1675
+ },
1676
+ "currency_code": {
1677
+ "type": "string"
1678
+ }
1679
+ },
1680
+ "required": [
1681
+ "amount",
1682
+ "currency_code"
1683
+ ]
1684
+ }
1685
+ },
1686
+ "required": [
1687
+ "presentment_money",
1688
+ "shop_money"
1689
+ ]
1690
+ },
1691
+ "current_quantity": {
1692
+ "type": "integer"
1693
+ }
1694
+ },
1695
+ "required": [
1696
+ "admin_graphql_api_id",
1697
+ "duties",
1698
+ "fulfillment_service",
1699
+ "grams",
1700
+ "sku",
1701
+ "price_set",
1702
+ "vendor",
1703
+ "fulfillable_quantity",
1704
+ "fulfillment_status",
1705
+ "discount_allocations",
1706
+ "name",
1707
+ "tax_lines",
1708
+ "id",
1709
+ "properties",
1710
+ "total_discount_set",
1711
+ "variant_inventory_management",
1712
+ "variant_title",
1713
+ "variant_id",
1714
+ "quantity",
1715
+ "price",
1716
+ "taxable",
1717
+ "total_discount",
1718
+ "requires_shipping",
1719
+ "gift_card",
1720
+ "product_exists",
1721
+ "product_id",
1722
+ "title"
1723
+ ]
1724
+ }
1725
+ },
1726
+ "location_id": {
1727
+ "type": "integer"
1728
+ },
1729
+ "order_id": {
1730
+ "type": "integer"
1731
+ },
1732
+ "created_at": {
1733
+ "type": "string",
1734
+ "format": "date-time"
1735
+ }
1736
+ },
1737
+ "required": [
1738
+ "tracking_number",
1739
+ "admin_graphql_api_id",
1740
+ "status",
1741
+ "tracking_company",
1742
+ "tracking_url",
1743
+ "service",
1744
+ "shipment_status",
1745
+ "tracking_numbers",
1746
+ "origin_address",
1747
+ "receipt",
1748
+ "name",
1749
+ "tracking_urls",
1750
+ "id",
1751
+ "updated_at",
1752
+ "line_items",
1753
+ "location_id",
1754
+ "order_id",
1755
+ "created_at"
1756
+ ]
1757
+ }
1113
1758
  },
1114
1759
  "line_items": {
1115
1760
  "type": "array",
@@ -1149,7 +1794,10 @@
1149
1794
  "type": "string"
1150
1795
  },
1151
1796
  "fulfillment_status": {
1152
- "type": "null"
1797
+ "type": [
1798
+ "string",
1799
+ "null"
1800
+ ]
1153
1801
  },
1154
1802
  "gift_card": {
1155
1803
  "type": "boolean"
@@ -1210,7 +1858,21 @@
1210
1858
  },
1211
1859
  "properties": {
1212
1860
  "type": "array",
1213
- "items": false
1861
+ "items": {
1862
+ "type": "object",
1863
+ "properties": {
1864
+ "value": {
1865
+ "type": "string"
1866
+ },
1867
+ "name": {
1868
+ "type": "string"
1869
+ }
1870
+ },
1871
+ "required": [
1872
+ "value",
1873
+ "name"
1874
+ ]
1875
+ }
1214
1876
  },
1215
1877
  "quantity": {
1216
1878
  "type": "integer"
@@ -1273,17 +1935,88 @@
1273
1935
  "type": "integer"
1274
1936
  },
1275
1937
  "variant_inventory_management": {
1276
- "type": "string"
1938
+ "type": [
1939
+ "string",
1940
+ "null"
1941
+ ]
1277
1942
  },
1278
1943
  "variant_title": {
1279
- "type": "null"
1944
+ "type": [
1945
+ "string",
1946
+ "null"
1947
+ ]
1280
1948
  },
1281
1949
  "vendor": {
1282
- "type": "null"
1950
+ "type": [
1951
+ "string",
1952
+ "null"
1953
+ ]
1283
1954
  },
1284
1955
  "tax_lines": {
1285
1956
  "type": "array",
1286
- "items": false
1957
+ "items": {
1958
+ "type": "object",
1959
+ "properties": {
1960
+ "rate": {
1961
+ "type": "number"
1962
+ },
1963
+ "title": {
1964
+ "type": "string"
1965
+ },
1966
+ "channel_liable": {
1967
+ "type": "boolean"
1968
+ },
1969
+ "price": {
1970
+ "type": "string"
1971
+ },
1972
+ "price_set": {
1973
+ "type": "object",
1974
+ "properties": {
1975
+ "shop_money": {
1976
+ "type": "object",
1977
+ "properties": {
1978
+ "amount": {
1979
+ "type": "string"
1980
+ },
1981
+ "currency_code": {
1982
+ "type": "string"
1983
+ }
1984
+ },
1985
+ "required": [
1986
+ "amount",
1987
+ "currency_code"
1988
+ ]
1989
+ },
1990
+ "presentment_money": {
1991
+ "type": "object",
1992
+ "properties": {
1993
+ "amount": {
1994
+ "type": "string"
1995
+ },
1996
+ "currency_code": {
1997
+ "type": "string"
1998
+ }
1999
+ },
2000
+ "required": [
2001
+ "amount",
2002
+ "currency_code"
2003
+ ]
2004
+ }
2005
+ },
2006
+ "required": [
2007
+ "shop_money",
2008
+ "presentment_money"
2009
+ ]
2010
+ }
2011
+ },
2012
+ "required": [
2013
+ "rate",
2014
+ "title",
2015
+ "channel_liable",
2016
+ "price",
2017
+ "price_set"
2018
+ ]
2019
+ }
1287
2020
  },
1288
2021
  "duties": {
1289
2022
  "type": "array",
@@ -1291,7 +2024,106 @@
1291
2024
  },
1292
2025
  "discount_allocations": {
1293
2026
  "type": "array",
1294
- "items": false
2027
+ "items": {
2028
+ "type": "object",
2029
+ "properties": {
2030
+ "amount": {
2031
+ "type": "string"
2032
+ },
2033
+ "amount_set": {
2034
+ "type": "object",
2035
+ "properties": {
2036
+ "presentment_money": {
2037
+ "type": "object",
2038
+ "properties": {
2039
+ "currency_code": {
2040
+ "type": "string"
2041
+ },
2042
+ "amount": {
2043
+ "type": "string"
2044
+ }
2045
+ },
2046
+ "required": [
2047
+ "currency_code",
2048
+ "amount"
2049
+ ]
2050
+ },
2051
+ "shop_money": {
2052
+ "type": "object",
2053
+ "properties": {
2054
+ "currency_code": {
2055
+ "type": "string"
2056
+ },
2057
+ "amount": {
2058
+ "type": "string"
2059
+ }
2060
+ },
2061
+ "required": [
2062
+ "currency_code",
2063
+ "amount"
2064
+ ]
2065
+ }
2066
+ },
2067
+ "required": [
2068
+ "presentment_money",
2069
+ "shop_money"
2070
+ ]
2071
+ },
2072
+ "discount_application_index": {
2073
+ "type": "integer"
2074
+ }
2075
+ },
2076
+ "required": [
2077
+ "amount",
2078
+ "amount_set",
2079
+ "discount_application_index"
2080
+ ]
2081
+ }
2082
+ },
2083
+ "pre_tax_price": {
2084
+ "type": "string"
2085
+ },
2086
+ "pre_tax_price_set": {
2087
+ "type": "object",
2088
+ "properties": {
2089
+ "presentment_money": {
2090
+ "type": "object",
2091
+ "properties": {
2092
+ "amount": {
2093
+ "type": "string"
2094
+ },
2095
+ "currency_code": {
2096
+ "type": "string"
2097
+ }
2098
+ },
2099
+ "required": [
2100
+ "amount",
2101
+ "currency_code"
2102
+ ]
2103
+ },
2104
+ "shop_money": {
2105
+ "type": "object",
2106
+ "properties": {
2107
+ "amount": {
2108
+ "type": "string"
2109
+ },
2110
+ "currency_code": {
2111
+ "type": "string"
2112
+ }
2113
+ },
2114
+ "required": [
2115
+ "amount",
2116
+ "currency_code"
2117
+ ]
2118
+ }
2119
+ },
2120
+ "required": [
2121
+ "presentment_money",
2122
+ "shop_money"
2123
+ ]
2124
+ },
2125
+ "current_quantity": {
2126
+ "type": "integer"
1295
2127
  }
1296
2128
  },
1297
2129
  "required": [
@@ -1364,16 +2196,28 @@
1364
2196
  "type": "string"
1365
2197
  },
1366
2198
  "address2": {
1367
- "type": "null"
2199
+ "type": [
2200
+ "string",
2201
+ "null"
2202
+ ]
1368
2203
  },
1369
2204
  "company": {
1370
- "type": "string"
2205
+ "type": [
2206
+ "string",
2207
+ "null"
2208
+ ]
1371
2209
  },
1372
2210
  "latitude": {
1373
- "type": "null"
2211
+ "type": [
2212
+ "number",
2213
+ "null"
2214
+ ]
1374
2215
  },
1375
2216
  "longitude": {
1376
- "type": "null"
2217
+ "type": [
2218
+ "number",
2219
+ "null"
2220
+ ]
1377
2221
  },
1378
2222
  "name": {
1379
2223
  "type": "string"
@@ -1412,10 +2256,16 @@
1412
2256
  "type": "integer"
1413
2257
  },
1414
2258
  "carrier_identifier": {
1415
- "type": "null"
2259
+ "type": [
2260
+ "string",
2261
+ "null"
2262
+ ]
1416
2263
  },
1417
2264
  "code": {
1418
- "type": "null"
2265
+ "type": [
2266
+ "string",
2267
+ "null"
2268
+ ]
1419
2269
  },
1420
2270
  "discounted_price": {
1421
2271
  "type": "string"
@@ -1508,18 +2358,86 @@
1508
2358
  "type": "null"
1509
2359
  },
1510
2360
  "source": {
1511
- "type": "string"
2361
+ "type": [
2362
+ "string",
2363
+ "null"
2364
+ ]
1512
2365
  },
1513
2366
  "title": {
1514
2367
  "type": "string"
1515
2368
  },
1516
2369
  "tax_lines": {
1517
2370
  "type": "array",
1518
- "items": false
2371
+ "items": {
2372
+ "type": "object",
2373
+ "properties": {
2374
+ "rate": {
2375
+ "type": "number"
2376
+ },
2377
+ "title": {
2378
+ "type": "string"
2379
+ },
2380
+ "channel_liable": {
2381
+ "type": "boolean"
2382
+ },
2383
+ "price": {
2384
+ "type": "string"
2385
+ },
2386
+ "price_set": {
2387
+ "type": "object",
2388
+ "properties": {
2389
+ "shop_money": {
2390
+ "type": "object",
2391
+ "properties": {
2392
+ "amount": {
2393
+ "type": "string"
2394
+ },
2395
+ "currency_code": {
2396
+ "type": "string"
2397
+ }
2398
+ },
2399
+ "required": [
2400
+ "amount",
2401
+ "currency_code"
2402
+ ]
2403
+ },
2404
+ "presentment_money": {
2405
+ "type": "object",
2406
+ "properties": {
2407
+ "amount": {
2408
+ "type": "string"
2409
+ },
2410
+ "currency_code": {
2411
+ "type": "string"
2412
+ }
2413
+ },
2414
+ "required": [
2415
+ "amount",
2416
+ "currency_code"
2417
+ ]
2418
+ }
2419
+ },
2420
+ "required": [
2421
+ "shop_money",
2422
+ "presentment_money"
2423
+ ]
2424
+ }
2425
+ },
2426
+ "required": [
2427
+ "rate",
2428
+ "title",
2429
+ "channel_liable",
2430
+ "price",
2431
+ "price_set"
2432
+ ]
2433
+ }
1519
2434
  },
1520
2435
  "discount_allocations": {
1521
2436
  "type": "array",
1522
2437
  "items": false
2438
+ },
2439
+ "is_removed": {
2440
+ "type": "boolean"
1523
2441
  }
1524
2442
  },
1525
2443
  "required": [