Facing error while trying to use Orders API loader
The user is trying to cancel the subscription using Orders API Loader. But it failed with the below error message.
subscriptions.orderActions' Field 'cancelSubscription' is required when 'type' equals with 'CancelSubscription'.
In this case, the issue was the fields: "subscription.cancellationpolicy" and "subscription.cancellationeffectivedate" were not provided with value. When these fields were populated, The import file successfully uploaded.
In the below link you can find the Orders template and also the data dictionary that contains the description of each field in the template: