Class ByProjectKeyRecurrencePoliciesPostString

All Implemented Interfaces:
Deprecatable201Trait<ByProjectKeyRecurrencePoliciesPostString>, ErrorableTrait<ByProjectKeyRecurrencePoliciesPostString>, ExpandableTrait<ByProjectKeyRecurrencePoliciesPostString>, ClientRequestCommand<RecurrencePolicy>, CreateHttpRequestCommand, HttpRequestCommand<RecurrencePolicy>, RequestCommand<RecurrencePolicy>

Creates a Recurrence Policy in the Project.

The manage_recurring_orders:{projectKey} scope is deprecated for use on this endpoint. Update your clients to use the manage_recurrence_policies:{projectKey} scope instead. For more information, see the Deprecations and removals list.



   CompletableFuture<ApiHttpResponse<com.commercetools.api.models.recurrence_policy.RecurrencePolicy>> result = apiRoot
            .withProjectKey("{projectKey}")
            .recurrencePolicies()
            .post("")
            .execute()