latestSwagger 2.02026-08-10143234301.7 KB

dc2736850e42

Rest

Update an existing promo code

put/Business/PromoCodes/{id}

Path parameters

idinteger required

Headers

SiteIdinteger required

Site ID

Request body

Idinteger

ID

Namestring

Name of the promo code

Codestring

Code to be used at purchase for discount

Activeboolean

Active status

ActivationDatestring

Date activated

ExpirationDatestring

Date expired

MaxUsesinteger

How many times it can be used

NumberOfAutopaysinteger

Number of Autopays

DaysAfterCloseDateinteger

Days after close date

AllowOnlineboolean

Whether it can be used online

DaysValidstring[]

What days the promo code can be used

Response

OK

Idinteger

ID

Namestring

Name of the promo code

Codestring

Code to be used at purchase for discount

Activeboolean

Active status

ActivationDatestring

Date activated

ExpirationDatestring

Date expired

MaxUsesinteger

How many times it can be used

NumberOfAutopaysinteger

Number of Autopays

DaysAfterCloseDateinteger

Days after close date

AllowOnlineboolean

Whether it can be used online

DaysValidstring[]

What days the promo code can be used