'how to add brand to product wcapi.post (python WooCommerce api)?

I use wcapi module in python for add product to WooCommerce . I read samples in WordPress REST API Document and sample of python code for add product to wp with wcapi but don't find my question.

for sample, I get once product information with wcapi as mu web site but don't find brand id or attribute in response data

from woocommerce import API    

response = wcapi.get('products/776').json()


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source