Loading...

Description

Deletes a perticular coupon code associated with an External coupon List


Request URL

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

Request Properties

Parameter Description Mandatory
accountId The account ID the external coupon list belongs to. Yes
externalCouponListId The External Coupon List Id of the coupon code Yes
couponCode The coupon code that needs to be deleted Yes

C#
PHP


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);

}

}

 

Stay tuned for JAVA code snippet
Stay tuned for RUBY code snippet
Stay tuned for PHP code snippet