Menu
Create Shipping Class
Create a shipping class
POST
/products/shipping-classesUse it in a workflow
- Add a step and choose the WooCommerce connector.
- Pick the Create Shipping Class action (under Product shipping classes).
- Fill in the fields below, then reference the result from later steps as
{{createShippingClass.response.data}}.
Request
Request body
Enter the body as JSON in the step's Body field.
{
"id": 0,
"name": "string",
"slug": "string",
"description": "string",
"count": 0
}
Response
Returns 201 with an object. Read it in later steps with {{createShippingClass.response.data.<field>}}.
{
"id": 0,
"name": "string",
"slug": "string",
"description": "string",
"count": 0
}
Need more? See the WooCommerce guide for connection setup and behaviour shared by every action.
Was this page helpful?