XM

Get items by SKUs

Path:

POST /api-item/item/sku

We facilitate easy retrieval of multiple items (without price), based on the SKU numbers. If your requirement is to access pricing details as well, you may use the Get Item and Price by SKU endpoint.

Headers

Content-Type : application/json

x-site-context : {"date":"2020-07-09T08:38:22.570Z","channel":12}

Consumes

  • application/json

Produces

  • application/json

Parameters

Type: Body

Name: SKU numbers

Required: true

Sample Request

{
"skus": [
"1523887","1464336"
]
}

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

[
{
"_id": "5efee8935d423900085d4027",
"channel": [
12,
13
],
"startDate": "2020-07-03T08:09:19.678Z",
"endDate": "2099-12-31T00:00:00.000Z",
"group": [
"5efda99ac7b63800075f2b97"
],
"imagesSetOnAttributes": [],
"isDefault": false,
"isActive": true,
"isSoftDeleted": false,
"title": "Synthetic Office Arm Chair10",
"itemFamily": "5efda98297b97d00081446cf",
"sku": "SOAC10-CONFIG1",
"description": "<p>Synthetic Office Arm Chair10</p>\n",
"state": "READY",
"itemId": 32223,
"images": [
{
"_id": "5efee89725d6e200088e69b7",
"order": 0,
"label": "Boats_Thailand_Sea_Crag_Nature_8000x5224.jpg",
"source": [
{
"_id": "5efee89725d6e200088e69b8",
"url": "https://dev-fabric-bailey.imgix.net/pim/Boats_Thailand_Sea_Crag_Nature_8000x5224.jpg",
"id": "5efee89725d6e200088e69b8"
}
],
"id": "5efee89725d6e200088e69b7"
},
{
"_id": "5efee89725d6e200088e69bb",
"order": 1,
"label": "Porsche-GT2-4K-UHD-Wallpaper-730x487.jpg",
"source": [
{
"_id": "5efee89725d6e200088e69bc",
"url": "https://dev-fabric-bailey.imgix.net/pim/Porsche-GT2-4K-UHD-Wallpaper-730x487.jpg",
"id": "5efee89725d6e200088e69bc"
}
],
"id": "5efee89725d6e200088e69bb"
},
{
"_id": "5efee89725d6e200088e69bd",
"order": 2,
"label": "1",
"source": [
{
"_id": "5efee89725d6e200088e69be",
"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",
"id": "5efee89725d6e200088e69be"
}
],
"id": "5efee89725d6e200088e69bd"
},
{
"_id": "5efee89725d6e200088e69bf",
"order": 3,
"label": "3",
"source": [
{
"_id": "5efee89725d6e200088e69c0",
"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",
"id": "5efee89725d6e200088e69c0"
}
],
"id": "5efee89725d6e200088e69bf"
}
],
"videos": [],
"files": [],
"attributes": [
{
"name": "test35pimauto2",
"value": "35",
"isDefault": false,
"display": true,
"uom": null,
"datatype": "STRING"
},
{
"name": "test35pimauto1",
"value": "34",
"isDefault": false,
"display": true,
"uom": null,
"datatype": "STRING"
},
{
"name": "test34pimauto2",
"value": "34",
"isDefault": false,
"display": true,
"uom": null,
"datatype": "STRING"
},
{
"name": "Waranty_4",
"value": "2020-07-15T18:30:00.000Z",
"isDefault": false,
"display": true,
"uom": null,
"datatype": "DATE"
},
{
"name": "Upholstery Included_4",
"value": true,
"isDefault": false,
"display": true,
"uom": null,
"datatype": "BOOLEAN"
},
{
"name": "Upholstery Type_4",
"value": "<p>4</p>\n",
"isDefault": false,
"display": true,
"uom": null,
"datatype": "HTML"
},
{
"name": "Waranty_4",
"value": "2020-07-15T18:30:00.000Z",
"isDefault": false,
"display": true,
"uom": null,
"datatype": "DATE"
},
{
"name": "Upholstery Included_4",
"value": true,
"isDefault": false,
"display": true,
"uom": null,
"datatype": "BOOLEAN"
},
{
"name": "Care Instructions_4",
"value": "nice ",
"isDefault": false,
"display": true,
"uom": null,
"datatype": "TEXT"
},
{
"name": "Upholstery Type_4",
"value": "<p>4</p>\n",
"isDefault": false,
"display": true,
"uom": null,
"datatype": "HTML"
},
{
"name": "Suitable For_4",
"value": "super",
"isDefault": false,
"display": true,
"uom": null,
"datatype": "STRING"
},
{
"name": "Weight_4",
"value": "10",
"isDefault": false,
"display": true,
"uom": "kg",
"datatype": "UOM"
},
{
"name": "Area (meter square)",
"value": "100",
"isDefault": false,
"display": true,
"uom": "m_square",
"datatype": "UOM"
},
{
"name": "Kilogram",
"value": "10",
"isDefault": false,
"display": true,
"uom": "kg",
"datatype": "UOM"
},
{
"name": "test40pimauto2",
"value": "2",
"isDefault": false,
"display": true,
"uom": null,
"datatype": "STRING"
}
],
"variants": [],
"skuInSet": [],
"createdAt": "2020-07-03T08:13:07.514Z",
"updatedAt": "2020-07-17T04:55:48.513Z",
"__v": 0,
"category": "Furniture1",
"parent": null
},
{
"_id": "5f02bd0813ee490008023aa2",
"channel": [
12,
13
],
"startDate": "2020-07-06T05:55:23.581Z",
"endDate": "2099-12-31T00:00:00.000Z",
"group": [
"5efda99ac7b63800075f2b97"
],
"imagesSetOnAttributes": [],
"isDefault": false,
"isActive": true,
"isSoftDeleted": false,
"title": "Test Product",
"itemFamily": "5f02bcc4a9ed30000726519d",
"sku": "TESTPRODUCT",
"description": "<p>TEst Product.&nbsp;</p>\n",
"state": "READY",
"itemId": 32250,
"images": [
{
"_id": "5f02bd0c3e72750007e68b25",
"order": 0,
"label": "DFS",
"source": [
{
"_id": "5f02bd0c3e72750007e68b26",
"url": "https://rukminim1.flixcart.com/flap/844/140/image/f13c922cd5c6ab2b.jpg?q=50",
"id": "5f02bd0c3e72750007e68b26"
}
],
"id": "5f02bd0c3e72750007e68b25"
}
],
"videos": [],
"files": [],
"attributes": [
{
"name": "Quantity_4",
"value": "",
"isDefault": false,
"display": true,
"uom": null,
"datatype": "NUMBER"
},
{
"name": "Weight",
"value": "1",
"isDefault": false,
"display": true,
"uom": "kg",
"datatype": "UOM"
},
{
"name": "Tax Code",
"value": "ABCD",
"isDefault": false,
"display": true,
"uom": null,
"datatype": "STRING"
},
{
"name": "Weight_4",
"value": "20",
"isDefault": false,
"display": true,
"uom": "kg",
"datatype": "UOM"
},
{
"name": "Weight_Str",
"value": "1 KG",
"isDefault": false,
"display": true,
"uom": null,
"datatype": "STRING"
}
],
"variants": [],
"skuInSet": [],
"createdAt": "2020-07-06T05:56:24.797Z",
"updatedAt": "2020-07-17T04:57:56.862Z",
"__v": 0,
"category": "Furniture1",
"parent": null
}
]

Changelog

  • Last updated - July 2020