URL Reference

You can use this as a handy reference to all of the urls that Spreedly exposes to you, both via the web and via the API.

Web

Subscribe (more)

https://spreedly.com/[short site name]/subscribers/[customer_id]/subscribe/[subscription plan id]/[screen name for subscriber]

Edit subscription (more)

https://spreedly.com/[short site name]/subscriber_accounts/[spreedly token]

Subscriber API

Get a subscriber’s details (more)

GET /api/v4/[short site name]/subscribers/[customer_id].xml

Create a subscriber (more)

POST /api/v4/[short site name]/subscribers.xml

Update a Subscriber (more)

PUT /api/v4/[short site name]/subscribers/[customer_id].xml

Give a subscriber a complimentary subscription (more)

POST /api/v4/[short site name]/subscribers/[customer_id]/complimentary_subscriptions.xml

Give a subscriber a complimentary time extension (more)

POST /api/v4/[short site name]/subscribers/[customer_id]/complimentary_time_extension.xml

Give a subscriber a lifetime complimentary subscription (more)

POST /api/v4/[short site name]/subscribers/[customer_id]/lifetime_complimentary_subscriptions.xml

Give a subscriber a store credit (more)

POST /api/v4/[short site name]/subscribers/[customer_id]/credits.xml

Adding a fee to a subscriber (more)

POST /api/v4/[short site name]/subscribers/[customer_id]/fees.xml

Programatically Stopping Auto Renew of a Subscriber (more)

POST /api/v4/[short site name]/subscribers/[customer_id]/stop_auto_renew.xml

Programatically Subscribe a Subscriber to a Free Trial Plan (more)

POST /api/v4/[short site name]/subscribers/[customer_id]/subscribe_to_free_trial.xml

Programatically Allow Another Free Trial (more)

POST /api/v4/[short site name]/subscribers/[customer_id]/allow_free_trial.xml

Get a list of all subscribers (more)

GET /api/v4/[short site name]/subscribers.xml

Subscription Plan API

Get a list of all subscription plans (more)

GET /api/v4/[short site name]/subscription_plans.xml

Payments API

Create an Invoice (more)

POST /api/v4/[short site name]/invoices.xml

Pay an Invoice (more)

PUT /api/v4/[short site name]/invoices/[invoice token]/pay.xml

Test API

Clear all subscribers from a *test* site (more)

DELETE /api/v4/[short site name]/subscribers.xml

Delete one subscriber from a *test* site (more)

DELETE /api/v4/[short site name]/subscribers/[customer_id].xml

Return to the Integration Reference ↑

Olark Livehelp