Loading...

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

Description

Creates an External Coupon list definition and inserts any coupon codes if passed in

Path Parameters

accountId integer The accountId that will own the external coupon list. required

Request Properties application/json

Name string Name for the external coupon list definition required
Description string Description for the external coupon list optional
Inheritable boolean If external coupon list can be shared with the child accounts or not optional
Url string Blob URL pointing to the CSV file should have all coupon codes in one column with "CouponCodes" as the column header optional
CouponCodes array[string] A list of coupon codes optional


                    

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;