Skip to main content

Schedule an Extension Instance Variant change for the next possible date

POST/extension-instances/{extensionInstanceId}/contract/variant-change/
v2
POST
extension-schedule-extension-variant-change

Request

  • extensionInstanceIdstring (uuid)
    required
    Example:"d7238330-e080-494c-a7d4-9b3abf2e0764"

Responses

application/json

A Variant Change was scheduled.

  • effectiveDatestring (date-time)

    The Date the variant change will be executed.

  • extensionInstanceIdstring (uuid)

    The ID of the Extension Instance the variant change was scheduled for.

Usage examples

$ curl \
--fail \
--location \
-X POST \
-d '{"targetVariantKey":"string"}' \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
-H 'Content-Type: application/json' \
https://api.mittwald.de/v2/extension-instances/f0f86186-0a5a-45b2-aa33-502777496347/contract/variant-change