{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/variations/update.json","auth":"required","method":"post","params":[{"name":"identifier","type":"string","default":"","desc":"The unique identifier or SKU that your system uses to recognize this product variation.","required":true,"in":"body","ref":"","_id":"576b27d142bf703200c597df"},{"name":"quantity","type":"int","default":"","desc":"The quantity available to sell for this variation.","required":true,"in":"body","ref":"","_id":"576b27d142bf703200c597de"}],"results":{"codes":[{"code":"{  \n   \"product_identifier\": \"6631A\",\n   \"identifier\": \"6631A-BLACK\",\n   \"internal_id\": 26086769,\n   \"size\": null,\n   \"color\": \"Black\",\n   \"quantity\": 100,\n   \"created_at\": \"2018-04-03T22:58:41-07:00\",\n   \"disabled_at\": null,\n   \"deleted_at\": null\n}","name":"","status":200,"language":"json"}]},"settings":"","examples":{"codes":[{"language":"curl","code":"curl -X POST https://tophatter.com/merchant_api/v1/variations/update.json \\\n-d 'access_token=YOUR_ACCESS_TOKEN' \\\n-d 'identifier=6631A-BLACK' \\\n-d 'quantity=100'"}]}},"next":{"description":"","pages":[]},"title":"Update a Variation","type":"endpoint","slug":"variation-update","excerpt":"","body":"","updates":[],"order":3,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"56a99013257fbc0d00d47633","parentDoc":null,"editedParams2":true,"editedParams":true,"githubsync":"","user":"567f0baca74a1c0d003e1fba","__v":7,"project":"567f0c06143cc60d00c1fdbe","version":{"version":"1","version_clean":"1.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["567f0c07143cc60d00c1fdc2","56a9783109cb9c0d00f0c7d3","56a97837f834950d0037b363","56a9783b2d8fd90d0036eed6","56a979912d8fd90d0036eed8","5834b5691a80690f00d31faf","5834b5e4f775120f00c45f9d","5bf1a1473031e4005075ae14","5c64c200244bda003204b97f"],"_id":"567f0c06143cc60d00c1fdc1","__v":9,"createdAt":"2015-12-26T21:52:06.734Z","releaseDate":"2015-12-26T21:52:06.734Z","project":"567f0c06143cc60d00c1fdbe"},"category":{"sync":{"isSync":false,"url":""},"pages":["56a98ff62d8fd90d0036eee9","56a98ffc1801ac0d00881b8b","56a99013257fbc0d00d47633","56a99029257fbc0d00d47635","56a990541801ac0d00881b8e","56a99094f834950d0037b37e","56a9923e13a69a0d00a778dc","56a9a7161801ac0d00881ba5"],"title":"Variations","slug":"variations","order":2,"from_sync":false,"reference":false,"_id":"56a97837f834950d0037b363","__v":8,"createdAt":"2016-01-28T02:08:55.258Z","project":"567f0c06143cc60d00c1fdbe","version":"567f0c06143cc60d00c1fdc1"},"createdAt":"2016-01-28T03:50:43.681Z"}