Created
August 21, 2017 12:41
-
-
Save jackwilsdon/0635564f4c1989c61bfba3f1d141dc70 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"variants": { | |
"1": { | |
"id": 1, | |
"variants": { | |
"1": "Test Variant", | |
"2": "Second Variant", | |
"3": "Third Variant" | |
} | |
} | |
}, | |
"products": { | |
"1": { | |
"id": 1, | |
"name": "First Product", | |
"description": "The first product in the store!", | |
"categories": [ | |
2 | |
], | |
"images": [ | |
"image1.png", | |
"image2.png" | |
], | |
"price": { | |
"gross": 100, | |
"net": 80, | |
"currency": "GBP" | |
}, | |
"variants": { | |
"1": { | |
"id": 1, | |
"prices": { | |
"1": { | |
"gross": 100, | |
"net": 80, | |
"currency": "GBP" | |
} | |
} | |
}, | |
"2": { | |
"id": 2 | |
} | |
} | |
} | |
}, | |
"categories": { | |
"1": { | |
"id": 1, | |
"name": "Nice products" | |
}, | |
"2": { | |
"id": 2, | |
"name": "Great products" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment