Docs

Create Coupon

Creates a new coupon in Payhip.

POST

Query

Field selectionChoose which fields should be included in the response. Learn more
string

Comma-separated response fields to include.

Body

Arguments
stringrequired

Choose whether the coupon applies to all products, specific products, or specific collections.

stringrequired

The coupon code customers will enter at checkout.

number

Percentage discount to apply when using a percentage-based coupon.

number

Fixed amount discount to apply when using an amount-based coupon.

string

Required when the coupon targets a specific product.

string

Required when the coupon targets a specific collection.

number

Maximum number of times the coupon can be redeemed.

number

Minimum purchase amount required before the coupon applies.

string

Optional start date for the coupon.

string

Optional end date for the coupon.

string

Internal notes stored with the coupon.

Every app you connect,one REST pattern

Call any app with one REST pattern. MindCloud handles each provider's auth, request shape, and responses for you.

Learn what the Universal API is
One REST patternUse the same request structure across apps like Slack, HubSpot, Salesforce, and thousands more.
Managed connectionsSend a MindCloud connection ID instead of handling provider tokens, refresh logic, and credential storage yourself.
Action-level docsEach action page shows the exact endpoint, required arguments, optional controls, and response behavior for that app version.