You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: "Get autocomplete suggestions for the specified search term. [See the documentation](https://docs.trajectdata.com/bluecartapi/walmart-product-data-api/parameters/autocomplete)",
7
+
version: "0.0.1",
8
+
annotations: {
9
+
destructiveHint: false,
10
+
openWorldHint: true,
11
+
readOnlyHint: true,
12
+
},
13
+
type: "action",
14
+
props: {
15
+
app,
16
+
walmartDomain: {
17
+
propDefinition: [
18
+
app,
19
+
"walmartDomain",
20
+
],
21
+
},
22
+
searchTerm: {
23
+
propDefinition: [
24
+
app,
25
+
"searchTerm",
26
+
],
27
+
description: "The search term to get autocomplete suggestions for",
description: "Get a list of categories related to the provided search term. [See the documentation](https://docs.trajectdata.com/bluecartapi/walmart-product-data-api/parameters/category)",
7
+
version: "0.0.1",
8
+
annotations: {
9
+
destructiveHint: false,
10
+
openWorldHint: true,
11
+
readOnlyHint: true,
12
+
},
13
+
type: "action",
14
+
props: {
15
+
app,
16
+
searchTerm: {
17
+
propDefinition: [
18
+
app,
19
+
"searchTerm",
20
+
],
21
+
description: "The term used to search for categories",
description: "Get product data from Walmart. [See the documentation](https://docs.trajectdata.com/bluecartapi/walmart-product-data-api/parameters/product)",
7
+
version: "0.0.1",
8
+
annotations: {
9
+
destructiveHint: false,
10
+
openWorldHint: true,
11
+
readOnlyHint: true,
12
+
},
13
+
type: "action",
14
+
props: {
15
+
app,
16
+
walmartDomain: {
17
+
propDefinition: [
18
+
app,
19
+
"walmartDomain",
20
+
],
21
+
},
22
+
url: {
23
+
propDefinition: [
24
+
app,
25
+
"url",
26
+
],
27
+
},
28
+
itemId: {
29
+
propDefinition: [
30
+
app,
31
+
"itemId",
32
+
],
33
+
},
34
+
},
35
+
36
+
asyncrun({ $ }){
37
+
constresponse=awaitthis.app.searchItem({
38
+
$,
39
+
params: {
40
+
walmart_domain: this.walmartDomain,
41
+
type: "product",
42
+
item_id: this.itemId,
43
+
url: this.url,
44
+
},
45
+
});
46
+
47
+
$.export("$summary","Successfully retrieved data for the product with id: "+response.product.item_id);
0 commit comments