Skip to content
Snipcart logo

Connectors / E-commerce · HTTP Connector

Snipcart integration and API

Update an order, update a customer and import products from a URL in Snipcart, and start a workflow when Snipcart sends “Order completed”.

What can you do with Snipcart on Tray.ai?

Snipcart adds a shopping cart and checkout to any website through HTML attributes, and manages the resulting orders, customers and discounts. Tray.ai connects to Snipcart through the HTTP Connector, so your workflows can call the Snipcart API alongside the rest of your stack.

  • When Snipcart sends “Order completed”, create a sales order in your ERP for fulfillment.
  • Record a credit note in your accounting system when Snipcart sends “Order refund created”.
  • Update product inventory in Snipcart when stock levels change in your warehouse system.
  • Email the customer their tracking link when Snipcart sends “Order tracking number changed”.
Connects through
HTTP Connector
Authentication
Basic authentication
Base URL
https://app.snipcart.com/api

Set it up

Connect Snipcart to Tray.ai

Each step uses Snipcart's own API details, from its documentation.

Save Snipcart's username and password

Save the credentials Snipcart gives you as a Tray.ai authentication. The HTTP Client sends them as basic auth. They stay out of the workflow and out of the logs.

Point the HTTP Client at the API

Add an HTTP Client step and use https://app.snipcart.com/api as the base URL. Or paste a cURL example from Snipcart's API docs, and Tray.ai fills in the method, URL, and headers.

Start with “List orders”

It's one of 19 documented actions, under Orders. The response comes back as data the next step can map into your other apps.

Start workflows from Snipcart events

Give Snipcart the URL of a Tray.ai webhook trigger. “Order completed” can then start a workflow, and so can 5 other events.

Workflows to build with Snipcart

Connect Snipcart with QuickBooks, Slack and NetSuite

Each one uses actions and events from Snipcart's own API documentation.

Record completed Snipcart orders in QuickBooks

When

Order completed

Then

  1. Get an order
  2. Create a sales receipt for the order in QuickBooks

With QuickBooks

Post refunds to the finance channel in Slack

When

Order refund created

Then

  1. Post the order number and refund amount to the finance channel in Slack

With Slack

Sync stock levels from NetSuite

When

On a schedule

Then

  1. Get current stock levels from NetSuite
  2. Update product inventory for each item

With NetSuite

Apps you can build on Snipcart data

Internal tools your team can build with an AI assistant, each one using Snipcart calls from its API documentation.

Order fulfillment board

Lists orders with their details and lets staff update order statuses as they ship.

Stock level tracker

Lists products with their details and lets staff update inventory counts.

Discount code manager

Lists discounts and lets a marketer create, update or delete a discount.

Snipcart MCP server for AI agents

Build an MCP server on Snipcart in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • List orders
  • List customers
  • List products
  • List discounts
  • Get an order
  • Update an order
  • Update order statuses
  • Get a customer

What the Snipcart API covers

4 resources and 19 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how. New to APIs? Read what an API integration is.

Orders

  • List orders
  • Get an order
  • Update an order
  • Update order statuses

Customers

  • List customers
  • Get a customer
  • Update a customer
  • Delete a customer
  • List a customer's orders

Products

  • List products
  • Get a product
  • Import products from a URL
  • Update product inventory
  • Archive a product

Discounts

  • List discounts
  • Get a discount
  • Create a discount
  • Update a discount
  • Delete a discount

Events Snipcart can send to a Tray.ai webhook trigger

  • Order completed
  • Order status changed
  • Order payment status changed
  • Order tracking number changed
  • Order refund created
  • Order notification created

Checked against Snipcart's own documentation on 2026-10-22

docs.snipcart.com/v3/api-reference/introduction

Frequently asked questions

What can a Tray.ai workflow do in Snipcart?

The Snipcart API documents 19 actions across 4 resources (Orders, Customers, Products, Discounts). For example: List orders; List customers; List products. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Snipcart?

The Snipcart API uses basic authentication. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

Which Snipcart events can start a Tray.ai workflow?

Snipcart sends 6 events to a webhook URL, for example: Order completed; Order status changed; Order payment status changed; Order tracking number changed; Order refund created; Order notification created. A Tray.ai webhook trigger receives them and starts a workflow.

See Snipcart working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great, a couple more details

This helps us connect you with the right person. Optional, and you can skip it.