Menu
Batch Update Product Attributes
Batch update product attributes
POST
/products/attributes/batchUse it in a workflow
- Add a step and choose the WooCommerce connector.
- Pick the Batch Update Product Attributes action (under Product attributes).
- Fill in the fields below, then reference the result from later steps as
{{batchUpdateProductAttributes.response.data}}.
Request
Request body
Enter the body as JSON in the step's Body field.
{
"create": [
{
"id": 0,
"name": "string",
"option": "string",
"slug": "string",
"type": "string",
"order_by": "string",
"has_archives": false
}
],
"update": [
{
"id": 0,
"name": "string",
"option": "string",
"slug": "string",
"type": "string",
"order_by": "string",
"has_archives": false
}
],
"delete": [
0
]
}
Response
Returns 200 with an object. Read it in later steps with {{batchUpdateProductAttributes.response.data.<field>}}.
Need more? See the WooCommerce guide for connection setup and behaviour shared by every action.
Was this page helpful?