@builtbystack/sq-shopify-theme-sdk 0.0.4 → 0.0.6

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,768 @@
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
+ - [Points](#type-aliasespointsmd)
255
+ - [PurchasingCustomerDiscount](#type-aliasespurchasingcustomerdiscountmd)
256
+ - [PurchasingCustomerDiscounts](#type-aliasespurchasingcustomerdiscountsmd)
257
+ - [PurchasingCustomerMetafield](#type-aliasespurchasingcustomermetafieldmd)
258
+
259
+ # Type Aliases
260
+
261
+
262
+ <a name="type-aliasescustomerrankmd"></a>
263
+
264
+ [**@builtbystack/sq-shopify-theme-sdk**](#readmemd) • **Docs**
265
+
266
+ ***
267
+
268
+ [@builtbystack/sq-shopify-theme-sdk](#globalsmd) / CustomerRank
269
+
270
+ ## Type Alias: CustomerRank
271
+
272
+ > **CustomerRank**: `object`
273
+
274
+ CustomerRank は会員ランクを表す。
275
+
276
+ ### Type declaration
277
+
278
+ #### calculationCondition
279
+
280
+ > **calculationCondition**: [`CustomerRankCalculationCondition`](#type-aliasescustomerrankcalculationconditionmd)
281
+
282
+ #### earnedPointToRankUp
283
+
284
+ > **earnedPointToRankUp**: `number`
285
+
286
+ #### higherRank?
287
+
288
+ > `optional` **higherRank**: [`CustomerRankRule`](#type-aliasescustomerrankrulemd)
289
+
290
+ #### id
291
+
292
+ > **id**: `string`
293
+
294
+ #### lowerRank?
295
+
296
+ > `optional` **lowerRank**: [`CustomerRankRule`](#type-aliasescustomerrankrulemd)
297
+
298
+ #### name
299
+
300
+ > **name**: `string`
301
+
302
+ #### purchasePriceToRankUp
303
+
304
+ > **purchasePriceToRankUp**: `number`
305
+
306
+ #### threshold
307
+
308
+ > **threshold**: `number`
309
+
310
+
311
+ <a name="type-aliasescustomerrankcalculationconditionmd"></a>
312
+
313
+ [**@builtbystack/sq-shopify-theme-sdk**](#readmemd) • **Docs**
314
+
315
+ ***
316
+
317
+ [@builtbystack/sq-shopify-theme-sdk](#globalsmd) / CustomerRankCalculationCondition
318
+
319
+ ## Type Alias: CustomerRankCalculationCondition
320
+
321
+ > **CustomerRankCalculationCondition**: `object`
322
+
323
+ CustomerRankCalculationCondition は会員ランクの算出条件を表す。
324
+
325
+ ### Type declaration
326
+
327
+ #### customerRankCalculationPeriod?
328
+
329
+ > `optional` **customerRankCalculationPeriod**: [`CustomerRankCalculationPeriod`](#type-aliasescustomerrankcalculationperiodmd)
330
+
331
+ #### earnedPoint
332
+
333
+ > **earnedPoint**: `number`
334
+
335
+ #### purchasePrice
336
+
337
+ > **purchasePrice**: `number`
338
+
339
+
340
+ <a name="type-aliasescustomerrankcalculationperiodmd"></a>
341
+
342
+ [**@builtbystack/sq-shopify-theme-sdk**](#readmemd) • **Docs**
343
+
344
+ ***
345
+
346
+ [@builtbystack/sq-shopify-theme-sdk](#globalsmd) / CustomerRankCalculationPeriod
347
+
348
+ ## Type Alias: CustomerRankCalculationPeriod
349
+
350
+ > **CustomerRankCalculationPeriod**: `object`
351
+
352
+ CustomerRankCalculationPeriod は会員ランクの算出期間を表す。
353
+
354
+ ### Type declaration
355
+
356
+ #### end
357
+
358
+ > **end**: `Date`
359
+
360
+ #### start
361
+
362
+ > **start**: `Date`
363
+
364
+
365
+ <a name="type-aliasescustomerrankrulemd"></a>
366
+
367
+ [**@builtbystack/sq-shopify-theme-sdk**](#readmemd) • **Docs**
368
+
369
+ ***
370
+
371
+ [@builtbystack/sq-shopify-theme-sdk](#globalsmd) / CustomerRankRule
372
+
373
+ ## Type Alias: CustomerRankRule
374
+
375
+ > **CustomerRankRule**: `object`
376
+
377
+ CustomerRankRule は会員ランクのルールを表す。
378
+
379
+ ### Type declaration
380
+
381
+ #### id
382
+
383
+ > **id**: `string`
384
+
385
+ #### name
386
+
387
+ > **name**: `string`
388
+
389
+ #### threshold
390
+
391
+ > **threshold**: `number`
392
+
393
+
394
+ <a name="type-aliaseslocationmd"></a>
395
+
396
+ [**@builtbystack/sq-shopify-theme-sdk**](#readmemd) • **Docs**
397
+
398
+ ***
399
+
400
+ [@builtbystack/sq-shopify-theme-sdk](#globalsmd) / Location
401
+
402
+ ## Type Alias: Location
403
+
404
+ > **Location**: `object`
405
+
406
+ Location は ShopifyIntegration に紐付いている Location を表す。
407
+
408
+ ### Type declaration
409
+
410
+ #### id
411
+
412
+ > **id**: `string`
413
+
414
+ #### name
415
+
416
+ > **name**: `string`
417
+
418
+
419
+ <a name="type-aliaseslocationavailabilitiesmd"></a>
420
+
421
+ [**@builtbystack/sq-shopify-theme-sdk**](#readmemd) • **Docs**
422
+
423
+ ***
424
+
425
+ [@builtbystack/sq-shopify-theme-sdk](#globalsmd) / LocationAvailabilities
426
+
427
+ ## Type Alias: LocationAvailabilities
428
+
429
+ > **LocationAvailabilities**: `object`
430
+
431
+ LocationAvailabilities は LocationAvailability の一覧を取得するための情報を表す。
432
+
433
+ ### Type declaration
434
+
435
+ #### nodes
436
+
437
+ > **nodes**: [`LocationAvailability`](#type-aliaseslocationavailabilitymd)[]
438
+
439
+ #### pageInfo
440
+
441
+ > **pageInfo**: [`PageInfo`](#type-aliasespageinfomd)
442
+
443
+
444
+ <a name="type-aliaseslocationavailabilitymd"></a>
445
+
446
+ [**@builtbystack/sq-shopify-theme-sdk**](#readmemd) • **Docs**
447
+
448
+ ***
449
+
450
+ [@builtbystack/sq-shopify-theme-sdk](#globalsmd) / LocationAvailability
451
+
452
+ ## Type Alias: LocationAvailability
453
+
454
+ > **LocationAvailability**: `object`
455
+
456
+ LocationAvailability はLocationの在庫情報を表す。
457
+
458
+ ### Type declaration
459
+
460
+ #### inventoryQuantity
461
+
462
+ > **inventoryQuantity**: `number`
463
+
464
+ inventoryQuantity は在庫数を表す。
465
+
466
+ #### location
467
+
468
+ > **location**: `object`
469
+
470
+ location は在庫のLocationを表す。
471
+
472
+ #### location.name
473
+
474
+ > **name**: `string`
475
+
476
+ name はLocationの名前を表す。
477
+
478
+
479
+ <a name="type-aliaseslocationsmd"></a>
480
+
481
+ [**@builtbystack/sq-shopify-theme-sdk**](#readmemd) • **Docs**
482
+
483
+ ***
484
+
485
+ [@builtbystack/sq-shopify-theme-sdk](#globalsmd) / Locations
486
+
487
+ ## Type Alias: Locations
488
+
489
+ > **Locations**: `object`
490
+
491
+ Locations は Location の一覧を取得するための情報を表す。
492
+
493
+ ### Type declaration
494
+
495
+ #### nodes
496
+
497
+ > **nodes**: [`Location`](#type-aliaseslocationmd)[]
498
+
499
+ #### pageInfo
500
+
501
+ > **pageInfo**: [`PageInfo`](#type-aliasespageinfomd)
502
+
503
+
504
+ <a name="type-aliasespageinfomd"></a>
505
+
506
+ [**@builtbystack/sq-shopify-theme-sdk**](#readmemd) • **Docs**
507
+
508
+ ***
509
+
510
+ [@builtbystack/sq-shopify-theme-sdk](#globalsmd) / PageInfo
511
+
512
+ ## Type Alias: PageInfo
513
+
514
+ > **PageInfo**: `object`
515
+
516
+ PageInfo はページングを伴って一覧を取得したときに、その一覧のページングの情報を表す。
517
+
518
+ ### Type declaration
519
+
520
+ #### endCursor
521
+
522
+ > **endCursor**: `string`
523
+
524
+ endCursor は一覧の末尾のカーソルを表す。
525
+ このカーソルを使って次のページを取得することができる。
526
+
527
+ #### hasNextPage
528
+
529
+ > **hasNextPage**: `boolean`
530
+
531
+ hasNextPage は次のページがあるかどうかを表す。
532
+
533
+ #### hasPreviousPage
534
+
535
+ > **hasPreviousPage**: `boolean`
536
+
537
+ hasPreviousPage は前のページがあるかどうかを表す。
538
+
539
+ #### startCursor
540
+
541
+ > **startCursor**: `string`
542
+
543
+ startCursor は一覧の先頭のカーソルを表す。
544
+
545
+
546
+ <a name="type-aliasespointchangemd"></a>
547
+
548
+ [**@builtbystack/sq-shopify-theme-sdk**](#readmemd) • **Docs**
549
+
550
+ ***
551
+
552
+ [@builtbystack/sq-shopify-theme-sdk](#globalsmd) / PointChange
553
+
554
+ ## Type Alias: PointChange
555
+
556
+ > **PointChange**: `object`
557
+
558
+ PointChange はポイントの変動を表す。
559
+
560
+ ### Type declaration
561
+
562
+ #### availableAt?
563
+
564
+ > `optional` **availableAt**: `Date`
565
+
566
+ #### availableUntil?
567
+
568
+ > `optional` **availableUntil**: `Date`
569
+
570
+ #### createdAt
571
+
572
+ > **createdAt**: `Date`
573
+
574
+ #### delta
575
+
576
+ > **delta**: `number`
577
+
578
+ #### expiresDate?
579
+
580
+ > `optional` **expiresDate**: `Date`
581
+
582
+ #### id
583
+
584
+ > **id**: `string`
585
+
586
+ #### pointChangeCreatedAt
587
+
588
+ > **pointChangeCreatedAt**: `Date`
589
+
590
+
591
+ <a name="type-aliasespointchangeactivitiesmd"></a>
592
+
593
+ [**@builtbystack/sq-shopify-theme-sdk**](#readmemd) • **Docs**
594
+
595
+ ***
596
+
597
+ [@builtbystack/sq-shopify-theme-sdk](#globalsmd) / PointChangeActivities
598
+
599
+ ## Type Alias: PointChangeActivities
600
+
601
+ > **PointChangeActivities**: `object`
602
+
603
+ ### Type declaration
604
+
605
+ #### nodes
606
+
607
+ > **nodes**: [`PointChangeActivity`](#type-aliasespointchangeactivitymd)[]
608
+
609
+ #### pageInfo
610
+
611
+ > **pageInfo**: [`PageInfo`](#type-aliasespageinfomd)
612
+
613
+
614
+ <a name="type-aliasespointchangeactivitymd"></a>
615
+
616
+ [**@builtbystack/sq-shopify-theme-sdk**](#readmemd) • **Docs**
617
+
618
+ ***
619
+
620
+ [@builtbystack/sq-shopify-theme-sdk](#globalsmd) / PointChangeActivity
621
+
622
+ ## Type Alias: PointChangeActivity
623
+
624
+ > **PointChangeActivity**: `object`
625
+
626
+ PointChangeActivity はポイントの変動の履歴を表す。
627
+
628
+ ### Type declaration
629
+
630
+ #### id
631
+
632
+ > **id**: `string`
633
+
634
+ #### pointChange
635
+
636
+ > **pointChange**: [`PointChange`](#type-aliasespointchangemd)
637
+
638
+ #### title
639
+
640
+ > **title**: `string`
641
+
642
+
643
+ <a name="type-aliasespointsmd"></a>
644
+
645
+ [**@builtbystack/sq-shopify-theme-sdk**](#readmemd) • **Docs**
646
+
647
+ ***
648
+
649
+ [@builtbystack/sq-shopify-theme-sdk](#globalsmd) / Points
650
+
651
+ ## Type Alias: Points
652
+
653
+ > **Points**: `object`
654
+
655
+ Points は SDK から取得できるポイントの情報を表す。
656
+
657
+ ### Type declaration
658
+
659
+ #### pointsApproved
660
+
661
+ > **pointsApproved**: `number`
662
+
663
+ #### pointsPending
664
+
665
+ > **pointsPending**: `number`
666
+
667
+
668
+ <a name="type-aliasespurchasingcustomerdiscountmd"></a>
669
+
670
+ [**@builtbystack/sq-shopify-theme-sdk**](#readmemd) • **Docs**
671
+
672
+ ***
673
+
674
+ [@builtbystack/sq-shopify-theme-sdk](#globalsmd) / PurchasingCustomerDiscount
675
+
676
+ ## Type Alias: PurchasingCustomerDiscount
677
+
678
+ > **PurchasingCustomerDiscount**: `object`
679
+
680
+ PurchasingCustomerDiscount は購入者の割引情報を表す。
681
+
682
+ ### Type declaration
683
+
684
+ #### code
685
+
686
+ > **code**: `string`
687
+
688
+ #### createdAt
689
+
690
+ > **createdAt**: `Date`
691
+
692
+ #### description
693
+
694
+ > **description**: `string`
695
+
696
+ #### id
697
+
698
+ > **id**: `string`
699
+
700
+ #### title
701
+
702
+ > **title**: `string`
703
+
704
+ #### updatedAt
705
+
706
+ > **updatedAt**: `Date`
707
+
708
+
709
+ <a name="type-aliasespurchasingcustomerdiscountsmd"></a>
710
+
711
+ [**@builtbystack/sq-shopify-theme-sdk**](#readmemd) • **Docs**
712
+
713
+ ***
714
+
715
+ [@builtbystack/sq-shopify-theme-sdk](#globalsmd) / PurchasingCustomerDiscounts
716
+
717
+ ## Type Alias: PurchasingCustomerDiscounts
718
+
719
+ > **PurchasingCustomerDiscounts**: `object`
720
+
721
+ DiscountCodes は PurchasingCustomerDiscount の一覧を取得するための情報を表す。
722
+
723
+ ### Type declaration
724
+
725
+ #### id
726
+
727
+ > **id**: `string`
728
+
729
+ #### nodes
730
+
731
+ > **nodes**: [`PurchasingCustomerDiscount`](#type-aliasespurchasingcustomerdiscountmd)[]
732
+
733
+ #### pageInfo
734
+
735
+ > **pageInfo**: [`PageInfo`](#type-aliasespageinfomd)
736
+
737
+
738
+ <a name="type-aliasespurchasingcustomermetafieldmd"></a>
739
+
740
+ [**@builtbystack/sq-shopify-theme-sdk**](#readmemd) • **Docs**
741
+
742
+ ***
743
+
744
+ [@builtbystack/sq-shopify-theme-sdk](#globalsmd) / PurchasingCustomerMetafield
745
+
746
+ ## Type Alias: PurchasingCustomerMetafield
747
+
748
+ > **PurchasingCustomerMetafield**: `object`
749
+
750
+ PurchasingCustomerMetafield は購入者のカスタムメタフィールドを表す。
751
+
752
+ ### Type declaration
753
+
754
+ #### id
755
+
756
+ > **id**: `string`
757
+
758
+ #### key
759
+
760
+ > **key**: `string`
761
+
762
+ #### namespace
763
+
764
+ > **namespace**: `string`
765
+
766
+ #### value
767
+
768
+ > **value**: `string`