# Edit Coupon **PUT /self/{shopId}/coupons/{couponId}** ## Servers - https://dev.sellpass.io: https://dev.sellpass.io () ## Authentication methods - Bearer ## Parameters #### Path parameters - **shopId** (integer(int32)) - **couponId** (integer(int64)) ## Body parameters Content-type: application/json - **name** (string) - **note** (string | null) - **discount** (number(double)) - **isFixed** (boolean) - **startDate** (string(date-time) | null) - **endDate** (string(date-time) | null) - **restrictToProducts** (array[integer(int64)] | null) - **restrictToGateways** (array[integer(int32)] | null) " The list of supported payment gateways. CoinbaseCommerce = 0 Stripe = 1 PayPal = 2 CashApp = 3 PayPalFf = 4 VirtualPayments = 5 Square = 6 " - **maxUses** (integer(int32) | null) ## Responses ### 200: Coupon edited [Powered by Bump.sh](https://bump.sh)