Skip to main content
POST
Issue coupon to contact

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Coupon topic id. Get it from coupons.listTopics.

Pattern: ^\d+$

Body

application/json
contactId
string
required

Contact id. Get it from contacts.list.

Pattern: ^\d+$

Response

OK

id
string
required
workspaceId
string
required
topicId
string
required
code
string
required
issuedContactId
string | null
required
issuedAt
string<date-time> | null
required
usedAt
string<date-time> | null
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required