Updates an existing external coupon list and its coupons

Request URL

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

Request Properties

Parameter Description Mandatory
accountId The accountId that will own the external coupon list. Yes
Name Name for the external coupon list definition Yes
Description Description for the external coupon list No
Inheritable If external coupon list can be shared with the child accounts or not No
Url Blob URL pointing to the CSV file should have all coupon codes in one column with "CouponCodes" as the column header No
CouponCodes A list of coupon codes No
externalCouponListId The ID of the external coupon list that needs to be updated. Yes


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;

var context = new T70Context();

var externalCouponRepo = context.Repository<ExternalCouponList>(new { AccountId = accountId });

var item = externalCouponRepo.Get(externalCouponListId);

item.Name = "XXXX";





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