FastSpring

App · 20 actions

Retrieve orders, customer accounts, subscriptions, products and storefront events.

Actions

ActionWhat it does
List all accountsList all accounts.
List all coupon codesList all coupon codes.
List all couponsList all coupons.
List all ordersList all orders.
List all processed eventsList all processed events.
List all product pathsList all product paths.
List all product pricesList all product prices.
List all subscription entriesList all subscription entries.
List all subscription plan changesList all subscription plan changes.
List all subscriptionsList all subscriptions.
List all unprocessed eventsList all unprocessed events.
Retrieve a couponRetrieve a coupon.
Retrieve a productRetrieve a product.
Retrieve a product priceRetrieve a product price.
Retrieve a proforma invoiceRetrieve a proforma invoice.
Retrieve a subscriptionRetrieve a subscription.
Retrieve an accountRetrieve an account.
Retrieve an invoiceRetrieve an invoice.
Retrieve an orderRetrieve an order.
Retrieve product offersRetrieve product offers.

List all accounts

List all accounts.

Inputs

Emailemailtext
Only return accounts with the given email address.
Customcustomtext
Only return accounts with the given custom lookup key.
Globalglobaltext
Only return accounts with the given global lookup key.
Order IDorder_idtext
Only return accounts with the given order ID.
Order referenceorder_referencetext
Only return accounts with the given order reference.
Subscription IDsubscription_idtext
Only return accounts with the given subscription ID.
Productsproductstext
Only return accounts with the given product ID.
Subscriptionssubscriptionstext
Only return accounts with subscriptions in the corresponding state.One of: active, ended, canceled, started.
Refundsrefundstext
Only return accounts that include refunds. You can only pass the value 'true' for this parameter.
Limitlimitnumber
A limit on the number of objects to be returned per page (default limit is 50).
Pagepagenumber
Specify which page of results should be returned.

Outputs

dataobject
The response from FastSpring.
Example output
{
  "data": {
    "accounts": [
      "example"
    ],
    "action": "example",
    "limit": 1,
    "nextPage": 1,
    "page": 1,
    "result": "example",
    "total": 1
  }
}

List all coupon codes

List all coupon codes.

Inputs

Coupon IDcoupon_idtextRequired
The unique path identifier for the coupon.

Outputs

dataobject
The response from FastSpring.
Example output
{
  "data": {
    "codes": [
      "example"
    ],
    "coupon": "example"
  }
}

List all coupons

List all coupons.

Inputs

None.

Outputs

dataobject
The response from FastSpring.
Example output
{
  "data": {
    "coupons": [
      "example"
    ]
  }
}

List all orders

List all orders.

Inputs

Beginbegindate
Filters results to include transactions after the specified begin date (in YYYY-MM-DD format). Must be at least one day before the specified end date.
Daysdaysnumber
Filters results to include transactions within a certain time frame.
Endenddate
Filters results to include transactions before the specified end date (in YYYY-MM-DD format).
Limitlimitnumber
Limits the number of order records returned per page (default is 50 records).
Pagepagenumber
Specifies the page number of results to be returned; used together with limit to control pagination.
Productsproductstext
Filters results to include only transactions involving the specified product path(s).
Rebillrebilltrue/false
Filters results to include or exclude subscription rebill transactions.
Returnsreturnstrue/false
Filters results to include orders with or without returns; response includes returns array with return IDs where applicable.
Scopescopetext
Filters results to include live transactions, test transactions, or both.One of: all, live, test.
Statusstatustext
Filters results by transaction status.One of: completed, canceled, failed.

Outputs

dataobject
The response from FastSpring.
Example output
{
  "data": {
    "action": "example",
    "limit": 1,
    "nextPage": 1,
    "orders": [
      "example"
    ],
    "page": 1,
    "result": "example",
    "total": 1
  }
}

List all processed events

List all processed events.

Inputs

DaysdaysnumberRequired
The number of days for which the data is requested, with a maximum of 30 days. The /events endpoint does not return events that are more than 30 days old.From 1 to 30.
Beginbegindate
Filters results to include events after the specified begin date (in YYYY-MM-DD format). Must be at least one day before the specified end date.
Endenddate
Filters results to include events before the specified end date (in YYYY-MM-DD format).

Outputs

