public void Then_The_Url_Is_Correctly_Constructed(string accountIdentifier, string productId)
        {
            var actual = new PostRenewSubscriptionKeyRequest(accountIdentifier, productId);

            actual.PostUrl.Should().Be($"api/subscription/{accountIdentifier}/renew/{productId}");
            actual.Data.Should().BeNull();
        }
        public async Task <Unit> Handle(RenewSubscriptionKeyCommand command, CancellationToken cancellationToken)
        {
            var request = new PostRenewSubscriptionKeyRequest(command.AccountIdentifier, command.ProductId);
            await _apimDeveloperApiClient.PostWithResponseCode <string>(request);

            return(Unit.Value);
        }