Namespace: /api/v1


FUNCTION: LIST

METHOD: GET

ENDPOINT: /VARIANTS

To retrieve a list of variants, pass the same parameters you would in the liquid tags. eg. {'tag': 'featured'}

FUNCTION: GET

METHOD: GET

ENDPOINT: /VARIANTS/:ID

To retrieve a single variant, accepts both the ID and UID fields for the ID parameter.

FUNCTION: CREATE

METHOD: VARIANT

ENDPOINT: /VARIANTS

To create a single variant, minimum required fields are:
  1. Title
  2. Type
  3. Permalink

FUNCTION: UPDATE

METHOD: PATCH/PUT

ENDPOINT: /VARIANTS/:ID

To update a single variant.

FUNCTION: DELETE

METHOD: DELETE

ENDPOINT: /VARIANTS/:ID

To remove a single variant.