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)
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.