Skip to main content
PUT
Update a website product

Authorizations

Authorization
string
header
required

Enter your API key (starts with lindo_sk_)

Path Parameters

website_id
string
required

Unique identifier of the website

Example:

"webAbc1234567890123"

product_id
string
required

Stripe product identifier

Example:

"prod_abc123"

Body

application/json
name
string
required
Required string length: 1 - 250
Example:

"Website audit"

type
enum<string>
required

Product billing type

Available options:
fixed,
subscription,
free
Example:

"fixed"

description
string
default:""
Maximum string length: 5000
Example:

"A detailed website performance and SEO audit"

price
number
default:0

Price in major currency units (for example, 49.99)

Required range: x >= 0
Example:

49.99

currency
string
default:USD
Required string length: 3
Example:

"USD"

interval
enum<string>
default:month

Billing interval for subscription products

Available options:
month,
week,
year
Example:

"month"

Optional URL to open after purchase

Example:

"https://example.com/thank-you"

file_url
default:""

Optional downloadable file URL

Example:

"https://cdn.example.com/audit.pdf"

instruction
string
default:""

Post-purchase instructions

Maximum string length: 5000
Example:

"We will contact you within one business day."

trial
integer
default:0

Trial length in days for a subscription

Required range: x >= 0
Example:

7

features
enum<string>[]

Checkout options enabled for this product

Maximum array length: 4

Checkout option: discount allows promotion codes; phone collects a phone number; address collects a shipping address; quantity lets the customer adjust quantity.

Available options:
discount,
phone,
address,
quantity
Example:
client_limit
integer
default:0
Required range: x >= 0
Example:

0

Response

Product updated

success
enum<boolean>
required
Available options:
true
result
object
required