Misc / Uploads

Update one of the brand's coupons.

Updates a coupon owned by the key's clinic (404 otherwise). Requires the write scope.

put/api/v1/coupons/{id}

Request

  • Base URL: https://api-dev.fusehealth.com
  • URL: https://api-dev.fusehealth.com/api/v1/coupons/{id}
  • Auth: API key in header x-api-key

Path parameters

idstring uuid required

Request body

codestring
descriptionunknown
discountType'percent' | 'fixed'
discountValuenumber
startsAtstring date-time
expiresAtstring date-time
isActiveboolean
scope'first_charge' | 'all_charges'
overMarginBehavior'reject' | 'cap' | 'absorb'
maxRedemptionsunknown
perCustomerLimitunknown
minOrderAmountunknown

Response

Updated

successboolean
dataobject

Changes

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