patch https://api-payment.inspireplatform.io/coupons//coupon-codes/
Overview
Add or edit custom properties for a coupon code to fit your specific business needs. These custom properties are added to a Coupon Code object in the form of key-value pairs and stored in the metadata
property.
Note, that each time you call this endpoint, themetadata
property is overwritten. If you need to edit a key-value pair of metadata, you must pass the entire array of key-value pairs.
To delete all metadata, pass null in the metadata
body parameter.