shopify-webhook-schemas 0.1.8 → 0.2.0
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.
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.js +3 -0
- package/dist/src/infer-schema.d.ts +18 -0
- package/dist/src/infer-schema.js +717 -0
- package/dist/src/scrape.js +11 -623
- package/metadatas/2025-04/app_purchases_one_time/update.json +1 -1
- package/metadatas/2025-04/app_subscriptions/approaching_capped_amount.json +1 -1
- package/metadatas/2025-04/app_subscriptions/update.json +5 -2
- package/metadatas/2025-04/bulk_operations/finish.json +1 -1
- package/metadatas/2025-04/checkouts/create.json +6 -6
- package/metadatas/2025-04/checkouts/update.json +6 -6
- package/metadatas/2025-04/discounts/create.json +2 -2
- package/metadatas/2025-04/discounts/delete.json +1 -1
- package/metadatas/2025-04/discounts/redeemcode_added.json +1 -1
- package/metadatas/2025-04/discounts/redeemcode_removed.json +1 -1
- package/metadatas/2025-04/discounts/update.json +2 -2
- package/metadatas/2025-04/draft_orders/create.json +24 -24
- package/metadatas/2025-04/draft_orders/update.json +26 -26
- package/metadatas/2025-04/fulfillments/create.json +71 -24
- package/metadatas/2025-04/fulfillments/update.json +71 -24
- package/metadatas/2025-04/inventory_items/create.json +2 -1
- package/metadatas/2025-04/inventory_items/delete.json +2 -1
- package/metadatas/2025-04/inventory_items/update.json +2 -1
- package/metadatas/2025-04/markets_backup_region/update.json +18 -0
- package/metadatas/2025-04/order_transactions/create.json +3 -3
- package/metadatas/2025-04/orders/cancelled.json +91 -41
- package/metadatas/2025-04/orders/create.json +91 -41
- package/metadatas/2025-04/orders/edited.json +1 -1
- package/metadatas/2025-04/orders/fulfilled.json +91 -41
- package/metadatas/2025-04/orders/paid.json +91 -41
- package/metadatas/2025-04/orders/partially_fulfilled.json +91 -41
- package/metadatas/2025-04/orders/updated.json +91 -41
- package/metadatas/2025-04/refunds/create.json +110 -34
- package/metadatas/2025-04/selling_plan_groups/create.json +2 -2
- package/metadatas/2025-04/selling_plan_groups/delete.json +2 -2
- package/metadatas/2025-04/selling_plan_groups/update.json +2 -2
- package/metadatas/2025-04/subscription_billing_attempts/challenged.json +2 -2
- package/metadatas/2025-04/subscription_billing_attempts/failure.json +2 -2
- package/metadatas/2025-04/subscription_billing_attempts/success.json +2 -2
- package/metadatas/2025-04/subscription_contracts/activate.json +4 -4
- package/metadatas/2025-04/subscription_contracts/cancel.json +4 -4
- package/metadatas/2025-04/subscription_contracts/create.json +4 -4
- package/metadatas/2025-04/subscription_contracts/expire.json +4 -4
- package/metadatas/2025-04/subscription_contracts/fail.json +4 -4
- package/metadatas/2025-04/subscription_contracts/pause.json +4 -4
- package/metadatas/2025-04/subscription_contracts/update.json +4 -4
- package/metadatas/2025-04/tender_transactions/create.json +1 -1
- package/package.json +6 -6
- package/schemas/2025-04/app_subscriptions/update.json +12 -0
- package/schemas/2025-04/carts/create.json +4 -1
- package/schemas/2025-04/carts/update.json +4 -1
- package/schemas/2025-04/checkouts/create.json +26 -16
- package/schemas/2025-04/checkouts/delete.json +3 -0
- package/schemas/2025-04/checkouts/update.json +26 -16
- package/schemas/2025-04/collections/create.json +20 -0
- package/schemas/2025-04/collections/update.json +20 -0
- package/schemas/2025-04/company_locations/create.json +37 -6
- package/schemas/2025-04/company_locations/delete.json +37 -6
- package/schemas/2025-04/company_locations/update.json +37 -6
- package/schemas/2025-04/customer_payment_methods/create.json +1 -1
- package/schemas/2025-04/customer_payment_methods/revoke.json +1 -1
- package/schemas/2025-04/customer_payment_methods/update.json +1 -1
- package/schemas/2025-04/customers/create.json +86 -4
- package/schemas/2025-04/customers/delete.json +78 -2
- package/schemas/2025-04/customers/disable.json +86 -4
- package/schemas/2025-04/customers/enable.json +86 -4
- package/schemas/2025-04/customers/update.json +86 -4
- package/schemas/2025-04/customers_email_marketing_consent/update.json +13 -3
- package/schemas/2025-04/customers_marketing_consent/update.json +13 -3
- package/schemas/2025-04/disputes/create.json +0 -1
- package/schemas/2025-04/disputes/update.json +0 -1
- package/schemas/2025-04/domains/create.json +4 -2
- package/schemas/2025-04/domains/destroy.json +4 -2
- package/schemas/2025-04/domains/update.json +4 -2
- package/schemas/2025-04/draft_orders/create.json +138 -4
- package/schemas/2025-04/draft_orders/update.json +138 -4
- package/schemas/2025-04/fulfillments/create.json +196 -66
- package/schemas/2025-04/fulfillments/update.json +196 -66
- package/schemas/2025-04/inventory_items/create.json +7 -3
- package/schemas/2025-04/inventory_items/update.json +7 -3
- package/schemas/2025-04/markets_backup_region/update.json +17 -0
- package/schemas/2025-04/order_transactions/create.json +15 -5
- package/schemas/2025-04/orders/cancelled.json +76 -4
- package/schemas/2025-04/orders/create.json +76 -4
- package/schemas/2025-04/orders/edited.json +8 -2
- package/schemas/2025-04/orders/fulfilled.json +76 -4
- package/schemas/2025-04/orders/paid.json +76 -4
- package/schemas/2025-04/orders/partially_fulfilled.json +76 -4
- package/schemas/2025-04/orders/risk_assessment_changed.json +9 -2
- package/schemas/2025-04/orders/shopify_protect_eligibility_changed.json +8 -1
- package/schemas/2025-04/orders/updated.json +76 -4
- package/schemas/2025-04/payment_terms/create.json +4 -1
- package/schemas/2025-04/payment_terms/update.json +4 -1
- package/schemas/2025-04/products/create.json +160 -64
- package/schemas/2025-04/products/update.json +160 -64
- package/schemas/2025-04/refunds/create.json +764 -17
- package/schemas/2025-04/selling_plan_groups/create.json +66 -10
- package/schemas/2025-04/selling_plan_groups/update.json +66 -10
- package/schemas/2025-04/shop/update.json +4 -3
- package/schemas/2025-04/subscription_billing_attempts/challenged.json +0 -1
- package/schemas/2025-04/subscription_billing_attempts/failure.json +0 -1
- package/schemas/2025-04/subscription_billing_attempts/success.json +0 -1
- package/schemas/2025-04/subscription_contracts/activate.json +8 -2
- package/schemas/2025-04/subscription_contracts/cancel.json +8 -2
- package/schemas/2025-04/subscription_contracts/create.json +8 -2
- package/schemas/2025-04/subscription_contracts/expire.json +8 -2
- package/schemas/2025-04/subscription_contracts/fail.json +8 -2
- package/schemas/2025-04/subscription_contracts/pause.json +8 -2
- package/schemas/2025-04/subscription_contracts/update.json +8 -2
- package/schemas/2025-04/tender_transactions/create.json +9 -16
- package/schemas/2025-04/themes/create.json +4 -1
- package/schemas/2025-04/themes/publish.json +4 -1
- package/schemas/2025-04/themes/update.json +4 -1
|
@@ -9,7 +9,10 @@
|
|
|
9
9
|
"type": "boolean"
|
|
10
10
|
},
|
|
11
11
|
"api_client_id": {
|
|
12
|
-
"type":
|
|
12
|
+
"type": [
|
|
13
|
+
"integer",
|
|
14
|
+
"null"
|
|
15
|
+
]
|
|
13
16
|
},
|
|
14
17
|
"applied_discount": {
|
|
15
18
|
"properties": {
|
|
@@ -144,7 +147,11 @@
|
|
|
144
147
|
"type": "string"
|
|
145
148
|
},
|
|
146
149
|
"created_on_api_version_handle": {
|
|
147
|
-
"
|
|
150
|
+
"format": "date-time",
|
|
151
|
+
"type": [
|
|
152
|
+
"null",
|
|
153
|
+
"string"
|
|
154
|
+
]
|
|
148
155
|
},
|
|
149
156
|
"currency": {
|
|
150
157
|
"type": "string"
|
|
@@ -275,7 +282,6 @@
|
|
|
275
282
|
"type": "object"
|
|
276
283
|
},
|
|
277
284
|
"email": {
|
|
278
|
-
"format": "email",
|
|
279
285
|
"type": "string"
|
|
280
286
|
},
|
|
281
287
|
"email_marketing_consent": {
|
|
@@ -422,7 +428,6 @@
|
|
|
422
428
|
"type": "object"
|
|
423
429
|
},
|
|
424
430
|
"email": {
|
|
425
|
-
"format": "email",
|
|
426
431
|
"type": "string"
|
|
427
432
|
},
|
|
428
433
|
"id": {
|
|
@@ -1139,6 +1144,135 @@
|
|
|
1139
1144
|
"updated_at"
|
|
1140
1145
|
],
|
|
1141
1146
|
"type": "object"
|
|
1147
|
+
},
|
|
1148
|
+
{
|
|
1149
|
+
"properties": {
|
|
1150
|
+
"can_pay_early": {
|
|
1151
|
+
"type": "boolean"
|
|
1152
|
+
},
|
|
1153
|
+
"created_at": {
|
|
1154
|
+
"format": "date-time",
|
|
1155
|
+
"type": "string"
|
|
1156
|
+
},
|
|
1157
|
+
"due_in_days": {
|
|
1158
|
+
"type": "integer"
|
|
1159
|
+
},
|
|
1160
|
+
"id": {
|
|
1161
|
+
"type": "integer"
|
|
1162
|
+
},
|
|
1163
|
+
"payment_schedules": {
|
|
1164
|
+
"items": {
|
|
1165
|
+
"properties": {
|
|
1166
|
+
"amount": {
|
|
1167
|
+
"type": "string"
|
|
1168
|
+
},
|
|
1169
|
+
"balance_due": {
|
|
1170
|
+
"type": "string"
|
|
1171
|
+
},
|
|
1172
|
+
"balance_due_currency": {
|
|
1173
|
+
"type": "string"
|
|
1174
|
+
},
|
|
1175
|
+
"completed_at": {
|
|
1176
|
+
"format": "date-time",
|
|
1177
|
+
"type": "string"
|
|
1178
|
+
},
|
|
1179
|
+
"created_at": {
|
|
1180
|
+
"format": "date-time",
|
|
1181
|
+
"type": "string"
|
|
1182
|
+
},
|
|
1183
|
+
"currency": {
|
|
1184
|
+
"type": "string"
|
|
1185
|
+
},
|
|
1186
|
+
"due_at": {
|
|
1187
|
+
"format": "date-time",
|
|
1188
|
+
"type": "string"
|
|
1189
|
+
},
|
|
1190
|
+
"id": {
|
|
1191
|
+
"type": "integer"
|
|
1192
|
+
},
|
|
1193
|
+
"issued_at": {
|
|
1194
|
+
"format": "date-time",
|
|
1195
|
+
"type": "string"
|
|
1196
|
+
},
|
|
1197
|
+
"outstanding_balance": {
|
|
1198
|
+
"type": "string"
|
|
1199
|
+
},
|
|
1200
|
+
"outstanding_balance_currency": {
|
|
1201
|
+
"type": "string"
|
|
1202
|
+
},
|
|
1203
|
+
"payment_terms_id": {
|
|
1204
|
+
"type": "integer"
|
|
1205
|
+
},
|
|
1206
|
+
"reference_id": {
|
|
1207
|
+
"type": "integer"
|
|
1208
|
+
},
|
|
1209
|
+
"reference_type": {
|
|
1210
|
+
"type": "string"
|
|
1211
|
+
},
|
|
1212
|
+
"total_balance": {
|
|
1213
|
+
"type": "string"
|
|
1214
|
+
},
|
|
1215
|
+
"total_balance_currency": {
|
|
1216
|
+
"type": "string"
|
|
1217
|
+
},
|
|
1218
|
+
"total_price": {
|
|
1219
|
+
"type": "string"
|
|
1220
|
+
},
|
|
1221
|
+
"total_price_currency": {
|
|
1222
|
+
"type": "string"
|
|
1223
|
+
},
|
|
1224
|
+
"updated_at": {
|
|
1225
|
+
"format": "date-time",
|
|
1226
|
+
"type": "string"
|
|
1227
|
+
}
|
|
1228
|
+
},
|
|
1229
|
+
"required": [
|
|
1230
|
+
"amount",
|
|
1231
|
+
"balance_due",
|
|
1232
|
+
"balance_due_currency",
|
|
1233
|
+
"completed_at",
|
|
1234
|
+
"created_at",
|
|
1235
|
+
"currency",
|
|
1236
|
+
"due_at",
|
|
1237
|
+
"id",
|
|
1238
|
+
"issued_at",
|
|
1239
|
+
"outstanding_balance",
|
|
1240
|
+
"outstanding_balance_currency",
|
|
1241
|
+
"payment_terms_id",
|
|
1242
|
+
"reference_id",
|
|
1243
|
+
"reference_type",
|
|
1244
|
+
"total_balance",
|
|
1245
|
+
"total_balance_currency",
|
|
1246
|
+
"total_price",
|
|
1247
|
+
"total_price_currency",
|
|
1248
|
+
"updated_at"
|
|
1249
|
+
],
|
|
1250
|
+
"type": "object"
|
|
1251
|
+
},
|
|
1252
|
+
"type": "array"
|
|
1253
|
+
},
|
|
1254
|
+
"payment_terms_name": {
|
|
1255
|
+
"type": "string"
|
|
1256
|
+
},
|
|
1257
|
+
"payment_terms_type": {
|
|
1258
|
+
"type": "string"
|
|
1259
|
+
},
|
|
1260
|
+
"updated_at": {
|
|
1261
|
+
"format": "date-time",
|
|
1262
|
+
"type": "string"
|
|
1263
|
+
}
|
|
1264
|
+
},
|
|
1265
|
+
"required": [
|
|
1266
|
+
"can_pay_early",
|
|
1267
|
+
"created_at",
|
|
1268
|
+
"due_in_days",
|
|
1269
|
+
"id",
|
|
1270
|
+
"payment_schedules",
|
|
1271
|
+
"payment_terms_name",
|
|
1272
|
+
"payment_terms_type",
|
|
1273
|
+
"updated_at"
|
|
1274
|
+
],
|
|
1275
|
+
"type": "object"
|
|
1142
1276
|
}
|
|
1143
1277
|
]
|
|
1144
1278
|
},
|
|
@@ -9,7 +9,10 @@
|
|
|
9
9
|
"type": "boolean"
|
|
10
10
|
},
|
|
11
11
|
"api_client_id": {
|
|
12
|
-
"type":
|
|
12
|
+
"type": [
|
|
13
|
+
"integer",
|
|
14
|
+
"null"
|
|
15
|
+
]
|
|
13
16
|
},
|
|
14
17
|
"applied_discount": {
|
|
15
18
|
"properties": {
|
|
@@ -144,7 +147,11 @@
|
|
|
144
147
|
"type": "string"
|
|
145
148
|
},
|
|
146
149
|
"created_on_api_version_handle": {
|
|
147
|
-
"
|
|
150
|
+
"format": "date-time",
|
|
151
|
+
"type": [
|
|
152
|
+
"null",
|
|
153
|
+
"string"
|
|
154
|
+
]
|
|
148
155
|
},
|
|
149
156
|
"currency": {
|
|
150
157
|
"type": "string"
|
|
@@ -275,7 +282,6 @@
|
|
|
275
282
|
"type": "object"
|
|
276
283
|
},
|
|
277
284
|
"email": {
|
|
278
|
-
"format": "email",
|
|
279
285
|
"type": "string"
|
|
280
286
|
},
|
|
281
287
|
"email_marketing_consent": {
|
|
@@ -422,7 +428,6 @@
|
|
|
422
428
|
"type": "object"
|
|
423
429
|
},
|
|
424
430
|
"email": {
|
|
425
|
-
"format": "email",
|
|
426
431
|
"type": "string"
|
|
427
432
|
},
|
|
428
433
|
"id": {
|
|
@@ -1139,6 +1144,135 @@
|
|
|
1139
1144
|
"updated_at"
|
|
1140
1145
|
],
|
|
1141
1146
|
"type": "object"
|
|
1147
|
+
},
|
|
1148
|
+
{
|
|
1149
|
+
"properties": {
|
|
1150
|
+
"can_pay_early": {
|
|
1151
|
+
"type": "boolean"
|
|
1152
|
+
},
|
|
1153
|
+
"created_at": {
|
|
1154
|
+
"format": "date-time",
|
|
1155
|
+
"type": "string"
|
|
1156
|
+
},
|
|
1157
|
+
"due_in_days": {
|
|
1158
|
+
"type": "integer"
|
|
1159
|
+
},
|
|
1160
|
+
"id": {
|
|
1161
|
+
"type": "integer"
|
|
1162
|
+
},
|
|
1163
|
+
"payment_schedules": {
|
|
1164
|
+
"items": {
|
|
1165
|
+
"properties": {
|
|
1166
|
+
"amount": {
|
|
1167
|
+
"type": "string"
|
|
1168
|
+
},
|
|
1169
|
+
"balance_due": {
|
|
1170
|
+
"type": "string"
|
|
1171
|
+
},
|
|
1172
|
+
"balance_due_currency": {
|
|
1173
|
+
"type": "string"
|
|
1174
|
+
},
|
|
1175
|
+
"completed_at": {
|
|
1176
|
+
"format": "date-time",
|
|
1177
|
+
"type": "string"
|
|
1178
|
+
},
|
|
1179
|
+
"created_at": {
|
|
1180
|
+
"format": "date-time",
|
|
1181
|
+
"type": "string"
|
|
1182
|
+
},
|
|
1183
|
+
"currency": {
|
|
1184
|
+
"type": "string"
|
|
1185
|
+
},
|
|
1186
|
+
"due_at": {
|
|
1187
|
+
"format": "date-time",
|
|
1188
|
+
"type": "string"
|
|
1189
|
+
},
|
|
1190
|
+
"id": {
|
|
1191
|
+
"type": "integer"
|
|
1192
|
+
},
|
|
1193
|
+
"issued_at": {
|
|
1194
|
+
"format": "date-time",
|
|
1195
|
+
"type": "string"
|
|
1196
|
+
},
|
|
1197
|
+
"outstanding_balance": {
|
|
1198
|
+
"type": "string"
|
|
1199
|
+
},
|
|
1200
|
+
"outstanding_balance_currency": {
|
|
1201
|
+
"type": "string"
|
|
1202
|
+
},
|
|
1203
|
+
"payment_terms_id": {
|
|
1204
|
+
"type": "integer"
|
|
1205
|
+
},
|
|
1206
|
+
"reference_id": {
|
|
1207
|
+
"type": "integer"
|
|
1208
|
+
},
|
|
1209
|
+
"reference_type": {
|
|
1210
|
+
"type": "string"
|
|
1211
|
+
},
|
|
1212
|
+
"total_balance": {
|
|
1213
|
+
"type": "string"
|
|
1214
|
+
},
|
|
1215
|
+
"total_balance_currency": {
|
|
1216
|
+
"type": "string"
|
|
1217
|
+
},
|
|
1218
|
+
"total_price": {
|
|
1219
|
+
"type": "string"
|
|
1220
|
+
},
|
|
1221
|
+
"total_price_currency": {
|
|
1222
|
+
"type": "string"
|
|
1223
|
+
},
|
|
1224
|
+
"updated_at": {
|
|
1225
|
+
"format": "date-time",
|
|
1226
|
+
"type": "string"
|
|
1227
|
+
}
|
|
1228
|
+
},
|
|
1229
|
+
"required": [
|
|
1230
|
+
"amount",
|
|
1231
|
+
"balance_due",
|
|
1232
|
+
"balance_due_currency",
|
|
1233
|
+
"completed_at",
|
|
1234
|
+
"created_at",
|
|
1235
|
+
"currency",
|
|
1236
|
+
"due_at",
|
|
1237
|
+
"id",
|
|
1238
|
+
"issued_at",
|
|
1239
|
+
"outstanding_balance",
|
|
1240
|
+
"outstanding_balance_currency",
|
|
1241
|
+
"payment_terms_id",
|
|
1242
|
+
"reference_id",
|
|
1243
|
+
"reference_type",
|
|
1244
|
+
"total_balance",
|
|
1245
|
+
"total_balance_currency",
|
|
1246
|
+
"total_price",
|
|
1247
|
+
"total_price_currency",
|
|
1248
|
+
"updated_at"
|
|
1249
|
+
],
|
|
1250
|
+
"type": "object"
|
|
1251
|
+
},
|
|
1252
|
+
"type": "array"
|
|
1253
|
+
},
|
|
1254
|
+
"payment_terms_name": {
|
|
1255
|
+
"type": "string"
|
|
1256
|
+
},
|
|
1257
|
+
"payment_terms_type": {
|
|
1258
|
+
"type": "string"
|
|
1259
|
+
},
|
|
1260
|
+
"updated_at": {
|
|
1261
|
+
"format": "date-time",
|
|
1262
|
+
"type": "string"
|
|
1263
|
+
}
|
|
1264
|
+
},
|
|
1265
|
+
"required": [
|
|
1266
|
+
"can_pay_early",
|
|
1267
|
+
"created_at",
|
|
1268
|
+
"due_in_days",
|
|
1269
|
+
"id",
|
|
1270
|
+
"payment_schedules",
|
|
1271
|
+
"payment_terms_name",
|
|
1272
|
+
"payment_terms_type",
|
|
1273
|
+
"updated_at"
|
|
1274
|
+
],
|
|
1275
|
+
"type": "object"
|
|
1142
1276
|
}
|
|
1143
1277
|
]
|
|
1144
1278
|
},
|
|
@@ -15,7 +15,10 @@
|
|
|
15
15
|
"type": "string"
|
|
16
16
|
},
|
|
17
17
|
"address2": {
|
|
18
|
-
"type":
|
|
18
|
+
"type": [
|
|
19
|
+
"null",
|
|
20
|
+
"string"
|
|
21
|
+
]
|
|
19
22
|
},
|
|
20
23
|
"city": {
|
|
21
24
|
"type": "string"
|
|
@@ -158,7 +161,137 @@
|
|
|
158
161
|
"type": "array"
|
|
159
162
|
},
|
|
160
163
|
"duties": {
|
|
161
|
-
"items":
|
|
164
|
+
"items": {
|
|
165
|
+
"properties": {
|
|
166
|
+
"admin_graphql_api_id": {
|
|
167
|
+
"format": "uri",
|
|
168
|
+
"type": "string"
|
|
169
|
+
},
|
|
170
|
+
"country_code_of_origin": {
|
|
171
|
+
"type": "string"
|
|
172
|
+
},
|
|
173
|
+
"harmonized_system_code": {
|
|
174
|
+
"type": "string"
|
|
175
|
+
},
|
|
176
|
+
"id": {
|
|
177
|
+
"type": "integer"
|
|
178
|
+
},
|
|
179
|
+
"price_set": {
|
|
180
|
+
"properties": {
|
|
181
|
+
"presentment_money": {
|
|
182
|
+
"properties": {
|
|
183
|
+
"amount": {
|
|
184
|
+
"type": "string"
|
|
185
|
+
},
|
|
186
|
+
"currency_code": {
|
|
187
|
+
"type": "string"
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
"required": [
|
|
191
|
+
"amount",
|
|
192
|
+
"currency_code"
|
|
193
|
+
],
|
|
194
|
+
"type": "object"
|
|
195
|
+
},
|
|
196
|
+
"shop_money": {
|
|
197
|
+
"properties": {
|
|
198
|
+
"amount": {
|
|
199
|
+
"type": "string"
|
|
200
|
+
},
|
|
201
|
+
"currency_code": {
|
|
202
|
+
"type": "string"
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
"required": [
|
|
206
|
+
"amount",
|
|
207
|
+
"currency_code"
|
|
208
|
+
],
|
|
209
|
+
"type": "object"
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
"required": [
|
|
213
|
+
"presentment_money",
|
|
214
|
+
"shop_money"
|
|
215
|
+
],
|
|
216
|
+
"type": "object"
|
|
217
|
+
},
|
|
218
|
+
"tax_lines": {
|
|
219
|
+
"items": {
|
|
220
|
+
"properties": {
|
|
221
|
+
"channel_liable": {
|
|
222
|
+
"type": "boolean"
|
|
223
|
+
},
|
|
224
|
+
"price": {
|
|
225
|
+
"type": "string"
|
|
226
|
+
},
|
|
227
|
+
"price_set": {
|
|
228
|
+
"properties": {
|
|
229
|
+
"presentment_money": {
|
|
230
|
+
"properties": {
|
|
231
|
+
"amount": {
|
|
232
|
+
"type": "string"
|
|
233
|
+
},
|
|
234
|
+
"currency_code": {
|
|
235
|
+
"type": "string"
|
|
236
|
+
}
|
|
237
|
+
},
|
|
238
|
+
"required": [
|
|
239
|
+
"amount",
|
|
240
|
+
"currency_code"
|
|
241
|
+
],
|
|
242
|
+
"type": "object"
|
|
243
|
+
},
|
|
244
|
+
"shop_money": {
|
|
245
|
+
"properties": {
|
|
246
|
+
"amount": {
|
|
247
|
+
"type": "string"
|
|
248
|
+
},
|
|
249
|
+
"currency_code": {
|
|
250
|
+
"type": "string"
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
"required": [
|
|
254
|
+
"amount",
|
|
255
|
+
"currency_code"
|
|
256
|
+
],
|
|
257
|
+
"type": "object"
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
"required": [
|
|
261
|
+
"presentment_money",
|
|
262
|
+
"shop_money"
|
|
263
|
+
],
|
|
264
|
+
"type": "object"
|
|
265
|
+
},
|
|
266
|
+
"rate": {
|
|
267
|
+
"type": "number"
|
|
268
|
+
},
|
|
269
|
+
"title": {
|
|
270
|
+
"type": "string"
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
"required": [
|
|
274
|
+
"channel_liable",
|
|
275
|
+
"price",
|
|
276
|
+
"price_set",
|
|
277
|
+
"rate",
|
|
278
|
+
"title"
|
|
279
|
+
],
|
|
280
|
+
"type": "object"
|
|
281
|
+
},
|
|
282
|
+
"type": "array"
|
|
283
|
+
}
|
|
284
|
+
},
|
|
285
|
+
"required": [
|
|
286
|
+
"admin_graphql_api_id",
|
|
287
|
+
"country_code_of_origin",
|
|
288
|
+
"harmonized_system_code",
|
|
289
|
+
"id",
|
|
290
|
+
"price_set",
|
|
291
|
+
"tax_lines"
|
|
292
|
+
],
|
|
293
|
+
"type": "object"
|
|
294
|
+
},
|
|
162
295
|
"type": "array"
|
|
163
296
|
},
|
|
164
297
|
"fulfillable_quantity": {
|
|
@@ -276,7 +409,21 @@
|
|
|
276
409
|
"type": "integer"
|
|
277
410
|
},
|
|
278
411
|
"properties": {
|
|
279
|
-
"items":
|
|
412
|
+
"items": {
|
|
413
|
+
"properties": {
|
|
414
|
+
"name": {
|
|
415
|
+
"type": "string"
|
|
416
|
+
},
|
|
417
|
+
"value": {
|
|
418
|
+
"type": "string"
|
|
419
|
+
}
|
|
420
|
+
},
|
|
421
|
+
"required": [
|
|
422
|
+
"name",
|
|
423
|
+
"value"
|
|
424
|
+
],
|
|
425
|
+
"type": "object"
|
|
426
|
+
},
|
|
280
427
|
"type": "array"
|
|
281
428
|
},
|
|
282
429
|
"quantity": {
|
|
@@ -406,10 +553,16 @@
|
|
|
406
553
|
"type": "object"
|
|
407
554
|
},
|
|
408
555
|
"variant_id": {
|
|
409
|
-
"type":
|
|
556
|
+
"type": [
|
|
557
|
+
"integer",
|
|
558
|
+
"null"
|
|
559
|
+
]
|
|
410
560
|
},
|
|
411
561
|
"variant_inventory_management": {
|
|
412
|
-
"type":
|
|
562
|
+
"type": [
|
|
563
|
+
"null",
|
|
564
|
+
"string"
|
|
565
|
+
]
|
|
413
566
|
},
|
|
414
567
|
"variant_title": {
|
|
415
568
|
"type": [
|
|
@@ -470,70 +623,47 @@
|
|
|
470
623
|
"type": "integer"
|
|
471
624
|
},
|
|
472
625
|
"origin_address": {
|
|
473
|
-
"
|
|
474
|
-
"
|
|
475
|
-
"type": "string"
|
|
476
|
-
},
|
|
477
|
-
"address2": {
|
|
478
|
-
"type": [
|
|
479
|
-
"null",
|
|
480
|
-
"string"
|
|
481
|
-
]
|
|
482
|
-
},
|
|
483
|
-
"city": {
|
|
484
|
-
"type": "string"
|
|
485
|
-
},
|
|
486
|
-
"company": {
|
|
487
|
-
"type": "string"
|
|
488
|
-
},
|
|
489
|
-
"country": {
|
|
490
|
-
"type": "string"
|
|
491
|
-
},
|
|
492
|
-
"country_code": {
|
|
493
|
-
"type": "string"
|
|
494
|
-
},
|
|
495
|
-
"first_name": {
|
|
496
|
-
"type": "string"
|
|
497
|
-
},
|
|
498
|
-
"last_name": {
|
|
499
|
-
"type": "string"
|
|
500
|
-
},
|
|
501
|
-
"latitude": {
|
|
502
|
-
"type": "null"
|
|
503
|
-
},
|
|
504
|
-
"longitude": {
|
|
505
|
-
"type": "null"
|
|
506
|
-
},
|
|
507
|
-
"name": {
|
|
508
|
-
"type": "string"
|
|
509
|
-
},
|
|
510
|
-
"phone": {
|
|
511
|
-
"type": "string"
|
|
512
|
-
},
|
|
513
|
-
"province": {
|
|
514
|
-
"type": "string"
|
|
515
|
-
},
|
|
516
|
-
"province_code": {
|
|
517
|
-
"type": "string"
|
|
518
|
-
},
|
|
519
|
-
"zip": {
|
|
520
|
-
"type": "string"
|
|
521
|
-
}
|
|
626
|
+
"address1": {
|
|
627
|
+
"type": "string"
|
|
522
628
|
},
|
|
523
|
-
"
|
|
524
|
-
"
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
"
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
"
|
|
534
|
-
|
|
629
|
+
"city": {
|
|
630
|
+
"type": "string"
|
|
631
|
+
},
|
|
632
|
+
"country_code": {
|
|
633
|
+
"type": "string"
|
|
634
|
+
},
|
|
635
|
+
"province_code": {
|
|
636
|
+
"type": "string"
|
|
637
|
+
},
|
|
638
|
+
"zip": {
|
|
639
|
+
"type": "string"
|
|
640
|
+
}
|
|
535
641
|
},
|
|
536
642
|
"receipt": {
|
|
643
|
+
"properties": {
|
|
644
|
+
"gift_cards": {
|
|
645
|
+
"items": {
|
|
646
|
+
"properties": {
|
|
647
|
+
"id": {
|
|
648
|
+
"type": "integer"
|
|
649
|
+
},
|
|
650
|
+
"line_item_id": {
|
|
651
|
+
"type": "integer"
|
|
652
|
+
},
|
|
653
|
+
"masked_code": {
|
|
654
|
+
"type": "string"
|
|
655
|
+
}
|
|
656
|
+
},
|
|
657
|
+
"required": [
|
|
658
|
+
"id",
|
|
659
|
+
"line_item_id",
|
|
660
|
+
"masked_code"
|
|
661
|
+
],
|
|
662
|
+
"type": "object"
|
|
663
|
+
},
|
|
664
|
+
"type": "array"
|
|
665
|
+
}
|
|
666
|
+
},
|
|
537
667
|
"type": "object"
|
|
538
668
|
},
|
|
539
669
|
"service": {
|