dataobject
The response from FastSpring.
Example output
{
  "data": {
    "action": "example",
    "data": [
      {
        "created": 1,
        "data": {
          "account": {},
          "address": {},
          "contact": {},
          "country": {},
          "id": {},
          "language": {},
          "lookup": {},
          "url": {}
        },
        "id": "example",
        "live": true,
        "processed": true,
        "type": "example"
      }
    ],
    "events": [
      {
        "created": 1,
        "data": {
          "account": {},
          "address": {},
          "contact": {},
          "country": {},
          "id": {},
          "language": {},
          "lookup": {},
          "url": {}
        },
        "event": "example",
        "id": "example",
        "live": true,
        "processed": true,
        "type": "example"
      }
    ],
    "limit": 1,
    "more": true,
    "nextPage": 1,
    "page": 1,
    "result": "example",
    "total": 1
  }
}

List all product paths

List all product paths.

Inputs

None.

Outputs

dataobject
The response from FastSpring.
Example output
{
  "data": {
    "action": "example",
    "limit": 1,
    "nextPage": 1,
    "page": 1,
    "products": [
      "example"
    ],
    "result": "example",
    "total": 1
  }
}

List all product prices

List all product prices.

Inputs

Countrycountrytext
The country for which the product price is being requested. This helps filter pricing based on the country's specific pricing rules or regional offers (e.g., "US", "DE").
Currencycurrencytext
The currency in which the product price should be displayed. This allows the system to return the price in a specific currency (e.g., "USD", "EUR").
Limitlimitnumber
Limits the number of objects returned per page (default limit is 50).
Pagepagenumber
Specifies the page number of results to be returned; used together with limit to control pagination.

Outputs

dataobject
The response from FastSpring.
Example output
{
  "data": {
    "limit": 1,
    "nextPage": 1,
    "page": 1,
    "products": [
      {
        "action": "example",
        "pricing": {
          "US": {}
        },
        "product": "example",
        "result": "example"
      }
    ]
  }
}

List all subscription entries

List all subscription entries.

Inputs

Subscription IDsubscription_idtextRequired
Unique identifier for the subscription.

Outputs

datalist
The response from FastSpring.
Example output
{
  "data": [
    {
      "beginEntryDate": "example",
      "beginPeriodDate": "example",
      "endPeriodDate": "example",
      "id": "example",
      "order": {
        "account": "example",
        "address": {
          "city": {},
          "country": {},
          "display": {},
          "postalCode": {},
          "region": {},
          "regionCode": {},
          "regionDisplay": {}
        },
        "billDescriptor": "example",
        "buyerReference": "example",
        "changed": 1,
        "changedDisplay": "example",
        "changedDisplayEmailEnhancements": "example",
        "changedDisplayEmailEnhancementsWithTime": "example",
        "changedDisplayISO8601": "example",
        "changedInSeconds": 1,
        "changedValue": 1,
        "completed": true,
        "currency": "example",
        "customer": {
          "company": {},
          "email": {},
          "first": {},
          "last": {},
          "phone": {},
          "subscribed": {}
        },
        "discount": 1,
        "discountDisplay": "example",
        "discountInPayoutCurrency": 1,
        "discountInPayoutCurrencyDisplay": "example",
        "discountWithTax": 1,
        "discountWithTaxDisplay": "example",
        "discountWithTaxInPayoutCurrency": 1,
        "discountWithTaxInPayoutCurrencyDisplay": "example",
        "id": "example",
        "invoiceUrl": "example",
        "ipAddress": "example",
        "items": [
          {}
        ],
        "language": "example",
        "live": true,
        "notes": [
          {}
        ],
        "order": "example",
        "payment": {
          "cardEnding": {},
          "type": {}
        },
        "payoutCurrency": "example",
        "quote": "example",
        "recipients": [
          {}
        ],
        "reference": "example",
        "returns": [
          {}
        ],
        "siteId": "example",
        "subtotal": 1,
        "subtotalDisplay": "example",
        "subtotalInPayoutCurrency": 1,
        "subtotalInPayoutCurrencyDisplay": "example",
        "tax": 1,
        "taxDisplay": "example",
        "taxInPayoutCurrency": 1,
        "taxInPayoutCurrencyDisplay": "example",
        "total": 1,
        "totalDisplay": "example",
        "totalInPayoutCurrency": 1,
        "totalInPayoutCurrencyDisplay": "example"
      }
    }
  ]
}

