SamCart API

SamCart's API facilitates the seamless integration of order data between applications!

SamCart makes it easy to integrate with third-party tools, allowing sellers to easily manage their e-commerce operations from one platform. However, one common challenge sellers face is that when order data is changed outside of SamCart (in a marketing platform, affiliate management tool, or membership community), they then must come back to SamCart to make those same changes to keep their data in sync.

Our new improvements enable sellers to update Custom Fields data through the SamCart API (Application Programming Interface), ensuring valuable order data stays up-to-date wherever it’s in use.

SamCart API capabilities include:

  • View all orders
  • View all customers
  • View all charges
  • View all products
  • View all subscriptions
  • Cancel subscriptions (NEW)
  • Custom fields (NEW)
  • View all orders from a specific funnel to calculate funnel revenue and conversion rates (NEW) 
  • Get all orders from a specific upsell to measure upsell performance (NEW) 
  • Filter results by date range to analyze specific time periods (NEW)
  • Paginate through large result sets efficiently (NEW)

To request access, please reach out to us at support@samcart.com

For more details, the dev doc can be found here.

Frequently Asked Questions

Q: How does it work?

A: API users with a valid API token will be able to update Custom Fields on a single Order. To update a Custom Field, API users will need to specify which Order they would like to have updated and then supply the custom_field_slug and the custom_field_data on their API call. If successful, the API response will indicate that the value for the Custom Field was updated.

Q: Where do I find the custom_field_slug?

A: API users can find the slug for their Custom Fields within the /orders endpoint in the custom_fields object.

Q: What if my funnel has no orders, how will that appear in my API calls?

A: The API will return a successful response with an empty data array. This is normal for new funnels or funnels with no purchases yet!

Q: Can I combine date filters?

A: Yes. Use both created_at_min and created_at_max to query a specific date range, like "all orders from Funnel X in January 2026."

Q: Are deleted funnels/upsells still queryable?

A: Orders from deleted funnels or upsells are preserved in the system. However, the endpoint will return a 404 if the funnel/upsell record itself was deleted.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.