You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the Woocommerce API to create products for my website.
How should I send the colour hex code to the attribute term and turn on “Enable swatch”.
I want to update this:
Swatch Label - for example, 'Pink2'
Swatch Color hex #FE9684
I'm using the API (python)
In the API doc. I don't find the Parameter for it too
I am using the Woocommerce API to create products for my website.
How should I send the colour hex code to the attribute term and turn on “Enable swatch”.
I want to update this:
Swatch Label - for example, 'Pink2'
Swatch Color hex #FE9684
I'm using the API (python)
In the API doc. I don't find the Parameter for it too
{
"id": 23,
"name": "XXS",
"slug": "xxs",
"description": "",
"menu_order": 1,
"count": 1,
"_links": .....
print(wcapi.post("products/attributes/2/terms", data).json())
The text was updated successfully, but these errors were encountered: