-
Notifications
You must be signed in to change notification settings - Fork 133
/
VTEX - Marketplace Protocol - External Marketplace Mapper.json
1884 lines (1884 loc) · 114 KB
/
VTEX - Marketplace Protocol - External Marketplace Mapper.json
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
{
"openapi": "3.0.0",
"info": {
"title": "Marketplace Protocol",
"description": "The **Marketplace Protocol** is a set of API requests and definitions to help you integrate external sellers into a VTEX marketplace as well as external marketplaces into VTEX sellers.\r\n\r\n## External Seller\r\n\r\nHere you will find the endpoints involved in the integration between a VTEX marketplace and an external seller. Note that some of these requests are typically sent by the seller while others are received.\r\n\r\n| **Request** | **From** | **To** |\r\n|-|-|-|\r\n| [Fulfillment simulation](https://developers.vtex.com/docs/api-reference/marketplace-protocol-external-seller-fulfillment#post-/pvt/orderForms/simulation) | Marketplace | Seller |\r\n| [Order placement](https://developers.vtex.com/docs/api-reference/marketplace-protocol-external-seller-fulfillment#post-/pvt/orders) | Marketplace | Seller |\r\n| [Authorize fulfillment](https://developers.vtex.com/docs/api-reference/marketplace-protocol-external-seller-fulfillment#post-/pvt/orders/-sellerOrderId-/fulfill) | Marketplace | Seller |\r\n| [Marketplace order cancellation](https://developers.vtex.com/docs/api-reference/marketplace-protocol-external-seller-fulfillment#post-/pvt/orders/-orderId-/cancel) | Marketplace | Seller |\r\n| [Send invoice](https://developers.vtex.com/docs/api-reference/marketplace-protocol#post-/pvt/orders/-marketplaceOrderId-/invoice) | Seller | Marketplace |\r\n| [Send tracking information](https://developers.vtex.com/docs/api-reference/marketplace-protocol#post-/pvt/orders/-marketplaceOrderId-/invoice/-invoiceNumber-) | Seller | Marketplace |\r\n| [Update tracking status](https://developers.vtex.com/docs/api-reference/marketplace-protocol#post-/pvt/orders/-marketplaceOrderId-/invoice/-invoiceNumber-/tracking) | Seller | Marketplace |\r\n| [Cancel order in marketplace](https://developers.vtex.com/docs/api-reference/marketplace-protocol#post-/pvt/orders/-marketplaceOrderId-/cancel) | Seller | Marketplace |\r\n\r\nFor a detailed explanation of the steps required to develop a custom connector to sell products from an external seller in your storefront, check out our complete [External Seller Integration Guide](https://developers.vtex.com/docs/guides/external-seller-integration-guide).\r\n\r\n\r\n## External Marketplace\r\n\r\nIn this section, you will find the endpoints involved in the VTEX integration between an external marketplace and a VTEX seller.\r\n\r\n\r\n| **Request** | **From** | **To** |\r\n|-|-|-|\r\n| [VTEX Mapper Registration](https://developers.vtex.com/docs/api-reference/marketplace-protocol-external-marketplace-mapper#post-/api/mkp-category-mapper/connector/register) | External marketplace | VTEX system |\r\n| [Send Category Mapping to VTEX Mapper](https://developers.vtex.com/docs/api-reference/marketplace-protocol-external-marketplace-mapper#post-/api/mkp-category-mapper/categories/marketplace/-id-) | External marketplace | VTEX system |\r\n| [New Order Integration](https://developers.vtex.com/docs/api-reference/marketplace-protocol-external-marketplace-orders#post-/api/order-integration/orders) | External marketplace | VTEX system |\r\n| [Update Order Status](https://developers.vtex.com/docs/api-reference/marketplace-protocol-external-marketplace-orders#put-/api/order-integration/orders/status) | External marketplace | VTEX system |\r\n| [Fulfillment simulation - External Marketplace](https://developers.vtex.com/docs/api-reference/marketplace-protocol-external-marketplace-orders#post-/api/checkout/pub/orderForms/simulation) | External marketplace | VTEX system |\r\n| [Place fulfillment order](https://developers.vtex.com/docs/api-reference/marketplace-protocol-external-marketplace-orders#post-/api/fulfillment/pvt/orders) | External marketplace | VTEX Seller |\r\n| [Authorize dispatch for fulfillment order](https://developers.vtex.com/docs/api-reference/marketplace-protocol-external-marketplace-orders#post-/api/fulfillment/pvt/orders/-orderId-/fulfill) | External marketplace | VTEX Seller |\r\n\r\n\r\nFor a detailed explanation of the steps required to develop a custom connector to become an external marketplace for VTEX sellers, check out our complete [External Marketplace Integration Guide](https://developers.vtex.com/docs/guides/external-marketplace-integration-guide).",
"contact": {},
"version": "1.0"
},
"servers": [
{
"url": "https://portal.{environment}.com.br",
"description": "Server URL.",
"variables": {
"environment": {
"description": "Environment to use. Used as part of the URL.",
"enum": [
"vtexcommercestable"
],
"default": "vtexcommercestable"
}
}
}
],
"paths": {
"/api/channel-manager/channel/all": {
"get": {
"tags": [
"External Marketplace"
],
"summary": "List all channels",
"description": "This request returns a list of channels available channels with their respective IDs for partners external to VTEX.\n\r\n\r## Permissions\r\n\r\nThis endpoint does not require [permissions](https:\/\/help.vtex.com\/en\/tutorial\/license-manager-resources--3q6ztrC8YynQf6rdc6euk3).",
"operationId": "list-all-channels",
"parameters": [
{
"name": "enviroment",
"in": "path",
"description": "Environment used as part of the URL.",
"required": true,
"style": "simple",
"schema": {
"type": "string",
"example": "portal.vtexcommercestable.com.br"
}
},
{
"name": "an",
"in": "query",
"description": "VTEX's account name owned by the connector/partner.",
"required": true,
"style": "form",
"schema": {
"type": "string",
"example": "accountName"
}
},
{
"name": "Accept",
"in": "header",
"description": "HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.",
"required": true,
"style": "simple",
"schema": {
"type": "string",
"default": "application/json"
}
},
{
"name": "Content-type",
"in": "header",
"description": "Describes the type of the content being sent.",
"required": true,
"style": "simple",
"schema": {
"type": "string",
"default": "application/json"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"id": {
"title": "Id ",
"description": "The channel id.",
"type": "integer"
},
"name": {
"title": "Name",
"description": "The channel name.",
"type": "string"
}
}
},
"example": {
"id": 1,
"name": "Mercado Livre"
}
}
}
}
},
"deprecated": false
}
},
"/api/channel-manager/channel/:channelId": {
"get": {
"tags": [
"External Marketplace"
],
"summary": "Retrieve channel",
"description": "Retrieves a specific channel that already exists in Channel Manager.\n\r\n\r## Permissions\r\n\r\nThis endpoint does not require [permissions](https:\/\/help.vtex.com\/en\/tutorial\/license-manager-resources--3q6ztrC8YynQf6rdc6euk3).",
"operationId": "retrieve-channel",
"parameters": [
{
"name": "enviroment",
"in": "path",
"description": "Environment used as part of the URL.",
"required": true,
"style": "simple",
"schema": {
"type": "string",
"example": "portal.vtexcommercestable.com.br"
}
},
{
"name": "an",
"in": "query",
"description": "VTEX's account name owned by the connector/partner.",
"required": true,
"style": "form",
"schema": {
"type": "string",
"example": "accountName"
}
},
{
"name": "channelId",
"in": "path",
"description": "Channel's ID in Channel Manager, available through the List All Channels endpoint.",
"required": true,
"style": "simple",
"schema": {
"type": "number",
"example": 1
}
},
{
"name": "Accept",
"in": "header",
"description": "HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.",
"required": true,
"style": "simple",
"schema": {
"type": "string",
"default": "application/json"
}
},
{
"name": "Content-type",
"in": "header",
"description": "Describes the type of the content being sent.",
"required": true,
"style": "simple",
"schema": {
"type": "string",
"default": "application/json"
}
}
],
"responses": {
"200": {
"description": "OK",
"content":{
"application/json":{
"schema":{
"type": "object",
"properties": {
"id": {
"description": "Channel id.",
"type": "integer"
},
"name": {
"description": "Channel name.",
"type": "string"
}
}
},
"example": {
"id": 1,
"name": "Mercado Livre"
}
}
}
}
}
}
},
"/api/mkp-category-mapper/connector/register": {
"post": {
"tags": [
"External Marketplace"
],
"summary": "VTEX mapper registration",
"description": "Mapped categories guarantees that the VTEX category tree has a correct association with the marketplace’s category tree.\n\nTo perform this association, VTEX made VTEX Mapper available. It is a tool integrated into the VTEX platform that allows the user to relate categories created in VTEX to categories from the marketplace. \n\nThis endpoint allows connectors to register the external marketplace integration in VTEX Mapper. \n\nIn case VTEX Mapper detects an error and the call fails, the connector should check if mandatory information was sent correctly. Ex. Are URLs correctly registered in the properties `categoryTreeEndPoint` and `mappingEndPoint`? \n\nFor a detailed explanation of the steps required to develop a custom connector to become an external marketplace for VTEX sellers, check out our complete [External Marketplace Integration Guide](https://developers.vtex.com/vtex-rest-api/docs/external-marketplace-integration-guide).\r\n\r\n## Permissions\r\n\r\nThis endpoint does not require [permissions](https:\/\/help.vtex.com\/en\/tutorial\/license-manager-resources--3q6ztrC8YynQf6rdc6euk3).",
"operationId": "vtex-mapper-registration",
"parameters": [
{
"name": "an",
"in": "query",
"description": "Name of the VTEX account. Used as part of the URL.",
"required": true,
"style": "form",
"schema": {
"type": "string",
"example": "accountName"
}
},
{
"name": "Content-Type",
"in": "header",
"description": "Describes the type of the content being sent.",
"required": true,
"style": "simple",
"schema": {
"type": "string",
"default": "application/json"
}
},
{
"name": "Accept",
"in": "header",
"description": "HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.",
"required": true,
"style": "simple",
"schema": {
"type": "string",
"default": "application/json"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"required": [
"displayName",
"categoryTreeEndPoint",
"mappingEndPoint",
"properties"
],
"type": "object",
"properties": {
"displayName": {
"type": "string",
"description": "Marketplace name, that will be displayed in VTEX Mapper.",
"example": "Marketplace A"
},
"categoryTreeEndPoint": {
"type": "string",
"description": "Endpoint that returns categories and attributes according to VTEX Mapper specifications.",
"example": "http://api.vtexinternal.com.br/api/{marketplaceName}/mapper/categories"
},
"mappingEndPoint": {
"type": "string",
"description": "Secure endpoint that will receive the category mapping sent by VTEX Mapper.",
"example": "http://api.vtexinternal.com.br/api/{marketplaceName}/mapper/mapping"
},
"properties": {
"type": "object",
"required": [
"allowsRemap"
],
"description": "Refers to the `allowsRemap` property.",
"properties": {
"allowsRemap": {
"type": "boolean",
"description": "Allows remaping categories in case the marketplace or seller tree is altered. If marked as `true`, all trees will be remapped.",
"example": false
}
}
},
"CategoryTreeProcessingNotificationEndpoint": {
"description": "The `CategoryTreeProcessingNotificationEndpoint` is optional, and should be an endpoint from the external marketplace, that will be notified after the marketplace's category tree is successfully processed or not.",
"type": "string",
"example": "https://CategoryTreeProcessingNotificationEndpoint.com/api"
}
}
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK"
}
}
}
},
"/api/mkp-category-mapper/categories/marketplace/{id}": {
"post": {
"tags": [
"External Marketplace"
],
"summary": "Send category mapping to VTEX Mapper",
"description": "Mapping categories guarantees that the VTEX category tree has a correct association with the marketplace’s category tree. \n\nTo perform this association, VTEX made VTEX Mapper available. It is a tool integrated into the VTEX platform that allows the user to relate categories created in VTEX to categories from the marketplace. \n\nThis endpoint allows connectors to send the marketplace's category tree mapped in the integration. \n\nConnectors should send the payload compacted in `.gzip` format. \n\nFor a detailed explanation of the steps required to develop a custom connector to become an external marketplace for VTEX sellers, check out our complete [External Marketplace Integration Guide](https://developers.vtex.com/vtex-rest-api/docs/external-marketplace-integration-guide).",
"operationId": "send-category-mapping-vtex-mapper",
"parameters": [
{
"name": "Content-Type",
"in": "header",
"description": "Describes the type of the content being sent.",
"required": true,
"style": "simple",
"schema": {
"type": "string",
"default": "application/json"
}
},
{
"name": "Accept",
"in": "header",
"description": "HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.",
"required": true,
"style": "simple",
"schema": {
"type": "string",
"default": "application/json"
}
},
{
"name": "id",
"in": "path",
"description": "Code identifying returned in the *VTEX Mapper Registration* endpoint.",
"required": true,
"style": "simple",
"schema": {
"type": "string",
"default": "123456789"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"required": [
"categories",
"id",
"name"
],
"type": "object",
"properties": {
"categories": {
"type": "array",
"description": "Array with Marketplace parent categories and their information.",
"items": {
"type": "object",
"description": "Category information.",
"required": [
"id",
"name",
"children"
],
"properties": {
"id": {
"type": "string",
"description": "ID of the parent category in the marketplace.",
"example": "1"
},
"name": {
"type": "string",
"title": "name",
"description": "Name of the parent category in the marketplace.",
"example": "Appliances"
},
"children": {
"type": "array",
"description": "Array with children categories in the marketplace, and their information.",
"items": {
"type": "object",
"description": "Children category information.",
"required": [
"id",
"name",
"children",
"specifications"
],
"properties": {
"id": {
"type": "string",
"description": "ID of the child category in the marketplace.",
"example": "1a"
},
"name": {
"type": "string",
"description": "Name of the child category in the marketplace.",
"example": "Kitchen"
},
"children": {
"type": "array",
"description": "Grandchildren categories in the marketplace. Send as array of `id`, `name` and `specifications`.",
"items": {
"type": "object",
"description": "Grandchildren category information.",
"required": [
"id",
"name",
"specifications"
],
"properties": {
"id": {
"type": "string",
"description": "Grandchild category ID.",
"example": "123421345sadf"
},
"name": {
"type": "string",
"description": "Grandchild category name.",
"example": "Silverware"
},
"specifications": {
"type": "array",
"description": "List of specifications of the granchild category.",
"items": {
"type": "object",
"description": "Specifications of the grandchild category.",
"required": [
"attributeName",
"required",
"attributeValues"
],
"properties": {
"attributeName": {
"type": "string",
"description": "Name of the attribute sent as a specification.",
"example": "Size"
},
"required": {
"type": "boolean",
"description": "If the specification is required, mark this flag as `true`. If not, mark it as `false`.",
"example": true
},
"attributeValues": {
"type": "array",
"description": "Values for the specified attribute.",
"items": {
"type": "object",
"description": "Array of the multiple `valueNames` for the specificied attribute.",
"required": [
"valueName"
],
"properties": {
"valueName": {
"type": "string",
"description": "Name of the value.",
"example": "Small"
}
}
}
}
}
}
}
}
},
"nullable": true
},
"specifications": {
"type": "array",
"description": "Specifications for the product or SKU.",
"items": {
"type": "object",
"description": "Specifications of children categories.",
"required": [
"attributeName",
"required",
"attributeValues"
],
"properties": {
"attributeName": {
"type": "string",
"description": "Name of the attribute sent as a specification.",
"example": "Color"
},
"required": {
"type": "boolean",
"description": "If the specification is required, mark this flag as `true`. If not, mark it as `false`.",
"example": false
},
"attributeValues": {
"type": "array",
"description": "Values for the specified attribute.",
"items": {
"type": "object",
"description": "Array of the multiple `valueNames` for the attribute specificied.",
"required": [
"valueName"
],
"properties": {
"valueName": {
"type": "string",
"description": "Name of the value.",
"example": "Red"
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK"
}
}
}
},
"/api/channel-manager/connector": {
"post": {
"tags": [
"External Marketplace"
],
"summary": "Register connector",
"description": "Registers a new connector in our platform. The account name informed in the request should be the one owned by the partner since it is the only account that will have permission to update or delete the connector.\r\n\r\nPossible values for field `type`:\r\n\r\n- `APP`, if using our App Template.\r\n- `EXTERNAL`, if not using App Template.\r\n\r\nPossible values for field `segment`:\r\n\r\n- `ADS`\r\n- `APPAREL_ACCESSORIES`\r\n- `BEAUTY_HEALTH`\r\n- `BOOKS_EDUCATION`\r\n- `CARS_AUTOPARTS`\r\n- `DEPARTMENT_STORES`\r\n- `ELETRONICS`\r\n- `FINANCIAL_INSURANCES`\r\n- `FOOD_BEVERAGES`\r\n- `GROCERY`\r\n- `HOME_APPLIANCES`\r\n- `HOME_FURNITURE_DECOR`\r\n- `JEWELRY`\r\n- `PET_SHOP`\r\n- `SPORTS_FITNESS`\r\n- `TOURISM`\r\n- `TOYS_HOBBIES`\r\n- `OTHERS`",
"operationId": "register-connector",
"parameters": [
{
"name": "Accept",
"in": "header",
"description": "HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.",
"required": true,
"style": "simple",
"schema": {
"type": "string",
"default": "application/json"
}
},
{
"name": "Content-Type",
"in": "header",
"description": "Describes the type of the content being sent.",
"required": true,
"style": "simple",
"schema": {
"type": "string",
"default": "application/json"
}
},
{
"name": "environment",
"in": "path",
"description": "Environment used as part of URL.",
"required": true,
"style": "simple",
"schema": {
"type": "string",
"example": "https://portal.vtexcommercestable.com.br"
}
},
{
"name": "an",
"in": "query",
"description": "VTEX's account name owned by the connector/partner, ex. `apiexemple`",
"required": true,
"style": "form",
"schema": {
"type": "string",
"example": "apiexemple"
}
}
],
"requestBody": {
"description": "Body of the request to execute the Resgister connector.",
"content": {
"application/json": {
"schema": {
"properties": {
"name": {
"type": "string",
"description": "Connector name.",
"example": "Mercado Livre Classic"
},
"website": {
"type": "string",
"description": "Connector website.",
"example": "mercadolivre.com.br"
},
"logo": {
"type": "string",
"description": "Connector logo URL.",
"example": "https://g.foolcdn.com/art/companylogos/square/meli.png"
},
"description": {
"type": "string",
"description": "Connector description.",
"example": "MercadoLibre operates online commerce platforms in Latin America. It operates Mercado Libre Marketplace, an automated online commerce platform that enables businesses, merchants, and individuals to list merchandise and conduct sales and purchases online."
},
"segment": {
"type": "string",
"description": "Market segment.",
"example": "OTHERS",
},
"availableCountries": {
"description": "List of countries where connector is available for integration.",
"type": "array",
"items": {
"description": "Country code.",
"type": "string",
"example": "BRA"
}
},
"type": {
"description": "What type of connector, if it is native, VTEX or partner.",
"type": "string",
"example": "VTEX"
},
"isActive": {
"description": "Indicates whether connector is active (`true`) or not (`false`).",
"type": "boolean",
"example": true
},
"helpUrl": {
"type": "string",
"description": "URL of connector integration documentation page.",
"example": "help.vtex.com/helpurl"
},
"connectorVtexAdminPath": {
"description": "Admin VTEX URL, where the merchant will be redirected to manage and view his connections after integration.",
"type": "string",
"example": "/bridge/#/settings?openConfig=mercadolivre"
},
"connectorPageUrl": {
"description": "URL where the merchant will be redirected to start the onboarding process.",
"type": "string",
"example": "https://apps.vtex.com/vtexbr-tiktok-tbp/p"
},
"connectorApiEndpoint": {
"description": "Partner connector API base URL.",
"type": "string",
"example": "portal.vtexcommercestable.com/api/meliintegration/notifications"
},
"channelId": {
"description": "ID of the channel that a connector joins to.",
"type": "string",
"example": "1"
}
}
},
"example": [
{
"name": "Mercado Livre Classic",
"website": "mercadolivre.com.br",
"logo": "https://g.foolcdn.com/art/companylogos/square/meli.png",
"description": "Mercado Libre operates online commerce platforms in Latin America. It operates Mercado Libre Marketplace, an automated online commerce platform that enables businesses, merchants, and individuals to list merchandise and conduct sales and purchases online.",
"segment": "OTHERS",
"availableCountries": [
"BRA",
"ARG"
],
"type": "EXTERNAL",
"isActive": true,
"helpUrl": "https://help.vtex.com/pt/tracks/configurar-integracao-do-mercado-livre--2YfvI3Jxe0CGIKoWIGQEIq",
"connectorVtexAdminPath": "/bridge/#/settings?openConfig=mercadolivre",
"connectorPageUrl": "https://apps.vtex.com/vtexbr-tiktok-tbp/p",
"connectorApiEndpoint": "portal.vtexcommercestable.com/api/meliintegration/notifications",
"channelId": 1
}
]
}
}
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "Connector ID."
},
"name": {
"type": "string",
"description": "Connector name."
},
"website": {
"type": "string",
"description": "Connector website."
},
"logo": {
"type": "string",
"description": "Connector logo URL."
},
"description": {
"type": "string",
"description": "Connector description."
},
"helpUrl": {
"type": "string",
"description": "URL of connector integration documentation page."
},
"segment": {
"type": "string",
"description": "Market segment."
},
"availableCountries": {
"description": "List of countries where connector is available for integration.",
"type": "array",
"items": {
"description": "Country code.",
"type": "string"
}
},
"availableStates": {
"description": "States in which the connector operates, valid only for connectors that have area restriction.",
"type": "array",
"items": {
"type": "string",
"description": "State code."
}
},
"type": {
"description": "What type of connector, if it is native, VTEX or partner.",
"type": "string"
},
"connectorPageUrl": {
"description": "URL where the merchant will be redirected to start the onboarding process.",
"type": "string"
},
"connectorVtexAdminPath": {
"description": "Admin VTEX URL, where the merchant will be redirected to manage and view his connections after integration.",
"type": "string"
},
"connectorApiEndpoint": {
"description": "Partner connector API base URL.",
"type": "string"
},
"channelId": {
"description": "ID of the channel that a connector joins to.",
"type": "string"
},
"isGloballyAvailable": {
"description": "Indicates whether connector is globally available (`true`) or not (`false`).",
"type": "boolean"
},
"ownerVtexAccount": {
"description": "Connector account name in VTEX.",
"type": "string"
},
"isActive": {
"description": "Indicates whether connector is active (`true`) or not (`false`).",
"type": "boolean"
},
"isCertified": {
"description": "Indicates whether the connector is certified (`true`) or not (`false`).",
"type": "boolean"
},
"contactInfo": {
"description": "Seller contact information.",
"type": "object",
"properties": {
"name": {
"description": "Name of the person responsible for the marketplace account interested in connecting to the merchant.",
"type": "string"
},
"email": {
"description": "Email address of the person responsible for the marketplace account interested in connecting to the merchant.",
"type": "string"
},
"phone": {
"description": "Phone of the person responsible for the marketplace account interested in connecting to the merchant.",
"type": "string"
},
"defaultMessage": {
"description": "Introduction message and information of interest in the partnership with the merchant.",
"type": "string"
}
}
},
"isConnectionActive": {
"description": "Indicates whether connection is active (`true`) or not (`false`).",
"type": "boolean"
},
"affiliateId": {
"description": "Affiliate ID corresponding to the connector.",
"type": "string"
}
}
},
"example": {
"id": 584,
"name": "Mercado Livre Classic",
"website": "mercadolivre.com.br",
"logo": "https://g.foolcdn.com/art/companylogos/square/meli.png",
"description": "Mercado Libre operates online commerce platforms in Latin America. It operates Mercado Libre Marketplace, an automated online commerce platform that enables businesses, merchants, and individuals to list merchandise and conduct sales and purchases online.",
"helpUrl": "https://help.vtex.com/pt/tracks/configurar-integracao-do-mercado-livre--2YfvI3Jxe0CGIKoWIGQEIq",
"segment": "OTHERS",
"availableCountries": [
"BRA",
"ARG"
],
"availableStates": [],
"type": "EXTERNAL",
"connectorPageUrl": "https://apps.vtex.com/vtexbr-tiktok-tbp/p",
"connectorVtexAdminPath": "/bridge/#/settings?openConfig=mercadolivre",
"connectorApiEndpoint": "portal.vtexcommercestable.com/api/meliintegration/notifications",
"channelId": "1",
"isGloballyAvailable": false,
"ownerVtexAccount": "vtex",
"isActive": true,
"isCertified": false,
"contactInfo": {
"name": "Jhon",
"email": "[email protected]",
"phone": "(77) 7777-7777",
"defaultMessage": ""
},
"isConnectionActive": false,
"affiliateId": "AFT"
}
}
}
}
},
"deprecated": false
}
},
"/api/channel-manager/connector/all": {
"get": {
"tags": [
"External Marketplace"
],
"summary": "List all connectors",
"description": "Returns a paginated list of all connectors' registered in Channel Manager, taking into consideration the filters informed in the query string of the request.\n\r\n\r## Permissions\r\n\r\nThis endpoint does not require [permissions](https:\/\/help.vtex.com\/en\/tutorial\/license-manager-resources--3q6ztrC8YynQf6rdc6euk3).",
"operationId": "list-all-connectors",
"parameters": [
{
"name": "environment",
"in": "path",
"description": "Environment used as part of URL.",
"required": true,
"style": "simple",
"schema": {
"type": "string",
"example": "https://portal.vtexcommercestable.com.br"
}
},
{
"name": "an",
"in": "query",
"description": "Merchant's account name in VTEX, ex. `apiexemple`.",
"required": true,
"style": "form",
"schema": {
"type": "string",
"example": "apiexemple"
}
},
{
"name": "segment",
"in": "query",
"description": "Filter data by connector's segment.",
"required": false,
"style": "form",
"schema": {
"type": "string",
"example": "department_stores"
}
},
{
"name": "orderByConnectorType",
"in": "query",
"description": "Order data using a custom logic by connector's' type, and not alphabetically.",
"required": false,
"style": "form",
"schema": {
"type": "string",
"example": "true"
}
},
{
"name": "active",
"in": "query",
"description": "Filter data by the connector's status.",
"required": false,
"style": "form",
"schema": {
"type": "string",
"example": "true"
}
},
{
"name": "name",
"in": "query",
"description": "Filter data by the connector's name.",
"required": false,
"style": "form",
"schema": {
"type": "string",
"example": "Dafiti"
}
},
{
"name": "page",
"in": "query",
"description": "Current page to load data from.",
"required": false,
"style": "form",
"schema": {
"type": "integer",
"example": 1
}
},
{
"name": "pageSize",
"in": "query",
"description": "Page size to define number of results returned.",
"required": true,
"style": "form",
"schema": {
"type": "integer",
"example": 15
}
},
{
"name": "country",
"in": "query",
"description": "Filter by connector's country.",
"required": false,
"style": "form",
"schema": {
"type": "string",
"example": "bra"
}
},
{
"name": "type",
"in": "query",
"description": "Filter by connector's type.",
"required": false,
"style": "form",
"schema": {
"type": "string",
"example": "vtex"
}
},
{
"name": "account",
"in": "query",
"description": "Filter by connector's owner account.",
"required": false,
"style": "form",
"schema": {
"type": "string",
"example": "cea"
}
},
{
"name": "accept",
"in": "header",
"description": "HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.",
"required": true,
"style": "simple",
"schema": {
"type": "string",
"default": "application/json"
}
},
{
"name": "content-type",
"in": "header",
"description": "Describes the type of the content being sent.",
"required": true,
"style": "simple",
"schema": {
"type": "string",
"default": "application/json"
}
}
],