@builtbystack/sq-shopify-theme-sdk 0.0.5 → 0.0.7

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/README.md ADDED
@@ -0,0 +1,802 @@
1
+
2
+ <a name="readmemd"></a>
3
+
4
+ **@builtbystack/sq-shopify-theme-sdk** • [**Docs**](#globalsmd)
5
+
6
+ ***
7
+
8
+ # @builtbystack/sq-shopify-theme-sdk
9
+
10
+ 以下のScriptタグで読み込んでください。
11
+
12
+ `@x.x.x` で指定されているバージョンは適宜最新のものを利用してください。
13
+
14
+ ```html
15
+ <script src="https://unpkg.com/@builtbystack/sq-shopify-theme-sdk@x.x.x/dist/sq-shopify-theme-sdk.umd.js" defer></script>
16
+ ```
17
+
18
+ # Classes
19
+
20
+
21
+ <a name="classessdkmd"></a>
22
+
23
+ [**@builtbystack/sq-shopify-theme-sdk**](#readmemd) • **Docs**
24
+
25
+ ***
26
+
27
+ [@builtbystack/sq-shopify-theme-sdk](#globalsmd) / SDK
28
+
29
+ ## Class: SDK
30
+
31
+ ### Constructors
32
+
33
+ #### new SDK()
34
+
35
+ > **new SDK**(`apiURL`): [`SDK`](#classessdkmd)
36
+
37
+ ##### Parameters
38
+
39
+ • **apiURL**: `string`
40
+
41
+ ##### Returns
42
+
43
+ [`SDK`](#classessdkmd)
44
+
45
+ ### Methods
46
+
47
+ #### getLocationAvailabilities()
48
+
49
+ > **getLocationAvailabilities**(`sku`, `first`?, `after`?, `isReverse`?): `Promise`\<[`LocationAvailabilities`](#type-aliaseslocationavailabilitiesmd)\>
50
+
51
+ getLocationAvailabilities は渡されたSKUの各ロケーションにおける残り在庫の一覧を返します。
52
+
53
+ ##### Parameters
54
+
55
+ • **sku**: `string`
56
+
57
+ 在庫一覧を取得したい商品のSKU。
58
+
59
+ • **first?**: `number`
60
+
61
+ 取得してくる個数。デフォルトは250。
62
+
63
+ • **after?**: `string`
64
+
65
+ ページングの値。指定しない場合先頭から取得してくる。
66
+
67
+ • **isReverse?**: `boolean`
68
+
69
+ 並び順。デフォルトはfalse。
70
+
71
+ ##### Returns
72
+
73
+ `Promise`\<[`LocationAvailabilities`](#type-aliaseslocationavailabilitiesmd)\>
74
+
75
+ ***
76
+
77
+ #### getLocationAvailability()
78
+
79
+ > **getLocationAvailability**(`sku`, `locationID`): `Promise`\<[`LocationAvailability`](#type-aliaseslocationavailabilitymd)\>
80
+
81
+ getLocationAvailability は渡されたSKUとLocationIDにおける在庫情報を返します。
82
+
83
+ ##### Parameters
84
+
85
+ • **sku**: `string`
86
+
87
+ 在庫情報を取得したい商品のSKU。
88
+
89
+ • **locationID**: `string`
90
+
91
+ 在庫情報を取得したいLocationのID。
92
+
93
+ ##### Returns
94
+
95
+ `Promise`\<[`LocationAvailability`](#type-aliaseslocationavailabilitymd)\>
96
+
97
+ ***
98
+
99
+ #### getLocations()
100
+
101
+ > **getLocations**(`first`?, `after`?, `isReverse`?): `Promise`\<[`Locations`](#type-aliaseslocationsmd)\>
102
+
103
+ getLocations は ShopifyIntegration に紐づく LocationGroup の Location の一覧を取得します。
104
+
105
+ ##### Parameters
106
+
107
+ • **first?**: `number`
108
+
109
+ 取得してくる個数。デフォルトは250。
110
+
111
+ • **after?**: `string`
112
+
113
+ ページングの値。指定しない場合先頭から取得してくる。
114
+
115
+ • **isReverse?**: `boolean`
116
+
117
+ 並び順。デフォルトはfalse。
118
+
119
+ ##### Returns
120
+
121
+ `Promise`\<[`Locations`](#type-aliaseslocationsmd)\>
122
+
123
+ ***
124
+
125
+ #### getPointChangeActivities()
126
+
127
+ > **getPointChangeActivities**(`first`?, `after`?, `isReverse`?, `sortKeys`?): `Promise`\<`null` \| [`PointChangeActivities`](#type-aliasespointchangeactivitiesmd)\>
128
+
129
+ getPointChangeActivities は購入者のポイント変動履歴を返します。
130
+
131
+ ##### Parameters
132
+
133
+ • **first?**: `number`
134
+
135
+ 取得してくる個数。デフォルトは250。
136
+
137
+ • **after?**: `string`
138
+
139
+ ページングの値。指定しない場合先頭から取得してくる。
140
+
141
+ • **isReverse?**: `boolean`
142
+
143
+ 並び順。デフォルトはfalse。
144
+
145
+ • **sortKeys?**: `PointChangeActivitySortKey`
146
+
147
+ ソートキー。CREATED_ATかPOINT_CHANGE_CREATED_ATを渡す。デフォルトはCREATED_AT。
148
+
149
+ ##### Returns
150
+
151
+ `Promise`\<`null` \| [`PointChangeActivities`](#type-aliasespointchangeactivitiesmd)\>
152
+
153
+ ***
154
+
155
+ #### getPoints()
156
+
157
+ > **getPoints**(): `Promise`\<`null` \| [`Points`](#type-aliasespointsmd)\>
158
+
159
+ getPoints は、現在の保有ポイントと、獲得予定ポイントを返します。
160
+ 存在しない場合は0を返します。
161
+
162
+ ##### Returns
163
+
164
+ `Promise`\<`null` \| [`Points`](#type-aliasespointsmd)\>
165
+
166
+ ***
167
+
168
+ #### getPurchasingCustomerCurrentRank()
169
+
170
+ > **getPurchasingCustomerCurrentRank**(): `Promise`\<`null` \| [`CustomerRank`](#type-aliasescustomerrankmd)\>
171
+
172
+ getPurchasingCustomerCurrentRank は購入者の現在のランク情報を返します。
173
+
174
+ ##### Returns
175
+
176
+ `Promise`\<`null` \| [`CustomerRank`](#type-aliasescustomerrankmd)\>
177
+
178
+ ***
179
+
180
+ #### getPurchasingCustomerDiscounts()
181
+
182
+ > **getPurchasingCustomerDiscounts**(`first`?, `after`?, `isReverse`?): `Promise`\<`null` \| [`PurchasingCustomerDiscounts`](#type-aliasespurchasingcustomerdiscountsmd)\>
183
+
184
+ getPurchasingCustomerDiscounts は購入者の割引情報を返します。
185
+
186
+ ##### Parameters
187
+
188
+ • **first?**: `number`
189
+
190
+ 取得してくる個数。デフォルトは250。
191
+
192
+ • **after?**: `string`
193
+
194
+ ページングの値。指定しない場合先頭から取得してくる。
195
+
196
+ • **isReverse?**: `boolean`
197
+
198
+ 並び順。デフォルトはfalse。
199
+
200
+ ##### Returns
201
+
202
+ `Promise`\<`null` \| [`PurchasingCustomerDiscounts`](#type-aliasespurchasingcustomerdiscountsmd)\>
203
+
204
+ ***
205
+
206
+ #### getPurchasingCustomerMetafield()
207
+
208
+ > **getPurchasingCustomerMetafield**(`namespace`, `key`): `Promise`\<`null` \| [`PurchasingCustomerMetafield`](#type-aliasespurchasingcustomermetafieldmd)\>
209
+
210
+ getPurchasingCustomerMetafield は渡されたnamespaceとkeyに一致する現在ログインしているCustomerのカスタムメタフィールドを返します。
211
+ 存在しない場合はnullを返します。
212
+
213
+ ##### Parameters
214
+
215
+ • **namespace**: `string`
216
+
217
+ 取得したいメタフィールドのnamespace。
218
+
219
+ • **key**: `string`
220
+
221
+ 取得したいメタフィールドのkey。
222
+
223
+ ##### Returns
224
+
225
+ `Promise`\<`null` \| [`PurchasingCustomerMetafield`](#type-aliasespurchasingcustomermetafieldmd)\>
226
+
227
+
228
+ <a name="globalsmd"></a>
229
+
230
+ [**@builtbystack/sq-shopify-theme-sdk**](#readmemd) • **Docs**
231
+
232
+ ***
233
+
234
+ # @builtbystack/sq-shopify-theme-sdk
235
+
236
+ ## Classes
237
+
238
+ - [SDK](#classessdkmd)
239
+
240
+ ## Type Aliases
241
+
242
+ - [CustomerRank](#type-aliasescustomerrankmd)
243
+ - [CustomerRankCalculationCondition](#type-aliasescustomerrankcalculationconditionmd)
244
+ - [CustomerRankCalculationPeriod](#type-aliasescustomerrankcalculationperiodmd)
245
+ - [CustomerRankRule](#type-aliasescustomerrankrulemd)
246
+ - [Location](#type-aliaseslocationmd)
247
+ - [LocationAvailabilities](#type-aliaseslocationavailabilitiesmd)
248
+ - [LocationAvailability](#type-aliaseslocationavailabilitymd)
249
+ - [Locations](#type-aliaseslocationsmd)
250
+ - [PageInfo](#type-aliasespageinfomd)
251
+ - [PointChange](#type-aliasespointchangemd)
252
+ - [PointChangeActivities](#type-aliasespointchangeactivitiesmd)
253
+ - [PointChangeActivity](#type-aliasespointchangeactivitymd)
254
+ - [PointMultiplierCustomerRankRule](#type-aliasespointmultipliercustomerrankrulemd)
255
+ - [Points](#type-aliasespointsmd)
256
+ - [PurchasingCustomerDiscount](#type-aliasespurchasingcustomerdiscountmd)
257
+ - [PurchasingCustomerDiscounts](#type-aliasespurchasingcustomerdiscountsmd)
258
+ - [PurchasingCustomerMetafield](#type-aliasespurchasingcustomermetafieldmd)
259
+
260
+ # Type Aliases
261
+
262
+
263
+ <a name="type-aliasescustomerrankmd"></a>
264
+
265
+ [**@builtbystack/sq-shopify-theme-sdk**](#readmemd) • **Docs**
266
+
267
+ ***
268
+
269
+ [@builtbystack/sq-shopify-theme-sdk](#globalsmd) / CustomerRank
270
+
271
+ ## Type Alias: CustomerRank
272
+
273
+ > **CustomerRank**: `object`
274
+
275
+ CustomerRank は会員ランクを表す。
276
+
277
+ ### Type declaration
278
+
279
+ #### calculationCondition
280
+
281
+ > **calculationCondition**: [`CustomerRankCalculationCondition`](#type-aliasescustomerrankcalculationconditionmd)
282
+
283
+ #### earnedPointToRankUp
284
+
285
+ > **earnedPointToRankUp**: `number`
286
+
287
+ #### higherRank?
288
+
289
+ > `optional` **higherRank**: [`CustomerRankRule`](#type-aliasescustomerrankrulemd)
290
+
291
+ #### id
292
+
293
+ > **id**: `string`
294
+
295
+ #### lowerRank?
296
+
297
+ > `optional` **lowerRank**: [`CustomerRankRule`](#type-aliasescustomerrankrulemd)
298
+
299
+ #### name
300
+
301
+ > **name**: `string`
302
+
303
+ #### pointMultiplier?
304
+
305
+ > `optional` **pointMultiplier**: [`PointMultiplierCustomerRankRule`](#type-aliasespointmultipliercustomerrankrulemd)
306
+
307
+ #### purchasePriceToRankUp
308
+
309
+ > **purchasePriceToRankUp**: `number`
310
+
311
+ #### threshold
312
+
313
+ > **threshold**: `number`
314
+
315
+
316
+ <a name="type-aliasescustomerrankcalculationconditionmd"></a>
317
+
318
+ [**@builtbystack/sq-shopify-theme-sdk**](#readmemd) • **Docs**
319
+
320
+ ***
321
+
322
+ [@builtbystack/sq-shopify-theme-sdk](#globalsmd) / CustomerRankCalculationCondition
323
+
324
+ ## Type Alias: CustomerRankCalculationCondition
325
+
326
+ > **CustomerRankCalculationCondition**: `object`
327
+
328
+ CustomerRankCalculationCondition は会員ランクの算出条件を表す。
329
+
330
+ ### Type declaration
331
+
332
+ #### customerRankCalculationPeriod?
333
+
334
+ > `optional` **customerRankCalculationPeriod**: [`CustomerRankCalculationPeriod`](#type-aliasescustomerrankcalculationperiodmd)
335
+
336
+ #### earnedPoint
337
+
338
+ > **earnedPoint**: `number`
339
+
340
+ #### purchasePrice
341
+
342
+ > **purchasePrice**: `number`
343
+
344
+
345
+ <a name="type-aliasescustomerrankcalculationperiodmd"></a>
346
+
347
+ [**@builtbystack/sq-shopify-theme-sdk**](#readmemd) • **Docs**
348
+
349
+ ***
350
+
351
+ [@builtbystack/sq-shopify-theme-sdk](#globalsmd) / CustomerRankCalculationPeriod
352
+
353
+ ## Type Alias: CustomerRankCalculationPeriod
354
+
355
+ > **CustomerRankCalculationPeriod**: `object`
356
+
357
+ CustomerRankCalculationPeriod は会員ランクの算出期間を表す。
358
+
359
+ ### Type declaration
360
+
361
+ #### end
362
+
363
+ > **end**: `Date`
364
+
365
+ #### start
366
+
367
+ > **start**: `Date`
368
+
369
+
370
+ <a name="type-aliasescustomerrankrulemd"></a>
371
+
372
+ [**@builtbystack/sq-shopify-theme-sdk**](#readmemd) • **Docs**
373
+
374
+ ***
375
+
376
+ [@builtbystack/sq-shopify-theme-sdk](#globalsmd) / CustomerRankRule
377
+
378
+ ## Type Alias: CustomerRankRule
379
+
380
+ > **CustomerRankRule**: `object`
381
+
382
+ CustomerRankRule は会員ランクのルールを表す。
383
+
384
+ ### Type declaration
385
+
386
+ #### id
387
+
388
+ > **id**: `string`
389
+
390
+ #### name
391
+
392
+ > **name**: `string`
393
+
394
+ #### threshold
395
+
396
+ > **threshold**: `number`
397
+
398
+
399
+ <a name="type-aliaseslocationmd"></a>
400
+
401
+ [**@builtbystack/sq-shopify-theme-sdk**](#readmemd) • **Docs**
402
+
403
+ ***
404
+
405
+ [@builtbystack/sq-shopify-theme-sdk](#globalsmd) / Location
406
+
407
+ ## Type Alias: Location
408
+
409
+ > **Location**: `object`
410
+
411
+ Location は ShopifyIntegration に紐付いている Location を表す。
412
+
413
+ ### Type declaration
414
+
415
+ #### id
416
+
417
+ > **id**: `string`
418
+
419
+ #### name
420
+
421
+ > **name**: `string`
422
+
423
+
424
+ <a name="type-aliaseslocationavailabilitiesmd"></a>
425
+
426
+ [**@builtbystack/sq-shopify-theme-sdk**](#readmemd) • **Docs**
427
+
428
+ ***
429
+
430
+ [@builtbystack/sq-shopify-theme-sdk](#globalsmd) / LocationAvailabilities
431
+
432
+ ## Type Alias: LocationAvailabilities
433
+
434
+ > **LocationAvailabilities**: `object`
435
+
436
+ LocationAvailabilities は LocationAvailability の一覧を取得するための情報を表す。
437
+
438
+ ### Type declaration
439
+
440
+ #### nodes
441
+
442
+ > **nodes**: [`LocationAvailability`](#type-aliaseslocationavailabilitymd)[]
443
+
444
+ #### pageInfo
445
+
446
+ > **pageInfo**: [`PageInfo`](#type-aliasespageinfomd)
447
+
448
+
449
+ <a name="type-aliaseslocationavailabilitymd"></a>
450
+
451
+ [**@builtbystack/sq-shopify-theme-sdk**](#readmemd) • **Docs**
452
+
453
+ ***
454
+
455
+ [@builtbystack/sq-shopify-theme-sdk](#globalsmd) / LocationAvailability
456
+
457
+ ## Type Alias: LocationAvailability
458
+
459
+ > **LocationAvailability**: `object`
460
+
461
+ LocationAvailability はLocationの在庫情報を表す。
462
+
463
+ ### Type declaration
464
+
465
+ #### inventoryQuantity
466
+
467
+ > **inventoryQuantity**: `number`
468
+
469
+ inventoryQuantity は在庫数を表す。
470
+
471
+ #### location
472
+
473
+ > **location**: `object`
474
+
475
+ location は在庫のLocationを表す。
476
+
477
+ #### location.name
478
+
479
+ > **name**: `string`
480
+
481
+ name はLocationの名前を表す。
482
+
483
+
484
+ <a name="type-aliaseslocationsmd"></a>
485
+
486
+ [**@builtbystack/sq-shopify-theme-sdk**](#readmemd) • **Docs**
487
+
488
+ ***
489
+
490
+ [@builtbystack/sq-shopify-theme-sdk](#globalsmd) / Locations
491
+
492
+ ## Type Alias: Locations
493
+
494
+ > **Locations**: `object`
495
+
496
+ Locations は Location の一覧を取得するための情報を表す。
497
+
498
+ ### Type declaration
499
+
500
+ #### nodes
501
+
502
+ > **nodes**: [`Location`](#type-aliaseslocationmd)[]
503
+
504
+ #### pageInfo
505
+
506
+ > **pageInfo**: [`PageInfo`](#type-aliasespageinfomd)
507
+
508
+
509
+ <a name="type-aliasespageinfomd"></a>
510
+
511
+ [**@builtbystack/sq-shopify-theme-sdk**](#readmemd) • **Docs**
512
+
513
+ ***
514
+
515
+ [@builtbystack/sq-shopify-theme-sdk](#globalsmd) / PageInfo
516
+
517
+ ## Type Alias: PageInfo
518
+
519
+ > **PageInfo**: `object`
520
+
521
+ PageInfo はページングを伴って一覧を取得したときに、その一覧のページングの情報を表す。
522
+
523
+ ### Type declaration
524
+
525
+ #### endCursor
526
+
527
+ > **endCursor**: `string`
528
+
529
+ endCursor は一覧の末尾のカーソルを表す。
530
+ このカーソルを使って次のページを取得することができる。
531
+
532
+ #### hasNextPage
533
+
534
+ > **hasNextPage**: `boolean`
535
+
536
+ hasNextPage は次のページがあるかどうかを表す。
537
+
538
+ #### hasPreviousPage
539
+
540
+ > **hasPreviousPage**: `boolean`
541
+
542
+ hasPreviousPage は前のページがあるかどうかを表す。
543
+
544
+ #### startCursor
545
+
546
+ > **startCursor**: `string`
547
+
548
+ startCursor は一覧の先頭のカーソルを表す。
549
+
550
+
551
+ <a name="type-aliasespointchangemd"></a>
552
+
553
+ [**@builtbystack/sq-shopify-theme-sdk**](#readmemd) • **Docs**
554
+
555
+ ***
556
+
557
+ [@builtbystack/sq-shopify-theme-sdk](#globalsmd) / PointChange
558
+
559
+ ## Type Alias: PointChange
560
+
561
+ > **PointChange**: `object`
562
+
563
+ PointChange はポイントの変動を表す。
564
+
565
+ ### Type declaration
566
+
567
+ #### availableAt?
568
+
569
+ > `optional` **availableAt**: `Date`
570
+
571
+ #### availableUntil?
572
+
573
+ > `optional` **availableUntil**: `Date`
574
+
575
+ #### createdAt
576
+
577
+ > **createdAt**: `Date`
578
+
579
+ #### delta
580
+
581
+ > **delta**: `number`
582
+
583
+ #### expiresDate?
584
+
585
+ > `optional` **expiresDate**: `Date`
586
+
587
+ #### id
588
+
589
+ > **id**: `string`
590
+
591
+ #### pointChangeCreatedAt
592
+
593
+ > **pointChangeCreatedAt**: `Date`
594
+
595
+
596
+ <a name="type-aliasespointchangeactivitiesmd"></a>
597
+
598
+ [**@builtbystack/sq-shopify-theme-sdk**](#readmemd) • **Docs**
599
+
600
+ ***
601
+
602
+ [@builtbystack/sq-shopify-theme-sdk](#globalsmd) / PointChangeActivities
603
+
604
+ ## Type Alias: PointChangeActivities
605
+
606
+ > **PointChangeActivities**: `object`
607
+
608
+ ### Type declaration
609
+
610
+ #### nodes
611
+
612
+ > **nodes**: [`PointChangeActivity`](#type-aliasespointchangeactivitymd)[]
613
+
614
+ #### pageInfo
615
+
616
+ > **pageInfo**: [`PageInfo`](#type-aliasespageinfomd)
617
+
618
+
619
+ <a name="type-aliasespointchangeactivitymd"></a>
620
+
621
+ [**@builtbystack/sq-shopify-theme-sdk**](#readmemd) • **Docs**
622
+
623
+ ***
624
+
625
+ [@builtbystack/sq-shopify-theme-sdk](#globalsmd) / PointChangeActivity
626
+
627
+ ## Type Alias: PointChangeActivity
628
+
629
+ > **PointChangeActivity**: `object`
630
+
631
+ PointChangeActivity はポイントの変動の履歴を表す。
632
+
633
+ ### Type declaration
634
+
635
+ #### id
636
+
637
+ > **id**: `string`
638
+
639
+ #### pointChange
640
+
641
+ > **pointChange**: [`PointChange`](#type-aliasespointchangemd)
642
+
643
+ #### title
644
+
645
+ > **title**: `string`
646
+
647
+
648
+ <a name="type-aliasespointmultipliercustomerrankrulemd"></a>
649
+
650
+ [**@builtbystack/sq-shopify-theme-sdk**](#readmemd) • **Docs**
651
+
652
+ ***
653
+
654
+ [@builtbystack/sq-shopify-theme-sdk](#globalsmd) / PointMultiplierCustomerRankRule
655
+
656
+ ## Type Alias: PointMultiplierCustomerRankRule
657
+
658
+ > **PointMultiplierCustomerRankRule**: `object`
659
+
660
+ PointMultiplierCustomerRankRule はこの会員ランクの注文時ポイント倍率を表す。
661
+
662
+ ### Type declaration
663
+
664
+ #### customerRankRule
665
+
666
+ > **customerRankRule**: [`CustomerRankRule`](#type-aliasescustomerrankrulemd)
667
+
668
+ #### id
669
+
670
+ > **id**: `string`
671
+
672
+ #### multiplier
673
+
674
+ > **multiplier**: `string`
675
+
676
+
677
+ <a name="type-aliasespointsmd"></a>
678
+
679
+ [**@builtbystack/sq-shopify-theme-sdk**](#readmemd) • **Docs**
680
+
681
+ ***
682
+
683
+ [@builtbystack/sq-shopify-theme-sdk](#globalsmd) / Points
684
+
685
+ ## Type Alias: Points
686
+
687
+ > **Points**: `object`
688
+
689
+ Points は SDK から取得できるポイントの情報を表す。
690
+
691
+ ### Type declaration
692
+
693
+ #### pointsApproved
694
+
695
+ > **pointsApproved**: `number`
696
+
697
+ #### pointsPending
698
+
699
+ > **pointsPending**: `number`
700
+
701
+
702
+ <a name="type-aliasespurchasingcustomerdiscountmd"></a>
703
+
704
+ [**@builtbystack/sq-shopify-theme-sdk**](#readmemd) • **Docs**
705
+
706
+ ***
707
+
708
+ [@builtbystack/sq-shopify-theme-sdk](#globalsmd) / PurchasingCustomerDiscount
709
+
710
+ ## Type Alias: PurchasingCustomerDiscount
711
+
712
+ > **PurchasingCustomerDiscount**: `object`
713
+
714
+ PurchasingCustomerDiscount は購入者の割引情報を表す。
715
+
716
+ ### Type declaration
717
+
718
+ #### code
719
+
720
+ > **code**: `string`
721
+
722
+ #### createdAt
723
+
724
+ > **createdAt**: `Date`
725
+
726
+ #### description
727
+
728
+ > **description**: `string`
729
+
730
+ #### id
731
+
732
+ > **id**: `string`
733
+
734
+ #### title
735
+
736
+ > **title**: `string`
737
+
738
+ #### updatedAt
739
+
740
+ > **updatedAt**: `Date`
741
+
742
+
743
+ <a name="type-aliasespurchasingcustomerdiscountsmd"></a>
744
+
745
+ [**@builtbystack/sq-shopify-theme-sdk**](#readmemd) • **Docs**
746
+
747
+ ***
748
+
749
+ [@builtbystack/sq-shopify-theme-sdk](#globalsmd) / PurchasingCustomerDiscounts
750
+
751
+ ## Type Alias: PurchasingCustomerDiscounts
752
+
753
+ > **PurchasingCustomerDiscounts**: `object`
754
+
755
+ DiscountCodes は PurchasingCustomerDiscount の一覧を取得するための情報を表す。
756
+
757
+ ### Type declaration
758
+
759
+ #### id
760
+
761
+ > **id**: `string`
762
+
763
+ #### nodes
764
+
765
+ > **nodes**: [`PurchasingCustomerDiscount`](#type-aliasespurchasingcustomerdiscountmd)[]
766
+
767
+ #### pageInfo
768
+
769
+ > **pageInfo**: [`PageInfo`](#type-aliasespageinfomd)
770
+
771
+
772
+ <a name="type-aliasespurchasingcustomermetafieldmd"></a>
773
+
774
+ [**@builtbystack/sq-shopify-theme-sdk**](#readmemd) • **Docs**
775
+
776
+ ***
777
+
778
+ [@builtbystack/sq-shopify-theme-sdk](#globalsmd) / PurchasingCustomerMetafield
779
+
780
+ ## Type Alias: PurchasingCustomerMetafield
781
+
782
+ > **PurchasingCustomerMetafield**: `object`
783
+
784
+ PurchasingCustomerMetafield は購入者のカスタムメタフィールドを表す。
785
+
786
+ ### Type declaration
787
+
788
+ #### id
789
+
790
+ > **id**: `string`
791
+
792
+ #### key
793
+
794
+ > **key**: `string`
795
+
796
+ #### namespace
797
+
798
+ > **namespace**: `string`
799
+
800
+ #### value
801
+
802
+ > **value**: `string`