I want to create products using commerce services resource module. At this moment, I can create a product calling the resource .../product
with POST, but It seems that It only creates a product variations, because If I navigate to "manage products" option, I can't see the new product but if I call a GET over resource .../product
I can see the new one.
Then, I'd tried to create a product using .../node
resource, but I always get an error:
"field_product][und][form][commerce_price][und][0][amount": "Price field is required"
I don't know what is the right JSON structure to create a node with its product variations.
Could some one put here an example of the right JSON structure for creating node products?
Thanks.