Skip to main content
skill CX Codex

marketplace-fulfillment — Claude Code skill: how to install

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

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add vtex/skills --skill marketplace-fulfillment -a claude-code
Open on GitHub

What marketplace-fulfillment 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.

What it helps with

  • 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 for the agent

  • 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

How to install marketplace-fulfillment

1Skills CLI (Vercel)

npx skills add vtex/skills --skill marketplace-fulfillment -a claude-code

2Manually: put the files in place

~/.claude/skills/marketplace-fulfillment/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/marketplace-fulfillment/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about marketplace-fulfillment

How do I install marketplace-fulfillment in Claude Code?

Run npx skills add vtex/skills --skill marketplace-fulfillment -a claude-code. The skill file sits at ~/.claude/skills/marketplace-fulfillment/SKILL.md.

What does marketplace-fulfillment do?

It guides an agent through the seller side of VTEX fulfillment: simulation, order placement, dispatch authorization, and OMS invoice and tracking calls, including partial invoices.

Which order id goes into the OMS invoice path?

The marketplace order id, marketplaceOrderId in the VTEX payload. The orderId you returned for the reservation will not match, so the invoice would not attach to the customer order.

Similar skills

All skills for Backend and APIs →

From the same set38

vtex-io-client-integration Guides backend integrations in VTEX IO apps using @vtex/api and @vtex/clients. Helps select client classes, configure runtime options, and replace raw HTTP calls. CX Codex +1 1,100installs vtex-io-auth-and-policies This skill guides VTEX IO permission design for integrations, protected routes, and manifest policies. Use it when access boundaries need review or change. CX Codex +1 1,100installs vtex-io-admin-react Guides coding agents in building VTEX IO admin pages with React, enforcing official design systems, bounded tables, and predictable feedback states. CX Codex +1 1,100installs vtex-io-http-routes Guides the design of HTTP endpoints in a VTEX IO backend service: route boundaries, middleware chains, request validation and response shape. CX Codex +1 1,100installs marketplace-order-hook Guides VTEX order integrations built with Feed v3 or Hook. Use it when a webhook must validate events, fetch order data, and avoid duplicate processing. CX Codex +1 1,000installs marketplace-catalog-sync Guides the agent while you build a seller connector that pushes SKUs into a VTEX marketplace and keeps price and stock in step. CX Codex +1 1,000installs payment-provider-protocol Assists with building and debugging VTEX Payment Provider Protocol connectors. Enforces endpoint routing, payload schemas, and response rules for homologation. CX Codex +1 1,000installs marketplace-rate-limiting Teaches your agent to handle VTEX API 429s: exponential backoff with jitter, rate limit headers, circuit breaker and request queuing. CX Codex +1 1,000installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor