Gets a SKU.
Name | Description | Additional information |
---|---|---|
skuId | The ID of the SKU. |
Define this parameter in the request URI. |
Name | Description | Usage |
---|---|---|
attributes | This will retrieve the related list of attributes. | GET skus/{skuId}?expand=attributes |
inventory | This will retrieve the related inventory. | GET skus/{skuId}?expand=inventory |
supplier | This will retrieve the related supplier. | GET skus/{skuId}?expand=supplier |
If this endpoint supports expands, they will be included in the sample response body below. However, please note that expands are NOT included in the response body by default. Expands are only included in the response body if they came through as part of the request.
{
"Sku": {
"Attributes": [
{
"AttributeId": 2,
"AttributeType": null,
"AttributeTypeId": 1,
"DisplayOrder": 1,
"ExternalId": "",
"IsActive": true,
"Name": "Red",
"OldAttributeId": null,
"AttributeTypeName": ""
}
],
"CustomerPricingSku": [],
"Custom1": "",
"Custom2": "",
"Custom3": "",
"DisplayOrder": null,
"ExternalId": "",
"FinalPrice": null,
"ImageAltTag": "Green Apple",
"ImageFile": "apple-green.jpg",
"ImageLargePath": "~/data/default/images/catalog/450/apple-green.jpg",
"ImageMediumPath": "~/data/default/images/catalog/250/apple-green.jpg",
"ImageSmallPath": "~/data/default/images/catalog/100/apple-green.jpg",
"ImageSmallThumbnailPath": "~/data/default/images/catalog/37/apple-green.jpg",
"ImageThumbnailPath": "~/data/default/images/catalog/50/apple-green.jpg",
"Inventory": {
"InventoryId": 1,
"QuantityOnHand": 1000.0,
"ReorderLevel": 10.0,
"Sku": "apg234",
"Skus": []
},
"IsActive": true,
"Note": "",
"ProductId": 302,
"ProductPrice": null,
"PromotionPrice": 1.23,
"RecurringBillingFrequency": "1",
"RecurringBillingInitialAmount": 0.00,
"RecurringBillingPeriod": "",
"RecurringBillingTotalCycles": 1,
"RetailPriceOverride": null,
"SalePriceOverride": 2.99,
"Sku": "apg234",
"SkuId": 2,
"Supplier": {
"ContactEmail": "john@smith.com",
"ContactFirstName": "John",
"ContactLastName": "Smith",
"ContactPhone": "111-222-3333",
"Custom1": "",
"Custom2": "",
"Custom3": "",
"Custom4": "",
"Custom5": "",
"Description": "This is a supplier",
"DisplayOrder": 1,
"EmailNotificationTemplate": "",
"EnableEmailNotification": true,
"ExternalId": "",
"ExternalSupplierNumber": "ABC123",
"IsActive": true,
"Name": "Supplier",
"NotificationEmail": "supplier@supplier.com",
"PortalId": null,
"SupplierId": 1,
"SupplierType": null,
"SupplierTypeId": 1,
"Address": null,
"Account": null,
"ClassName": null
},
"SupplierId": 1,
"UpdateDate": "2013-12-06T02:04:16.85",
"WebServiceDownloadDate": null,
"WeightAdditional": 0.70,
"WholesalePriceOverride": null,
"AttributesIds": null,
"Error": null,
"UserType": null,
"UserName": null
},
"ErrorCode": null,
"ErrorMessage": null,
"StackTrace": null,
"AllowHtmlResponse": false,
"HasError": false,
"StringResponse": null
}