platformAdmin

post/api/v1/admin/organizations/{organizationId}/apply-discount

Request

  • Base URL: https://api.clerkchat.co (the document declares no server; this is the origin it was published from)
  • URL: https://api.clerkchat.co/api/v1/admin/organizations/{organizationId}/apply-discount
  • Auth: none required

Path parameters

organizationIdstring required

Request body

codestring required

Response

ApplyDiscountResult

organizationIdstring required
appliedTo'subscription' | 'customer' required
codestring required
couponIdstring nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.