hostinger-api-mcp 1.1.0 → 1.1.1
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 +26 -2
- package/gemini-extension.json +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
- package/src/core/runtime.js +1 -1
- package/src/core/runtime.ts +1 -1
- package/src/core/tools/all.js +82 -0
- package/src/core/tools/all.ts +82 -0
- package/src/core/tools/ecommerce.js +82 -0
- package/src/core/tools/ecommerce.ts +82 -0
- package/src/servers/all.js +1 -1
- package/src/servers/all.ts +1 -1
- package/src/servers/billing.js +1 -1
- package/src/servers/billing.ts +1 -1
- package/src/servers/dns.js +1 -1
- package/src/servers/dns.ts +1 -1
- package/src/servers/domains.js +1 -1
- package/src/servers/domains.ts +1 -1
- package/src/servers/ecommerce.js +1 -1
- package/src/servers/ecommerce.ts +1 -1
- package/src/servers/horizons.js +1 -1
- package/src/servers/horizons.ts +1 -1
- package/src/servers/hosting.js +1 -1
- package/src/servers/hosting.ts +1 -1
- package/src/servers/reach.js +1 -1
- package/src/servers/reach.ts +1 -1
- package/src/servers/vps.js +1 -1
- package/src/servers/vps.ts +1 -1
- package/src/servers/wordpress.js +1 -1
- package/src/servers/wordpress.ts +1 -1
- package/types.d.ts +51 -0
package/README.md
CHANGED
|
@@ -49,11 +49,11 @@ pnpm update -g hostinger-api-mcp
|
|
|
49
49
|
|
|
50
50
|
This package installs the following MCP server commands:
|
|
51
51
|
|
|
52
|
-
- `hostinger-api-mcp` — unified server with every tool (
|
|
52
|
+
- `hostinger-api-mcp` — unified server with every tool (173 total)
|
|
53
53
|
- `hostinger-billing-mcp` — 7 tools for billing
|
|
54
54
|
- `hostinger-dns-mcp` — 8 tools for dns
|
|
55
55
|
- `hostinger-domains-mcp` — 18 tools for domains
|
|
56
|
-
- `hostinger-ecommerce-mcp` —
|
|
56
|
+
- `hostinger-ecommerce-mcp` — 10 tools for ecommerce
|
|
57
57
|
- `hostinger-horizons-mcp` — 2 tools for horizons
|
|
58
58
|
- `hostinger-hosting-mcp` — 35 tools for hosting
|
|
59
59
|
- `hostinger-reach-mcp` — 12 tools for reach
|
|
@@ -547,6 +547,15 @@ Use this endpoint to view which domains use specific contact profiles.
|
|
|
547
547
|
|
|
548
548
|
### `hostinger-ecommerce-mcp`
|
|
549
549
|
|
|
550
|
+
#### ecommerce_getCustomStorefrontSetupInstructionsV1
|
|
551
|
+
|
|
552
|
+
Retrieve step-by-step setup instructions, formatted as Markdown, for connecting a custom sales
|
|
553
|
+
channel to your store and keeping your catalog, orders, shipping and payments in sync through
|
|
554
|
+
the Ecommerce API.
|
|
555
|
+
|
|
556
|
+
- **Method**: `GET`
|
|
557
|
+
- **Path**: `/api/ecommerce/v1/miscellaneous/custom-storefront-instructions`
|
|
558
|
+
|
|
550
559
|
#### ecommerce_enableManualPaymentMethodV1
|
|
551
560
|
|
|
552
561
|
Enable a manual payment method so the store can accept orders without an online payment provider.
|
|
@@ -568,6 +577,21 @@ Create a published physical product with a single variant priced in the store cu
|
|
|
568
577
|
- **Method**: `POST`
|
|
569
578
|
- **Path**: `/api/ecommerce/v1/stores/{store_id}/products/physical`
|
|
570
579
|
|
|
580
|
+
#### ecommerce_listSalesChannelsV1
|
|
581
|
+
|
|
582
|
+
List a store's active sales channels with their full metadata.
|
|
583
|
+
|
|
584
|
+
- **Method**: `GET`
|
|
585
|
+
- **Path**: `/api/ecommerce/v1/stores/{store_id}/sales-channels`
|
|
586
|
+
|
|
587
|
+
#### ecommerce_createACustomSalesChannelV1
|
|
588
|
+
|
|
589
|
+
Create a custom sales channel for a store. Build your own frontend and keep your catalog,
|
|
590
|
+
orders, shipping and payments in sync through the Ecommerce API.
|
|
591
|
+
|
|
592
|
+
- **Method**: `POST`
|
|
593
|
+
- **Path**: `/api/ecommerce/v1/stores/{store_id}/sales-channels`
|
|
594
|
+
|
|
571
595
|
#### ecommerce_setStoreShippingV1
|
|
572
596
|
|
|
573
597
|
Set the flat-rate shipping price for a store, creating the shipping zone if it does not exist yet.
|
package/gemini-extension.json
CHANGED
package/package.json
CHANGED
package/server.json
CHANGED
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
"url": "https://github.com/hostinger/api-mcp-server",
|
|
7
7
|
"source": "github"
|
|
8
8
|
},
|
|
9
|
-
"version": "1.1.
|
|
9
|
+
"version": "1.1.1",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "hostinger-api-mcp",
|
|
14
|
-
"version": "1.1.
|
|
14
|
+
"version": "1.1.1",
|
|
15
15
|
"transport": {
|
|
16
16
|
"type": "stdio"
|
|
17
17
|
},
|
package/src/core/runtime.js
CHANGED
package/src/core/runtime.ts
CHANGED
package/src/core/tools/all.js
CHANGED
|
@@ -1287,6 +1287,23 @@ export default [
|
|
|
1287
1287
|
],
|
|
1288
1288
|
"group": "domains"
|
|
1289
1289
|
},
|
|
1290
|
+
{
|
|
1291
|
+
"name": "ecommerce_getCustomStorefrontSetupInstructionsV1",
|
|
1292
|
+
"description": "Retrieve step-by-step setup instructions, formatted as Markdown, for connecting a custom sales\nchannel to your store and keeping your catalog, orders, shipping and payments in sync through\nthe Ecommerce API.",
|
|
1293
|
+
"method": "GET",
|
|
1294
|
+
"path": "/api/ecommerce/v1/miscellaneous/custom-storefront-instructions",
|
|
1295
|
+
"inputSchema": {
|
|
1296
|
+
"type": "object",
|
|
1297
|
+
"properties": {},
|
|
1298
|
+
"required": []
|
|
1299
|
+
},
|
|
1300
|
+
"security": [
|
|
1301
|
+
{
|
|
1302
|
+
"apiToken": []
|
|
1303
|
+
}
|
|
1304
|
+
],
|
|
1305
|
+
"group": "ecommerce"
|
|
1306
|
+
},
|
|
1290
1307
|
{
|
|
1291
1308
|
"name": "ecommerce_enableManualPaymentMethodV1",
|
|
1292
1309
|
"description": "Enable a manual payment method so the store can accept orders without an online payment provider.",
|
|
@@ -1403,6 +1420,71 @@ export default [
|
|
|
1403
1420
|
],
|
|
1404
1421
|
"group": "ecommerce"
|
|
1405
1422
|
},
|
|
1423
|
+
{
|
|
1424
|
+
"name": "ecommerce_listSalesChannelsV1",
|
|
1425
|
+
"description": "List a store's active sales channels with their full metadata.",
|
|
1426
|
+
"method": "GET",
|
|
1427
|
+
"path": "/api/ecommerce/v1/stores/{store_id}/sales-channels",
|
|
1428
|
+
"inputSchema": {
|
|
1429
|
+
"type": "object",
|
|
1430
|
+
"properties": {
|
|
1431
|
+
"store_id": {
|
|
1432
|
+
"type": "string",
|
|
1433
|
+
"description": "The ID of the store to list sales channels for."
|
|
1434
|
+
}
|
|
1435
|
+
},
|
|
1436
|
+
"required": [
|
|
1437
|
+
"store_id"
|
|
1438
|
+
]
|
|
1439
|
+
},
|
|
1440
|
+
"security": [
|
|
1441
|
+
{
|
|
1442
|
+
"apiToken": []
|
|
1443
|
+
}
|
|
1444
|
+
],
|
|
1445
|
+
"group": "ecommerce"
|
|
1446
|
+
},
|
|
1447
|
+
{
|
|
1448
|
+
"name": "ecommerce_createACustomSalesChannelV1",
|
|
1449
|
+
"description": "Create a custom sales channel for a store. Build your own frontend and keep your catalog,\norders, shipping and payments in sync through the Ecommerce API.",
|
|
1450
|
+
"method": "POST",
|
|
1451
|
+
"path": "/api/ecommerce/v1/stores/{store_id}/sales-channels",
|
|
1452
|
+
"inputSchema": {
|
|
1453
|
+
"type": "object",
|
|
1454
|
+
"properties": {
|
|
1455
|
+
"store_id": {
|
|
1456
|
+
"type": "string",
|
|
1457
|
+
"description": "The ID of the store to create the sales channel for."
|
|
1458
|
+
},
|
|
1459
|
+
"type": {
|
|
1460
|
+
"type": "string",
|
|
1461
|
+
"description": "Sales channel type. Only \"custom\" channels can be created via the API.",
|
|
1462
|
+
"enum": [
|
|
1463
|
+
"custom"
|
|
1464
|
+
]
|
|
1465
|
+
},
|
|
1466
|
+
"name": {
|
|
1467
|
+
"type": "string",
|
|
1468
|
+
"description": "Merchant-facing custom name shown in the sales channels list."
|
|
1469
|
+
},
|
|
1470
|
+
"url": {
|
|
1471
|
+
"type": "string",
|
|
1472
|
+
"description": "Optional public address where the custom sales channel lives."
|
|
1473
|
+
}
|
|
1474
|
+
},
|
|
1475
|
+
"required": [
|
|
1476
|
+
"store_id",
|
|
1477
|
+
"type",
|
|
1478
|
+
"name"
|
|
1479
|
+
]
|
|
1480
|
+
},
|
|
1481
|
+
"security": [
|
|
1482
|
+
{
|
|
1483
|
+
"apiToken": []
|
|
1484
|
+
}
|
|
1485
|
+
],
|
|
1486
|
+
"group": "ecommerce"
|
|
1487
|
+
},
|
|
1406
1488
|
{
|
|
1407
1489
|
"name": "ecommerce_setStoreShippingV1",
|
|
1408
1490
|
"description": "Set the flat-rate shipping price for a store, creating the shipping zone if it does not exist yet.",
|
package/src/core/tools/all.ts
CHANGED
|
@@ -1297,6 +1297,23 @@ const tools: OpenApiTool[] = [
|
|
|
1297
1297
|
],
|
|
1298
1298
|
"group": "domains"
|
|
1299
1299
|
},
|
|
1300
|
+
{
|
|
1301
|
+
"name": "ecommerce_getCustomStorefrontSetupInstructionsV1",
|
|
1302
|
+
"description": "Retrieve step-by-step setup instructions, formatted as Markdown, for connecting a custom sales\nchannel to your store and keeping your catalog, orders, shipping and payments in sync through\nthe Ecommerce API.",
|
|
1303
|
+
"method": "GET",
|
|
1304
|
+
"path": "/api/ecommerce/v1/miscellaneous/custom-storefront-instructions",
|
|
1305
|
+
"inputSchema": {
|
|
1306
|
+
"type": "object",
|
|
1307
|
+
"properties": {},
|
|
1308
|
+
"required": []
|
|
1309
|
+
},
|
|
1310
|
+
"security": [
|
|
1311
|
+
{
|
|
1312
|
+
"apiToken": []
|
|
1313
|
+
}
|
|
1314
|
+
],
|
|
1315
|
+
"group": "ecommerce"
|
|
1316
|
+
},
|
|
1300
1317
|
{
|
|
1301
1318
|
"name": "ecommerce_enableManualPaymentMethodV1",
|
|
1302
1319
|
"description": "Enable a manual payment method so the store can accept orders without an online payment provider.",
|
|
@@ -1413,6 +1430,71 @@ const tools: OpenApiTool[] = [
|
|
|
1413
1430
|
],
|
|
1414
1431
|
"group": "ecommerce"
|
|
1415
1432
|
},
|
|
1433
|
+
{
|
|
1434
|
+
"name": "ecommerce_listSalesChannelsV1",
|
|
1435
|
+
"description": "List a store's active sales channels with their full metadata.",
|
|
1436
|
+
"method": "GET",
|
|
1437
|
+
"path": "/api/ecommerce/v1/stores/{store_id}/sales-channels",
|
|
1438
|
+
"inputSchema": {
|
|
1439
|
+
"type": "object",
|
|
1440
|
+
"properties": {
|
|
1441
|
+
"store_id": {
|
|
1442
|
+
"type": "string",
|
|
1443
|
+
"description": "The ID of the store to list sales channels for."
|
|
1444
|
+
}
|
|
1445
|
+
},
|
|
1446
|
+
"required": [
|
|
1447
|
+
"store_id"
|
|
1448
|
+
]
|
|
1449
|
+
},
|
|
1450
|
+
"security": [
|
|
1451
|
+
{
|
|
1452
|
+
"apiToken": []
|
|
1453
|
+
}
|
|
1454
|
+
],
|
|
1455
|
+
"group": "ecommerce"
|
|
1456
|
+
},
|
|
1457
|
+
{
|
|
1458
|
+
"name": "ecommerce_createACustomSalesChannelV1",
|
|
1459
|
+
"description": "Create a custom sales channel for a store. Build your own frontend and keep your catalog,\norders, shipping and payments in sync through the Ecommerce API.",
|
|
1460
|
+
"method": "POST",
|
|
1461
|
+
"path": "/api/ecommerce/v1/stores/{store_id}/sales-channels",
|
|
1462
|
+
"inputSchema": {
|
|
1463
|
+
"type": "object",
|
|
1464
|
+
"properties": {
|
|
1465
|
+
"store_id": {
|
|
1466
|
+
"type": "string",
|
|
1467
|
+
"description": "The ID of the store to create the sales channel for."
|
|
1468
|
+
},
|
|
1469
|
+
"type": {
|
|
1470
|
+
"type": "string",
|
|
1471
|
+
"description": "Sales channel type. Only \"custom\" channels can be created via the API.",
|
|
1472
|
+
"enum": [
|
|
1473
|
+
"custom"
|
|
1474
|
+
]
|
|
1475
|
+
},
|
|
1476
|
+
"name": {
|
|
1477
|
+
"type": "string",
|
|
1478
|
+
"description": "Merchant-facing custom name shown in the sales channels list."
|
|
1479
|
+
},
|
|
1480
|
+
"url": {
|
|
1481
|
+
"type": "string",
|
|
1482
|
+
"description": "Optional public address where the custom sales channel lives."
|
|
1483
|
+
}
|
|
1484
|
+
},
|
|
1485
|
+
"required": [
|
|
1486
|
+
"store_id",
|
|
1487
|
+
"type",
|
|
1488
|
+
"name"
|
|
1489
|
+
]
|
|
1490
|
+
},
|
|
1491
|
+
"security": [
|
|
1492
|
+
{
|
|
1493
|
+
"apiToken": []
|
|
1494
|
+
}
|
|
1495
|
+
],
|
|
1496
|
+
"group": "ecommerce"
|
|
1497
|
+
},
|
|
1416
1498
|
{
|
|
1417
1499
|
"name": "ecommerce_setStoreShippingV1",
|
|
1418
1500
|
"description": "Set the flat-rate shipping price for a store, creating the shipping zone if it does not exist yet.",
|
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
// Auto-generated tool list for group: ecommerce
|
|
2
2
|
export default [
|
|
3
|
+
{
|
|
4
|
+
"name": "ecommerce_getCustomStorefrontSetupInstructionsV1",
|
|
5
|
+
"description": "Retrieve step-by-step setup instructions, formatted as Markdown, for connecting a custom sales\nchannel to your store and keeping your catalog, orders, shipping and payments in sync through\nthe Ecommerce API.",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"path": "/api/ecommerce/v1/miscellaneous/custom-storefront-instructions",
|
|
8
|
+
"inputSchema": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {},
|
|
11
|
+
"required": []
|
|
12
|
+
},
|
|
13
|
+
"security": [
|
|
14
|
+
{
|
|
15
|
+
"apiToken": []
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"group": "ecommerce"
|
|
19
|
+
},
|
|
3
20
|
{
|
|
4
21
|
"name": "ecommerce_enableManualPaymentMethodV1",
|
|
5
22
|
"description": "Enable a manual payment method so the store can accept orders without an online payment provider.",
|
|
@@ -116,6 +133,71 @@ export default [
|
|
|
116
133
|
],
|
|
117
134
|
"group": "ecommerce"
|
|
118
135
|
},
|
|
136
|
+
{
|
|
137
|
+
"name": "ecommerce_listSalesChannelsV1",
|
|
138
|
+
"description": "List a store's active sales channels with their full metadata.",
|
|
139
|
+
"method": "GET",
|
|
140
|
+
"path": "/api/ecommerce/v1/stores/{store_id}/sales-channels",
|
|
141
|
+
"inputSchema": {
|
|
142
|
+
"type": "object",
|
|
143
|
+
"properties": {
|
|
144
|
+
"store_id": {
|
|
145
|
+
"type": "string",
|
|
146
|
+
"description": "The ID of the store to list sales channels for."
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
"required": [
|
|
150
|
+
"store_id"
|
|
151
|
+
]
|
|
152
|
+
},
|
|
153
|
+
"security": [
|
|
154
|
+
{
|
|
155
|
+
"apiToken": []
|
|
156
|
+
}
|
|
157
|
+
],
|
|
158
|
+
"group": "ecommerce"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"name": "ecommerce_createACustomSalesChannelV1",
|
|
162
|
+
"description": "Create a custom sales channel for a store. Build your own frontend and keep your catalog,\norders, shipping and payments in sync through the Ecommerce API.",
|
|
163
|
+
"method": "POST",
|
|
164
|
+
"path": "/api/ecommerce/v1/stores/{store_id}/sales-channels",
|
|
165
|
+
"inputSchema": {
|
|
166
|
+
"type": "object",
|
|
167
|
+
"properties": {
|
|
168
|
+
"store_id": {
|
|
169
|
+
"type": "string",
|
|
170
|
+
"description": "The ID of the store to create the sales channel for."
|
|
171
|
+
},
|
|
172
|
+
"type": {
|
|
173
|
+
"type": "string",
|
|
174
|
+
"description": "Sales channel type. Only \"custom\" channels can be created via the API.",
|
|
175
|
+
"enum": [
|
|
176
|
+
"custom"
|
|
177
|
+
]
|
|
178
|
+
},
|
|
179
|
+
"name": {
|
|
180
|
+
"type": "string",
|
|
181
|
+
"description": "Merchant-facing custom name shown in the sales channels list."
|
|
182
|
+
},
|
|
183
|
+
"url": {
|
|
184
|
+
"type": "string",
|
|
185
|
+
"description": "Optional public address where the custom sales channel lives."
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
"required": [
|
|
189
|
+
"store_id",
|
|
190
|
+
"type",
|
|
191
|
+
"name"
|
|
192
|
+
]
|
|
193
|
+
},
|
|
194
|
+
"security": [
|
|
195
|
+
{
|
|
196
|
+
"apiToken": []
|
|
197
|
+
}
|
|
198
|
+
],
|
|
199
|
+
"group": "ecommerce"
|
|
200
|
+
},
|
|
119
201
|
{
|
|
120
202
|
"name": "ecommerce_setStoreShippingV1",
|
|
121
203
|
"description": "Set the flat-rate shipping price for a store, creating the shipping zone if it does not exist yet.",
|
|
@@ -10,6 +10,23 @@ export interface OpenApiTool extends Tool {
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
const tools: OpenApiTool[] = [
|
|
13
|
+
{
|
|
14
|
+
"name": "ecommerce_getCustomStorefrontSetupInstructionsV1",
|
|
15
|
+
"description": "Retrieve step-by-step setup instructions, formatted as Markdown, for connecting a custom sales\nchannel to your store and keeping your catalog, orders, shipping and payments in sync through\nthe Ecommerce API.",
|
|
16
|
+
"method": "GET",
|
|
17
|
+
"path": "/api/ecommerce/v1/miscellaneous/custom-storefront-instructions",
|
|
18
|
+
"inputSchema": {
|
|
19
|
+
"type": "object",
|
|
20
|
+
"properties": {},
|
|
21
|
+
"required": []
|
|
22
|
+
},
|
|
23
|
+
"security": [
|
|
24
|
+
{
|
|
25
|
+
"apiToken": []
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"group": "ecommerce"
|
|
29
|
+
},
|
|
13
30
|
{
|
|
14
31
|
"name": "ecommerce_enableManualPaymentMethodV1",
|
|
15
32
|
"description": "Enable a manual payment method so the store can accept orders without an online payment provider.",
|
|
@@ -126,6 +143,71 @@ const tools: OpenApiTool[] = [
|
|
|
126
143
|
],
|
|
127
144
|
"group": "ecommerce"
|
|
128
145
|
},
|
|
146
|
+
{
|
|
147
|
+
"name": "ecommerce_listSalesChannelsV1",
|
|
148
|
+
"description": "List a store's active sales channels with their full metadata.",
|
|
149
|
+
"method": "GET",
|
|
150
|
+
"path": "/api/ecommerce/v1/stores/{store_id}/sales-channels",
|
|
151
|
+
"inputSchema": {
|
|
152
|
+
"type": "object",
|
|
153
|
+
"properties": {
|
|
154
|
+
"store_id": {
|
|
155
|
+
"type": "string",
|
|
156
|
+
"description": "The ID of the store to list sales channels for."
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
"required": [
|
|
160
|
+
"store_id"
|
|
161
|
+
]
|
|
162
|
+
},
|
|
163
|
+
"security": [
|
|
164
|
+
{
|
|
165
|
+
"apiToken": []
|
|
166
|
+
}
|
|
167
|
+
],
|
|
168
|
+
"group": "ecommerce"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"name": "ecommerce_createACustomSalesChannelV1",
|
|
172
|
+
"description": "Create a custom sales channel for a store. Build your own frontend and keep your catalog,\norders, shipping and payments in sync through the Ecommerce API.",
|
|
173
|
+
"method": "POST",
|
|
174
|
+
"path": "/api/ecommerce/v1/stores/{store_id}/sales-channels",
|
|
175
|
+
"inputSchema": {
|
|
176
|
+
"type": "object",
|
|
177
|
+
"properties": {
|
|
178
|
+
"store_id": {
|
|
179
|
+
"type": "string",
|
|
180
|
+
"description": "The ID of the store to create the sales channel for."
|
|
181
|
+
},
|
|
182
|
+
"type": {
|
|
183
|
+
"type": "string",
|
|
184
|
+
"description": "Sales channel type. Only \"custom\" channels can be created via the API.",
|
|
185
|
+
"enum": [
|
|
186
|
+
"custom"
|
|
187
|
+
]
|
|
188
|
+
},
|
|
189
|
+
"name": {
|
|
190
|
+
"type": "string",
|
|
191
|
+
"description": "Merchant-facing custom name shown in the sales channels list."
|
|
192
|
+
},
|
|
193
|
+
"url": {
|
|
194
|
+
"type": "string",
|
|
195
|
+
"description": "Optional public address where the custom sales channel lives."
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
"required": [
|
|
199
|
+
"store_id",
|
|
200
|
+
"type",
|
|
201
|
+
"name"
|
|
202
|
+
]
|
|
203
|
+
},
|
|
204
|
+
"security": [
|
|
205
|
+
{
|
|
206
|
+
"apiToken": []
|
|
207
|
+
}
|
|
208
|
+
],
|
|
209
|
+
"group": "ecommerce"
|
|
210
|
+
},
|
|
129
211
|
{
|
|
130
212
|
"name": "ecommerce_setStoreShippingV1",
|
|
131
213
|
"description": "Set the flat-rate shipping price for a store, creating the shipping zone if it does not exist yet.",
|
package/src/servers/all.js
CHANGED
package/src/servers/all.ts
CHANGED
package/src/servers/billing.js
CHANGED
package/src/servers/billing.ts
CHANGED
package/src/servers/dns.js
CHANGED
package/src/servers/dns.ts
CHANGED
package/src/servers/domains.js
CHANGED
package/src/servers/domains.ts
CHANGED
package/src/servers/ecommerce.js
CHANGED
package/src/servers/ecommerce.ts
CHANGED
package/src/servers/horizons.js
CHANGED
package/src/servers/horizons.ts
CHANGED
package/src/servers/hosting.js
CHANGED
package/src/servers/hosting.ts
CHANGED
package/src/servers/reach.js
CHANGED
package/src/servers/reach.ts
CHANGED
package/src/servers/vps.js
CHANGED
package/src/servers/vps.ts
CHANGED
package/src/servers/wordpress.js
CHANGED
package/src/servers/wordpress.ts
CHANGED
package/types.d.ts
CHANGED
|
@@ -796,6 +796,18 @@ Use this endpoint to view which domains use specific contact profiles.
|
|
|
796
796
|
response: any; // Response structure will depend on the API
|
|
797
797
|
};
|
|
798
798
|
|
|
799
|
+
/**
|
|
800
|
+
* Retrieve step-by-step setup instructions, formatted as Markdown, for connecting a custom sales
|
|
801
|
+
channel to your store and keeping your catalog, orders, shipping and payments in sync through
|
|
802
|
+
the Ecommerce API.
|
|
803
|
+
*/
|
|
804
|
+
"ecommerce_getCustomStorefrontSetupInstructionsV1": {
|
|
805
|
+
params: {
|
|
806
|
+
|
|
807
|
+
};
|
|
808
|
+
response: any; // Response structure will depend on the API
|
|
809
|
+
};
|
|
810
|
+
|
|
799
811
|
/**
|
|
800
812
|
* Enable a manual payment method so the store can accept orders without an online payment provider.
|
|
801
813
|
*/
|
|
@@ -875,6 +887,45 @@ Use this endpoint to view which domains use specific contact profiles.
|
|
|
875
887
|
response: any; // Response structure will depend on the API
|
|
876
888
|
};
|
|
877
889
|
|
|
890
|
+
/**
|
|
891
|
+
* List a store's active sales channels with their full metadata.
|
|
892
|
+
*/
|
|
893
|
+
"ecommerce_listSalesChannelsV1": {
|
|
894
|
+
params: {
|
|
895
|
+
/**
|
|
896
|
+
* The ID of the store to list sales channels for.
|
|
897
|
+
*/
|
|
898
|
+
store_id: string;
|
|
899
|
+
};
|
|
900
|
+
response: any; // Response structure will depend on the API
|
|
901
|
+
};
|
|
902
|
+
|
|
903
|
+
/**
|
|
904
|
+
* Create a custom sales channel for a store. Build your own frontend and keep your catalog,
|
|
905
|
+
orders, shipping and payments in sync through the Ecommerce API.
|
|
906
|
+
*/
|
|
907
|
+
"ecommerce_createACustomSalesChannelV1": {
|
|
908
|
+
params: {
|
|
909
|
+
/**
|
|
910
|
+
* The ID of the store to create the sales channel for.
|
|
911
|
+
*/
|
|
912
|
+
store_id: string;
|
|
913
|
+
/**
|
|
914
|
+
* Sales channel type. Only "custom" channels can be created via the API.
|
|
915
|
+
*/
|
|
916
|
+
type: string;
|
|
917
|
+
/**
|
|
918
|
+
* Merchant-facing custom name shown in the sales channels list.
|
|
919
|
+
*/
|
|
920
|
+
name: string;
|
|
921
|
+
/**
|
|
922
|
+
* Optional public address where the custom sales channel lives.
|
|
923
|
+
*/
|
|
924
|
+
url?: string;
|
|
925
|
+
};
|
|
926
|
+
response: any; // Response structure will depend on the API
|
|
927
|
+
};
|
|
928
|
+
|
|
878
929
|
/**
|
|
879
930
|
* Set the flat-rate shipping price for a store, creating the shipping zone if it does not exist yet.
|
|
880
931
|
*/
|