younifyd
Menu

Getallvariantgroups

Get all variant groups

GET/v3/variant_groups

Use it in a workflow

  1. Add a step and choose the Contentstack connector.
  2. Pick the Getallvariantgroups action (under Variant_groups).
  3. Fill in the fields below, then reference the result from later steps as {{getallvariantgroups.response.data}}.

Request

Query parameters

skipstring

Enter the number of items to be skipped from the response body.

limitstring

Enter the maximum number of items to be returned.

include_countstring

Set this parameter to “true” to include the total count of variant groups.

include_variant_infostring

Set this parameter to “true” to include the variant information.

include_variant_countstring

Set this parameter to “true” to include the total count of variants within a variant group.

ascstring

Sort the response in ascending order. Options include created_at and name.

descstring

Sort the response in descending order. Options include created_at and name.

content_typestring

Enter the unique ID of your content type.

Response

Returns 200 with a any. Read it in later steps with {{getallvariantgroups.response.data.<field>}}.

Need more? See the Contentstack guide for connection setup and behaviour shared by every action.