Loading...

DELETE   https://api.3seventy.com/api/v2.1/account/{accountId}/external-couponlist/{externalCouponListId}/code/{couponCode}

Description

Deletes a perticular coupon code associated with an External coupon List

Path Parameters

accountId integer The account ID the external coupon list belongs to. required
externalCouponListId integer The External Coupon List Id of the coupon code required
couponCode string The coupon code that needs to be deleted required

C#


using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Linq;
using ThreeSeventy.Vector.Client;
using ThreeSeventy.Vector.Client.Enums;
using ThreeSeventy.Vector.Client.Models;

public class Program
{

private static void Main(string[] args)
{

const int accountId = XXXX;

const int externalCouponListId = XXXX;

const string couponCode = "XXXX";

var context = new CouponRestContext();

var response = context.DeleteCouponExternalCode(accountId, externalCouponListId, couponCode);

}

}