API
UltraCart Rest Version 2
This is the most recent UltraCart API and should be used for all new development.
The current API for UltraCart consists of a REST API and Webhooks.
API Reference: https://www.ultracart.com/api/
API Topics
Authentication
Creating a Browser Key for a JavaScript checkout
Auto Order
Understanding Auto Order State
Debugging
Sample Code and Tutorials
The sample code listed below is a collection of scripts that UltraCart developers have provided for merchants and developers. Most samples are contained within the documentation links above, but this is a collection of scripts that didn't fit a particular category in the documentation, so it's listed here. If you cannot find what you need in the official reference (https://www.ultracart.com/api/) or below, please email support and ask for help.
| Description | PHP | C# | Python | JavaScript | Java | Ruby |
|---|---|---|---|---|---|---|
| Webhooks | ||||||
| Order Webhook | Sample | Sample | ||||
| Creating a Simple Webhook | ||||||
| Auto Order | ||||||
| Cancel auto order | Sample | |||||
| Update auto order | Sample | Sample | ||||
| Update auto order item options | Sample | |||||
| Query auto order by email | Sample | |||||
| Query auto order by oid | Sample | |||||
| Query all auto orders | Sample | |||||
| Update credit card number on auto order associated with customer profile. | Sample | |||||
| Audit simple schedules | Sample | |||||
| Coupon | ||||||
| Download Coupons | Sample | |||||
| Download Orders and Match Up Coupons | Sample | |||||
| Customer | ||||||
| Create customer | Sample | |||||
| Add/Edit credit cards | Sample | |||||
| Fulfillment (Shipping) | ||||||
| Full life cycle | Sample | Sample | ||||
| Item | ||||||
| Get all items | Sample | Sample | ||||
| Restrict Payment Method | Sample | |||||
| Change Item Attribute Name | Sample | |||||
| Adding Package Requirements to Perishable Items | Sample | |||||
| Retrieve Avalara Item Settings | Sample | Sample | ||||
| Update Avalara Item Settings | Sample | |||||
| Checkout | ||||||
| Full Checkout | ||||||
| Add Item to Cart | Sample | |||||
| Upsell via API | ||||||
| Order | ||||||
| Add item to order | Sample | |||||
| Delete item from order | Sample | |||||
| Add externally created order | Sample | |||||
| Create a replacement order | Sample | |||||
| Partial refund order | Sample | |||||
| Download orders | Sample | Sample | ||||
| Download specific order batch | Sample | |||||
| Download specific order | Sample | |||||
| Custom Receipt | Sample |
Legacy APIs
, multiple selections available, Use left or right arrow keys to navigate selected items