Loading...

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

Description

Get all coupon codes associated with a perticular External coupon ListId

Path Parameters

accountId integer The account ID the external coupon list belongs to. required
externalCouponListId integer The External Coupon List Id who's coupon codes should be returned required

Response Properties application/json

ContactId integer The Customer who received the external coupon code
CouponCode string The external coupon code
Created string The date when the external coupon code is created
ListId integer External Coupon list Id associated with this Coupon Code
ReservationToken string Platform.Services.AccountService.Data.ContentTemplate


                    

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;

var context = new CouponRestContext();

var list = context.GetCouponExternalCodeList(accountId, externalCouponListId);

}

}