YoPrint subscription
AI agents: read /llms.txt; add .md to any page URL. This page as Markdown: /reference/yoprint-subscription.md. Index of every page and the rules for every call: /llms.txt. Guides and concepts in one file: /llms-full.txt. OpenAPI: /openapi.json.
Your shop's own YoPrint plan and billing: plans, checkout, card, invoices, cancellation and the billing operations that track each change.
15 operations
- GETList your YoPrint invoices
/Returns the invoices YoPrint has billed your team for its subscription, newest first, a page at a time (the team's page size, 50 by default).v1/ api/ store/ {team_slug}/ setting/ subscription/ invoice - GETList YoPrint plans you can choose
/Returns the YoPrint plans your team can subscribe to, including any private plan YoPrint gave your team: each with itsv1/ api/ store/ {team_slug}/ setting/ subscription/ plan id,name,billing_cycle,price, features, the extras you can configure (config_option), and the… - PUTCheck a YoPrint coupon
/Checks a coupon code for a plan and, when it is valid, returns its discount and av1/ api/ store/ {team_slug}/ setting/ subscription/ check_coupon coupon_token. - GETGet your YoPrint subscription
/Returns the team's current YoPrint subscription: its plan and extras, price, state, dates and the card on file (brand and last four digits only).v1/ api/ store/ {team_slug}/ setting/ subscription/ current - GETCheck a failed YoPrint payment before retrying
/Reads the open renewal invoice that failed to charge:v1/ api/ store/ {team_slug}/ setting/ subscription/ current/ retry_payment_preview amount_remaining(in cents, as Stripe counts it:7000is 70.00, Stripe's own unit, unlike the thousandths or decimal pairs used elsewhere in YoPrint),currency, the card it would… - GETGet a YoPrint billing operation
/Returns one billing operation by thev1/ api/ store/ {team_slug}/ setting/ subscription/ operation/ {operation_id} operation_idyou chose: itskind,state, whether it isterminal, itsoutcomeand thenext_actionto take. - GETGet the unfinished YoPrint billing operation
/Returns the team's billing operation that hasn't finished, asv1/ api/ store/ {team_slug}/ setting/ subscription/ operation/ current operation, oroperation: nullwhen there is none. - PUTPreview a YoPrint plan change
/Shows what a plan change would cost before you make it:v1/ api/ store/ {team_slug}/ setting/ subscription/ plan/ preview amount_duenow and theending_balance, as Stripe calculates them, in thousandths (69000is 69.00; see Money and quantities). - PATCHResume your YoPrint subscription
/This changes what your shop pays YoPrint.v1/ api/ store/ {team_slug}/ setting/ subscription/ current/ resume - POSTRetry a failed YoPrint payment
/This changes what your shop pays YoPrint.v1/ api/ store/ {team_slug}/ setting/ subscription/ current/ retry_payment - PUTReplace the card for your YoPrint subscription
/This changes what your shop pays YoPrint.v1/ api/ store/ {team_slug}/ setting/ subscription/ current/ update_card - POSTRecover a YoPrint billing operation
/Finishes a billing operation whosev1/ api/ store/ {team_slug}/ setting/ subscription/ operation/ {operation_id}/ recover next_actionisrecover: YoPrint reads Stripe and settles the operation to match. - POSTSubscribe to or change your YoPrint plan
/This changes what your shop pays YoPrint.v1/ api/ store/ {team_slug}/ setting/ subscription/ plan/ checkout - POSTChoose the plan for your free trial
/Sets which plan's features the team gets during its free trial.v1/ api/ store/ {team_slug}/ setting/ subscription/ plan/ select_trial - PATCHCancel your YoPrint subscription
/This changes what your shop pays YoPrint.v1/ api/ store/ {team_slug}/ setting/ subscription/ current/ cancel
Legacy and internal (1)
Prefer the operations above. Legacy operations name their replacement; internal ones are built for YoPrint's own apps.
- GETGet a link to the billing pageInternal
/Meant to returnv1/ api/ store/ {team_slug}/ setting/ billing_portal {"url": ...}, a link to manage YoPrint billing: the billing page for the team owner, an error page for anyone else.