List all subscription plan changes

List all subscription plan changes.

Inputs

Subscription IDsubscription_idtextRequired
Unique identifier for the subscription.
Scopescopetext
Specify the item type to filter results. Valid values include `base_plan` and `add_on`.One of: base_plan (Base plan), add_on (Add on).
Orderordertext
Specify the sort order of the results. Valid values include `increasing` and `decreasing`. The default value is `decreasing`.One of: increasing, decreasing.

Outputs

dataobject
The response from FastSpring.
Example output
{
  "data": {
    "changes": [
      {
        "changeId": "example",
        "changeType": "example",
        "changedFrom": "example",
        "changedFromDisplay": "example",
        "changedTo": "example",
        "changedToDisplay": "example",
        "insertTimestamp": 1,
        "itemId": "example",
        "itemProductDisplay": "example",
        "itemProductPath": "example",
        "itemProductSku": "example",
        "itemType": "example",
        "orderId": "example",
        "orderRef": "example",
        "prorated": true,
        "siteId": "example",
        "subscriptionId": "example"
      }
    ],
    "currency": "example",
    "timezone": "example"
  }
}

List all subscriptions

List all subscriptions.

Inputs

Account IDaccount_idtext
Filter subscriptions by the associated account ID.
Beginbegindate
Specify the beginning of a date range in yyyy-mm-dd format.
Endenddate
Specify the end of a date range in yyyy-mm-dd format.
Eventeventtext
Specify the event type to filter results. Valid values include `canceled`, `charged`, `created`, `deactivated`, `trialended`, or `trialstarted`.One of: canceled, charged, created, deactivated, trialended, trialstarted.
Productsproductstext
Filter subscriptions by specific product IDs.
Scopescopetext
Specify the scope to filter by `test` or `live` subscriptions. If not provided, both live and test subscriptions are returned by default.One of: all, live, test.
Statusstatustext
Specify the subscription status to filter results. Valid values include `active`, `canceled`, `deactivated`, `overdue`, or `trial`.One of: active, canceled, deactivated, overdue, trial.
Pagepagenumber
Specify the page number of results to retrieve. Defaults to 1 if not provided.
Limitlimitnumber
Specify the maximum number of results per page. Defaults to 50 if not provided.

Outputs

dataobject
The response from FastSpring.
Example output
{
  "data": {
    "action": "example",
    "limit": 1,
    "nextPage": 1,
    "page": 1,
    "result": "example",
    "subscriptions": [
      {}
    ],
    "total": 1
  }
}

List all unprocessed events

List all unprocessed events.

Inputs

DaysdaysnumberRequired
The number of days for which the data is requested, with a maximum of 30 days. The /events endpoint does not return events that are more than 30 days old.From 1 to 30.
Beginbegindate
Filters results to include events after the specified begin date (in YYYY-MM-DD format). Must be at least one day before the specified end date.
Endenddate
Filters results to include events before the specified end date (in YYYY-MM-DD format).

Outputs

dataobject
The response from FastSpring.
Example output
{
  "data": {
    "action": "example",
    "data": [
      {
        "created": 1,
        "data": {
          "account": {},
          "address": {},
          "contact": {},
          "country": {},
          "id": {},
          "language": {},
          "lookup": {},
          "url": {}
        },
        "id": "example",
        "live": true,
        "processed": true,
        "type": "example"
      }
    ],
    "events": [
      {
        "created": 1,
        "data": {
          "account": {},
          "address": {},
          "contact": {},
          "country": {},
          "id": {},
          "language": {},
          "lookup": {},
          "url": {}
        },
        "event": "example",
        "id": "example",
        "live": true,
        "processed": true,
        "type": "example"
      }
    ],
    "limit": 1,
    "more": true,
    "nextPage": 1,
    "page": 1,
    "result": "example",
    "total": 1
  }
}

Retrieve a coupon

Retrieve a coupon.

Inputs

Coupon IDcoupon_idtextRequired
The unique path identifier for the coupon.
Expandexpandtrue/false
When `true`, expands product path identifiers to full product objects in the `products` array of the response.

Outputs

