-
-
Save dcomartin/5b0d77bb4adf99f8c560d79959a8a8d3 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
{ | |
"sku": "abc123", | |
"price": 85.0, | |
"forSale": false, | |
"freeShipping": false, | |
"quantity": 10, | |
"links": [ | |
{ | |
"rel": "Images", | |
"href": "/sales/products/abc123/images" | |
} | |
], | |
"actions": [ | |
{ | |
"name": "IncreasePrice", | |
"href": "/sales/products/abc123/increasePrice", | |
"method": "POST" | |
}, | |
{ | |
"name": "DecreasePrice", | |
"href": "/sales/products/abc123/decreasePrice", | |
"method": "POST" | |
}, | |
{ | |
"name": "AvailableForSale", | |
"href": "/sales/products/abc123/availableForSale", | |
"method": "POST" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment