forked from EC-CUBE/eccube-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheccubeapi.yml
More file actions
1271 lines (1269 loc) · 36.8 KB
/
eccubeapi.yml
File metadata and controls
1271 lines (1269 loc) · 36.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
swagger: '2.0'
# This is your document metadata
info:
version: "0"
title: EC-CUBE API
description: |
EC-CUBEで公開しているAPI一覧です。
使い方などはこちらをご覧ください。[here](https://ec-cube.github.io/api)
# ドメイン名を入力
host: <your-host-name>
basePath: <base-path>/
tags:
- name: CRUD
description: Create, Read, Update, Delete Operations.
- name: Authorization
description: OAuth2.0 and OpenID Connect Authorizations.
schemes:
- http
- https
consumes:
- application/json
produces:
- application/json
security:
- eccubeOpenIDConnectImplicit:
- openid
- offline_access
- profile
- email
- address
- phone
- csv_type_read
- customer_order_status_read
- customer_status_read
- db_read
- device_type_read
- disp_read
- job_read
- order_status_read
- order_status_color_read
- page_max_read
- pref_read
- product_list_max_read
- product_list_order_by_read
- product_type_read
- sex_read
- tag_read
- taxrule_read
- work_read
- shipment_item_read
- shipping_read
- tax_rule_read
- template_read
- authority_role_read
- base_info_read
- block_read
- block_position_read
- category_read
- class_category_read
- class_name_read
- csv_read
- customer_read
- customer_address_read
- customer_favorite_product_read
- delivery_read
- delivery_date_read
- delivery_fee_read
- delivery_time_read
- help_read
- mail_history_read
- mail_template_read
- member_read
- news_read
- order_read
- order_detail_read
- page_layout_read
- payment_read
- payment_option_read
- plugin_read
- plugin_event_handler_read
- product_read
- product_category_read
- product_class_read
- product_image_read
- product_stock_read
- product_tag_read
- csv_type_write
- customer_order_status_write
- customer_status_write
- db_write
- device_type_write
- disp_write
- job_write
- order_status_write
- order_status_color_write
- page_max_write
- pref_write
- product_list_max_write
- product_list_order_by_write
- product_type_write
- sex_write
- tag_write
- taxrule_write
- work_write
- shipment_item_write
- shipping_write
- tax_rule_write
- template_write
- authority_role_write
- base_info_write
- block_write
- block_position_write
- category_write
- class_category_write
- class_name_write
- csv_write
- customer_write
- customer_address_write
- customer_favorite_product_write
- delivery_write
- delivery_date_write
- delivery_fee_write
- delivery_time_write
- help_write
- mail_history_write
- mail_template_write
- member_write
- news_write
- order_write
- order_detail_write
- page_layout_write
- payment_write
- payment_option_write
- plugin_write
- plugin_event_handler_write
- product_write
- product_category_write
- product_class_write
- product_image_write
- product_stock_write
- product_tag_write
# Describe your paths here
paths:
/<base-endpoint>/<base-version>/product:
get:
tags:
- CRUD
description: dtb_product の一覧を取得します。
parameters:
responses:
# Response code
200:
description: Successful response
# A schema describing your response object.
# Use JSON Schema format
schema:
type: array
items:
title: product
type: object
schema:
$ref: '#/definitions/product'
default:
description: unexpected error
schema:
$ref: '#/definitions/errors'
# security:
# - eccubeOAuth2Implicit:
# - product_read
# - eccubeOAuth2AuthorizationCode:
# - product_read
# - eccubeOpenIDConnectImplicit:
# - product_read
# - eccubeOpenIDConnectAuthorizationCode:
# - product_read
post:
tags:
- CRUD
description: dtb_product を生成します。
parameters:
-
in: body
name: body
description: Product object that needs to be added to the EC-CUBE.
required: true
schema:
type: object
required:
- name
- Creator
properties:
name:
type: string
example: 商品名
note:
type: string
example: 備考
description_list:
type: string
example: 商品一覧に表示する説明
description_detail:
type: string
example: 商品詳細に表示する説明
search_word:
type: string
example: 検索キーワード
free_area:
type: string
example: フリーワード
del_flg:
type: integer
format: int16
Creator:
type: object
properties:
id:
type: integer
format: int32
example: 2
Status:
type: object
properties:
id:
type: integer
format: int32
example: 1
responses:
# Response code
201:
description: Successful response
# A schema describing your response object.
# Use JSON Schema format
default:
description: unexpected error
schema:
$ref: '#/definitions/errors'
# security:
# - eccubeOAuth2Implicit:
# - product_write
# - eccubeOAuth2AuthorizationCode:
# - product_write
# - eccubeOpenIDConnectImplicit:
# - product_write
# - eccubeOpenIDConnectAuthorizationCode:
# - product_write
/<base-endpoint>/<base-version>/product/{id}:
get:
tags:
- CRUD
description: dtb_product をID指定で取得します。
parameters:
-
name: id
in: path
description: 商品ID
required: true
type: integer
responses:
# Response code
200:
description: Successful response
# A schema describing your response object.
# Use JSON Schema format
schema:
$ref: '#/definitions/product'
default:
description: unexpected error
schema:
$ref: '#/definitions/errors'
put:
tags:
- CRUD
description: dtb_product を更新します。
parameters:
-
name: id
in: path
description: 商品ID
required: true
type: integer
-
in: body
name: body
description: Product object that needs to be updated to the EC-CUBE.
required: true
schema:
type: object
required:
- name
- Creator
properties:
name:
type: string
example: 商品名
note:
type: string
example: 備考
description_list:
type: string
example: 商品一覧に表示する説明
description_detail:
type: string
example: 商品詳細に表示する説明
search_word:
type: string
example: 検索キーワード
free_area:
type: string
example: フリーワード
del_flg:
type: integer
format: int16
Creator:
type: object
properties:
id:
type: integer
format: int32
example: 2
Status:
type: object
properties:
id:
type: integer
format: int32
example: 1
responses:
# Response code
204:
description: Successful response
# A schema describing your response object.
# Use JSON Schema format
default:
description: unexpected error
schema:
$ref: '#/definitions/errors'
# security:
# - eccubeOAuth2Implicit:
# - product_write
# - eccubeOAuth2AuthorizationCode:
# - product_write
# - eccubeOpenIDConnectImplicit:
# - product_write
# - eccubeOpenIDConnectAuthorizationCode:
# - product_write
delete:
tags:
- CRUD
description: dtb_product をID指定で論理削除します。
parameters:
-
name: id
in: path
description: 商品ID
required: true
type: integer
responses:
# Response code
204:
description: Successful response
# A schema describing your response object.
# Use JSON Schema format
default:
description: unexpected error
schema:
$ref: '#/definitions/errors'
/<base-endpoint>/<base-version>/product_category:
get:
tags:
- CRUD
description: dtb_product_category の一覧を取得します。
parameters:
responses:
# Response code
200:
description: Successful response
# A schema describing your response object.
# Use JSON Schema format
schema:
type: array
items:
title: product_category
type: object
schema:
$ref: '#/definitions/product_category'
default:
description: unexpected error
schema:
$ref: '#/definitions/errors'
post:
tags:
- CRUD
description: dtb_product_category を生成します。
parameters:
-
in: body
name: body
description: ProductCategory object that needs to be added to the EC-CUBE.
required: true
schema:
type: object
required:
- product_id
- category_id
- rank
- Product
- Category
properties:
product_id:
type: integer
format: int32
example: 2
category_id:
type: integer
format: int32
example: 5
rank:
type: integer
format: int32
example: 10
Product:
type: object
properties:
id:
type: integer
format: int32
example: 2
Category:
type: object
properties:
id:
type: integer
format: int32
example: 5
responses:
# Response code
201:
description: Successful response
# A schema describing your response object.
# Use JSON Schema format
default:
description: unexpected error
schema:
$ref: '#/definitions/errors'
/<base-endpoint>/<base-version>/product_category/product_id/{product_id}/category_id/{category_id}:
get:
tags:
- CRUD
description: dtb_product_category をID指定で取得します。IDは商品IDとカテゴリーIDの複合キーです。
parameters:
-
name: product_id
in: path
description: 商品ID
required: true
type: integer
-
name: category_id
in: path
description: カテゴリーID
required: true
type: integer
responses:
# Response code
200:
description: Successful response
# A schema describing your response object.
# Use JSON Schema format
schema:
$ref: '#/definitions/product_category'
default:
description: unexpected error
schema:
$ref: '#/definitions/errors'
put:
tags:
- CRUD
description: dtb_product_category をID指定で更新します。IDは商品IDとカテゴリーIDの複合キーです。
parameters:
-
name: product_id
in: path
description: 商品ID
required: true
type: integer
-
name: category_id
in: path
description: カテゴリーID
required: true
type: integer
-
in: body
name: body
description: ProductCategory object that needs to be added to the EC-CUBE.
required: true
schema:
type: object
required:
- product_id
- category_id
- Product
- Category
properties:
product_id:
type: integer
format: int32
example: 2
category_id:
type: integer
format: int32
example: 5
rank:
type: integer
format: int32
example: 10
Product:
type: object
properties:
id:
type: integer
format: int32
example: 2
Category:
type: object
properties:
id:
type: integer
format: int32
example: 5
responses:
# Response code
204:
description: Successful response
# A schema describing your response object.
# Use JSON Schema format
default:
description: unexpected error
schema:
$ref: '#/definitions/errors'
/OAuth2/<base-version>/userinfo:
get:
tags:
- Authorization
description: OpenID Connect UserInfo エンドポイント. エンドユーザーの個人情報を提供します.
parameters:
responses:
200:
description: Successful response
schema:
$ref: '#/definitions/userinfo'
/<admin_dir>/OAuth2/<base-version>/authorize:
get:
tags:
- Authorization
description: Member 用 Authorization エンドポイント
parameters:
- name: client_id
in: query
description: client_id
type: string
required: true
- name: redirect_uri
in: query
description: リダイレクトURI
type: string
format: url
required: true
- name: response_type
in: query
description: レスポンスタイプ
type: string
example: code
required: true
- name: state
in: query
description: CSRFチェック用 state パラメータ
type: string
required: true
- name: scope
in: query
type: string
description: 認可要求するスコープ文字列。複数の場合はスペース区切りで記述する。
example: openid%20offline_access%20product_read
- name: nonce
in: query
type: string
description: リプレイアタックチェック用 nonce パラメータ
responses:
200:
description: 認可要求画面を表示する。認可要求が完了した場合、 redirect_uri に response_type で指定したパラメータを付与し、リダイレクトする。
post:
tags:
- Authorization
description: Member 用 Authorization エンドポイント
parameters:
- name: client_id
in: formData
description: client_id
type: string
required: true
- name: redirect_uri
in: formData
description: リダイレクトURI
type: string
format: url
required: true
- name: response_type
in: formData
description: レスポンスタイプ
type: string
example: code
required: true
- name: state
in: formData
description: CSRFチェック用 state パラメータ
type: string
required: true
- name: scope
in: formData
type: string
description: 認可要求するスコープ文字列。複数の場合はスペース区切りで記述する。
example: openid%20offline_access%20product_read
- name: nonce
in: query
type: string
description: リプレイアタックチェック用 nonce パラメータ
responses:
200:
description: 認可要求画面を表示する。認可要求が完了した場合、 redirect_uri に response_type で指定したパラメータを付与し、リダイレクトする。
/mypage/OAuth2/<base-version>/authorize:
get:
tags:
- Authorization
description: Customer 用 Authorization エンドポイント
parameters:
- name: client_id
in: query
description: client_id
type: string
required: true
- name: redirect_uri
in: query
description: リダイレクトURI
type: string
format: url
required: true
- name: response_type
in: query
description: レスポンスタイプ
type: string
example: code
required: true
- name: state
in: query
description: CSRFチェック用 state パラメータ
type: string
required: true
- name: scope
in: query
type: string
description: 認可要求するスコープ文字列。複数の場合はスペース区切りで記述する。
example: openid%20offline_access%20product_read
- name: nonce
in: query
type: string
description: リプレイアタックチェック用 nonce パラメータ
responses:
200:
description: 認可要求画面を表示する。認可要求が完了した場合、 redirect_uri に response_type で指定したパラメータを付与し、リダイレクトする。
post:
tags:
- Authorization
description: Customer 用 Authorization エンドポイント
parameters:
- name: client_id
in: formData
description: client_id
type: string
required: true
- name: redirect_uri
in: formData
description: リダイレクトURI
type: string
format: url
required: true
- name: response_type
in: formData
description: レスポンスタイプ
type: string
example: code
required: true
- name: state
in: formData
description: CSRFチェック用 state パラメータ
type: string
required: true
- name: scope
in: formData
type: string
description: 認可要求するスコープ文字列。複数の場合はスペース区切りで記述する。
example: openid%20offline_access%20product_read
- name: nonce
in: query
type: string
description: リプレイアタックチェック用 nonce パラメータ
responses:
200:
description: 認可要求画面を表示する。認可要求が完了した場合、 redirect_uri に response_type で指定したパラメータを付与し、リダイレクトする。
/OAuth2/<base-version>/token:
post:
tags:
- Authorization
description: Token エンドポイント。アクセストークン及び、リフレッシュトークン、 id_token を取得する。
parameters:
- name: Authorization
in: header
type: string
description: Basic 認証スキームを使用し、 client_id:client_secret を Base64 エンコーディングした文字列を送信する
example: Basic czZCaGRSa3F0MzpnWDFmQmF0M2JW
required: true
- name: grant_type
in: formData
type: string
description: 認可形式
example: authorization_code
required: true
- name: code
in: formData
type: string
description: Authorization code の文字列
example: 88187509bc2d240bfa971c608e7884e39b8a5660
- name: redirect_uri
in: formData
type: string
description: リダイレクトURI
- name: refresh_token
in: formData
type: string
description: リフレッシュトークン
responses:
200:
description: トークンレスポンスを返却する。以下はその一例。
schema:
type: object
properties:
access_token:
type: string
example: e40f3cb306c937ef80565638ae0fad816840a4ec
description: アクセスークン
token_type:
type: string
example: Bearer
description: 認証スキーム
refresh_token:
type: string
example: ccaf1161ed5d13860396816923dd66c1a4d1b32a
description: リフレッシュトークン。有効期限切れ
expires_in:
type: integer
example: 3600
description: アクセストークンの有効期限
scope:
type: string
example: openid offline_access
description: 認可されたスコープ
id_token:
type: string
example: eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xOTIuMTY4LjU2LjEwMTo4MDgxIiwic3ViIjoiNG53c25ic3pJSDRYdVFuWHdpZ3RQOEhhS1FwamVHeDQ5OXMwQTlJMXFrbyIsImF1ZCI6IjJlODE1MzAyM2Q2YWZiMmZiMjk5MzFkYmY5YTI3NWVkNDcxNWYzODQiLCJpYXQiOjE0NjA1MzU1MjMsImV4cCI6MTQ2MDUzOTEyMywiYXV0aF90aW1lIjoxNDYwNTM1NTIzLCJub25jZSI6InJhbmRvbV9ub25jZSJ9.D3RE1i-Oc_bCANI28BwqT-6voLk645kqGZCs3PCOfDRATUX6_hvyBOc3PvfrH6BCaNfYX8m8sGQPD2g-GRUJ-j6OMCHp1KHcycsN5OS6QoZOucvM_gDKITivwW0q3BvLYsc-zK00DRlYuAhSW1pCqdWGRGk-3LWbqfasttYvx34KoSazfCsIyMqxC_zQ4qDoYaReeuCjiMX1xW3vXueEidMQ9_5s7SQgJwtwMnqOdDoEHUQce65wWa2yNXBHaohrGwXmg9Sbd5pD_Anhrh7WIAnYEbDoHc1rb40oUT-kye5cplYUTd4F9y88PnyXeWN3-vGRVxsvMRdJQmiTqzwVvA
description: id_token の文字列
default:
description: unexpected error
schema:
$ref: '#/definitions/errors'
/OAuth2/<base-version>/tokeninfo:
get:
tags:
- Authorization
description: Tokeninfo エンドポイント。id_token の詳細情報を返却します。
parameters:
- name: id_token
in: query
type: string
description: id_token の文字列
example: eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xOTIuMTY4LjU2LjEwMTo4MDgxIiwic3ViIjoiNG53c25ic3pJSDRYdVFuWHdpZ3RQOEhhS1FwamVHeDQ5OXMwQTlJMXFrbyIsImF1ZCI6IjJlODE1MzAyM2Q2YWZiMmZiMjk5MzFkYmY5YTI3NWVkNDcxNWYzODQiLCJpYXQiOjE0NjA1MzU1MjMsImV4cCI6MTQ2MDUzOTEyMywiYXV0aF90aW1lIjoxNDYwNTM1NTIzLCJub25jZSI6InJhbmRvbV9ub25jZSJ9.D3RE1i-Oc_bCANI28BwqT-6voLk645kqGZCs3PCOfDRATUX6_hvyBOc3PvfrH6BCaNfYX8m8sGQPD2g-GRUJ-j6OMCHp1KHcycsN5OS6QoZOucvM_gDKITivwW0q3BvLYsc-zK00DRlYuAhSW1pCqdWGRGk-3LWbqfasttYvx34KoSazfCsIyMqxC_zQ4qDoYaReeuCjiMX1xW3vXueEidMQ9_5s7SQgJwtwMnqOdDoEHUQce65wWa2yNXBHaohrGwXmg9Sbd5pD_Anhrh7WIAnYEbDoHc1rb40oUT-kye5cplYUTd4F9y88PnyXeWN3-vGRVxsvMRdJQmiTqzwVvA
required: true
responses:
200:
description: ID トークンの詳細情報を返却します。
schema:
type: object
properties:
iss:
type: string
example: https://example.com
description: issuer - ID トークンの発行元
sub:
type: string
example: 4nwsnbszIH4XuQnXwigtP8HaKQpjeGx499s0A9I1qko
description: subject - ユーザー識別子。 id_token の公開鍵から生成される。
aud:
type: string
example: 2e8153023d6afb2fb29931dbf9a275ed4715f384
description: ID トークンの想定されるオーディエンス。 OAuth2.0 Client ID が使用される。
iat:
type: string
example: 1460535523
description: ID トークン発行時刻の UNIX タイムスタンプ。
exp:
type: string
example: 1460539123
description: ID トークン有効期限の UNIX タイムスタンプ。
auth_time:
type: string
example: 1460535523
description: 認証の発生時刻の UNIX タイムスタンプ。
nonce:
type: string
description: クライアントセッションの識別子。リプレイスアタック防止のために使用する。
##################################################################################
##################################################################################
##################################################################################
## 以下v0用記述サンプル
# /products:
# # This is a HTTP operation
# get:
# # Describe this verb here. Note: you can use markdown
# description: 公開されている商品一覧を取得します。
# # This is array of GET operation parameters:
# parameters:
# # An example parameter that is in query and is required
# -
# name: category_id
# in: query
# description: カテゴリーID
# required: false
# type: integer
# -
# name: name
# in: query
# description: 商品名
# required: false
# type: string
# -
# name: pageno
# in: query
# description: ページ番号
# required: false
# type: integer
# -
# name: disp_number
# in: query
# description: 表示件数
# required: false
# type: integer
# -
# name: orderby
# in: query
# description: 並び順
# required: false
# type: integer
# # Expected responses for this operation:
# responses:
# # Response code
# 200:
# description: Successful response
# # A schema describing your response object.
# # Use JSON Schema format
# schema:
# type: array
# items:
# title: product
# type: object
# default:
# description: unexpected error
# schema:
# $ref: '#/definitions/errors'
# /products/{id}:
# get:
# description: 公開されている商品詳細を取得します。
# parameters:
# -
# name: id
# in: path
# description: 商品ID
# required: true
# type: integer
# responses:
# 200:
# description: Successful response
# schema:
# type: object
# required:
# - id
# properties:
# id:
# type: integer
# format: int64
# name:
# type: string
# default:
# description: unexpected error
# schema:
# $ref: '#/definitions/errors'
# /productsauthsample/{id}:
# get:
# description: 公開されている商品詳細を取得します。
# parameters:
# -
# name: id
# in: path
# description: 商品ID
# required: true
# type: integer
# responses:
# 200:
# description: Successful response
# schema:
# type: object
# required:
# - id
# properties:
# id:
# type: integer
# format: int64
# name:
# type: string
# default:
# description: unexpected error
# schema:
# $ref: '#/definitions/errors'
## 記述サンプルここまで
##################################################################################
##################################################################################
##################################################################################
securityDefinitions:
eccubeOpenIDConnectImplicit:
type: oauth2
description: OpenID Connect Authentication using the Implicit Flow.
scopes:
openid:
offline_access:
profile:
email:
address:
phone:
csv_type_read:
customer_order_status_read:
customer_status_read:
db_read:
device_type_read:
disp_read:
job_read:
order_status_read:
order_status_color_read:
page_max_read:
pref_read:
product_list_max_read:
product_list_order_by_read:
product_type_read:
sex_read:
tag_read:
taxrule_read:
work_read:
shipment_item_read:
shipping_read:
tax_rule_read:
template_read:
authority_role_read:
base_info_read:
block_read:
block_position_read:
category_read:
class_category_read:
class_name_read:
csv_read:
customer_read:
customer_address_read:
customer_favorite_product_read:
delivery_read:
delivery_date_read:
delivery_fee_read:
delivery_time_read:
help_read:
mail_history_read:
mail_template_read:
member_read:
news_read:
order_read:
order_detail_read:
page_layout_read:
payment_read:
payment_option_read:
plugin_read:
plugin_event_handler_read:
product_read:
product_category_read:
product_class_read: