XM
Members
Retrieve Multiple Items by SKUs
This API is deprecated please use new Product API in PIM
This documentation is now outdated, please find the latest docs for this endpoint here
Path:
1
POST https://{baseurl}/api-item/item/sku
Copied!
Retrieves details of multiple items (without price), by SKUs.

Headers

Content-Type : application/json
x-site-context : { "date": "2020-08-28T02:35:27.787Z", "channel": 12, "account": 5f493c9f30ec2a0007a94fc8", "stage": "sandbox" }

Parameters

Type: Body
Name: The list of SKUs.
Required: true

Sample Request

1
{
2
"skus": [
3
"1523887","1464336"
4
]
5
}
Copied!

Response

Response Code: 200
Message: OK
Description: You will see this message when the item details are retrieved based on the specified SKU numbers.
Sample
1
[
2
{
3
"_id": "5efee8935d423900085d4027",
4
"channel": [
5
12,
6
13
7
],
8
"startDate": "2020-07-03T08:09:19.678Z",
9
"endDate": "2099-12-31T00:00:00.000Z",
10
"group": [
11
"5efda99ac7b63800075f2b97"
12
],
13
"imagesSetOnAttributes": [],
14
"isDefault": false,
15
"isActive": true,
16
"isSoftDeleted": false,
17
"title": "Synthetic Office Arm Chair10",
18
"itemFamily": "5efda98297b97d00081446cf",
19
"sku": "SOAC10-CONFIG1",
20
"description": "<p>Synthetic Office Arm Chair10</p>\n",
21
"state": "READY",
22
"itemId": 32223,
23
"images": [
24
{
25
"_id": "5efee89725d6e200088e69b7",
26
"order": 0,
27
"label": "Boats_Thailand_Sea_Crag_Nature_8000x5224.jpg",
28
"source": [
29
{
30
"_id": "5efee89725d6e200088e69b8",
31
"url": "https://dev-fabric-bailey.imgix.net/pim/Boats_Thailand_Sea_Crag_Nature_8000x5224.jpg",
32
"id": "5efee89725d6e200088e69b8"
33
}
34
],
35
"id": "5efee89725d6e200088e69b7"
36
},
37
{
38
"_id": "5efee89725d6e200088e69bb",
39
"order": 1,
40
"label": "Porsche-GT2-4K-UHD-Wallpaper-730x487.jpg",
41
"source": [
42
{
43
"_id": "5efee89725d6e200088e69bc",
44
"url": "https://dev-fabric-bailey.imgix.net/pim/Porsche-GT2-4K-UHD-Wallpaper-730x487.jpg",
45
"id": "5efee89725d6e200088e69bc"
46
}
47
],
48
"id": "5efee89725d6e200088e69bb"
49
},
50
{
51
"_id": "5efee89725d6e200088e69bd",
52
"order": 2,
53
"label": "1",
54
"source": [
55
{
56
"_id": "5efee89725d6e200088e69be",
57
"url": "https://rukminim1.flixcart.com/image/832/832/kactpjk0/sofa-sectional/y/j/f/beige-polycotton-marco-rhs-l-shape-muebles-casa-beige-original-imafryfc99wku3t8.jpeg?q=70",
58
"id": "5efee89725d6e200088e69be"
59
}
60
],
61
"id": "5efee89725d6e200088e69bd"
62
},
63
{
64
"_id": "5efee89725d6e200088e69bf",
65
"order": 3,
66
"label": "3",
67
"source": [
68
{
69
"_id": "5efee89725d6e200088e69c0",
70
"url": "https://rukminim1.flixcart.com/image/832/832/kactpjk0/sofa-sectional/y/j/f/beige-polycotton-marco-rhs-l-shape-muebles-casa-beige-original-imafryfbaed4cdve.jpeg?q=70",
71
"id": "5efee89725d6e200088e69c0"
72
}
73
],
74
"id": "5efee89725d6e200088e69bf"
75
}
76
],
77
"videos": [],
78
"files": [],
79
"attributes": [
80
{
81
"name": "test35pimauto2",
82
"value": "35",
83
"isDefault": false,
84
"display": true,
85
"uom": null,
86
"datatype": "STRING"
87
},
88
{
89
"name": "test35pimauto1",
90
"value": "34",
91
"isDefault": false,
92
"display": true,
93
"uom": null,
94
"datatype": "STRING"
95
},
96
{
97
"name": "test34pimauto2",
98
"value": "34",
99
"isDefault": false,
100
"display": true,
101
"uom": null,
102
"datatype": "STRING"
103
},
104
{
105
"name": "Waranty_4",
106
"value": "2020-07-15T18:30:00.000Z",
107
"isDefault": false,
108
"display": true,
109
"uom": null,
110
"datatype": "DATE"
111
},
112
{
113
"name": "Upholstery Included_4",
114
"value": true,
115
"isDefault": false,
116
"display": true,
117
"uom": null,
118
"datatype": "BOOLEAN"
119
},
120
{
121
"name": "Upholstery Type_4",
122
"value": "<p>4</p>\n",
123
"isDefault": false,
124
"display": true,
125
"uom": null,
126
"datatype": "HTML"
127
},
128
{
129
"name": "Waranty_4",
130
"value": "2020-07-15T18:30:00.000Z",
131
"isDefault": false,
132
"display": true,
133
"uom": null,
134
"datatype": "DATE"
135
},
136
{
137
"name": "Upholstery Included_4",
138
"value": true,
139
"isDefault": false,
140
"display": true,
141
"uom": null,
142
"datatype": "BOOLEAN"
143
},
144
{
145
"name": "Care Instructions_4",
146
"value": "nice ",
147
"isDefault": false,
148
"display": true,
149
"uom": null,
150
"datatype": "TEXT"
151
},
152
{
153
"name": "Upholstery Type_4",
154
"value": "<p>4</p>\n",
155
"isDefault": false,
156
"display": true,
157
"uom": null,
158
"datatype": "HTML"
159
},
160
{
161
"name": "Suitable For_4",
162
"value": "super",
163
"isDefault": false,
164
"display": true,
165
"uom": null,
166
"datatype": "STRING"
167
},
168
{
169
"name": "Weight_4",
170
"value": "10",
171
"isDefault": false,
172
"display": true,
173
"uom": "kg",
174
"datatype": "UOM"
175
},
176
{
177
"name": "Area (meter square)",
178
"value": "100",
179
"isDefault": false,
180
"display": true,
181
"uom": "m_square",
182
"datatype": "UOM"
183
},
184
{
185
"name": "Kilogram",
186
"value": "10",
187
"isDefault": false,
188
"display": true,
189
"uom": "kg",
190
"datatype": "UOM"
191
},
192
{
193
"name": "test40pimauto2",
194
"value": "2",
195
"isDefault": false,
196
"display": true,
197
"uom": null,
198
"datatype": "STRING"
199
}
200
],
201
"variants": [],
202
"skuInSet": [],
203
"createdAt": "2020-07-03T08:13:07.514Z",
204
"updatedAt": "2020-07-17T04:55:48.513Z",
205
"__v": 0,
206
"category": "Furniture1",
207
"parent": null
208
},
209
{
210
"_id": "5f02bd0813ee490008023aa2",
211
"channel": [
212
12,
213
13
214
],
215
"startDate": "2020-07-06T05:55:23.581Z",
216
"endDate": "2099-12-31T00:00:00.000Z",
217
"group": [
218
"5efda99ac7b63800075f2b97"
219
],
220
"imagesSetOnAttributes": [],
221
"isDefault": false,
222
"isActive": true,
223
"isSoftDeleted": false,
224
"title": "Test Product",
225
"itemFamily": "5f02bcc4a9ed30000726519d",
226
"sku": "TESTPRODUCT",
227
"description": "<p>TEst Product.&nbsp;</p>\n",
228
"state": "READY",
229
"itemId": 32250,
230
"images": [
231
{
232
"_id": "5f02bd0c3e72750007e68b25",
233
"order": 0,
234
"label": "DFS",
235
"source": [
236
{
237
"_id": "5f02bd0c3e72750007e68b26",
238
"url": "https://rukminim1.flixcart.com/flap/844/140/image/f13c922cd5c6ab2b.jpg?q=50",
239
"id": "5f02bd0c3e72750007e68b26"
240
}
241
],
242
"id": "5f02bd0c3e72750007e68b25"
243
}
244
],
245
"videos": [],
246
"files": [],
247
"attributes": [
248
{
249
"name": "Quantity_4",
250
"value": "",
251
"isDefault": false,
252
"display": true,
253
"uom": null,
254
"datatype": "NUMBER"
255
},
256
{
257
"name": "Weight",
258
"value": "1",
259
"isDefault": false,
260
"display": true,
261
"uom": "kg",
262
"datatype": "UOM"
263
},
264
{
265
"name": "Tax Code",
266
"value": "ABCD",
267
"isDefault": false,
268
"display": true,
269
"uom": null,
270
"datatype": "STRING"
271
},
272
{
273
"name": "Weight_4",
274
"value": "20",
275
"isDefault": false,
276
"display": true,
277
"uom": "kg",
278
"datatype": "UOM"
279
},
280
{
281
"name": "Weight_Str",
282
"value": "1 KG",
283
"isDefault": false,
284
"display": true,
285
"uom": null,
286
"datatype": "STRING"
287
}
288
],
289
"variants": [],
290
"skuInSet": [],
291
"createdAt": "2020-07-06T05:56:24.797Z",
292
"updatedAt": "2020-07-17T04:57:56.862Z",
293
"__v": 0,
294
"category": "Furniture1",
295
"parent": null
296
}
297
]
Copied!

Changelog

  • Last updated - July 2020
Last modified 1mo ago
Copy link
Contents
Changelog