Skip to content

Instantly share code, notes, and snippets.

@raspasov
Created May 28, 2016 04:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save raspasov/252faa75566aac4e776e02b8e636fcea to your computer and use it in GitHub Desktop.
Save raspasov/252faa75566aac4e776e02b8e636fcea to your computer and use it in GitHub Desktop.
Hush Product Schema - Sample 2
{
"name": "Soleil v2 Comfort Fun",
"categories": [
"womens",
"shoes",
"sneakers-&-athletic-shoes"
],
"brand": "Puma",
"description": "Dance-inspired sneaker, Synthetic leather uppers, Lightly padded tongue and collar",
"external-product-id": "Either Globally Unique Identifier or Unique Identifier of the Product in Your System",
"original-price": 6200,
"variation-sort": [
"color",
[
"White/Silver",
"Black/Silver"
],
"size",
[
"5.5",
"6",
"6.5",
"7",
"7.5",
"8",
"8.5",
"9",
"9.5",
"10",
"10.5",
"11"
]
],
"primary-variations": [
{
"data": {
"color": "White/Silver"
},
"media": {
"images": [
"http://a2.zassets.com/images/z/3/1/1/6/3/7/3116379-p-MULTIVIEW.jpg",
"http://a3.zassets.com/images/z/3/1/1/6/3/7/3116379-1-MULTIVIEW.jpg"
]
},
"secondary-variations": [
{
"data": {
"size": "5.5"
},
"inventory": [
{
"price": 4800,
"total-quantity": 4
}
]
},
{
"data": {
"size": "6"
},
"inventory": [
{
"price": 4800,
"total-quantity": 2
}
]
},
{
"data": {
"size": "6.5"
},
"inventory": [
{
"price": 4800,
"total-quantity": 6
}
]
},
{
"data": {
"size": "7"
},
"inventory": [
{
"price": 4800,
"total-quantity": 8
}
]
},
{
"data": {
"size": "7.5"
},
"inventory": [
{
"price": 4800,
"total-quantity": 7
}
]
},
{
"data": {
"size": "8"
},
"inventory": [
{
"price": 4800,
"total-quantity": 3
}
]
},
{
"data": {
"size": "8.5"
},
"inventory": [
{
"price": 4800,
"total-quantity": 1
}
]
}
]
},
{
"data": {
"color": "Black/Silver"
},
"media": {
"images": [
"http://a2.zassets.com/images/z/3/1/1/6/3/7/3116378-p-MULTIVIEW.jpg",
"http://a1.zassets.com/images/z/3/1/1/6/3/7/3116378-1-MULTIVIEW.jpg"
]
},
"secondary-variations": [
{
"data": {
"size": "5.5"
},
"inventory": [
{
"price": 4800,
"total-quantity": 4
}
]
},
{
"data": {
"size": "6"
},
"inventory": [
{
"price": 4800,
"total-quantity": 2
}
]
},
{
"data": {
"size": "6.5"
},
"inventory": [
{
"price": 4800,
"total-quantity": 6
}
]
},
{
"data": {
"size": "7"
},
"inventory": [
{
"price": 4800,
"total-quantity": 8
}
]
},
{
"data": {
"size": "7.5"
},
"inventory": [
{
"price": 4800,
"total-quantity": 7
}
]
},
{
"data": {
"size": "8"
},
"inventory": [
{
"price": 4800,
"total-quantity": 3
}
]
},
{
"data": {
"size": "8.5"
},
"inventory": [
{
"price": 4800,
"total-quantity": 1
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment