Skip to content

FousSanMar

Get your SanMar orders and invoices through an API

Read your order statuses, tracking numbers and invoices from SanMar.com with one API call each. Or have a workflow pick up the invoices SanMar issues each night and post them to accounting before your day starts.

Works with your own SanMar account. Fous is an independent product.

What you can build on SanMar.com

  • Get order statuses

    Build this

    Reads your orders in Your Orders on SanMar.com, with each order's status, from Received and Confirmed through Partially Shipped to Complete or Canceled.

    Takes
    Order date from, order date to, status (optional)
    Returns
    PO number, sales order number, order date, status, ship-to name, total
  • Get tracking for an order

    Build this

    Opens one order from Your Orders and reads its shipments: the warehouse it shipped from, the carrier, the ship date and the tracking number of each package.

    Takes
    PO number
    Returns
    PO number, sales order number, ship-from warehouse, carrier, ship date, tracking numbers
  • Get invoices

    Build this

    Reads your invoices under View and Pay Invoices on SanMar.com for a date range, with the PO each one bills and what is still open.

    Takes
    Invoice date from, invoice date to
    Returns
    Invoice number, invoice date, PO number, due date, amount, balance due
  • Place an order

    Build this

    Adds the styles, colors, sizes and quantities you give to the cart on SanMar.com, sets the ship-to address and ship method, and submits the order with your PO number.

    Takes
    PO number, ship-to address, ship method, lines of style, color, size and quantity
    Returns
    PO number, sales order number, order date, lines, total

Automate SanMar.com with a workflow

A workflow runs your methods as one process, with nobody at the screen. A schedule or a call from your own system starts it, the steps run in order, and the result arrives in your inbox or in the systems you already use.

  • Yesterday's SanMar invoices, posted to accounting

    Build this
    Starts
    Every weekday at 8:00 Pacific Time
    Step 1
    Get the invoices dated the previous business day from View and Pay Invoices.
    Step 2
    Stop when there are none.
    Step 3
    Post invoice number, date, PO number, due date, amount and balance due to your accounting system's webhook.
  • Order status changes, morning check

    Build this
    Starts
    Every weekday at 9:00 Pacific Time
    Step 1
    Get the statuses of your orders from the last 14 days in Your Orders.
    Step 2
    Keep the orders whose status changed since the last run.
    Step 3
    Email you the list, with PO number, sales order number and the new status.
  • Tracking numbers, sent to your order system

    Build this
    Starts
    Every weekday at 17:00 Pacific Time
    Step 1
    Get the orders in Your Orders that are Partially Shipped or Complete.
    Step 2
    For each order not handled on the last run, get its tracking numbers.
    Step 3
    Post PO number, carrier, ship date and tracking numbers to your order system's webhook.

You can run a workflow by hand on every plan, Free included. Schedules and webhook triggers come with the paid plans, from $29 a month.

Once built, one call from your code

Once you have built a method, it is one POST to /v1/runs from your backend, or a tool an AI agent calls over MCP. This is what “Get order statuses” would look like.

Example request
curl https://api.fous.com/v1/runs \
  -H "Authorization: Bearer $FOUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "method": "sanmar.com/get_order_statuses",
    "input": {
      "order_date_from": "2026-11-02",
      "order_date_to": "2026-11-11"
    }
  }'
Example response
{
  "status": "completed",
  "data": {
    "orders": [
      {
        "po_number": "ACME-4471",
        "sales_order_number": "5550012841",
        "order_date": "2026-11-10",
        "status": "Confirmed",
        "ship_to": "Acme Screen Printing",
        "total": 1284.6
      }
    ]
  }
}

An example with invented data, not a ready-made endpoint. The method exists in your organization once you build it, and its name, inputs and fields follow your request.

SanMar.com’s own options

SanMar offers its customers free SOAP web services for product data, inventory, pricing, order status, shipment notifications and invoices, plus FTP files and purchase order integration. Access starts with an email to its integration team and an Integration Agreement signed by the company's owner or another authorized signatory.

OptionWhat it coversWhat it takes
SanMar web services (SanMar standard and PromoStandards)SOAP calls for products, inventory, pricing, order status, shipment notifications, invoices and packing slip details.A signed Integration Agreement, no charge. Calls sign in with your SanMar.com username and password. Onboarding takes 1 to 2 business days.
FTP filessanmar_dip.txt with inventory and pricing, updated hourly, and a Daily Invoice File with the prior day's invoices at 6 a.m. Pacific Time.FTP credentials, which are separate from your web services login.
Purchase order integrationSubmitting purchase orders from your system by web services or FTP.Web services or FTP access first, test orders in SanMar's EDEV environment, and NET terms or a credit card saved on SanMar.com.
SanMar.com by handOrdering, Your Orders, View and Pay Invoices and account information for anyone with a SanMar.com web user login.A SanMar customer account and a SanMar.com username and password.

Read on November 12, 2026: SanMar: Electronic Integrations, SanMar Web Services Integration Guide v24.7, SanMar Purchase Order Integration Guide 24.6.

Signing in to SanMar.com

SanMar.com signs you in with a username and password, with a Stay Logged In option; a forgotten username is recovered by phone. With Fous you sign in once through SanMar.com's own sign-in with your own login, which is sealed and never shown to code or AI agents, and when the session expires Fous signs back in.

Worth knowing

Invoices are issued the night an order ships
SanMar invoices once a day after 9 p.m. Pacific Time for the orders shipped that day. Read invoices the next day, not on the day an order ships.
Complete and Canceled are final
SanMar suggests waiting two hours after an order is placed before checking its status. Once an order shows Complete or Canceled, it gets no further updates.
Cutoff times differ by warehouse
SanMar lists a cutoff time for each of its 9 warehouses and each ship method, and the cutoffs apply only to orders approved by its credit department.
Hemmed pants stay off integrated orders
SanMar does not take hemmed pants through PO integration. They can be ordered on SanMar.com, by phone or by email.

More in Distribution: specialty wholesale and B2B marketplaces

Other industries: Walmart Seller Center, EDOF, Dominion Energy Manage Account, iFood Portal do Parceiro, CommBiz, CAFS.

Frequently asked questions

Yes. SanMar offers free SOAP web services, in its own format and PromoStandards, for products, inventory, pricing, order status, shipment notifications and invoices, plus FTP files and purchase order integration. Access begins with an email to its integration team and an Integration Agreement signed by an authorized signatory.

The day after the order ships. SanMar invoices once a day after 9 p.m. Pacific Time for orders shipped that day, and its FTP Daily Invoice File with the prior day's invoices is generated at 6 a.m. Pacific Time.

SanMar's order status documentation lists Received, Confirmed, Partially Shipped, Complete and Canceled, among others. Received also covers items on backorder or on hold, and Complete or Canceled at the order level means no further updates.

Yes. SanMar's web services authenticate with your SanMar.com username and password, the same login you use on the site. A method reads only what that SanMar.com account can see.

No. Fous is an independent product. It works with SanMar.com through your own account, the way you use the site yourself.

Put SanMar behind an API call

Describe one job in Studio and see the method it builds, with 100 credits a month and no credit card, or book a demo and bring the sites your team signs in to.

Read nextFaireTradeplaceAlibaba.com supplier back endWalmart Seller CenterHow methods workHow workflows run

Fous is an independent product: it is not affiliated with, endorsed by or sponsored by the operator of SanMar (SanMar). The name is used only to say which system this page is about. Something here wrong or out of date? Write to legal@fous.com.