I tried breaking up the request; first sending the product info with the new option, then updating the variants using 'PUT', '/admin/variants/#{id}.json. The product update is successful, but the new option is not added. Therefore, when I try to update the variants, I get a "2 option values given but 1 options exist" error.
↧