younifyd
Menu

Retrieve Shipping Class

Retrieve a shipping class

GET/products/shipping-classes/{classId}

Use it in a workflow

  1. Add a step and choose the WooCommerce connector.
  2. Pick the Retrieve Shipping Class action (under Product shipping classes).
  3. Fill in the fields below, then reference the result from later steps as {{retrieveShippingClass.response.data}}.

Request

Path parameters

classIdintegerrequired

Response

Returns 200 with an object. Read it in later steps with {{retrieveShippingClass.response.data.<field>}}.

idinteger

Shipping class ID.

namestring

Shipping class name.

slugstring

Shipping class slug.

descriptionstring

Shipping class description.

countinteger

Number of products in class.

json
{
  "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.