Updates a project’s details. Only the fields you include in the request body will be changed — all other fields remain untouched.
Endpoint
Authentication
Bearer token with your API key. Requires read_write permission.
Path Parameters
The project’s URL-friendly slug identifier.
Body Parameters
All fields are optional. Only provided fields are updated.
General Settings
Project name. Maximum 100 characters.
Short project description.
Longer description shown on the pricing page header.
Currency code (e.g. "USD", "EUR", "GBP").
Discount for annual billing as a decimal (e.g. 0.2 for 20% off).
Enable or disable the annual billing toggle.
Activate or deactivate the project.
Redirect URLs
These are the Redirects fields in the builder. Each must be a full https:// or http:// address; send null or "" to clear one. See Redirect URLs.
Sent to your checkout link as success_url: where your checkout sends the buyer after a successful payment. Defaults to your Cuprice share page.
Sent to your checkout link as cancel_url: where your checkout sends the buyer if they leave. Defaults to your Cuprice share page.
Saved with the project. The checkout handoff does not use it.
Saved with the project. The checkout handoff does not use it.
The checkout link itself (Integration > Payment) can only be set in the builder.
Theme Settings
Visual customization settings for the pricing widget.
Font family for the pricing widget (e.g. "Inter", "Roboto").
Primary accent color as a hex code (e.g. "var(--color-emerald-600)").
Button hover color as a hex code.
Text color inside buttons as a hex code.
Border radius for cards and buttons (e.g. "8px", "12px").
Background color of the pricing cards.
Border color of the pricing cards.
Custom CSS to inject into the pricing widget. Overrides default styles.
Show or hide the project name in the pricing header.
Show or hide the pricing page header section.
Alignment of the header text ("left", "center", "right").
Alignment of the description text ("left", "center", "right").
Alignment of the monthly/annual toggle ("left", "center", "right").
Position of the “Popular” badge on plan cards ("top", "inline").
Response
Returns the full updated project object.
Example — Update Basic Settings
Example — Update Theme with Custom CSS
Errors