vendure-delivery-plugin

Guide Vendure delivery plugin development with idempotency and pessimistic locking.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/meriley/claude-code-skills --skill vendure-delivery-plugin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vendure-delivery-plugin
Source: https://github.com/meriley/claude-code-skills/tree/main/skills/vendure-delivery-plugin
Command: npx skills add https://github.com/meriley/claude-code-skills --skill vendure-delivery-plugin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides robust patterns and code examples for building production-grade delivery and fulfillment plugins within the Vendure e-commerce platform, addressing complexities like concurrency, capacity, and timezones.

Core Features & Use Cases

  • Idempotency: Ensures delivery slot reservations are processed exactly once, even with network retries.
  • Capacity Management: Implements pessimistic locking to prevent overbooking delivery slots.
  • Timezone Handling: Correctly stores and compares dates across different timezones using UTC.
  • Performance: Offers solutions for N+1 query prevention in slot availability checks.
  • Use Case: When developing a custom delivery slot booking system for a grocery e-commerce platform built on Vendure, use this Skill to ensure reliable and efficient slot management.

Quick Start

Use the vendure-delivery-plugin skill to implement idempotency for delivery slot reservations.

Frequently Asked Questions about vendure-delivery-plugin

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent overbooking delivery slots in a Vendure ecommerce plugin?

Prevent overbooking delivery slots in Vendure by implementing pessimistic locking within your fulfillment plugin. This concurrency pattern locks slot capacity records during transactions, ensuring reliable capacity management and preventing double-booking under high traffic.

How do I handle timezone differences when storing delivery dates in Vendure?

Handle timezone differences in Vendure by storing and comparing all delivery dates using UTC. This approach ensures consistent timezone handling across your ecommerce platform, preventing scheduling conflicts when customers book delivery slots from different regions.

What is the best way to fix N+1 query issues during Vendure slot availability checks?

Fix N+1 query issues in Vendure slot availability checks by optimizing entity patterns to batch-fetch related data. Preventing N+1 queries during delivery slot lookups ensures performant ecommerce fulfillment operations and reduces database load.

Can I use the Vendure Shop API to build a custom delivery slot booking system?

Yes, you can use the Vendure Shop API to build a custom delivery slot booking system. This Skill guides the development of production-grade delivery features through the Shop API, covering entity patterns and testing strategies for reliable grocery fulfillment.