- Category: ecommerce
- Auth: API_KEY
- Composio-managed OAuth available? N/A
- Tools: 9
- Triggers: 0
- Slug:
PAYHIP - Version: 20261101_00
Tools
Create Coupon
Create Coupon
Slug:
PAYHIP_CREATE_COUPONTool to create a coupon for discounts in Payhip. Use when you need to create a new coupon code with either percentage or fixed amount discounts. Coupons can apply to single products, all products, or collections.Input Parameters
For administrative purposes you can remind yourself why you created this coupon by adding a note - not visible to customers
A positive integer representing the amount to subtract from the cart total in cents. For example $5 off would be 500. Required if percent_off is not provided. Cannot be used together with percent_off.
Specifies if the coupon will be applied for a single product, all your products or a single collection
A positive float larger than 0, and smaller or equal to 100, that represents the discount percentage the coupon will apply. Required if amount_off is not provided. Cannot be used together with amount_off.
Output
Delete Coupon
Delete Coupon
Get Coupon
Get Coupon
Update Coupon
Update Coupon
Verify Coupon
Verify Coupon
Webhook Event - Paid
Webhook Event - Paid
Webhook Event - Refunded Payment
Webhook Event - Refunded Payment
Webhook Event - Subscription Created
Webhook Event - Subscription Created