LinkyFlow — autonomous agents and live business data in Excel or on the webLinkyFlow
Stripe Promotion Codes: inputs and fields
← Stripe connection for LinkyFlow

Stripe Promotion Codes: inputs and fields

Customer-facing codes that apply a coupon.

Read

Promotion Codes

Customer-facing codes that apply a coupon.

Route: GET /promotionCodes

Excel formula: =LF.stripe.promotionCodes("selection", "fields")

Inputs you can set

NameTypeRequiredDescription
linkstringYes-
ididNoRead exactly this record. Answers one row, or a not-found error.
createdAfterstringNoOnly records created at or after this moment — an ISO date, or epoch seconds.
createdBeforestringNoOnly records created at or before this moment — an ISO date, or epoch seconds.
codestringNoFilter by code
activebooleanNoFilter by active state
limitnumberNoRows per page (max 100) Default: 100

Data returned in Excel

FieldTypeRelationsDescription
iddefaultid—-
codedefaultstring—-
coupondefaultid—-
activedefaultboolean—-
times_redeemeddefaultnumber—-
createddefaultnumber—-
Create

Create Promotion Code

Create Promotion Code

Route: POST /mutation/promotionCodes

Inputs you can set

NameTypeRequiredDescription
codestringNo-
couponidYes-
customeridNo-
expires_atnumberNo-
max_redemptionsnumberNo-

Data returned in Excel

This action returns a confirmation rather than a selectable table.

Edit

Update Promotion Code

Update Promotion Code

Route: PATCH /mutation/promotionCodes

Inputs you can set

NameTypeRequiredDescription
codestringNo-
couponidYes-
customeridNo-
expires_atnumberNo-
max_redemptionsnumberNo-

Data returned in Excel

This action returns a confirmation rather than a selectable table.