Loading...

Description

Get details of a perticular Coupon Code


Request URL

GET   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 who's details that needs to be returned 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 item = context.GetCouponExternalCode(accountId, externalCouponListId, couponCode);

}

}

 

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