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

Givebutter Create Discount Code

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

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

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

Tool to create a discount code for a campaign. Use when you need to provide promotional pricing or discounts for campaign items.

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

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

इनपुट

  • codestring
    आवश्यक
    The discount code string that users will enter. Must be unique within the campaign and no more than 255 characters.
  • typestring
    आवश्यक
    Type of discount: 'percentage' for a percentage-based discount (e.g., 10% off), or 'fixed' for a fixed amount discount (e.g., $10 off).
  • usesinteger
    Maximum number of times the discount code can be used. If not provided, there is no usage limit.
  • itemsarray
    List of item IDs that the discount code applies to. If not provided, the code applies to all items in the campaign.
  • activeboolean
    आवश्यक
    Whether the discount code is active and can be used immediately.
  • amountnumber
    आवश्यक
    Discount amount. For 'percentage' type, this is the percentage (e.g., 10 for 10% off). For 'fixed' type, this is the amount in cents (e.g., 1000 for $10.00 off).
  • campaigninteger
    आवश्यक
    The campaign ID to create the discount code for.
  • starts_atstring
    UTC datetime string when the discount code becomes active (ISO-8601 format). If not provided, the code is active immediately.
  • expires_atstring
    UTC datetime string when the discount code expires (ISO-8601 format). If not provided, the code will not expire.

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

  • 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

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

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

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

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