ย้อนกลับไปยัง Stripe
เชื่อมต่อ Knoon AI กับ Stripe เพื่อทำงานอัตโนมัติของเวิร์กโฟลว์ AI
List Stripe promotion codes.
stripeDefaultListPromotionCodes
เบต้า
ภายใน
สิทธิ์การใช้งาน
ไม่มีรายการให้แสดง
สิทธิ์การใช้งานตัวเลือก
ไม่มีรายการให้แสดง
พารามิเตอร์
| ชื่อ | ประเภท | คำอธิบาย | จำเป็นต้องมี |
|---|---|---|---|
| code | mustache | Optional promotion code to match. | ไม่ |
| customerId | mustache | Optional Stripe customer ID to filter by. | ไม่ |
| active | mustache | Optional active filter ("true" or "false"). | ไม่ |
| limit | mustache | Optional max number of promotion codes to return (1-100). Defaults to 10. | ไม่ |
คืนสินค้า
| ชื่อ | ประเภท | คำอธิบาย |
|---|---|---|
| id | string | Promotion code ID. |
| code | string | Promotion code. |
| active | boolean | Whether the promotion code is active. |
| couponId | string | Coupon ID tied to the promotion. |
| maxRedemptions | number | Max redemptions when set. |
| timesRedeemed | number | Times redeemed. |
| createdAt | string | Promotion code creation time (ISO). |