# marketplace-fulfillment

Helps an agent build the seller side of VTEX fulfillment: simulation, order reservations, dispatch, and invoice and tracking calls to OMS.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 1000 installs · ★ 46
- Author: vtex
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/vtex/skills/tree/HEAD/skills/marketplace-fulfillment/SKILL.md
- Updated: 2026-10-14
- HTML: https://affpapa.org/en/nevibecode/skills/marketplace-fulfillment

## What it does

This skill walks an agent through the VTEX External Seller protocol on the seller host: answering simulation calls during indexation and checkout, then booking a reservation for each new order and committing it after approval. Once goods ship, the seller calls the marketplace OMS to report invoices and tracking.

The simulation endpoint gets 2.5 seconds; miss that and the offer counts as unavailable. OMS URLs take the marketplace order id. Use the reservation id you returned as `orderId` and the invoice never reaches the customer's order. An `Output` invoice records a sale, an `Input` one a return, and an invoiced order can only be canceled after a return invoice.

Tracking goes in later through a separate `PATCH`, once the carrier supplies it. Split shipments get one invoice per package, with `invoiceValue` summed over that package's items only. Catalog sync and order feed handling live in `marketplace-catalog-sync` and `marketplace-order-hook`, not here.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add vtex/skills --skill marketplace-fulfillment -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/marketplace-fulfillment/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/marketplace-fulfillment/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add vtex/skills --skill marketplace-fulfillment -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/marketplace-fulfillment/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add vtex/skills --skill marketplace-fulfillment -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/marketplace-fulfillment/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install vtex/skills marketplace-fulfillment
```

2. **Manually: put the files in place**
- File: `.github/skills/marketplace-fulfillment/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add vtex/skills --skill marketplace-fulfillment -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/vtex/skills --path skills/marketplace-fulfillment
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/marketplace-fulfillment/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add vtex/skills --skill marketplace-fulfillment -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/vtex/skills/tree/HEAD/skills/marketplace-fulfillment/SKILL.md

## When to use it
- answer VTEX simulation calls with shipping options and stock within 2.5 seconds
- create a reservation on order placement and return its id as `orderId`
- turn a reservation into a firm order on the `fulfill` call
- post invoices and tracking to OMS under the marketplace order id
- issue a separate invoice for each package of a split shipment

## Example prompts
- Write a `POST /pvt/orderForms/simulation` handler for a VTEX External Seller that replies inside 2.5 seconds
- Build `POST /pvt/orders` so it creates a reservation, and add the `/fulfill` handler for our seller service
- Send the OMS invoice for this order, then update tracking with a `PATCH` once the carrier gives us a code

## Similar
- [mcp-builder](https://affpapa.org/en/nevibecode/skills/mcp-builder.md) — skill · 130949 installs
- [claude-api](https://affpapa.org/en/nevibecode/skills/claude-api.md) — skill · 74198 installs
- [lark-im](https://affpapa.org/en/nevibecode/skills/lark-im.md) — skill · 472900 installs
- [lark-event](https://affpapa.org/en/nevibecode/skills/lark-event.md) — skill · 466800 installs
- [caveman-discover](https://affpapa.org/en/nevibecode/skills/caveman-discover.md) — skill · 104400 installs
- [migration](https://affpapa.org/en/nevibecode/skills/migration.md) — skill · 103900 installs

From the same set: [vtex/skills](https://affpapa.org/en/nevibecode/by/vtex/skills.md) — 38 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
