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

Stripe Create Promotion Code

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

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

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

Tool to create a promotion code linked to an underlying coupon. Use when you need to generate customer-redeemable codes with optional restrictions.

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

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

इनपुट

  • codestring
    The customer-facing code (alphanumeric only: a-z, A-Z, 0-9). Maximum 500 characters. Auto-generated if omitted. Must be unique across all active promotion codes.
  • activeboolean
    Whether the promotion code is currently active. Defaults to true if not specified.
  • couponstring
    आवश्यक
    ID of the coupon that this promotion code will apply. This is required.
  • customerstring
    ID of the customer that this promotion code can be used by. If not set, the promotion code can be used by all customers.
  • metadataobject
    Set of key-value pairs that you can attach to an object. Useful for storing additional information in a structured format.
  • expires_atinteger
    Unix timestamp specifying when the promotion code will expire. Cannot exceed the coupon's redeems_by timestamp if specified.
  • restrictionsobject
    Settings for restricting the promotion code's redemption.
  • max_redemptionsinteger
    A positive integer specifying the number of times the promotion code can be redeemed. Cannot exceed the coupon's max_redemptions if set.

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

  • 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

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

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

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

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