• READY
  • DATA
  • LOGISTICS
  • REVIEW

How to create customer draft orders with your AI

Connect Commerce Layer to your AI client to handle order setup. Once connected, your agent handles the data retrieval and order initialization.

Ask AI about this page

Short answer

How do I create draft orders using my AI?

Your AI pulls customer and address data from Commerce Layer to build a draft order. You just tell your agent who the customer is and what they need. This setup prepares everything for your final review.

Order outcomes

Where your orders land

What happens after your AI processes the request.

READY

Draft orders created

The AI uses the order tool to build the record. You get a ready-to-review draft in your dashboard.

DATA

Customer profiles found

The agent searches your database to match names to existing profiles. This ensures the order attaches to the right person.

LOGISTICS

Addresses mapped

Shipping and billing details are pulled from the customer's history. This prevents manual entry errors.

REVIEW

Human oversight needed

The AI stops before any order is finalized or paid. You must manually approve the draft to complete the sale.

The workflow

What your AI does when the request arrives.

The AI moves through your Commerce Layer data to assemble the order.

  1. Identify the customer

    Your agent looks up the person you mentioned to find their unique ID and profile details.

    list_customers
  2. Retrieve shipping info

    The AI pulls the correct destination details from the customer's saved addresses.

    list_addresses
  3. Build the order

    The agent combines the customer ID, address, and product details into a new draft.

    create_order
  4. Confirm readiness

    The AI reports back that the draft is waiting in Commerce Layer for your final check.

    create_order

Try it

Copy these to start.

Use these prompts to trigger the workflow.

Starting points

Replace the bracketed names with your actual customer or product info.

Commerce Layer Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_DiffRwK42xwsrldNMnEbP0P2nPsBjXn2BMHRLwxU/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Commerce Layer capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "commerce-layer-alternative-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_DiffRwK42xwsrldNMnEbP0P2nPsBjXn2BMHRLwxU/mcp"
    }
  }
}
Copy into chat04
  • Find the customer named Sarah Jenkins and create a draft order for her.

  • Create a draft order for the customer with email alex@example.com using their default address.

  • Look up the address for customer ID 98765 and start a new draft order.

  • Check if we have a profile for Marcus Thorne and set up a draft order if he does.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Commerce Layer once, then ask.

Just link your account once. Your credentials stay encrypted, and you can immediately start asking your agent to manage orders.

Connect Commerce Layer to your AI

FAQ

How this task behaves

  • 01

    Will the AI charge the customer's card automatically?

    No. The AI only creates draft orders. It cannot process payments or finalize transactions.

  • 02

    Can the AI delete existing customers?

    No. The tools only allow the AI to list customers and create orders. It cannot delete or modify existing profiles.

  • 03

    Does the AI need me to provide the shipping address every time?

    No. If the customer already has an address on file, the AI can retrieve it for you.

  • 04

    Can the AI update a customer's email address?

    No. There is no tool available to modify existing customer data.

  • 05

    How do I know if the order was created successfully?

    Your agent will confirm once the order has been initialized in Commerce Layer.

  • More questions about Commerce Layer? The Connector page answers them. See everything the Commerce Layer Connector can do

Connect Commerce Layer to Claude, Cursor, ChatGPT & more