dataobject
The response from FastSpring.
Example output
{
  "data": {
    "applyDiscountImmediately": true,
    "available": {
      "end": "example",
      "start": "example"
    },
    "codes": [
      "example"
    ],
    "combine": true,
    "coupon": "example",
    "discount": {
      "amount": {
        "EUR": 1,
        "GBP": 1,
        "USD": 1
      },
      "discounts": [
        {
          "amount": {},
          "applyDiscountImmediately": {},
          "discountPeriodCount": {},
          "percent": {},
          "products": {},
          "type": {}
        }
      ],
      "hasMultipleDiscounts": true,
      "percent": 1,
      "type": "percent"
    },
    "discountPeriodCount": 1,
    "limit": "example",
    "orderLevelDiscount": true,
    "products": [
      {}
    ],
    "reason": {}
  }
}

Retrieve a product

Retrieve a product.

Inputs

Product pathproduct_pathtextRequired
Unique identifier to reference a specific product, also known as the product path ID.

Outputs

dataobject
The response from FastSpring.
Example output
{
  "data": {
    "products": [
      {
        "attributes": {},
        "badge": "example",
        "description": {
          "action": {},
          "full": {},
          "summary": {}
        },
        "display": {
          "en": {}
        },
        "image": "example",
        "offers": [
          {}
        ],
        "parent": "example",
        "product": "example",
        "productAppReference": "example",
        "quantityDiscounts": {},
        "quotable": true,
        "rank": 1,
        "sku": "example",
        "visibility": "private"
      }
    ]
  }
}

Retrieve a product price

Retrieve a product price.

Inputs

Product pathproduct_pathtextRequired
Unique identifier to reference a specific product, also known as the product path ID.
Countrycountrytext
The country for which the product price is being requested. This helps filter pricing based on the country's specific pricing rules or regional offers (e.g., "US", "DE").
Currencycurrencytext
The currency in which the product price should be displayed. This allows the system to return the price in a specific currency (e.g., "USD", "EUR").

Outputs

dataobject
The response from FastSpring.
Example output
{
  "data": {
    "limit": 1,
    "page": 1,
    "products": [
      {
        "action": "example",
        "pricing": {
          "US": {}
        },
        "product": "example",
        "result": "example"
      }
    ]
  }
}

Retrieve a proforma invoice

Retrieve a proforma invoice.

Inputs

Subscription IDsubscription_idtextRequired
Unique identifier for the subscription.
Languagelanguagetext
Specify the language for the proforma invoice content. If not provided, defaults to the subscription's language or 'en'.One of: ar, cs, da, de, en, es, fi, fr, he, hr, and 12 more.

Outputs

dataobject
The response from FastSpring.
Example output
{
  "data": {
    "contact": {
      "address": {
        "accountId": "example",
        "addressLine1": "example",
        "city": "example",
        "country": "example",
        "postalCode": "example",
        "region": "example"
      },
      "company": "example",
      "email": "example",
      "firstName": "example",
      "phone": "example"
    },
    "items": {
      "amountDue": {
        "nextChargeAmount": 1,
        "nextChargeAmountDisplay": "example",
        "nextChargeDate": 1,
        "nextChargeDateDisplay": "example",
        "nextChargeDateDisplayISO8601": "example",
        "prorationSubtotal": 1,
        "prorationSubtotalDisplay": "example",
        "prorationTax": 1,
        "prorationTaxDisplay": "example",
        "totalAmountDue": 1,
        "totalAmountDueDisplay": "example"
      },
      "currency": "example",
      "currentPlan": {
        "addons": [
          {}
        ],
        "billingFrequency": "example",
        "discount": 1,
        "discountDisplay": "example",
        "discounts": [
          {}
        ],
        "display": "example",
        "periodEndDate": 1,
        "periodEndDateDisplay": "example",
        "periodEndDateDisplayISO8601": "example",
        "periodStartDate": 1,
        "periodStartDateDisplay": "example",
        "periodStartDateDisplayISO8601": "example",
        "price": 1,
        "priceDisplay": "example",
        "product": "example",
        "proratedItemCharge": 1,
        "proratedItemChargeDisplay": "example",
        "proratedItemCredit": 1,
        "proratedItemCreditDisplay": "example",
        "proratedItemSubtotal": 1,
        "proratedItemSubtotalDisplay": "example",
        "proratedItemTax": 1,
        "proratedItemTaxDisplay": "example",
        "proratedItemTotal": 1,
        "proratedItemTotalDisplay": "example",
        "prorationRemainingDays": 1,
        "prorationTotalDays": 1,
        "prorationUtilizedDays": 1,
        "quantity": 1,
        "subscriptionProratedCharge": 1,
        "subscriptionProratedChargeDisplay": "example",
        "subscriptionProratedCredit": 1,
        "subscriptionProratedCreditDisplay": "example",
        "subscriptionSubtotal": 1,
        "subscriptionSubtotalDisplay": "example",
        "subscriptionTax": 1,
        "subscriptionTaxDisplay": "example",
        "subscriptionTotal": 1,
        "subscriptionTotalDisplay": "example",
        "subtotal": 1,
        "subtotalDisplay": "example",
        "tax": 1,
        "taxDisplay": "example",
        "taxPercent": 1,
        "taxPercentDisplay": "example",
        "total": 1,
        "totalDisplay": "example"
      },
      "endDate": "example",
      "endDateDisplay": "example",
      "endDateDisplayISO8601": "example",
      "isProratable": true,
      "nextChargeDate": 1,
      "nextChargeDateDisplay": "example",
      "nextChargeDateDisplayISO8601": "example",
      "periodEndDate": 1,
      "periodEndDateDisplay": "example",
      "periodEndDateDisplayISO8601": "example",
      "periodStartDate": 1,
      "periodStartDateDisplay": "example",
      "periodStartDateDisplayISO8601": "example",
      "proposedPlan": {
        "addons": [
          {}
        ],
        "billingFrequency": "example",
        "discount": 1,
        "discountDisplay": "example",
        "discounts": [
          {}
        ],
        "display": "example",
        "periodEndDate": 1,
        "periodEndDateDisplay": "example",
        "periodEndDateDisplayISO8601": "example",
        "periodStartDate": 1,
        "periodStartDateDisplay": "example",
        "periodStartDateDisplayISO8601": "example",
        "price": 1,
        "priceDisplay": "example",
        "product": "example",
        "proratedItemCharge": 1,
        "proratedItemChargeDisplay": "example",
        "proratedItemCredit": 1,
        "proratedItemCreditDisplay": "example",
        "proratedItemSubtotal": 1,
        "proratedItemSubtotalDisplay": "example",
        "proratedItemTax": 1,
        "proratedItemTaxDisplay": "example",
        "proratedItemTotal": 1,
        "proratedItemTotalDisplay": "example",
        "prorationRemainingDays": 1,
        "prorationTotalDays": 1,
        "prorationUtilizedDays": 1,
        "quantity": 1,
        "subscriptionProratedCharge": 1,
        "subscriptionProratedChargeDisplay": "example",
        "subscriptionProratedCredit": 1,
        "subscriptionProratedCreditDisplay": "example",
        "subscriptionSubtotal": 1,
        "subscriptionSubtotalDisplay": "example",
        "subscriptionTax": 1,
        "subscriptionTaxDisplay": "example",
        "subscriptionTotal": 1,
        "subscriptionTotalDisplay": "example",
        "subtotal": 1,
        "subtotalDisplay": "example",
        "tax": 1,
        "taxDisplay": "example",
        "taxPercent": 1,
        "taxPercentDisplay": "example",
        "total": 1,
        "totalDisplay": "example"
      },
      "prorationStatus": "example",
      "remainingPeriods": 1,
      "subscription": "example",
      "timezone": "example"
    },
    "merchantContact": {
      "merchantAddress": "example",
      "merchantName": "example"
    },
    "proformaInvoiceHeader": {
      "currency": "example",
      "language": "example",
      "message": "example",
      "proFormaInvoiceCreationDate": 1,
      "proFormaInvoiceCreationDateDisplay": "example",
      "proFormaInvoiceCreationDateDisplayISO8601": "example",
      "proFormaInvoiceExpirationDate": 1,
      "proFormaInvoiceExpirationDateDisplay": "example",
      "proFormaInvoiceExpirationDateDisplayISO8601": "example",
      "timezone": "example"
    },
    "supportContact": {
      "email": "example",
      "name": "example",
      "url": "example"
    }
  }
}

Retrieve a subscription

Retrieve a subscription.

Inputs

Subscription IDsubscription_idtextRequired
Unique identifier for the subscription.
Account IDaccount_idtext
Filter subscriptions by the associated account ID.
Beginbegindate
Specify the beginning of a date range in yyyy-mm-dd format.
Endenddate
Specify the end of a date range in yyyy-mm-dd format.
Eventeventtext
Specify the event type to filter results. Valid values include `canceled`, `charged`, `created`, `deactivated`, `trialended`, or `trialstarted`.One of: canceled, charged, created, deactivated, trialended, trialstarted.
Productsproductstext
Filter subscriptions by specific product IDs. Use commas to separate multiple values.
Scopescopetext
Specify the scope to filter by `test` or `live` subscriptions. If not provided, both live and test subscriptions are returned by default.One of: all, live, test.
Statusstatustext
Specify the subscription status to filter results. Valid values include `active`, `canceled`, `deactivated`, `overdue`, or `trial`.One of: active, canceled, deactivated, overdue, trial.

Outputs

dataobject
The response from FastSpring.
Example output
{
  "data": {
    "account": "example",
    "active": true,
    "addons": [
      {
        "display": "example",
        "price": 1,
        "priceDisplay": "example",
        "product": "example",
        "quantity": 1,
        "sku": "example"
      }
    ],
    "adhoc": true,
    "attributes": {},
    "autoRenew": true,
    "cardEnding": "example",
    "cardType": "example",
    "changed": 1,
    "changedDisplay": "example",
    "changedInSeconds": 1,
    "changedValue": 1,
    "currency": "example",
    "declineReason": "example",
    "discount": 1,
    "discountDisplay": "example",
    "discountInPayoutCurrency": 1,
    "discountInPayoutCurrencyDisplay": "example",
    "display": "example",
    "expiry": "example",
    "id": "example",
    "isPauseScheduled": true,
    "isSubscriptionEligibleForPauseByBuyer": true,
    "live": true,
    "nextChargeDate": "example",
    "paymentMethod": "example",
    "price": 1,
    "priceDisplay": "example",
    "priceInPayoutCurrency": 1,
    "priceInPayoutCurrencyDisplay": "example",
    "product": "example",
    "quantity": 1,
    "sku": "example",
    "state": "example",
    "subscription": "example",
    "subtotal": 1,
    "subtotalDisplay": "example",
    "subtotalInPayoutCurrency": 1,
    "subtotalInPayoutCurrencyDisplay": "example"
  }
}

Retrieve an account

Retrieve an account.

Inputs

Account IDaccount_idtextRequired
Unique identifier for the account.

Outputs

dataobject
The response from FastSpring.
Example output
{
  "data": {
    "account": "example",
    "action": "example",
    "address": {
      "addressLine1": "example",
      "addressLine2": "example",
      "city": "example",
      "company": "example",
      "postalCode": "example",
      "region": "example",
      "regionCustom": "example"
    },
    "charges": [
      {
        "currency": "example",
        "order": "example",
        "orderReference": "example",
        "payoutCurrency": "example",
        "status": "successful",
        "subscription": "example",
        "timestamp": 1,
        "timestampDisplay": 1,
        "timestampDisplayISO8601": 1,
        "timestampInSeconds": 1,
        "timestampValue": 1,
        "total": "example",
        "totalInPayoutCurrency": 1
      }
    ],
    "contact": {
      "company": "example",
      "email": "example",
      "first": "example",
      "last": "example",
      "phone": "example",
      "subscribed": true
    },
    "country": "example",
    "id": "example",
    "language": "example",
    "lookup": {
      "custom": "example",
      "global": "example"
    },
    "orders": [
      "example"
    ],
    "payment": {
      "active": 1,
      "methods": 1
    },
    "result": "example",
    "subscribed": true,
    "subscriptions": [
      "example"
    ],
    "taxExemptionData": "example",
    "url": "example"
  }
}

Retrieve an invoice

Retrieve an invoice.

Inputs

Invoice IDinvoice_idtextRequired
The unique identifier of the invoice to retrieve.

Outputs

dataobject
The response from FastSpring.
Example output
{
  "data": {
    "acquisitionReturnTransactionId": "example",
    "acquisitionTransactionId": "example",
    "bankPaymentInstruction": "example",
    "companyName": "example",
    "createdOn": "example",
    "currency": "example",
    "customerReference": "example",
    "dueDate": "example",
    "eguiNumber": "example",
    "id": "example",
    "invoiceOrderType": "example",
    "invoiceSecret": "example",
    "invoiceType": "CREDIT_MEMO",
    "items": [
      {
        "acquisitionTransactionItemId": "example",
        "autoRenew": true,
        "childItems": [
          {}
        ],
        "display": "example",
        "extendedItemDescription": "example",
        "freeTrialPeriod": "example",
        "id": "example",
        "invoiceId": "example",
        "itemTaxes": [
          {}
        ],
        "listPrice": 1,
        "parentId": "example",
        "period": "example",
        "periodCount": 1,
        "periodEndDate": "example",
        "periodPrice": 1,
        "productFormat": "example",
        "productPath": "example",
        "productType": "example",
        "quantity": 1,
        "shippingPrice": 1,
        "siblingPosition": 1,
        "subscription": true,
        "taxExempt": true,
        "totalPreShippingPrice": 1
      }
    ],
    "language": "example",
    "netTermsDays": 1,
    "notes": "example",
    "orderApprovalType": "example",
    "orderIsResumable": true,
    "orderReference": "example",
    "paymentDate": "example",
    "paymentReceiver": {
      "companyName": "example",
      "contactOrganizationId": "example",
      "contactServiceId": "example",
      "contactType": "example",
      "email": "example",
      "firstName": "example",
      "fullName": "example",
      "id": "example",
      "lastName": "example",
      "phoneNumber": "example",
      "website": "example"
    },
    "paymentReceiverAddress": {
      "addressLine1": "example",
      "addressLine2": "example",
      "addressServiceId": "example",
      "city": "example",
      "country": "example",
      "id": "example",
      "postalCode": "example",
      "region": "example",
      "regionCustom": "example"
    },
    "purchaser": {
      "companyName": "example",
      "contactOrganizationId": "example",
      "contactServiceId": "example",
      "contactType": "example",
      "email": "example",
      "firstName": "example",
      "fullName": "example",
      "id": "example",
      "lastName": "example",
      "phoneNumber": "example",
      "website": "example"
    },
    "purchaserAddress": {
      "addressLine1": "example",
      "addressLine2": "example",
      "addressServiceId": "example",
      "city": "example",
      "country": "example",
      "id": "example",
      "postalCode": "example",
      "region": "example",
      "regionCustom": "example"
    },
    "purchaserOrganization": {
      "organizationId": "example",
      "organizationName": "example",
      "organizationReference": "example",
      "organizationType": "example"
    },
    "receiver": {
      "companyName": "example",
      "contactOrganizationId": "example",
      "contactServiceId": "example",
      "contactType": "example",
      "email": "example",
      "firstName": "example",
      "fullName": "example",
      "id": "example",
      "lastName": "example",
      "phoneNumber": "example",
      "website": "example"
    },
    "receiverAddress": {
      "addressLine1": "example",
      "addressLine2": "example",
      "addressServiceId": "example",
      "city": "example",
      "country": "example",
      "id": "example",
      "postalCode": "example",
      "region": "example",
      "regionCustom": "example"
    },
    "receiverOrganization": {
      "organizationId": "example",
      "organizationName": "example",
      "organizationReference": "example",
      "organizationType": "example"
    },
    "refunds": [
      "example"
    ],
    "reminderDate": "example",
    "shippingTotal": 1,
    "siteId": "example",
    "siteMainUrl": "example",
    "siteSupportEmail": "example",
    "status": "CANCELED",
    "subTotal": 1,
    "tagsJson": "example",
    "taxExemptionId": "example",
    "taxRate": 1,
    "taxType": "example",
    "totalDiscountValue": 1,
    "totalListPriceValue": 1,
    "totalOrderValue": 1,
    "totalTaxValue": 1,
    "updatedOn": "example",
    "version": "example"
  }
}

Retrieve an order

Retrieve an order.

Inputs

Order IDorder_idtextRequired
Unique identifier for the order.

Outputs

dataobject
The response from FastSpring.
Example output
{
  "data": {
    "account": "example",
    "action": "example",
    "address": {
      "city": "example",
      "country": "example",
      "display": "example",
      "postalCode": "example",
      "region": "example",
      "regionCode": "example",
      "regionDisplay": "example"
    },
    "billDescriptor": "example",
    "buyerReference": "example",
    "changed": 1,
    "changedDisplay": "example",
    "changedDisplayEmailEnhancements": "example",
    "changedDisplayEmailEnhancementsWithTime": "example",
    "changedDisplayISO8601": "example",
    "changedInSeconds": 1,
    "changedValue": 1,
    "completed": true,
    "currency": "example",
    "customer": {
      "email": "example",
      "first": "example",
      "last": "example",
      "phone": "example",
      "subscribed": true
    },
    "discount": 1,
    "discountDisplay": "example",
    "discountInPayoutCurrency": 1,
    "discountInPayoutCurrencyDisplay": "example",
    "discountWithTax": 1,
    "discountWithTaxDisplay": "example",
    "discountWithTaxInPayoutCurrency": 1,
    "discountWithTaxInPayoutCurrencyDisplay": "example",
    "id": "example",
    "invoiceUrl": "example",
    "ipAddress": "example",
    "items": [
      {
        "discount": 1,
        "discountDisplay": "example",
        "discountInPayoutCurrency": 1,
        "discountInPayoutCurrencyDisplay": "example",
        "display": "example",
        "driver": {
          "path": {},
          "type": {}
        },
        "fulfillments": {},
        "imageUrl": "example",
        "isAddon": true,
        "product": "example",
        "proratedItemChangeAmount": 1,
        "proratedItemChangeAmountDisplay": "example",
        "proratedItemChangeAmountInPayoutCurrency": 1,
        "proratedItemChangeAmountInPayoutCurrencyDisplay": "example",
        "proratedItemCreditAmount": 1,
        "proratedItemCreditAmountDisplay": "example",
        "proratedItemCreditAmountInPayoutCurrency": 1,
        "proratedItemCreditAmountInPayoutCurrencyDisplay": "example",
        "proratedItemProratedCharge": 1,
        "proratedItemProratedChargeDisplay": "example",
        "proratedItemProratedChargeInPayoutCurrency": 1,
        "proratedItemProratedChargeInPayoutCurrencyDisplay": "example",
        "proratedItemTaxAmount": 1,
        "proratedItemTaxAmountDisplay": "example",
        "proratedItemTaxAmountInPayoutCurrency": 1,
        "proratedItemTaxAmountInPayoutCurrencyDisplay": "example",
        "proratedItemTotal": 1,
        "proratedItemTotalDisplay": "example",
        "proratedItemTotalInPayoutCurrency": 1,
        "proratedItemTotalInPayoutCurrencyDisplay": "example",
        "quantity": 1,
        "shortDisplay": "example",
        "sku": "example",
        "subtotal": 1,
        "subtotalDisplay": "example",
        "subtotalInPayoutCurrency": 1,
        "subtotalInPayoutCurrencyDisplay": "example",
        "withholdings": {
          "taxWithholdings": {}
        }
      }
    ],
    "language": "example",
    "live": true,
    "notes": [
      "example"
    ],
    "order": "example",
    "payment": {
      "bank": "example",
      "cardEnding": "example",
      "creditcard": "example",
      "type": "example"
    },
    "payoutCurrency": "example",
    "quote": "example",
    "recipients": [
      {
        "recipient": {
          "account": {},
          "address": {},
          "company": {},
          "email": {},
          "first": {},
          "last": {},
          "phone": {},
          "subscribed": {}
        }
      }
    ],
    "reference": "example",
    "result": "example",
    "siteId": "example",
    "subtotal": 1,
    "subtotalDisplay": "example",
    "subtotalInPayoutCurrency": 1,
    "subtotalInPayoutCurrencyDisplay": "example",
    "tax": 1,
    "taxDisplay": "example",
    "taxInPayoutCurrency": 1,
    "taxInPayoutCurrencyDisplay": "example",
    "total": 1,
    "totalDisplay": "example",
    "totalInPayoutCurrency": 1,
    "totalInPayoutCurrencyDisplay": "example"
  }
}

Retrieve product offers

Retrieve product offers.

Inputs

Product pathproduct_pathtextRequired
Unique identifier to reference a specific product, also known as the product path ID.
Typetypetext
A specific type of offer available for the product.One of: addon, alternatives, cross-sell, crossgrade, downgrade, downsell, upsell, upgrade.

Outputs

dataobject
The response from FastSpring.
Example output
{
  "data": {
    "products": [
      {
        "action": "example",
        "offers": [
          {}
        ],
        "product": "example",
        "result": "example"
      }
    ]
  }
}

On this page