Skip to main content
PATCH

Authorizations

x-publisher-token
string
header
required

Publisher token, as displayed in the Publisher Dashboard.

Path Parameters

couponName
string
required

Coupon name.

Example:

"summer26"

Body

application/json
active
boolean
required

Whether to activate or deactivate the specified promo codes.

Example:

false

promoCodeNames
string[]
required

List of promo code names to activate or deactivate.

Required array length: 1 - 1000 elements
Example:

Response

Promo codes updated successfully.

promoCodes
object[]

List of updated promo codes.