अभी शुरू करें
Payhip Tools

Payhip Create Coupon

Aident Loadout के माध्यम से Payhip Tools के साथ Payhip Create Coupon का उपयोग करें। चलाने से पहले इनपुट, आउटपुट, सेटअप, मूल्य और जोखिम देखें।

राइट Actionजोखिम स्तर 2/5API कुंजी कनेक्शन

प्रदाता विवरण

Tool 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.

मूल्य और सीमाएँ

मूल्य
मुफ़्त Action
एकीकृत भुगतान
अभी समर्थित नहीं

इनपुट

  • codestring
    आवश्यक
    The coupon code the customer is required to enter at checkout
  • notesstring
    For administrative purposes you can remind yourself why you created this coupon by adding a note - not visible to customers
  • amount_offinteger
    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.
  • coupon_typestring
    आवश्यक
    Specifies if the coupon will be applied for a single product, all your products or a single collection
  • percent_offnumber
    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.
  • product_keystring
    The unique product key. Required if coupon_type is set to 'single'
  • usage_limitinteger
    The maximum number of times this coupon can be redeemed before it becomes invalid
  • collection_idstring
    The unique collection ID. Required if coupon_type is set to 'collection'

देखा जा सकने वाला आउटपुट

  • data
    आवश्यक
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    आवश्यक
    Whether or not the action execution was successful or not

इस Action का उपयोग करने वाली Skills

संबंधित उपयोग के मामले

अभी कोई सत्यापित संबंधित उपयोग मामला लिंक नहीं है।

आधिकारिक स्रोत

प्रदाता स्रोत