@oomol-lab/open-connector 1.6.3 → 1.6.5
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/assets/open-connector/catalog/apps/aisa.json +568 -0
- package/assets/open-connector/catalog/apps/bilibili.json +2586 -0
- package/assets/open-connector/catalog/apps/bitwarden.json +1423 -0
- package/assets/open-connector/catalog/apps/cronfree.json +303 -0
- package/assets/open-connector/catalog/apps/cufinder.json +368 -0
- package/assets/open-connector/catalog/apps/feishu_app_bot.json +2 -2
- package/assets/open-connector/catalog/apps/gmail.json +73 -0
- package/assets/open-connector/catalog/apps/investoday_mcp.json +22228 -197
- package/assets/open-connector/catalog/apps/ixspy.json +2274 -0
- package/assets/open-connector/catalog/apps/jin10.json +1 -1
- package/assets/open-connector/catalog/apps/osv.json +663 -0
- package/assets/open-connector/catalog/apps/pdf_vector.json +329 -0
- package/assets/open-connector/catalog/apps/pulsetic.json +406 -0
- package/assets/open-connector/catalog/apps/shopee.json +1785 -0
- package/assets/open-connector/catalog/apps/slack.json +81 -0
- package/assets/open-connector/catalog/apps/slackbot.json +81 -0
- package/assets/open-connector/catalog/apps/speak_ai.json +360 -0
- package/assets/open-connector/catalog/apps/tongdaxin.json +11 -440
- package/assets/open-connector/catalog/apps/zyhub.json +1585 -0
- package/assets/open-connector/catalog/apps-index.json +1 -1
- package/package.json +1 -1
- package/src/core/json-schema.d.ts +5 -1
- package/src/core/json-schema.js +14 -2
- package/src/core/types.d.ts +9 -0
- package/src/oauth/oauth-credential-refresh-service.js +3 -1
- package/src/oauth/oauth-flow-service.js +17 -2
- package/src/oauth/oauth-token.d.ts +13 -0
- package/src/providers/action-contracts.generated.d.ts +16 -4
- package/src/providers/aisa/executors.d.ts +4 -0
- package/src/providers/aisa/executors.js +176 -0
- package/src/providers/bilibili/articles.d.ts +3 -0
- package/src/providers/bilibili/articles.js +369 -0
- package/src/providers/bilibili/executors.d.ts +8 -0
- package/src/providers/bilibili/executors.js +262 -0
- package/src/providers/bilibili/runtime.d.ts +95 -0
- package/src/providers/bilibili/runtime.js +238 -0
- package/src/providers/bilibili/upload.d.ts +14 -0
- package/src/providers/bilibili/upload.js +105 -0
- package/src/providers/bitwarden/executors.d.ts +3 -0
- package/src/providers/bitwarden/executors.js +146 -0
- package/src/providers/cronfree/executors.d.ts +4 -0
- package/src/providers/cronfree/executors.js +89 -0
- package/src/providers/cufinder/executors.d.ts +4 -0
- package/src/providers/cufinder/executors.js +105 -0
- package/src/providers/dropbox/executors.js +21 -3
- package/src/providers/elevenreader/runtime.js +6 -5
- package/src/providers/feishu_app_bot/scopes.js +1 -1
- package/src/providers/gmail/attachment-stream.d.ts +2 -0
- package/src/providers/gmail/attachment-stream.js +162 -0
- package/src/providers/gmail/executors.d.ts +3 -1
- package/src/providers/gmail/executors.js +53 -25
- package/src/providers/investoday_mcp/official-actions.js +19 -372
- package/src/providers/investoday_mcp/official-tool-types.d.ts +10 -0
- package/src/providers/investoday_mcp/official-tool-types.js +4 -0
- package/src/providers/investoday_mcp/official-tools/charts.d.ts +2 -0
- package/src/providers/investoday_mcp/official-tools/charts.js +32 -0
- package/src/providers/investoday_mcp/official-tools/fixed-income.d.ts +2 -0
- package/src/providers/investoday_mcp/official-tools/fixed-income.js +326 -0
- package/src/providers/investoday_mcp/official-tools/funds.d.ts +2 -0
- package/src/providers/investoday_mcp/official-tools/funds.js +1085 -0
- package/src/providers/investoday_mcp/official-tools/hong-kong.d.ts +2 -0
- package/src/providers/investoday_mcp/official-tools/hong-kong.js +275 -0
- package/src/providers/investoday_mcp/official-tools/indices-industries.d.ts +2 -0
- package/src/providers/investoday_mcp/official-tools/indices-industries.js +642 -0
- package/src/providers/investoday_mcp/official-tools/macro-calendar.d.ts +2 -0
- package/src/providers/investoday_mcp/official-tools/macro-calendar.js +398 -0
- package/src/providers/investoday_mcp/official-tools/other.d.ts +2 -0
- package/src/providers/investoday_mcp/official-tools/other.js +131 -0
- package/src/providers/investoday_mcp/official-tools/research-news.d.ts +2 -0
- package/src/providers/investoday_mcp/official-tools/research-news.js +302 -0
- package/src/providers/investoday_mcp/official-tools/stocks.d.ts +2 -0
- package/src/providers/investoday_mcp/official-tools/stocks.js +2829 -0
- package/src/providers/ixspy/executors.d.ts +3 -0
- package/src/providers/ixspy/executors.js +220 -0
- package/src/providers/mcp-client.d.ts +1 -0
- package/src/providers/mcp-client.js +41 -27
- package/src/providers/osv/executors.d.ts +2 -0
- package/src/providers/osv/executors.js +11 -0
- package/src/providers/osv/runtime.d.ts +9 -0
- package/src/providers/osv/runtime.js +66 -0
- package/src/providers/pdf_vector/executors.d.ts +4 -0
- package/src/providers/pdf_vector/executors.js +108 -0
- package/src/providers/provider-runtime.d.ts +3 -0
- package/src/providers/provider-runtime.js +4 -1
- package/src/providers/pulsetic/executors.d.ts +4 -0
- package/src/providers/pulsetic/executors.js +126 -0
- package/src/providers/registry.generated.js +12 -0
- package/src/providers/sellersprite_mcp/executors.js +2 -1
- package/src/providers/shopee/actions.d.ts +2 -0
- package/src/providers/shopee/actions.js +474 -0
- package/src/providers/shopee/executors.d.ts +3 -0
- package/src/providers/shopee/executors.js +85 -0
- package/src/providers/shopee/runtime.d.ts +79 -0
- package/src/providers/shopee/runtime.js +693 -0
- package/src/providers/slack/actions.js +17 -0
- package/src/providers/slack/runtime.js +62 -4
- package/src/providers/speak_ai/executors.d.ts +3 -0
- package/src/providers/speak_ai/executors.js +187 -0
- package/src/providers/tongdaxin/executors.js +5 -4
- package/src/providers/tongdaxin/named-action-output.js +3 -9
- package/src/providers/tongdaxin/named-action-routing.js +1 -1
- package/src/providers/tongdaxin/named-actions.js +1 -6
- package/src/providers/tushare/runtime.js +22 -9
- package/src/providers/twenty_crm/runtime.js +4 -2
- package/src/providers/zyhub/executors.d.ts +3 -0
- package/src/providers/zyhub/executors.js +240 -0
- package/src/server/files/transit-files.d.ts +3 -2
- package/src/server/files/transit-files.js +31 -35
|
@@ -0,0 +1,1785 @@
|
|
|
1
|
+
{
|
|
2
|
+
"service": "shopee",
|
|
3
|
+
"displayName": "Shopee",
|
|
4
|
+
"description": "Manage Shopee products, orders, logistics, returns, and merchant data.",
|
|
5
|
+
"categories": [
|
|
6
|
+
"E-commerce"
|
|
7
|
+
],
|
|
8
|
+
"authTypes": [
|
|
9
|
+
"oauth2"
|
|
10
|
+
],
|
|
11
|
+
"auth": [
|
|
12
|
+
{
|
|
13
|
+
"type": "oauth2",
|
|
14
|
+
"authorizationUrl": "{+authorizationBaseUrl}/api/v2/shop/auth_partner",
|
|
15
|
+
"tokenUrl": "{+apiBaseUrl}/api/v2/auth/token/get",
|
|
16
|
+
"refreshTokenUrl": "{+apiBaseUrl}/api/v2/auth/access_token/get",
|
|
17
|
+
"scopes": [
|
|
18
|
+
"all"
|
|
19
|
+
],
|
|
20
|
+
"tokenEndpointAuthMethod": "none",
|
|
21
|
+
"authorizationParams": {
|
|
22
|
+
"auth_type": "seller"
|
|
23
|
+
},
|
|
24
|
+
"authorizationRequestFields": {
|
|
25
|
+
"clientId": "partner_id",
|
|
26
|
+
"scope": false
|
|
27
|
+
},
|
|
28
|
+
"clientConfigFields": [
|
|
29
|
+
{
|
|
30
|
+
"key": "authorizationBaseUrl",
|
|
31
|
+
"label": "Authorization Base URL",
|
|
32
|
+
"required": true,
|
|
33
|
+
"secret": false,
|
|
34
|
+
"inputType": "text",
|
|
35
|
+
"location": "extra",
|
|
36
|
+
"defaultValue": "https://open.shopee.cn",
|
|
37
|
+
"description": "Use https://open.shopee.cn for production or https://open.sandbox.test-stable.shopee.cn for sandbox."
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"key": "apiBaseUrl",
|
|
41
|
+
"label": "API Base URL",
|
|
42
|
+
"required": true,
|
|
43
|
+
"secret": false,
|
|
44
|
+
"inputType": "text",
|
|
45
|
+
"location": "extra",
|
|
46
|
+
"defaultValue": "https://partner.shopeemobile.com",
|
|
47
|
+
"description": "Use https://partner.shopeemobile.com for production or https://openplatform.sandbox.test-stable.shopee.sg for sandbox."
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
"clientSetup": {
|
|
51
|
+
"docsUrl": "https://open.shopee.com/",
|
|
52
|
+
"steps": [
|
|
53
|
+
"Create a Shopee Open Platform app and register the callback URL shown below.",
|
|
54
|
+
"Copy the Partner ID into Client ID and the Partner Key into Client Secret.",
|
|
55
|
+
"Keep both endpoint fields on production, or switch both to their documented sandbox values."
|
|
56
|
+
]
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"homepageUrl": "https://www.shopee.com/",
|
|
61
|
+
"actions": [
|
|
62
|
+
{
|
|
63
|
+
"id": "shopee.create_global_item",
|
|
64
|
+
"service": "shopee",
|
|
65
|
+
"name": "create_global_item",
|
|
66
|
+
"description": "Create a Shopee global product draft for a mainland China CNSC merchant.",
|
|
67
|
+
"operationType": "write",
|
|
68
|
+
"requiredScopes": [
|
|
69
|
+
"shopee.write"
|
|
70
|
+
],
|
|
71
|
+
"providerPermissions": [],
|
|
72
|
+
"inputSchema": {
|
|
73
|
+
"type": "object",
|
|
74
|
+
"properties": {
|
|
75
|
+
"merchantId": {
|
|
76
|
+
"type": "integer",
|
|
77
|
+
"minimum": 1,
|
|
78
|
+
"description": "The Shopee merchant ID. Omit it when the connection has exactly one merchant."
|
|
79
|
+
},
|
|
80
|
+
"categoryId": {
|
|
81
|
+
"type": "integer",
|
|
82
|
+
"minimum": 1,
|
|
83
|
+
"description": "The Shopee global category ID."
|
|
84
|
+
},
|
|
85
|
+
"name": {
|
|
86
|
+
"type": "string",
|
|
87
|
+
"description": "The global product name."
|
|
88
|
+
},
|
|
89
|
+
"description": {
|
|
90
|
+
"type": "string",
|
|
91
|
+
"description": "The global product description."
|
|
92
|
+
},
|
|
93
|
+
"sku": {
|
|
94
|
+
"type": "string",
|
|
95
|
+
"description": "The seller-defined global product SKU."
|
|
96
|
+
},
|
|
97
|
+
"imageIds": {
|
|
98
|
+
"type": "array",
|
|
99
|
+
"items": {
|
|
100
|
+
"type": "string",
|
|
101
|
+
"minLength": 1,
|
|
102
|
+
"description": "A Shopee Media Space image ID."
|
|
103
|
+
},
|
|
104
|
+
"description": "Shopee Media Space image IDs for the product.",
|
|
105
|
+
"minItems": 1,
|
|
106
|
+
"maxItems": 9,
|
|
107
|
+
"uniqueItems": true
|
|
108
|
+
},
|
|
109
|
+
"originalPrice": {
|
|
110
|
+
"type": "number",
|
|
111
|
+
"exclusiveMinimum": 0,
|
|
112
|
+
"description": "The original global product price in the merchant base currency."
|
|
113
|
+
},
|
|
114
|
+
"stock": {
|
|
115
|
+
"type": "integer",
|
|
116
|
+
"minimum": 0,
|
|
117
|
+
"description": "The available normal stock for the product."
|
|
118
|
+
},
|
|
119
|
+
"weight": {
|
|
120
|
+
"type": "number",
|
|
121
|
+
"exclusiveMinimum": 0,
|
|
122
|
+
"description": "The package weight in kilograms."
|
|
123
|
+
},
|
|
124
|
+
"packageLength": {
|
|
125
|
+
"type": "number",
|
|
126
|
+
"exclusiveMinimum": 0,
|
|
127
|
+
"description": "The package length in centimeters."
|
|
128
|
+
},
|
|
129
|
+
"packageWidth": {
|
|
130
|
+
"type": "number",
|
|
131
|
+
"exclusiveMinimum": 0,
|
|
132
|
+
"description": "The package width in centimeters."
|
|
133
|
+
},
|
|
134
|
+
"packageHeight": {
|
|
135
|
+
"type": "number",
|
|
136
|
+
"exclusiveMinimum": 0,
|
|
137
|
+
"description": "The package height in centimeters."
|
|
138
|
+
},
|
|
139
|
+
"daysToShip": {
|
|
140
|
+
"type": "integer",
|
|
141
|
+
"minimum": 1,
|
|
142
|
+
"description": "The number of days needed to ship the product."
|
|
143
|
+
},
|
|
144
|
+
"condition": {
|
|
145
|
+
"type": "string",
|
|
146
|
+
"enum": [
|
|
147
|
+
"NEW",
|
|
148
|
+
"USED"
|
|
149
|
+
],
|
|
150
|
+
"description": "The product condition."
|
|
151
|
+
},
|
|
152
|
+
"brandId": {
|
|
153
|
+
"type": "integer",
|
|
154
|
+
"minimum": 1,
|
|
155
|
+
"description": "The Shopee brand ID."
|
|
156
|
+
},
|
|
157
|
+
"brandName": {
|
|
158
|
+
"type": "string",
|
|
159
|
+
"description": "The original brand name."
|
|
160
|
+
},
|
|
161
|
+
"attributes": {
|
|
162
|
+
"type": "array",
|
|
163
|
+
"items": {
|
|
164
|
+
"type": "object",
|
|
165
|
+
"properties": {
|
|
166
|
+
"attributeId": {
|
|
167
|
+
"type": "integer",
|
|
168
|
+
"minimum": 1,
|
|
169
|
+
"description": "The Shopee attribute ID."
|
|
170
|
+
},
|
|
171
|
+
"values": {
|
|
172
|
+
"type": "array",
|
|
173
|
+
"items": {
|
|
174
|
+
"type": "object",
|
|
175
|
+
"properties": {
|
|
176
|
+
"valueId": {
|
|
177
|
+
"type": "integer",
|
|
178
|
+
"description": "The predefined Shopee attribute value ID, or 0 for a custom value."
|
|
179
|
+
},
|
|
180
|
+
"originalValueName": {
|
|
181
|
+
"type": "string",
|
|
182
|
+
"description": "The predefined or custom attribute value name."
|
|
183
|
+
},
|
|
184
|
+
"valueUnit": {
|
|
185
|
+
"type": "string",
|
|
186
|
+
"description": "The unit for a quantitative attribute value."
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
"additionalProperties": false,
|
|
190
|
+
"description": "A value assigned to a Shopee global product attribute."
|
|
191
|
+
},
|
|
192
|
+
"description": "The values selected for this attribute.",
|
|
193
|
+
"minItems": 1
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
"additionalProperties": false,
|
|
197
|
+
"required": [
|
|
198
|
+
"attributeId"
|
|
199
|
+
],
|
|
200
|
+
"description": "A Shopee global product attribute and its selected values."
|
|
201
|
+
},
|
|
202
|
+
"description": "The product attributes required by its category."
|
|
203
|
+
},
|
|
204
|
+
"sellerStock": {
|
|
205
|
+
"type": "array",
|
|
206
|
+
"items": {
|
|
207
|
+
"type": "object",
|
|
208
|
+
"properties": {
|
|
209
|
+
"locationId": {
|
|
210
|
+
"type": "string",
|
|
211
|
+
"description": "The Shopee seller stock location ID."
|
|
212
|
+
},
|
|
213
|
+
"stock": {
|
|
214
|
+
"type": "integer",
|
|
215
|
+
"minimum": 0,
|
|
216
|
+
"description": "The available stock at this location."
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
"additionalProperties": false,
|
|
220
|
+
"description": "Stock held at a Shopee seller stock location."
|
|
221
|
+
},
|
|
222
|
+
"description": "Stock allocated to Shopee seller stock locations."
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
"additionalProperties": false,
|
|
226
|
+
"required": [
|
|
227
|
+
"categoryId",
|
|
228
|
+
"name",
|
|
229
|
+
"description",
|
|
230
|
+
"originalPrice",
|
|
231
|
+
"weight",
|
|
232
|
+
"daysToShip",
|
|
233
|
+
"condition"
|
|
234
|
+
],
|
|
235
|
+
"description": "The product information used to create a Shopee global product draft."
|
|
236
|
+
},
|
|
237
|
+
"outputSchema": {
|
|
238
|
+
"type": "object",
|
|
239
|
+
"properties": {
|
|
240
|
+
"requestId": {
|
|
241
|
+
"type": "string",
|
|
242
|
+
"description": "The Shopee request ID used for upstream error tracking."
|
|
243
|
+
},
|
|
244
|
+
"data": {
|
|
245
|
+
"type": "object",
|
|
246
|
+
"properties": {},
|
|
247
|
+
"additionalProperties": true,
|
|
248
|
+
"description": "The response data returned by Shopee Open Platform."
|
|
249
|
+
}
|
|
250
|
+
},
|
|
251
|
+
"additionalProperties": false,
|
|
252
|
+
"required": [
|
|
253
|
+
"data"
|
|
254
|
+
],
|
|
255
|
+
"description": "A normalized Shopee Open Platform response."
|
|
256
|
+
}
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"id": "shopee.get_global_attribute_tree",
|
|
260
|
+
"service": "shopee",
|
|
261
|
+
"name": "get_global_attribute_tree",
|
|
262
|
+
"description": "Get Shopee global product attributes for up to 20 category IDs.",
|
|
263
|
+
"operationType": "read",
|
|
264
|
+
"requiredScopes": [
|
|
265
|
+
"shopee.read"
|
|
266
|
+
],
|
|
267
|
+
"providerPermissions": [],
|
|
268
|
+
"inputSchema": {
|
|
269
|
+
"type": "object",
|
|
270
|
+
"properties": {
|
|
271
|
+
"merchantId": {
|
|
272
|
+
"type": "integer",
|
|
273
|
+
"minimum": 1,
|
|
274
|
+
"description": "The Shopee merchant ID. Omit it when the connection has exactly one merchant."
|
|
275
|
+
},
|
|
276
|
+
"categoryIds": {
|
|
277
|
+
"type": "array",
|
|
278
|
+
"items": {
|
|
279
|
+
"type": "integer",
|
|
280
|
+
"minimum": 1,
|
|
281
|
+
"description": "A Shopee global category ID."
|
|
282
|
+
},
|
|
283
|
+
"description": "The global category IDs whose attribute definitions should be returned.",
|
|
284
|
+
"minItems": 1,
|
|
285
|
+
"maxItems": 20,
|
|
286
|
+
"uniqueItems": true
|
|
287
|
+
},
|
|
288
|
+
"language": {
|
|
289
|
+
"type": "string",
|
|
290
|
+
"enum": [
|
|
291
|
+
"en",
|
|
292
|
+
"zh-hans"
|
|
293
|
+
],
|
|
294
|
+
"description": "The language used for category and attribute names."
|
|
295
|
+
}
|
|
296
|
+
},
|
|
297
|
+
"additionalProperties": false,
|
|
298
|
+
"required": [
|
|
299
|
+
"categoryIds"
|
|
300
|
+
],
|
|
301
|
+
"description": "The merchant, categories, and display language for global product attributes."
|
|
302
|
+
},
|
|
303
|
+
"outputSchema": {
|
|
304
|
+
"type": "object",
|
|
305
|
+
"properties": {
|
|
306
|
+
"requestId": {
|
|
307
|
+
"type": "string",
|
|
308
|
+
"description": "The Shopee request ID used for upstream error tracking."
|
|
309
|
+
},
|
|
310
|
+
"data": {
|
|
311
|
+
"type": "object",
|
|
312
|
+
"properties": {},
|
|
313
|
+
"additionalProperties": true,
|
|
314
|
+
"description": "The response data returned by Shopee Open Platform."
|
|
315
|
+
}
|
|
316
|
+
},
|
|
317
|
+
"additionalProperties": false,
|
|
318
|
+
"required": [
|
|
319
|
+
"data"
|
|
320
|
+
],
|
|
321
|
+
"description": "A normalized Shopee Open Platform response."
|
|
322
|
+
}
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"id": "shopee.get_global_items",
|
|
326
|
+
"service": "shopee",
|
|
327
|
+
"name": "get_global_items",
|
|
328
|
+
"description": "Get details for up to 20 Shopee global products.",
|
|
329
|
+
"operationType": "read",
|
|
330
|
+
"requiredScopes": [
|
|
331
|
+
"shopee.read"
|
|
332
|
+
],
|
|
333
|
+
"providerPermissions": [],
|
|
334
|
+
"inputSchema": {
|
|
335
|
+
"type": "object",
|
|
336
|
+
"properties": {
|
|
337
|
+
"merchantId": {
|
|
338
|
+
"type": "integer",
|
|
339
|
+
"minimum": 1,
|
|
340
|
+
"description": "The Shopee merchant ID. Omit it when the connection has exactly one merchant."
|
|
341
|
+
},
|
|
342
|
+
"globalItemIds": {
|
|
343
|
+
"type": "array",
|
|
344
|
+
"items": {
|
|
345
|
+
"type": "integer",
|
|
346
|
+
"minimum": 1,
|
|
347
|
+
"description": "A Shopee global product ID."
|
|
348
|
+
},
|
|
349
|
+
"description": "The global product IDs to retrieve.",
|
|
350
|
+
"minItems": 1,
|
|
351
|
+
"maxItems": 20,
|
|
352
|
+
"uniqueItems": true
|
|
353
|
+
}
|
|
354
|
+
},
|
|
355
|
+
"additionalProperties": false,
|
|
356
|
+
"required": [
|
|
357
|
+
"globalItemIds"
|
|
358
|
+
],
|
|
359
|
+
"description": "Shopee global product identifiers."
|
|
360
|
+
},
|
|
361
|
+
"outputSchema": {
|
|
362
|
+
"type": "object",
|
|
363
|
+
"properties": {
|
|
364
|
+
"requestId": {
|
|
365
|
+
"type": "string",
|
|
366
|
+
"description": "The Shopee request ID used for upstream error tracking."
|
|
367
|
+
},
|
|
368
|
+
"data": {
|
|
369
|
+
"type": "object",
|
|
370
|
+
"properties": {},
|
|
371
|
+
"additionalProperties": true,
|
|
372
|
+
"description": "The response data returned by Shopee Open Platform."
|
|
373
|
+
}
|
|
374
|
+
},
|
|
375
|
+
"additionalProperties": false,
|
|
376
|
+
"required": [
|
|
377
|
+
"data"
|
|
378
|
+
],
|
|
379
|
+
"description": "A normalized Shopee Open Platform response."
|
|
380
|
+
}
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"id": "shopee.get_item_models",
|
|
384
|
+
"service": "shopee",
|
|
385
|
+
"name": "get_item_models",
|
|
386
|
+
"description": "Get variation tiers, model prices, and model stock for a Shopee shop item.",
|
|
387
|
+
"operationType": "read",
|
|
388
|
+
"requiredScopes": [
|
|
389
|
+
"shopee.read"
|
|
390
|
+
],
|
|
391
|
+
"providerPermissions": [],
|
|
392
|
+
"inputSchema": {
|
|
393
|
+
"type": "object",
|
|
394
|
+
"properties": {
|
|
395
|
+
"shopId": {
|
|
396
|
+
"type": "integer",
|
|
397
|
+
"minimum": 1,
|
|
398
|
+
"description": "The Shopee shop ID. Omit it when the connection has exactly one shop."
|
|
399
|
+
},
|
|
400
|
+
"itemId": {
|
|
401
|
+
"type": "integer",
|
|
402
|
+
"minimum": 1,
|
|
403
|
+
"description": "The Shopee item ID."
|
|
404
|
+
}
|
|
405
|
+
},
|
|
406
|
+
"additionalProperties": false,
|
|
407
|
+
"required": [
|
|
408
|
+
"itemId"
|
|
409
|
+
],
|
|
410
|
+
"description": "A Shopee shop item whose variation models should be returned."
|
|
411
|
+
},
|
|
412
|
+
"outputSchema": {
|
|
413
|
+
"type": "object",
|
|
414
|
+
"properties": {
|
|
415
|
+
"requestId": {
|
|
416
|
+
"type": "string",
|
|
417
|
+
"description": "The Shopee request ID used for upstream error tracking."
|
|
418
|
+
},
|
|
419
|
+
"data": {
|
|
420
|
+
"type": "object",
|
|
421
|
+
"properties": {},
|
|
422
|
+
"additionalProperties": true,
|
|
423
|
+
"description": "The response data returned by Shopee Open Platform."
|
|
424
|
+
}
|
|
425
|
+
},
|
|
426
|
+
"additionalProperties": false,
|
|
427
|
+
"required": [
|
|
428
|
+
"data"
|
|
429
|
+
],
|
|
430
|
+
"description": "A normalized Shopee Open Platform response."
|
|
431
|
+
}
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
"id": "shopee.get_merchant_info",
|
|
435
|
+
"service": "shopee",
|
|
436
|
+
"name": "get_merchant_info",
|
|
437
|
+
"description": "Get the identity, region, currency, and authorization status of a Shopee merchant.",
|
|
438
|
+
"operationType": "read",
|
|
439
|
+
"requiredScopes": [
|
|
440
|
+
"shopee.read"
|
|
441
|
+
],
|
|
442
|
+
"providerPermissions": [],
|
|
443
|
+
"inputSchema": {
|
|
444
|
+
"type": "object",
|
|
445
|
+
"properties": {
|
|
446
|
+
"merchantId": {
|
|
447
|
+
"type": "integer",
|
|
448
|
+
"minimum": 1,
|
|
449
|
+
"description": "The Shopee merchant ID. Omit it when the connection has exactly one merchant."
|
|
450
|
+
}
|
|
451
|
+
},
|
|
452
|
+
"additionalProperties": false,
|
|
453
|
+
"description": "A Shopee merchant selected from the authorized CNSC account."
|
|
454
|
+
},
|
|
455
|
+
"outputSchema": {
|
|
456
|
+
"type": "object",
|
|
457
|
+
"properties": {
|
|
458
|
+
"requestId": {
|
|
459
|
+
"type": "string",
|
|
460
|
+
"description": "The Shopee request ID used for upstream error tracking."
|
|
461
|
+
},
|
|
462
|
+
"data": {
|
|
463
|
+
"type": "object",
|
|
464
|
+
"properties": {},
|
|
465
|
+
"additionalProperties": true,
|
|
466
|
+
"description": "The response data returned by Shopee Open Platform."
|
|
467
|
+
}
|
|
468
|
+
},
|
|
469
|
+
"additionalProperties": false,
|
|
470
|
+
"required": [
|
|
471
|
+
"data"
|
|
472
|
+
],
|
|
473
|
+
"description": "A normalized Shopee Open Platform response."
|
|
474
|
+
}
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
"id": "shopee.get_order_escrow",
|
|
478
|
+
"service": "shopee",
|
|
479
|
+
"name": "get_order_escrow",
|
|
480
|
+
"description": "Get Shopee accounting and fee details for one order.",
|
|
481
|
+
"operationType": "read",
|
|
482
|
+
"requiredScopes": [
|
|
483
|
+
"shopee.read"
|
|
484
|
+
],
|
|
485
|
+
"providerPermissions": [],
|
|
486
|
+
"inputSchema": {
|
|
487
|
+
"type": "object",
|
|
488
|
+
"properties": {
|
|
489
|
+
"shopId": {
|
|
490
|
+
"type": "integer",
|
|
491
|
+
"minimum": 1,
|
|
492
|
+
"description": "The Shopee shop ID. Omit it when the connection has exactly one shop."
|
|
493
|
+
},
|
|
494
|
+
"orderSerialNumber": {
|
|
495
|
+
"type": "string",
|
|
496
|
+
"description": "The Shopee order serial number."
|
|
497
|
+
}
|
|
498
|
+
},
|
|
499
|
+
"additionalProperties": false,
|
|
500
|
+
"required": [
|
|
501
|
+
"orderSerialNumber"
|
|
502
|
+
],
|
|
503
|
+
"description": "A Shopee order whose escrow accounting should be returned."
|
|
504
|
+
},
|
|
505
|
+
"outputSchema": {
|
|
506
|
+
"type": "object",
|
|
507
|
+
"properties": {
|
|
508
|
+
"requestId": {
|
|
509
|
+
"type": "string",
|
|
510
|
+
"description": "The Shopee request ID used for upstream error tracking."
|
|
511
|
+
},
|
|
512
|
+
"data": {
|
|
513
|
+
"type": "object",
|
|
514
|
+
"properties": {},
|
|
515
|
+
"additionalProperties": true,
|
|
516
|
+
"description": "The response data returned by Shopee Open Platform."
|
|
517
|
+
}
|
|
518
|
+
},
|
|
519
|
+
"additionalProperties": false,
|
|
520
|
+
"required": [
|
|
521
|
+
"data"
|
|
522
|
+
],
|
|
523
|
+
"description": "A normalized Shopee Open Platform response."
|
|
524
|
+
}
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
"id": "shopee.get_orders",
|
|
528
|
+
"service": "shopee",
|
|
529
|
+
"name": "get_orders",
|
|
530
|
+
"description": "Get detailed information for up to 50 Shopee orders from one shop.",
|
|
531
|
+
"operationType": "read",
|
|
532
|
+
"requiredScopes": [
|
|
533
|
+
"shopee.read"
|
|
534
|
+
],
|
|
535
|
+
"providerPermissions": [],
|
|
536
|
+
"inputSchema": {
|
|
537
|
+
"type": "object",
|
|
538
|
+
"properties": {
|
|
539
|
+
"shopId": {
|
|
540
|
+
"type": "integer",
|
|
541
|
+
"minimum": 1,
|
|
542
|
+
"description": "The Shopee shop ID. Omit it when the connection has exactly one shop."
|
|
543
|
+
},
|
|
544
|
+
"orderSerialNumbers": {
|
|
545
|
+
"type": "array",
|
|
546
|
+
"items": {
|
|
547
|
+
"type": "string",
|
|
548
|
+
"minLength": 1,
|
|
549
|
+
"description": "A Shopee order serial number."
|
|
550
|
+
},
|
|
551
|
+
"description": "The Shopee order serial numbers to retrieve.",
|
|
552
|
+
"minItems": 1,
|
|
553
|
+
"maxItems": 50,
|
|
554
|
+
"uniqueItems": true
|
|
555
|
+
},
|
|
556
|
+
"optionalFields": {
|
|
557
|
+
"type": "array",
|
|
558
|
+
"items": {
|
|
559
|
+
"type": "string",
|
|
560
|
+
"minLength": 1,
|
|
561
|
+
"description": "A field name from the Shopee get order detail API."
|
|
562
|
+
},
|
|
563
|
+
"description": "Additional documented order fields to include in the response.",
|
|
564
|
+
"minItems": 1,
|
|
565
|
+
"uniqueItems": true
|
|
566
|
+
}
|
|
567
|
+
},
|
|
568
|
+
"additionalProperties": false,
|
|
569
|
+
"required": [
|
|
570
|
+
"orderSerialNumbers"
|
|
571
|
+
],
|
|
572
|
+
"description": "Shopee order identifiers and optional response fields."
|
|
573
|
+
},
|
|
574
|
+
"outputSchema": {
|
|
575
|
+
"type": "object",
|
|
576
|
+
"properties": {
|
|
577
|
+
"requestId": {
|
|
578
|
+
"type": "string",
|
|
579
|
+
"description": "The Shopee request ID used for upstream error tracking."
|
|
580
|
+
},
|
|
581
|
+
"data": {
|
|
582
|
+
"type": "object",
|
|
583
|
+
"properties": {},
|
|
584
|
+
"additionalProperties": true,
|
|
585
|
+
"description": "The response data returned by Shopee Open Platform."
|
|
586
|
+
}
|
|
587
|
+
},
|
|
588
|
+
"additionalProperties": false,
|
|
589
|
+
"required": [
|
|
590
|
+
"data"
|
|
591
|
+
],
|
|
592
|
+
"description": "A normalized Shopee Open Platform response."
|
|
593
|
+
}
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
"id": "shopee.get_return",
|
|
597
|
+
"service": "shopee",
|
|
598
|
+
"name": "get_return",
|
|
599
|
+
"description": "Get the details and current workflow state of a Shopee return.",
|
|
600
|
+
"operationType": "read",
|
|
601
|
+
"requiredScopes": [
|
|
602
|
+
"shopee.read"
|
|
603
|
+
],
|
|
604
|
+
"providerPermissions": [],
|
|
605
|
+
"inputSchema": {
|
|
606
|
+
"type": "object",
|
|
607
|
+
"properties": {
|
|
608
|
+
"shopId": {
|
|
609
|
+
"type": "integer",
|
|
610
|
+
"minimum": 1,
|
|
611
|
+
"description": "The Shopee shop ID. Omit it when the connection has exactly one shop."
|
|
612
|
+
},
|
|
613
|
+
"returnSerialNumber": {
|
|
614
|
+
"type": "string",
|
|
615
|
+
"description": "The Shopee return serial number."
|
|
616
|
+
}
|
|
617
|
+
},
|
|
618
|
+
"additionalProperties": false,
|
|
619
|
+
"required": [
|
|
620
|
+
"returnSerialNumber"
|
|
621
|
+
],
|
|
622
|
+
"description": "A Shopee return selected from one shop."
|
|
623
|
+
},
|
|
624
|
+
"outputSchema": {
|
|
625
|
+
"type": "object",
|
|
626
|
+
"properties": {
|
|
627
|
+
"requestId": {
|
|
628
|
+
"type": "string",
|
|
629
|
+
"description": "The Shopee request ID used for upstream error tracking."
|
|
630
|
+
},
|
|
631
|
+
"data": {
|
|
632
|
+
"type": "object",
|
|
633
|
+
"properties": {},
|
|
634
|
+
"additionalProperties": true,
|
|
635
|
+
"description": "The response data returned by Shopee Open Platform."
|
|
636
|
+
}
|
|
637
|
+
},
|
|
638
|
+
"additionalProperties": false,
|
|
639
|
+
"required": [
|
|
640
|
+
"data"
|
|
641
|
+
],
|
|
642
|
+
"description": "A normalized Shopee Open Platform response."
|
|
643
|
+
}
|
|
644
|
+
},
|
|
645
|
+
{
|
|
646
|
+
"id": "shopee.get_shipping_parameters",
|
|
647
|
+
"service": "shopee",
|
|
648
|
+
"name": "get_shipping_parameters",
|
|
649
|
+
"description": "Get the pickup, drop-off, or non-integrated shipping options for an order package.",
|
|
650
|
+
"operationType": "read",
|
|
651
|
+
"requiredScopes": [
|
|
652
|
+
"shopee.read"
|
|
653
|
+
],
|
|
654
|
+
"providerPermissions": [],
|
|
655
|
+
"inputSchema": {
|
|
656
|
+
"type": "object",
|
|
657
|
+
"properties": {
|
|
658
|
+
"shopId": {
|
|
659
|
+
"type": "integer",
|
|
660
|
+
"minimum": 1,
|
|
661
|
+
"description": "The Shopee shop ID. Omit it when the connection has exactly one shop."
|
|
662
|
+
},
|
|
663
|
+
"orderSerialNumber": {
|
|
664
|
+
"type": "string",
|
|
665
|
+
"description": "The Shopee order serial number."
|
|
666
|
+
},
|
|
667
|
+
"packageNumber": {
|
|
668
|
+
"type": "string",
|
|
669
|
+
"description": "The package number for an order split into packages."
|
|
670
|
+
}
|
|
671
|
+
},
|
|
672
|
+
"additionalProperties": false,
|
|
673
|
+
"required": [
|
|
674
|
+
"orderSerialNumber"
|
|
675
|
+
],
|
|
676
|
+
"description": "A Shopee order package ready for shipment."
|
|
677
|
+
},
|
|
678
|
+
"outputSchema": {
|
|
679
|
+
"type": "object",
|
|
680
|
+
"properties": {
|
|
681
|
+
"requestId": {
|
|
682
|
+
"type": "string",
|
|
683
|
+
"description": "The Shopee request ID used for upstream error tracking."
|
|
684
|
+
},
|
|
685
|
+
"data": {
|
|
686
|
+
"type": "object",
|
|
687
|
+
"properties": {},
|
|
688
|
+
"additionalProperties": true,
|
|
689
|
+
"description": "The response data returned by Shopee Open Platform."
|
|
690
|
+
}
|
|
691
|
+
},
|
|
692
|
+
"additionalProperties": false,
|
|
693
|
+
"required": [
|
|
694
|
+
"data"
|
|
695
|
+
],
|
|
696
|
+
"description": "A normalized Shopee Open Platform response."
|
|
697
|
+
}
|
|
698
|
+
},
|
|
699
|
+
{
|
|
700
|
+
"id": "shopee.get_shop_info",
|
|
701
|
+
"service": "shopee",
|
|
702
|
+
"name": "get_shop_info",
|
|
703
|
+
"description": "Get the profile, region, authorization, and cross-border status of a Shopee shop.",
|
|
704
|
+
"operationType": "read",
|
|
705
|
+
"requiredScopes": [
|
|
706
|
+
"shopee.read"
|
|
707
|
+
],
|
|
708
|
+
"providerPermissions": [],
|
|
709
|
+
"inputSchema": {
|
|
710
|
+
"type": "object",
|
|
711
|
+
"properties": {
|
|
712
|
+
"shopId": {
|
|
713
|
+
"type": "integer",
|
|
714
|
+
"minimum": 1,
|
|
715
|
+
"description": "The Shopee shop ID. Omit it when the connection has exactly one shop."
|
|
716
|
+
}
|
|
717
|
+
},
|
|
718
|
+
"additionalProperties": false,
|
|
719
|
+
"description": "A Shopee shop selected from the authorized account."
|
|
720
|
+
},
|
|
721
|
+
"outputSchema": {
|
|
722
|
+
"type": "object",
|
|
723
|
+
"properties": {
|
|
724
|
+
"requestId": {
|
|
725
|
+
"type": "string",
|
|
726
|
+
"description": "The Shopee request ID used for upstream error tracking."
|
|
727
|
+
},
|
|
728
|
+
"data": {
|
|
729
|
+
"type": "object",
|
|
730
|
+
"properties": {},
|
|
731
|
+
"additionalProperties": true,
|
|
732
|
+
"description": "The response data returned by Shopee Open Platform."
|
|
733
|
+
}
|
|
734
|
+
},
|
|
735
|
+
"additionalProperties": false,
|
|
736
|
+
"required": [
|
|
737
|
+
"data"
|
|
738
|
+
],
|
|
739
|
+
"description": "A normalized Shopee Open Platform response."
|
|
740
|
+
}
|
|
741
|
+
},
|
|
742
|
+
{
|
|
743
|
+
"id": "shopee.get_shop_items",
|
|
744
|
+
"service": "shopee",
|
|
745
|
+
"name": "get_shop_items",
|
|
746
|
+
"description": "Get base information for up to 50 Shopee shop items.",
|
|
747
|
+
"operationType": "read",
|
|
748
|
+
"requiredScopes": [
|
|
749
|
+
"shopee.read"
|
|
750
|
+
],
|
|
751
|
+
"providerPermissions": [],
|
|
752
|
+
"inputSchema": {
|
|
753
|
+
"type": "object",
|
|
754
|
+
"properties": {
|
|
755
|
+
"shopId": {
|
|
756
|
+
"type": "integer",
|
|
757
|
+
"minimum": 1,
|
|
758
|
+
"description": "The Shopee shop ID. Omit it when the connection has exactly one shop."
|
|
759
|
+
},
|
|
760
|
+
"itemIds": {
|
|
761
|
+
"type": "array",
|
|
762
|
+
"items": {
|
|
763
|
+
"type": "integer",
|
|
764
|
+
"minimum": 1,
|
|
765
|
+
"description": "A Shopee item ID."
|
|
766
|
+
},
|
|
767
|
+
"description": "The Shopee item IDs to retrieve.",
|
|
768
|
+
"minItems": 1,
|
|
769
|
+
"maxItems": 50,
|
|
770
|
+
"uniqueItems": true
|
|
771
|
+
},
|
|
772
|
+
"includeTaxInfo": {
|
|
773
|
+
"type": "boolean",
|
|
774
|
+
"description": "Whether to include item tax information."
|
|
775
|
+
},
|
|
776
|
+
"includeComplaintPolicy": {
|
|
777
|
+
"type": "boolean",
|
|
778
|
+
"description": "Whether to include item complaint policies."
|
|
779
|
+
}
|
|
780
|
+
},
|
|
781
|
+
"additionalProperties": false,
|
|
782
|
+
"required": [
|
|
783
|
+
"itemIds"
|
|
784
|
+
],
|
|
785
|
+
"description": "Shopee shop item identifiers and optional detail sections."
|
|
786
|
+
},
|
|
787
|
+
"outputSchema": {
|
|
788
|
+
"type": "object",
|
|
789
|
+
"properties": {
|
|
790
|
+
"requestId": {
|
|
791
|
+
"type": "string",
|
|
792
|
+
"description": "The Shopee request ID used for upstream error tracking."
|
|
793
|
+
},
|
|
794
|
+
"data": {
|
|
795
|
+
"type": "object",
|
|
796
|
+
"properties": {},
|
|
797
|
+
"additionalProperties": true,
|
|
798
|
+
"description": "The response data returned by Shopee Open Platform."
|
|
799
|
+
}
|
|
800
|
+
},
|
|
801
|
+
"additionalProperties": false,
|
|
802
|
+
"required": [
|
|
803
|
+
"data"
|
|
804
|
+
],
|
|
805
|
+
"description": "A normalized Shopee Open Platform response."
|
|
806
|
+
}
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
"id": "shopee.get_tracking_info",
|
|
810
|
+
"service": "shopee",
|
|
811
|
+
"name": "get_tracking_info",
|
|
812
|
+
"description": "Get logistics tracking events for a Shopee order package.",
|
|
813
|
+
"operationType": "read",
|
|
814
|
+
"requiredScopes": [
|
|
815
|
+
"shopee.read"
|
|
816
|
+
],
|
|
817
|
+
"providerPermissions": [],
|
|
818
|
+
"inputSchema": {
|
|
819
|
+
"type": "object",
|
|
820
|
+
"properties": {
|
|
821
|
+
"shopId": {
|
|
822
|
+
"type": "integer",
|
|
823
|
+
"minimum": 1,
|
|
824
|
+
"description": "The Shopee shop ID. Omit it when the connection has exactly one shop."
|
|
825
|
+
},
|
|
826
|
+
"orderSerialNumber": {
|
|
827
|
+
"type": "string",
|
|
828
|
+
"description": "The Shopee order serial number."
|
|
829
|
+
},
|
|
830
|
+
"packageNumber": {
|
|
831
|
+
"type": "string",
|
|
832
|
+
"description": "The package number for an order split into packages."
|
|
833
|
+
}
|
|
834
|
+
},
|
|
835
|
+
"additionalProperties": false,
|
|
836
|
+
"required": [
|
|
837
|
+
"orderSerialNumber"
|
|
838
|
+
],
|
|
839
|
+
"description": "A shipped Shopee order package."
|
|
840
|
+
},
|
|
841
|
+
"outputSchema": {
|
|
842
|
+
"type": "object",
|
|
843
|
+
"properties": {
|
|
844
|
+
"requestId": {
|
|
845
|
+
"type": "string",
|
|
846
|
+
"description": "The Shopee request ID used for upstream error tracking."
|
|
847
|
+
},
|
|
848
|
+
"data": {
|
|
849
|
+
"type": "object",
|
|
850
|
+
"properties": {},
|
|
851
|
+
"additionalProperties": true,
|
|
852
|
+
"description": "The response data returned by Shopee Open Platform."
|
|
853
|
+
}
|
|
854
|
+
},
|
|
855
|
+
"additionalProperties": false,
|
|
856
|
+
"required": [
|
|
857
|
+
"data"
|
|
858
|
+
],
|
|
859
|
+
"description": "A normalized Shopee Open Platform response."
|
|
860
|
+
}
|
|
861
|
+
},
|
|
862
|
+
{
|
|
863
|
+
"id": "shopee.get_tracking_number",
|
|
864
|
+
"service": "shopee",
|
|
865
|
+
"name": "get_tracking_number",
|
|
866
|
+
"description": "Get carrier tracking numbers for a shipped Shopee order package.",
|
|
867
|
+
"operationType": "read",
|
|
868
|
+
"requiredScopes": [
|
|
869
|
+
"shopee.read"
|
|
870
|
+
],
|
|
871
|
+
"providerPermissions": [],
|
|
872
|
+
"inputSchema": {
|
|
873
|
+
"type": "object",
|
|
874
|
+
"properties": {
|
|
875
|
+
"shopId": {
|
|
876
|
+
"type": "integer",
|
|
877
|
+
"minimum": 1,
|
|
878
|
+
"description": "The Shopee shop ID. Omit it when the connection has exactly one shop."
|
|
879
|
+
},
|
|
880
|
+
"orderSerialNumber": {
|
|
881
|
+
"type": "string",
|
|
882
|
+
"description": "The Shopee order serial number."
|
|
883
|
+
},
|
|
884
|
+
"packageNumber": {
|
|
885
|
+
"type": "string",
|
|
886
|
+
"description": "The package number for an order split into packages."
|
|
887
|
+
},
|
|
888
|
+
"optionalFields": {
|
|
889
|
+
"type": "array",
|
|
890
|
+
"items": {
|
|
891
|
+
"type": "string",
|
|
892
|
+
"enum": [
|
|
893
|
+
"plp_number",
|
|
894
|
+
"first_mile_tracking_number",
|
|
895
|
+
"last_mile_tracking_number"
|
|
896
|
+
],
|
|
897
|
+
"description": "A supported tracking number field."
|
|
898
|
+
},
|
|
899
|
+
"description": "Additional tracking number fields to return.",
|
|
900
|
+
"uniqueItems": true
|
|
901
|
+
}
|
|
902
|
+
},
|
|
903
|
+
"additionalProperties": false,
|
|
904
|
+
"required": [
|
|
905
|
+
"orderSerialNumber"
|
|
906
|
+
],
|
|
907
|
+
"description": "A shipped Shopee order package and optional tracking fields."
|
|
908
|
+
},
|
|
909
|
+
"outputSchema": {
|
|
910
|
+
"type": "object",
|
|
911
|
+
"properties": {
|
|
912
|
+
"requestId": {
|
|
913
|
+
"type": "string",
|
|
914
|
+
"description": "The Shopee request ID used for upstream error tracking."
|
|
915
|
+
},
|
|
916
|
+
"data": {
|
|
917
|
+
"type": "object",
|
|
918
|
+
"properties": {},
|
|
919
|
+
"additionalProperties": true,
|
|
920
|
+
"description": "The response data returned by Shopee Open Platform."
|
|
921
|
+
}
|
|
922
|
+
},
|
|
923
|
+
"additionalProperties": false,
|
|
924
|
+
"required": [
|
|
925
|
+
"data"
|
|
926
|
+
],
|
|
927
|
+
"description": "A normalized Shopee Open Platform response."
|
|
928
|
+
}
|
|
929
|
+
},
|
|
930
|
+
{
|
|
931
|
+
"id": "shopee.list_global_brands",
|
|
932
|
+
"service": "shopee",
|
|
933
|
+
"name": "list_global_brands",
|
|
934
|
+
"description": "List Shopee brands available for a global product category.",
|
|
935
|
+
"operationType": "read",
|
|
936
|
+
"requiredScopes": [
|
|
937
|
+
"shopee.read"
|
|
938
|
+
],
|
|
939
|
+
"providerPermissions": [],
|
|
940
|
+
"inputSchema": {
|
|
941
|
+
"type": "object",
|
|
942
|
+
"properties": {
|
|
943
|
+
"merchantId": {
|
|
944
|
+
"type": "integer",
|
|
945
|
+
"minimum": 1,
|
|
946
|
+
"description": "The Shopee merchant ID. Omit it when the connection has exactly one merchant."
|
|
947
|
+
},
|
|
948
|
+
"categoryId": {
|
|
949
|
+
"type": "integer",
|
|
950
|
+
"minimum": 1,
|
|
951
|
+
"description": "The Shopee global category ID."
|
|
952
|
+
},
|
|
953
|
+
"offset": {
|
|
954
|
+
"type": "integer",
|
|
955
|
+
"minimum": 0,
|
|
956
|
+
"description": "The zero-based result offset."
|
|
957
|
+
},
|
|
958
|
+
"pageSize": {
|
|
959
|
+
"type": "integer",
|
|
960
|
+
"minimum": 1,
|
|
961
|
+
"maximum": 100,
|
|
962
|
+
"description": "The number of brands to return, from 1 to 100."
|
|
963
|
+
},
|
|
964
|
+
"status": {
|
|
965
|
+
"type": "integer",
|
|
966
|
+
"minimum": 1,
|
|
967
|
+
"maximum": 2,
|
|
968
|
+
"description": "The brand status: 1 for normal or 2 for pending."
|
|
969
|
+
}
|
|
970
|
+
},
|
|
971
|
+
"additionalProperties": false,
|
|
972
|
+
"required": [
|
|
973
|
+
"categoryId"
|
|
974
|
+
],
|
|
975
|
+
"description": "The category and pagination parameters for Shopee global brands."
|
|
976
|
+
},
|
|
977
|
+
"outputSchema": {
|
|
978
|
+
"type": "object",
|
|
979
|
+
"properties": {
|
|
980
|
+
"requestId": {
|
|
981
|
+
"type": "string",
|
|
982
|
+
"description": "The Shopee request ID used for upstream error tracking."
|
|
983
|
+
},
|
|
984
|
+
"data": {
|
|
985
|
+
"type": "object",
|
|
986
|
+
"properties": {},
|
|
987
|
+
"additionalProperties": true,
|
|
988
|
+
"description": "The response data returned by Shopee Open Platform."
|
|
989
|
+
}
|
|
990
|
+
},
|
|
991
|
+
"additionalProperties": false,
|
|
992
|
+
"required": [
|
|
993
|
+
"data"
|
|
994
|
+
],
|
|
995
|
+
"description": "A normalized Shopee Open Platform response."
|
|
996
|
+
}
|
|
997
|
+
},
|
|
998
|
+
{
|
|
999
|
+
"id": "shopee.list_global_categories",
|
|
1000
|
+
"service": "shopee",
|
|
1001
|
+
"name": "list_global_categories",
|
|
1002
|
+
"description": "List the Shopee global product category tree for a cross-border merchant.",
|
|
1003
|
+
"operationType": "read",
|
|
1004
|
+
"requiredScopes": [
|
|
1005
|
+
"shopee.read"
|
|
1006
|
+
],
|
|
1007
|
+
"providerPermissions": [],
|
|
1008
|
+
"inputSchema": {
|
|
1009
|
+
"type": "object",
|
|
1010
|
+
"properties": {
|
|
1011
|
+
"merchantId": {
|
|
1012
|
+
"type": "integer",
|
|
1013
|
+
"minimum": 1,
|
|
1014
|
+
"description": "The Shopee merchant ID. Omit it when the connection has exactly one merchant."
|
|
1015
|
+
},
|
|
1016
|
+
"language": {
|
|
1017
|
+
"type": "string",
|
|
1018
|
+
"enum": [
|
|
1019
|
+
"en",
|
|
1020
|
+
"zh-hans"
|
|
1021
|
+
],
|
|
1022
|
+
"description": "The language used for category and attribute names."
|
|
1023
|
+
}
|
|
1024
|
+
},
|
|
1025
|
+
"additionalProperties": false,
|
|
1026
|
+
"description": "The merchant and display language for the global category tree."
|
|
1027
|
+
},
|
|
1028
|
+
"outputSchema": {
|
|
1029
|
+
"type": "object",
|
|
1030
|
+
"properties": {
|
|
1031
|
+
"requestId": {
|
|
1032
|
+
"type": "string",
|
|
1033
|
+
"description": "The Shopee request ID used for upstream error tracking."
|
|
1034
|
+
},
|
|
1035
|
+
"data": {
|
|
1036
|
+
"type": "object",
|
|
1037
|
+
"properties": {},
|
|
1038
|
+
"additionalProperties": true,
|
|
1039
|
+
"description": "The response data returned by Shopee Open Platform."
|
|
1040
|
+
}
|
|
1041
|
+
},
|
|
1042
|
+
"additionalProperties": false,
|
|
1043
|
+
"required": [
|
|
1044
|
+
"data"
|
|
1045
|
+
],
|
|
1046
|
+
"description": "A normalized Shopee Open Platform response."
|
|
1047
|
+
}
|
|
1048
|
+
},
|
|
1049
|
+
{
|
|
1050
|
+
"id": "shopee.list_global_items",
|
|
1051
|
+
"service": "shopee",
|
|
1052
|
+
"name": "list_global_items",
|
|
1053
|
+
"description": "List global products owned by a Shopee cross-border merchant.",
|
|
1054
|
+
"operationType": "read",
|
|
1055
|
+
"requiredScopes": [
|
|
1056
|
+
"shopee.read"
|
|
1057
|
+
],
|
|
1058
|
+
"providerPermissions": [],
|
|
1059
|
+
"inputSchema": {
|
|
1060
|
+
"type": "object",
|
|
1061
|
+
"properties": {
|
|
1062
|
+
"merchantId": {
|
|
1063
|
+
"type": "integer",
|
|
1064
|
+
"minimum": 1,
|
|
1065
|
+
"description": "The Shopee merchant ID. Omit it when the connection has exactly one merchant."
|
|
1066
|
+
},
|
|
1067
|
+
"cursor": {
|
|
1068
|
+
"type": "string",
|
|
1069
|
+
"description": "The cursor returned by the previous page."
|
|
1070
|
+
},
|
|
1071
|
+
"pageSize": {
|
|
1072
|
+
"type": "integer",
|
|
1073
|
+
"minimum": 1,
|
|
1074
|
+
"maximum": 50,
|
|
1075
|
+
"description": "The number of global products to return, from 1 to 50."
|
|
1076
|
+
},
|
|
1077
|
+
"updatedFrom": {
|
|
1078
|
+
"type": "integer",
|
|
1079
|
+
"minimum": 0,
|
|
1080
|
+
"description": "The earliest item update time as a Unix timestamp in seconds."
|
|
1081
|
+
},
|
|
1082
|
+
"updatedTo": {
|
|
1083
|
+
"type": "integer",
|
|
1084
|
+
"minimum": 0,
|
|
1085
|
+
"description": "The latest item update time as a Unix timestamp in seconds."
|
|
1086
|
+
}
|
|
1087
|
+
},
|
|
1088
|
+
"additionalProperties": false,
|
|
1089
|
+
"description": "Cursor and update-time filters for Shopee global products."
|
|
1090
|
+
},
|
|
1091
|
+
"outputSchema": {
|
|
1092
|
+
"type": "object",
|
|
1093
|
+
"properties": {
|
|
1094
|
+
"requestId": {
|
|
1095
|
+
"type": "string",
|
|
1096
|
+
"description": "The Shopee request ID used for upstream error tracking."
|
|
1097
|
+
},
|
|
1098
|
+
"data": {
|
|
1099
|
+
"type": "object",
|
|
1100
|
+
"properties": {},
|
|
1101
|
+
"additionalProperties": true,
|
|
1102
|
+
"description": "The response data returned by Shopee Open Platform."
|
|
1103
|
+
}
|
|
1104
|
+
},
|
|
1105
|
+
"additionalProperties": false,
|
|
1106
|
+
"required": [
|
|
1107
|
+
"data"
|
|
1108
|
+
],
|
|
1109
|
+
"description": "A normalized Shopee Open Platform response."
|
|
1110
|
+
}
|
|
1111
|
+
},
|
|
1112
|
+
{
|
|
1113
|
+
"id": "shopee.list_merchant_shops",
|
|
1114
|
+
"service": "shopee",
|
|
1115
|
+
"name": "list_merchant_shops",
|
|
1116
|
+
"description": "List shops authorized and bound to a Shopee merchant.",
|
|
1117
|
+
"operationType": "read",
|
|
1118
|
+
"requiredScopes": [
|
|
1119
|
+
"shopee.read"
|
|
1120
|
+
],
|
|
1121
|
+
"providerPermissions": [],
|
|
1122
|
+
"inputSchema": {
|
|
1123
|
+
"type": "object",
|
|
1124
|
+
"properties": {
|
|
1125
|
+
"merchantId": {
|
|
1126
|
+
"type": "integer",
|
|
1127
|
+
"minimum": 1,
|
|
1128
|
+
"description": "The Shopee merchant ID. Omit it when the connection has exactly one merchant."
|
|
1129
|
+
},
|
|
1130
|
+
"page": {
|
|
1131
|
+
"type": "integer",
|
|
1132
|
+
"minimum": 1,
|
|
1133
|
+
"description": "The one-based page number to retrieve."
|
|
1134
|
+
},
|
|
1135
|
+
"pageSize": {
|
|
1136
|
+
"type": "integer",
|
|
1137
|
+
"minimum": 1,
|
|
1138
|
+
"maximum": 500,
|
|
1139
|
+
"description": "The number of shops to return, from 1 to 500."
|
|
1140
|
+
}
|
|
1141
|
+
},
|
|
1142
|
+
"additionalProperties": false,
|
|
1143
|
+
"description": "Pagination parameters for shops bound to a Shopee merchant."
|
|
1144
|
+
},
|
|
1145
|
+
"outputSchema": {
|
|
1146
|
+
"type": "object",
|
|
1147
|
+
"properties": {
|
|
1148
|
+
"requestId": {
|
|
1149
|
+
"type": "string",
|
|
1150
|
+
"description": "The Shopee request ID used for upstream error tracking."
|
|
1151
|
+
},
|
|
1152
|
+
"data": {
|
|
1153
|
+
"type": "object",
|
|
1154
|
+
"properties": {},
|
|
1155
|
+
"additionalProperties": true,
|
|
1156
|
+
"description": "The response data returned by Shopee Open Platform."
|
|
1157
|
+
}
|
|
1158
|
+
},
|
|
1159
|
+
"additionalProperties": false,
|
|
1160
|
+
"required": [
|
|
1161
|
+
"data"
|
|
1162
|
+
],
|
|
1163
|
+
"description": "A normalized Shopee Open Platform response."
|
|
1164
|
+
}
|
|
1165
|
+
},
|
|
1166
|
+
{
|
|
1167
|
+
"id": "shopee.list_orders",
|
|
1168
|
+
"service": "shopee",
|
|
1169
|
+
"name": "list_orders",
|
|
1170
|
+
"description": "List Shopee shop orders created or updated in a time range of at most 15 days.",
|
|
1171
|
+
"operationType": "read",
|
|
1172
|
+
"requiredScopes": [
|
|
1173
|
+
"shopee.read"
|
|
1174
|
+
],
|
|
1175
|
+
"providerPermissions": [],
|
|
1176
|
+
"inputSchema": {
|
|
1177
|
+
"type": "object",
|
|
1178
|
+
"properties": {
|
|
1179
|
+
"shopId": {
|
|
1180
|
+
"type": "integer",
|
|
1181
|
+
"minimum": 1,
|
|
1182
|
+
"description": "The Shopee shop ID. Omit it when the connection has exactly one shop."
|
|
1183
|
+
},
|
|
1184
|
+
"timeRangeField": {
|
|
1185
|
+
"type": "string",
|
|
1186
|
+
"enum": [
|
|
1187
|
+
"create_time",
|
|
1188
|
+
"update_time"
|
|
1189
|
+
],
|
|
1190
|
+
"description": "The order timestamp field used for the range."
|
|
1191
|
+
},
|
|
1192
|
+
"timeFrom": {
|
|
1193
|
+
"type": "integer",
|
|
1194
|
+
"minimum": 0,
|
|
1195
|
+
"description": "The inclusive range start as a Unix timestamp in seconds."
|
|
1196
|
+
},
|
|
1197
|
+
"timeTo": {
|
|
1198
|
+
"type": "integer",
|
|
1199
|
+
"minimum": 0,
|
|
1200
|
+
"description": "The inclusive range end as a Unix timestamp in seconds."
|
|
1201
|
+
},
|
|
1202
|
+
"pageSize": {
|
|
1203
|
+
"type": "integer",
|
|
1204
|
+
"minimum": 1,
|
|
1205
|
+
"maximum": 100,
|
|
1206
|
+
"description": "The number of orders to return, from 1 to 100."
|
|
1207
|
+
},
|
|
1208
|
+
"cursor": {
|
|
1209
|
+
"type": "string",
|
|
1210
|
+
"description": "The cursor returned by the previous page."
|
|
1211
|
+
},
|
|
1212
|
+
"orderStatus": {
|
|
1213
|
+
"type": "string",
|
|
1214
|
+
"enum": [
|
|
1215
|
+
"UNPAID",
|
|
1216
|
+
"READY_TO_SHIP",
|
|
1217
|
+
"PROCESSED",
|
|
1218
|
+
"SHIPPED",
|
|
1219
|
+
"COMPLETED",
|
|
1220
|
+
"IN_CANCEL",
|
|
1221
|
+
"CANCELLED",
|
|
1222
|
+
"INVOICE_PENDING"
|
|
1223
|
+
],
|
|
1224
|
+
"description": "The Shopee order status to include."
|
|
1225
|
+
}
|
|
1226
|
+
},
|
|
1227
|
+
"additionalProperties": false,
|
|
1228
|
+
"required": [
|
|
1229
|
+
"timeFrom",
|
|
1230
|
+
"timeTo"
|
|
1231
|
+
],
|
|
1232
|
+
"description": "Filters and cursor pagination for Shopee shop orders."
|
|
1233
|
+
},
|
|
1234
|
+
"outputSchema": {
|
|
1235
|
+
"type": "object",
|
|
1236
|
+
"properties": {
|
|
1237
|
+
"requestId": {
|
|
1238
|
+
"type": "string",
|
|
1239
|
+
"description": "The Shopee request ID used for upstream error tracking."
|
|
1240
|
+
},
|
|
1241
|
+
"data": {
|
|
1242
|
+
"type": "object",
|
|
1243
|
+
"properties": {},
|
|
1244
|
+
"additionalProperties": true,
|
|
1245
|
+
"description": "The response data returned by Shopee Open Platform."
|
|
1246
|
+
}
|
|
1247
|
+
},
|
|
1248
|
+
"additionalProperties": false,
|
|
1249
|
+
"required": [
|
|
1250
|
+
"data"
|
|
1251
|
+
],
|
|
1252
|
+
"description": "A normalized Shopee Open Platform response."
|
|
1253
|
+
}
|
|
1254
|
+
},
|
|
1255
|
+
{
|
|
1256
|
+
"id": "shopee.list_returns",
|
|
1257
|
+
"service": "shopee",
|
|
1258
|
+
"name": "list_returns",
|
|
1259
|
+
"description": "List Shopee returns by creation time, update time, and workflow status.",
|
|
1260
|
+
"operationType": "read",
|
|
1261
|
+
"requiredScopes": [
|
|
1262
|
+
"shopee.read"
|
|
1263
|
+
],
|
|
1264
|
+
"providerPermissions": [],
|
|
1265
|
+
"inputSchema": {
|
|
1266
|
+
"type": "object",
|
|
1267
|
+
"properties": {
|
|
1268
|
+
"shopId": {
|
|
1269
|
+
"type": "integer",
|
|
1270
|
+
"minimum": 1,
|
|
1271
|
+
"description": "The Shopee shop ID. Omit it when the connection has exactly one shop."
|
|
1272
|
+
},
|
|
1273
|
+
"page": {
|
|
1274
|
+
"type": "integer",
|
|
1275
|
+
"minimum": 1,
|
|
1276
|
+
"description": "The one-based page number."
|
|
1277
|
+
},
|
|
1278
|
+
"pageSize": {
|
|
1279
|
+
"type": "integer",
|
|
1280
|
+
"minimum": 1,
|
|
1281
|
+
"maximum": 100,
|
|
1282
|
+
"description": "The number of returns to include, from 1 to 100."
|
|
1283
|
+
},
|
|
1284
|
+
"createdFrom": {
|
|
1285
|
+
"type": "integer",
|
|
1286
|
+
"minimum": 0,
|
|
1287
|
+
"description": "The earliest return creation time as a Unix timestamp."
|
|
1288
|
+
},
|
|
1289
|
+
"createdTo": {
|
|
1290
|
+
"type": "integer",
|
|
1291
|
+
"minimum": 0,
|
|
1292
|
+
"description": "The latest return creation time as a Unix timestamp."
|
|
1293
|
+
},
|
|
1294
|
+
"updatedFrom": {
|
|
1295
|
+
"type": "integer",
|
|
1296
|
+
"minimum": 0,
|
|
1297
|
+
"description": "The earliest return update time as a Unix timestamp."
|
|
1298
|
+
},
|
|
1299
|
+
"updatedTo": {
|
|
1300
|
+
"type": "integer",
|
|
1301
|
+
"minimum": 0,
|
|
1302
|
+
"description": "The latest return update time as a Unix timestamp."
|
|
1303
|
+
},
|
|
1304
|
+
"status": {
|
|
1305
|
+
"type": "string",
|
|
1306
|
+
"description": "A Shopee ReturnStatus value."
|
|
1307
|
+
},
|
|
1308
|
+
"negotiationStatus": {
|
|
1309
|
+
"type": "string",
|
|
1310
|
+
"description": "A Shopee NegotiationStatus value."
|
|
1311
|
+
},
|
|
1312
|
+
"sellerProofStatus": {
|
|
1313
|
+
"type": "string",
|
|
1314
|
+
"description": "A Shopee SellerProofStatus value."
|
|
1315
|
+
},
|
|
1316
|
+
"sellerCompensationStatus": {
|
|
1317
|
+
"type": "string",
|
|
1318
|
+
"description": "A Shopee SellerCompensationStatus value."
|
|
1319
|
+
}
|
|
1320
|
+
},
|
|
1321
|
+
"additionalProperties": false,
|
|
1322
|
+
"description": "Filters and page pagination for Shopee returns."
|
|
1323
|
+
},
|
|
1324
|
+
"outputSchema": {
|
|
1325
|
+
"type": "object",
|
|
1326
|
+
"properties": {
|
|
1327
|
+
"requestId": {
|
|
1328
|
+
"type": "string",
|
|
1329
|
+
"description": "The Shopee request ID used for upstream error tracking."
|
|
1330
|
+
},
|
|
1331
|
+
"data": {
|
|
1332
|
+
"type": "object",
|
|
1333
|
+
"properties": {},
|
|
1334
|
+
"additionalProperties": true,
|
|
1335
|
+
"description": "The response data returned by Shopee Open Platform."
|
|
1336
|
+
}
|
|
1337
|
+
},
|
|
1338
|
+
"additionalProperties": false,
|
|
1339
|
+
"required": [
|
|
1340
|
+
"data"
|
|
1341
|
+
],
|
|
1342
|
+
"description": "A normalized Shopee Open Platform response."
|
|
1343
|
+
}
|
|
1344
|
+
},
|
|
1345
|
+
{
|
|
1346
|
+
"id": "shopee.list_shop_items",
|
|
1347
|
+
"service": "shopee",
|
|
1348
|
+
"name": "list_shop_items",
|
|
1349
|
+
"description": "List Shopee shop items by listing status and update time.",
|
|
1350
|
+
"operationType": "read",
|
|
1351
|
+
"requiredScopes": [
|
|
1352
|
+
"shopee.read"
|
|
1353
|
+
],
|
|
1354
|
+
"providerPermissions": [],
|
|
1355
|
+
"inputSchema": {
|
|
1356
|
+
"type": "object",
|
|
1357
|
+
"properties": {
|
|
1358
|
+
"shopId": {
|
|
1359
|
+
"type": "integer",
|
|
1360
|
+
"minimum": 1,
|
|
1361
|
+
"description": "The Shopee shop ID. Omit it when the connection has exactly one shop."
|
|
1362
|
+
},
|
|
1363
|
+
"offset": {
|
|
1364
|
+
"type": "integer",
|
|
1365
|
+
"minimum": 0,
|
|
1366
|
+
"description": "The zero-based result offset."
|
|
1367
|
+
},
|
|
1368
|
+
"pageSize": {
|
|
1369
|
+
"type": "integer",
|
|
1370
|
+
"minimum": 1,
|
|
1371
|
+
"maximum": 100,
|
|
1372
|
+
"description": "The number of items to return, from 1 to 100."
|
|
1373
|
+
},
|
|
1374
|
+
"statuses": {
|
|
1375
|
+
"type": "array",
|
|
1376
|
+
"items": {
|
|
1377
|
+
"type": "string",
|
|
1378
|
+
"enum": [
|
|
1379
|
+
"NORMAL",
|
|
1380
|
+
"BANNED",
|
|
1381
|
+
"UNLIST",
|
|
1382
|
+
"REVIEWING",
|
|
1383
|
+
"SELLER_DELETE",
|
|
1384
|
+
"SHOPEE_DELETE"
|
|
1385
|
+
],
|
|
1386
|
+
"description": "A Shopee listing status."
|
|
1387
|
+
},
|
|
1388
|
+
"description": "The listing statuses to include.",
|
|
1389
|
+
"minItems": 1,
|
|
1390
|
+
"uniqueItems": true
|
|
1391
|
+
},
|
|
1392
|
+
"updatedFrom": {
|
|
1393
|
+
"type": "integer",
|
|
1394
|
+
"minimum": 0,
|
|
1395
|
+
"description": "The earliest item update time as a Unix timestamp."
|
|
1396
|
+
},
|
|
1397
|
+
"updatedTo": {
|
|
1398
|
+
"type": "integer",
|
|
1399
|
+
"minimum": 0,
|
|
1400
|
+
"description": "The latest item update time as a Unix timestamp."
|
|
1401
|
+
}
|
|
1402
|
+
},
|
|
1403
|
+
"additionalProperties": false,
|
|
1404
|
+
"required": [
|
|
1405
|
+
"statuses"
|
|
1406
|
+
],
|
|
1407
|
+
"description": "Filters and offset pagination for Shopee shop items."
|
|
1408
|
+
},
|
|
1409
|
+
"outputSchema": {
|
|
1410
|
+
"type": "object",
|
|
1411
|
+
"properties": {
|
|
1412
|
+
"requestId": {
|
|
1413
|
+
"type": "string",
|
|
1414
|
+
"description": "The Shopee request ID used for upstream error tracking."
|
|
1415
|
+
},
|
|
1416
|
+
"data": {
|
|
1417
|
+
"type": "object",
|
|
1418
|
+
"properties": {},
|
|
1419
|
+
"additionalProperties": true,
|
|
1420
|
+
"description": "The response data returned by Shopee Open Platform."
|
|
1421
|
+
}
|
|
1422
|
+
},
|
|
1423
|
+
"additionalProperties": false,
|
|
1424
|
+
"required": [
|
|
1425
|
+
"data"
|
|
1426
|
+
],
|
|
1427
|
+
"description": "A normalized Shopee Open Platform response."
|
|
1428
|
+
}
|
|
1429
|
+
},
|
|
1430
|
+
{
|
|
1431
|
+
"id": "shopee.ship_order",
|
|
1432
|
+
"service": "shopee",
|
|
1433
|
+
"name": "ship_order",
|
|
1434
|
+
"description": "Arrange pickup, drop-off, or non-integrated shipment for a Shopee order package.",
|
|
1435
|
+
"operationType": "write",
|
|
1436
|
+
"requiredScopes": [
|
|
1437
|
+
"shopee.write"
|
|
1438
|
+
],
|
|
1439
|
+
"providerPermissions": [],
|
|
1440
|
+
"inputSchema": {
|
|
1441
|
+
"type": "object",
|
|
1442
|
+
"properties": {
|
|
1443
|
+
"shopId": {
|
|
1444
|
+
"type": "integer",
|
|
1445
|
+
"minimum": 1,
|
|
1446
|
+
"description": "The Shopee shop ID. Omit it when the connection has exactly one shop."
|
|
1447
|
+
},
|
|
1448
|
+
"orderSerialNumber": {
|
|
1449
|
+
"type": "string",
|
|
1450
|
+
"description": "The Shopee order serial number."
|
|
1451
|
+
},
|
|
1452
|
+
"packageNumber": {
|
|
1453
|
+
"type": "string",
|
|
1454
|
+
"description": "The package number for an order split into packages."
|
|
1455
|
+
},
|
|
1456
|
+
"pickup": {
|
|
1457
|
+
"type": "object",
|
|
1458
|
+
"properties": {
|
|
1459
|
+
"addressId": {
|
|
1460
|
+
"type": "integer",
|
|
1461
|
+
"minimum": 1,
|
|
1462
|
+
"description": "The pickup address ID."
|
|
1463
|
+
},
|
|
1464
|
+
"pickupTimeId": {
|
|
1465
|
+
"type": "string",
|
|
1466
|
+
"description": "The pickup time-slot ID."
|
|
1467
|
+
},
|
|
1468
|
+
"trackingNumber": {
|
|
1469
|
+
"type": "string",
|
|
1470
|
+
"description": "A carrier-assigned tracking number when required."
|
|
1471
|
+
}
|
|
1472
|
+
},
|
|
1473
|
+
"additionalProperties": false,
|
|
1474
|
+
"required": [
|
|
1475
|
+
"addressId"
|
|
1476
|
+
],
|
|
1477
|
+
"description": "Pickup options returned by Shopee."
|
|
1478
|
+
},
|
|
1479
|
+
"dropoff": {
|
|
1480
|
+
"type": "object",
|
|
1481
|
+
"properties": {
|
|
1482
|
+
"branchId": {
|
|
1483
|
+
"type": "integer",
|
|
1484
|
+
"minimum": 1,
|
|
1485
|
+
"description": "The carrier branch ID."
|
|
1486
|
+
},
|
|
1487
|
+
"senderRealName": {
|
|
1488
|
+
"type": "string",
|
|
1489
|
+
"description": "The sender's legal name when required."
|
|
1490
|
+
},
|
|
1491
|
+
"trackingNumber": {
|
|
1492
|
+
"type": "string",
|
|
1493
|
+
"description": "A carrier-assigned tracking number when required."
|
|
1494
|
+
},
|
|
1495
|
+
"slug": {
|
|
1496
|
+
"type": "string",
|
|
1497
|
+
"description": "The selected third-party logistics provider slug."
|
|
1498
|
+
}
|
|
1499
|
+
},
|
|
1500
|
+
"additionalProperties": false,
|
|
1501
|
+
"description": "Drop-off options returned by Shopee."
|
|
1502
|
+
},
|
|
1503
|
+
"nonIntegrated": {
|
|
1504
|
+
"type": "object",
|
|
1505
|
+
"properties": {
|
|
1506
|
+
"trackingNumber": {
|
|
1507
|
+
"type": "string",
|
|
1508
|
+
"description": "The carrier-assigned tracking number."
|
|
1509
|
+
}
|
|
1510
|
+
},
|
|
1511
|
+
"additionalProperties": false,
|
|
1512
|
+
"description": "Options for a non-integrated logistics channel."
|
|
1513
|
+
}
|
|
1514
|
+
},
|
|
1515
|
+
"additionalProperties": false,
|
|
1516
|
+
"required": [
|
|
1517
|
+
"orderSerialNumber"
|
|
1518
|
+
],
|
|
1519
|
+
"description": "A Shopee order package and one shipping method returned by get_shipping_parameters."
|
|
1520
|
+
},
|
|
1521
|
+
"outputSchema": {
|
|
1522
|
+
"type": "object",
|
|
1523
|
+
"properties": {
|
|
1524
|
+
"requestId": {
|
|
1525
|
+
"type": "string",
|
|
1526
|
+
"description": "The Shopee request ID used for upstream error tracking."
|
|
1527
|
+
},
|
|
1528
|
+
"data": {
|
|
1529
|
+
"type": "object",
|
|
1530
|
+
"properties": {},
|
|
1531
|
+
"additionalProperties": true,
|
|
1532
|
+
"description": "The response data returned by Shopee Open Platform."
|
|
1533
|
+
}
|
|
1534
|
+
},
|
|
1535
|
+
"additionalProperties": false,
|
|
1536
|
+
"required": [
|
|
1537
|
+
"data"
|
|
1538
|
+
],
|
|
1539
|
+
"description": "A normalized Shopee Open Platform response."
|
|
1540
|
+
}
|
|
1541
|
+
},
|
|
1542
|
+
{
|
|
1543
|
+
"id": "shopee.update_item_prices",
|
|
1544
|
+
"service": "shopee",
|
|
1545
|
+
"name": "update_item_prices",
|
|
1546
|
+
"description": "Replace prices for up to 50 models of one Shopee shop item.",
|
|
1547
|
+
"operationType": "destructive",
|
|
1548
|
+
"requiredScopes": [
|
|
1549
|
+
"shopee.write"
|
|
1550
|
+
],
|
|
1551
|
+
"providerPermissions": [],
|
|
1552
|
+
"inputSchema": {
|
|
1553
|
+
"type": "object",
|
|
1554
|
+
"properties": {
|
|
1555
|
+
"shopId": {
|
|
1556
|
+
"type": "integer",
|
|
1557
|
+
"minimum": 1,
|
|
1558
|
+
"description": "The Shopee shop ID. Omit it when the connection has exactly one shop."
|
|
1559
|
+
},
|
|
1560
|
+
"itemId": {
|
|
1561
|
+
"type": "integer",
|
|
1562
|
+
"minimum": 1,
|
|
1563
|
+
"description": "The Shopee item ID."
|
|
1564
|
+
},
|
|
1565
|
+
"prices": {
|
|
1566
|
+
"type": "array",
|
|
1567
|
+
"items": {
|
|
1568
|
+
"type": "object",
|
|
1569
|
+
"properties": {
|
|
1570
|
+
"modelId": {
|
|
1571
|
+
"type": "integer",
|
|
1572
|
+
"minimum": 1,
|
|
1573
|
+
"description": "The Shopee model ID. Omit it for an item without variations."
|
|
1574
|
+
},
|
|
1575
|
+
"originalPrice": {
|
|
1576
|
+
"type": "number",
|
|
1577
|
+
"exclusiveMinimum": 0,
|
|
1578
|
+
"description": "The new original price in the shop currency."
|
|
1579
|
+
}
|
|
1580
|
+
},
|
|
1581
|
+
"additionalProperties": false,
|
|
1582
|
+
"required": [
|
|
1583
|
+
"originalPrice"
|
|
1584
|
+
],
|
|
1585
|
+
"description": "A new price for an item or variation model."
|
|
1586
|
+
},
|
|
1587
|
+
"description": "The replacement prices for the item or its models.",
|
|
1588
|
+
"minItems": 1,
|
|
1589
|
+
"maxItems": 50
|
|
1590
|
+
}
|
|
1591
|
+
},
|
|
1592
|
+
"additionalProperties": false,
|
|
1593
|
+
"required": [
|
|
1594
|
+
"itemId",
|
|
1595
|
+
"prices"
|
|
1596
|
+
],
|
|
1597
|
+
"description": "A Shopee shop item and its replacement prices."
|
|
1598
|
+
},
|
|
1599
|
+
"outputSchema": {
|
|
1600
|
+
"type": "object",
|
|
1601
|
+
"properties": {
|
|
1602
|
+
"requestId": {
|
|
1603
|
+
"type": "string",
|
|
1604
|
+
"description": "The Shopee request ID used for upstream error tracking."
|
|
1605
|
+
},
|
|
1606
|
+
"data": {
|
|
1607
|
+
"type": "object",
|
|
1608
|
+
"properties": {},
|
|
1609
|
+
"additionalProperties": true,
|
|
1610
|
+
"description": "The response data returned by Shopee Open Platform."
|
|
1611
|
+
}
|
|
1612
|
+
},
|
|
1613
|
+
"additionalProperties": false,
|
|
1614
|
+
"required": [
|
|
1615
|
+
"data"
|
|
1616
|
+
],
|
|
1617
|
+
"description": "A normalized Shopee Open Platform response."
|
|
1618
|
+
}
|
|
1619
|
+
},
|
|
1620
|
+
{
|
|
1621
|
+
"id": "shopee.update_item_stocks",
|
|
1622
|
+
"service": "shopee",
|
|
1623
|
+
"name": "update_item_stocks",
|
|
1624
|
+
"description": "Replace seller stock for up to 50 models of one Shopee shop item.",
|
|
1625
|
+
"operationType": "destructive",
|
|
1626
|
+
"requiredScopes": [
|
|
1627
|
+
"shopee.write"
|
|
1628
|
+
],
|
|
1629
|
+
"providerPermissions": [],
|
|
1630
|
+
"inputSchema": {
|
|
1631
|
+
"type": "object",
|
|
1632
|
+
"properties": {
|
|
1633
|
+
"shopId": {
|
|
1634
|
+
"type": "integer",
|
|
1635
|
+
"minimum": 1,
|
|
1636
|
+
"description": "The Shopee shop ID. Omit it when the connection has exactly one shop."
|
|
1637
|
+
},
|
|
1638
|
+
"itemId": {
|
|
1639
|
+
"type": "integer",
|
|
1640
|
+
"minimum": 1,
|
|
1641
|
+
"description": "The Shopee item ID."
|
|
1642
|
+
},
|
|
1643
|
+
"stocks": {
|
|
1644
|
+
"type": "array",
|
|
1645
|
+
"items": {
|
|
1646
|
+
"type": "object",
|
|
1647
|
+
"properties": {
|
|
1648
|
+
"modelId": {
|
|
1649
|
+
"type": "integer",
|
|
1650
|
+
"minimum": 1,
|
|
1651
|
+
"description": "The Shopee model ID. Omit it for an item without variations."
|
|
1652
|
+
},
|
|
1653
|
+
"sellerStock": {
|
|
1654
|
+
"type": "array",
|
|
1655
|
+
"items": {
|
|
1656
|
+
"type": "object",
|
|
1657
|
+
"properties": {
|
|
1658
|
+
"locationId": {
|
|
1659
|
+
"type": "string",
|
|
1660
|
+
"description": "The warehouse location ID returned by Shopee."
|
|
1661
|
+
},
|
|
1662
|
+
"stock": {
|
|
1663
|
+
"type": "integer",
|
|
1664
|
+
"minimum": 0,
|
|
1665
|
+
"description": "The new available stock at this location."
|
|
1666
|
+
}
|
|
1667
|
+
},
|
|
1668
|
+
"additionalProperties": false,
|
|
1669
|
+
"required": [
|
|
1670
|
+
"stock"
|
|
1671
|
+
],
|
|
1672
|
+
"description": "Stock assigned to one seller warehouse location."
|
|
1673
|
+
},
|
|
1674
|
+
"description": "The new seller stock values, optionally split by warehouse location.",
|
|
1675
|
+
"minItems": 1
|
|
1676
|
+
}
|
|
1677
|
+
},
|
|
1678
|
+
"additionalProperties": false,
|
|
1679
|
+
"required": [
|
|
1680
|
+
"sellerStock"
|
|
1681
|
+
],
|
|
1682
|
+
"description": "New stock for an item or variation model."
|
|
1683
|
+
},
|
|
1684
|
+
"description": "The replacement stock for the item or its models.",
|
|
1685
|
+
"minItems": 1,
|
|
1686
|
+
"maxItems": 50
|
|
1687
|
+
}
|
|
1688
|
+
},
|
|
1689
|
+
"additionalProperties": false,
|
|
1690
|
+
"required": [
|
|
1691
|
+
"itemId",
|
|
1692
|
+
"stocks"
|
|
1693
|
+
],
|
|
1694
|
+
"description": "A Shopee shop item and its replacement seller stock."
|
|
1695
|
+
},
|
|
1696
|
+
"outputSchema": {
|
|
1697
|
+
"type": "object",
|
|
1698
|
+
"properties": {
|
|
1699
|
+
"requestId": {
|
|
1700
|
+
"type": "string",
|
|
1701
|
+
"description": "The Shopee request ID used for upstream error tracking."
|
|
1702
|
+
},
|
|
1703
|
+
"data": {
|
|
1704
|
+
"type": "object",
|
|
1705
|
+
"properties": {},
|
|
1706
|
+
"additionalProperties": true,
|
|
1707
|
+
"description": "The response data returned by Shopee Open Platform."
|
|
1708
|
+
}
|
|
1709
|
+
},
|
|
1710
|
+
"additionalProperties": false,
|
|
1711
|
+
"required": [
|
|
1712
|
+
"data"
|
|
1713
|
+
],
|
|
1714
|
+
"description": "A normalized Shopee Open Platform response."
|
|
1715
|
+
}
|
|
1716
|
+
},
|
|
1717
|
+
{
|
|
1718
|
+
"id": "shopee.upload_product_image",
|
|
1719
|
+
"service": "shopee",
|
|
1720
|
+
"name": "upload_product_image",
|
|
1721
|
+
"description": "Download a public image URL and upload it to Shopee Media Space for products.",
|
|
1722
|
+
"operationType": "write",
|
|
1723
|
+
"requiredScopes": [
|
|
1724
|
+
"shopee.write"
|
|
1725
|
+
],
|
|
1726
|
+
"providerPermissions": [],
|
|
1727
|
+
"inputSchema": {
|
|
1728
|
+
"type": "object",
|
|
1729
|
+
"properties": {
|
|
1730
|
+
"shopId": {
|
|
1731
|
+
"type": "integer",
|
|
1732
|
+
"minimum": 1,
|
|
1733
|
+
"description": "The Shopee shop ID. Omit it when the connection has exactly one shop."
|
|
1734
|
+
},
|
|
1735
|
+
"imageUrl": {
|
|
1736
|
+
"type": "string",
|
|
1737
|
+
"description": "A public HTTPS URL for a JPG, JPEG, or PNG image up to 10 MB.",
|
|
1738
|
+
"format": "uri"
|
|
1739
|
+
},
|
|
1740
|
+
"scene": {
|
|
1741
|
+
"type": "string",
|
|
1742
|
+
"enum": [
|
|
1743
|
+
"normal",
|
|
1744
|
+
"desc"
|
|
1745
|
+
],
|
|
1746
|
+
"description": "How Shopee processes the image."
|
|
1747
|
+
},
|
|
1748
|
+
"ratio": {
|
|
1749
|
+
"type": "string",
|
|
1750
|
+
"enum": [
|
|
1751
|
+
"1:1",
|
|
1752
|
+
"3:4"
|
|
1753
|
+
],
|
|
1754
|
+
"description": "The requested image ratio for eligible sellers."
|
|
1755
|
+
}
|
|
1756
|
+
},
|
|
1757
|
+
"additionalProperties": false,
|
|
1758
|
+
"required": [
|
|
1759
|
+
"imageUrl"
|
|
1760
|
+
],
|
|
1761
|
+
"description": "A public image URL and Shopee image processing options."
|
|
1762
|
+
},
|
|
1763
|
+
"outputSchema": {
|
|
1764
|
+
"type": "object",
|
|
1765
|
+
"properties": {
|
|
1766
|
+
"requestId": {
|
|
1767
|
+
"type": "string",
|
|
1768
|
+
"description": "The Shopee request ID used for upstream error tracking."
|
|
1769
|
+
},
|
|
1770
|
+
"data": {
|
|
1771
|
+
"type": "object",
|
|
1772
|
+
"properties": {},
|
|
1773
|
+
"additionalProperties": true,
|
|
1774
|
+
"description": "The response data returned by Shopee Open Platform."
|
|
1775
|
+
}
|
|
1776
|
+
},
|
|
1777
|
+
"additionalProperties": false,
|
|
1778
|
+
"required": [
|
|
1779
|
+
"data"
|
|
1780
|
+
],
|
|
1781
|
+
"description": "A normalized Shopee Open Platform response."
|
|
1782
|
+
}
|
|
1783
|
+
}
|
|
1784
|
+
]
|
|
1785
|
+
}
|